Compare commits

..

1392 Commits

Author SHA1 Message Date
Steve Sakoman
7b8aa378d0 build-appliance-image: Update to nanbield head revision
(From OE-Core rev: d0e68072d138ccc1fb5957fdc46a91871eb6a3e1)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:20:58 -10:00
Alexander Kanavin
8730750b33 dev-manual: improve descriptions of 'bitbake -S printdiff'
Try to particularly emphasize that it can be used to find
out why something rebuilds when it shouldn't.

(From yocto-docs rev: 05d08b0bbaef760157c8d35a78d7405bc5ffce55)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:31 -10:00
Alexander Kanavin
2708ce2801 sdk-manual: correctly describe separate build-sysroots tasks in direct sdk workflows
They were separated in
https://git.yoctoproject.org/poky/commit/?id=63e53fb8b60d38315015844bd3357fa1649cd639

(From yocto-docs rev: 7cb8ee0b922c57a2fc7100eca585463e888964be)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:31 -10:00
BELOUARGA Mohamed
1962eae7d9 ref-manual: add documentation of the variable SPDX_NAMESPACE_PREFIX
The documentation of the variable SPDX_NAMESPACE_PREFIX does not exist.
This variable is used to change the prefix of some links in SPDX docs.

(From yocto-docs rev: 33ed2376b501022daf24003e4e6352a91fcb06ee)

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:31 -10:00
Michael Opdenacker
c0bc268a59 profile-manual: usage.rst: further style improvements
According to errors reported by "make stylecheck"

(From yocto-docs rev: 3d6b7aa4b848403a5dcde0cdf68c38060f4ab0af)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:31 -10:00
Martin Jansa
664191d437 contributor-guide: be more specific about meta-* trees
* this is often confused to apply for e.g. meta-oe as well
  where it doesn't apply as meta-oe has own ML mentioned
  in README.

(From yocto-docs rev: fd9c078a08933484087e0ce12d4eb0f1d4693995)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:31 -10:00
Lee Chee Yang
b2d15619ce migration-guides: add release notes for 4.0.17
(From yocto-docs rev: 58bd14d3e992e4d4ec650d169fcd76ecb8a28d6e)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:31 -10:00
Michael Opdenacker
65b31eea45 documentation: Makefile: remove releases.rst in "make clean"
releases.rst is generated by the set_versions.py script

(From yocto-docs rev: 6a9aea1d4db67da095c81bc606f102aacfc436d2)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:30 -10:00
Michael Opdenacker
147b92723a profile-manual: usage.rst: fix reference to bug report
Allowing to remove nested parentheses in the text!

(From yocto-docs rev: 3af096c2509650165a6180e25d15114030e0ff18)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:30 -10:00
Michael Opdenacker
92af404c25 manuals: use "manual page(s)"
Instead of "manpage(s)" or "man page(s)".
To address one of the errors reported by "make stylecheck"

(From yocto-docs rev: 7d9faaf283454d653e541a8faf0d50f4c968cc66)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:30 -10:00
Michael Opdenacker
c3871e9b55 profile-manual: usage.rst: formatting fixes
Plus a few text styling improvements, some reported by "make stylecheck"

(From yocto-docs rev: f0c7c67ad297588d0112070b82f46fbc779bcb14)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:30 -10:00
Michael Opdenacker
4745719d0b manuals: add initial stylechecks with Vale
Use the "Vale" (https://vale.sh) tool to perform text style checks
Run "make stylecheck" to run the checks.

This just checks the text, not the Sphinx syntax style choices.

(From yocto-docs rev: 198efc906efbbaced2526cd1221fd16ab35996a1)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:30 -10:00
Ross Burton
9090e89240 gstreamer1.0: skip a test that is known to be flaky
The aggregator testcase test_infinite_seek_50_src_live is known upstream
to be flaky[1] and when this fails in their CI they just ignore it.

It's failing often on our autobuilder, so disable the test case for now
until upstream have resolved this issue.

[ YOCTO #15054 ]

[1] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/410

(From OE-Core rev: 2fdc76a78d03b27f79fcaf1f86a4cf5f8904d9ee)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c2c9cbc107e5428122ad26b5c478602f0c8c0fbe)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:30 -10:00
Ross Burton
68f1b7f429 openssl: fix crash on aarch64 if BTI is enabled but no Crypto instructions
On aarch64, if the processor doesn't have the Crypto instructions then
OpenSSL will fall back onto the "bit-sliced" assembler routines. When
branch protection (BTI) was enabled in OpenSSL these routines were
missed, so if BTI is available libssl will immediately abort when it
enters this assembler.

Backport a patch submitted upstream to add the required call target
annotations so that BTI doesn't believe the code is being exploited.

(From OE-Core rev: ec555688dbdc87cc695db653201c8d9e20079d22)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:30 -10:00
Ross Burton
8a20101d14 curl: increase test timeouts
We often see multiple curl tests fail during ptest runs, the actual test
varies but the output is like this:

  FAIL: 337: protoc!
  There was no content at all in the file log/3/server.input.
  Server glitch? Total curl failure? Returned: 28

Error code 28 is CURLE_OPERATION_TIMEDOUT, so this is almost certainly
due to a loaded machine resulting in the tests running slowly.

It is notable that the test runner explicitly passes --max-time=13 to
curl, so experiment and change this to 600 to see if this solves the
problem.

[ YOCTO #15268 ]

(From OE-Core rev: d105cc0dae1fcca285c08f33df7888c68fb0dc2f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e2e9ec1bf97a7e36a05a247dbc671ecca584205f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:30 -10:00
Ross Burton
ba6ed3b831 curl: improve run-ptest
There's no need to run the output of runtests.pl through a sed to get
automake-style output, as you can pass -am to get this formatting.

Don't run timing dependent tests, as the ptests can run on loaded
systems.

Add a dependency on the en_US locale because some of the tests require
this.

(From OE-Core rev: 000bedc1c95e033f8a479a18a47dc66a0609d596)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3c3601d50ae290e7e9797eadd20c05df99bbd040)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:30 -10:00
Pavel Zhukov
b29f40625a mdadm: Disable ptests
As agreed upon in the bug triage meeting, disable mdadm ptest for the time being

Related: [Yocto #15181] [Yocto #15159] [Yocto #15308] [Yocto #15309]

(From OE-Core rev: ebbe9458526546b821d81a89d8098355d943ee60)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 22ae573aa1a1244d4dea498d4fa4fcdf195bedf8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:30 -10:00
Steve Sakoman
7459fda082 build-appliance-image: Update to nanbield head revision
(From OE-Core rev: 84a70edd2ce791dcd9b8b7a2f436f1d59cb2ea95)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-22 04:16:34 -10:00
Steve Sakoman
92b141afb4 poky.conf: bump version for 4.3.4 release
(From meta-yocto rev: d98079ded41a4c6ab566998d4fbbd5e9d49efb3e)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-22 04:12:22 -10:00
Khem Raj
51556868f6 core-image-ptest: Increase disk size to 1.5G for strace ptest image
Autobuilder sees and intermittent failure on strace tests and it occurs
quite often therefore bump the size of image as the space requirement is
more now with parallel execution enabled.

[YOCTO #15370]

(From OE-Core rev: 719a155b7f85d4ee623f78c3e85ba987f9142290)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 02d31355b20f8f3e7bd1b71c9412988eca9ec4b4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Michael Halstead
138486fc53 yocto-uninative: Update to 4.4 for glibc 2.39
(From OE-Core rev: eebb03d9409df143c68262264a7d3991f6e94a9a)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 56fdd8b79e2f7ec30d2cdcfa0c399a6553efac1e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Priyal Doshi
f1d8b7324d tzdata : Upgrade to 2024a
(From OE-Core rev: e0f18bb696dc7266befd2fd6c46062c9d6a7ab59)

Signed-off-by: Priyal Doshi <pdoshi@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 5abbd0abf992ce8d11f3ae31fb1d83d97f5319fa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Alexander Kanavin
1a2b5e0a9a linux-firmware: upgrade 20231211 -> 20240220
License-Update: additional files

(From OE-Core rev: 0d506b892d299eaf9aeefb614245108128ce480e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit add81ef0299ea5260f9bdc59ffc8f5cc0e74276f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Alex Kiernan
d82357ffa1 wireless-regdb: Upgrade 2023.09.01 -> 2024.01.23
Upstream maintainer has changed to Chen-Yu Tsai <wens@kernel.org>:

https://lore.kernel.org/all/CAGb2v657baNMPKU3QADijx7hZa=GUcSv2LEDdn6N=QQaFX8r-g@mail.gmail.com/

Note that fb768d3b13ff ("wifi: cfg80211: Add my certificate") and
3c2a8ebe3fe6 ("wifi: cfg80211: fix certs build to not depend on file
order") are required if you are using kernel signature verification.

(From OE-Core rev: a9a799a6ab27947071f76211901d5bde160e5894)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit abf169fbbf8bab13224adf4c8bfa2e26607f360c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Lee Chee Yang
6d2b73edc9 openssl: upgrade to 3.1.5
Changes between 3.1.4 and 3.1.5 [30 Jan 2024]
 * A file in PKCS12 format can contain certificates and keys and may
come from
   an untrusted source. The PKCS12 specification allows certain fields
to be
   NULL, but OpenSSL did not correctly check for this case. A fix has
been
   applied to prevent a NULL pointer dereference that results in OpenSSL
   crashing. If an application processes PKCS12 files from an untrusted
source
   using the OpenSSL APIs then that application will be vulnerable to
this
   issue prior to this fix.

   OpenSSL APIs that were vulnerable to this are: PKCS12_parse(),
   PKCS12_unpack_p7data(), PKCS12_unpack_p7encdata(),
PKCS12_unpack_authsafes()
   and PKCS12_newpass().

   We have also fixed a similar issue in SMIME_write_PKCS7(). However
since this
   function is related to writing data we do not consider it security
   significant.

   ([CVE-2024-0727])
https://www.openssl.org/news/cl31.txt

drop fix_random_labels.patch as fixed in
99630a1b08

(From OE-Core rev: aeac11fa743567e185179b27b4700bbf8fcf06e1)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Yoann Congal
521775dcd5 cve-update-nvd2-native: Remove rejected CVE from database
When a CVE is updated to be rejected, matching database entries must be
removed. Otherwise:
* an incremental update is not equivalent the to an initial download.
* rejected CVEs might still appear as Unpatched in cve-check.

(From OE-Core rev: 5b17b563908206667a7d14f390bd9b2de897774c)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f276a980b8930b98e6c8f0e1a865d77dfcfe5085)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Yoann Congal
11d9d02cf6 cve-update-nvd2-native: Fix CVE configuration update
When a CVE is created, it often has no precise version information and
this is stored as "-" (matching any version). After an update, version
information is added. The previous "-" must be removed, otherwise, the
CVE is still "Unpatched" for cve-check.

(From OE-Core rev: 67c4d9d27f06a07eac46c0f2cba8cfa1691b0737)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 641ae3f36e09af9932dc33043a0a5fbfce62122e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Yoann Congal
8d5fb5f5d2 cve-update-nvd2-native: nvd_request_next: Improve comment
Add a URL to the doc of the API used in the function.
... and fix a small typo dabase -> database

(From OE-Core rev: c8ae1765e81f9dd8e95a251cfda9e4d820bb5630)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e0157b3b81333a24abd31dbb23a6abebca3e7ba7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Yoann Congal
cfea74e239 cve-update-nvd2-native: Remove duplicated CVE_CHECK_DB_FILE definition
CVE_CHECK_DB_FILE is already defined in cve-check.bbclass which is
always inherited in cve-update-nvd2-native (There is a check line 40).

Remove it to avoid confusion. Otherwise, this should not change
anything.

(From OE-Core rev: 572ee5512a3d8941c6842af451ca6c9bb75773d3)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e5f3f223885c17b7007c310273fc7c80b90a4105)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Yoann Congal
c98a98ebb3 cve-update-nvd2-native: Add an age threshold for incremental update
Add a new variable "CVE_DB_INCR_UPDATE_AGE_THRES", which can be used to
specify the maximum age of the database for doing an incremental update
For older databases, a full re-download is done.

With a value of "0", this forces a full-redownload.

(From OE-Core rev: 665c880ff8be1b18c2abe8fa878643dfa64b7d3d)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74c1765111b6610348eae4b7e41d7045ce58ef86)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Yoann Congal
e1e4d53ce8 cve-update-nvd2-native: Fix typo in comment
attmepts -> attempts

(From OE-Core rev: 0c2e186e1ed8a904945066672e8e2af8b2ea284c)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dc18aaeda8e810f9082a0ceac08e5e4275bbd0f7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Claus Stovgaard
12c5aa2329 wpa-supplicant: Fix CVE-2023-52160
PEAP client: Update Phase 2 authentication requirements. Also see
https://www.top10vpn.com/research/wifi-vulnerabilities/

(From OE-Core rev: 7d0e3f31d2193b2b13a9fe3f368a172f4eaa7c48)

Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 57b6a329df897de69ae8b90706d9fe37e0ed6d35)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Simone Weiß
05a1e88ce3 cve-check: Log if CVE_STATUS set but not reported for component
Log if the CVE_STATUS is set for a CVE, but the cve is not reported for a
component. This should hopefully help to clean up not needed CVE_STATUS
settings.

(From OE-Core rev: c1b3c3856c2bdf2d9d6dfbaccfce549396a8630a)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 013d531a84fa08b6ae8a47bdf3ba1fa8f18ba270)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Michael Opdenacker
cae6c78254 manuals: document VIRTUAL-RUNTIME variables
Document the convention to use variables prefixed by VIRTUAL_RUNTIME.
Add references to the new term where possible.

Another reason is that such variables are recommended
in a warning issued by meta/classes-global/insane.bbclass

(From yocto-docs rev: 692ee19c99d015adf79da540b03d12245f7024f4)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Simone Weiß
db0eb3116e contributor-guide: add notes for tests
This adds some hints that and how changes should be tested when contributing.

Fixes [YOCTO #15412]

(From yocto-docs rev: d6f14fad6b85e61961830198474f9281d84b3d27)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Michael Opdenacker
cf9cab531d dev-manual: packages: fix capitalization
Using "PR service" instead of "PR Service", like in the other
two instances in this document.

(From yocto-docs rev: 6d6fbf786fff802ab30d649f9903331814d9fe1c)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Geoff Parker
1e4304b007 ref-manual: variables: adding multiple groups in GROUPADD_PARAM
Add missing documentation on how to add multiple groups with a single
GROUPADD_PARAM:${PN}

(From yocto-docs rev: 8d1aecf5aa638aa98676bda9b30a241c350f94a3)

Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Johan Bezem
b2fd801cd6 ref-manual: variables: correct sdk installation default path
The SDKPATH variable seems mistakenly identified as the
default path where the SDK will be installed by the generated
installation script, unless option '-d' or a manual input
overrides this default.

The intended variable is SDKPATHINSTALL. SDKPATH indicates
where the SDK is being composed and built.

The definitions have been added/updated.

(From yocto-docs rev: ef86bec59f5bd81963e0013fce63a1960df53c57)

Signed-off-by: Johan Bezem <jbezem.extern@arri.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Luca Ceresoli
2040697f1c ref-manual: tasks: do_cleansstate: recommend using '-f' instead for a shared sstate
do_cleansstat can produce build errors when using a shared sstate cache.

Add a note to clearly discourage, provide a safe alternative (bitbake -f),
and the rationale.

Suggested-by: Quentin Schulz  <quentin.schulz@theobroma-systems.com>
Link: https://lore.kernel.org/yocto-docs/20240219155513.76738-1-luca.ceresoli@bootlin.com/T/#m5529687ecb0f9ec2dacddcb6ff58e2df73af9cde
(From yocto-docs rev: fe023e48a5014e838fb74b77cdf8b0d546db0d21)

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Luca Ceresoli
05fc000272 ref-manual: tasks: do_cleanall: recommend using '-f' instead
do_cleanall can produce failures when used in legitimate cases, such as
with recipe variants (foo and foo-native) or a shared DL_DIR. This is why
it is forbidden when writing tests that will run on the autobuilders
(https://docs.yoctoproject.org/test-manual/intro.html?highlight=cleanall#considerations-when-writing-tests).

Reword the documentation to clearly discourage, provide a safe alternative
(bitbake -f -c fetch), and the rationale with an example.

Reported-by: Sam Liddicott
Link: https://bootlin.com/blog/yocto-sharing-the-sstate-cache-and-download-directories/#comment-2650335
(From yocto-docs rev: c8ba32df7576ceb4b8371595e14ad51bdb3e33b1)

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Simone Weiß
c9834bf620 gnutls: Upgrade 3.8.2 -> 3.8.3
Upgrade version to adress recent CVE findings.

Changelog
=========
** libgnutls: Fix more timing side-channel inside RSA-PSK key exchange
   [GNUTLS-SA-2024-01-14, CVSS: medium] [CVE-2024-0553]

** libgnutls: Fix assertion failure when verifying a certificate chain with a
   cycle of cross signatures
   [GNUTLS-SA-2024-01-09, CVSS: medium] [CVE-2024-0567]

** libgnutls: Fix regression in handling Ed25519 keys stored in PKCS#11 token
   certtool was unable to handle Ed25519 keys generated on PKCS#11
   with pkcs11-tool (OpenSC). This is a regression introduced in 3.8.2.

(cherry-pick from Oe-Core rev 705d2972b38efc9f331e3635c07ca92f8812b365)

(From OE-Core rev: f40a53370eac89df38b2fab47c411a61d4df4fc0)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Wang Mingyu
c557cb4f02 gnutls: upgrade 3.8.1 -> 3.8.2
Changelog:
============
** libgnutls: Fix timing side-channel inside RSA-PSK key exchange.
** libgnutls: Add API functions to perform ECDH and DH key agreement
** libgnutls: Added support for AES-GCM-SIV ciphers
** libgnutls: transparent KTLS support is extended to FreeBSD kernel
** gnutls-cli: New option --starttls-name

(cherry-pick from Oe-Core rev 3c01bb0be8ddafa0aa1ad996ec524b51fd28f512)

(From OE-Core rev: d9310c3ce0f88798de6d2d3d0c600b9014c1d872)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Soumya Sambu
92b6805f61 bind: Upgrade 9.18.21 -> 9.18.24
Changelog:
=========
9.18.24:
	- Fix case insensitive setting for isc_ht hashtable.
	[GL #4568]

9.18.23:
	- Specific DNS answers could cause a denial-of-service
	condition due to DNS validation taking a long time.
	(CVE-2023-50387) [GL #4424]
	- Change 6315 inadvertently introduced regressions that
	could cause named to crash. [GL #4234]
	- Under some circumstances, the DoT code in client
	mode could process more than one message at a time when
	that was not expected. That has been fixed. [GL #4487]

9.18.22:
	- Limit isc_task_send() overhead for RBTDB tree pruning.
	[GL #4383]
	- Restore DNS64 state when handling a serve-stale timeout.
	(CVE-2023-5679) [GL #4334]
	- Specific queries could trigger an assertion check with
	nxdomain-redirect enabled. (CVE-2023-5517) [GL #4281]
	- Speed up parsing of DNS messages with many different
	names. (CVE-2023-4408) [GL #4234]
	- Address race conditions in dns_tsigkey_find().
	[GL #4182]
	- Conversion from NSEC3 signed to NSEC signed could
	temporarily put the zone into a state where it was
	treated as unsigned until the NSEC chain was built.
	Additionally conversion from one set of NSEC3 parameters
	to another could also temporarily put the zone into a
	state where it was treated as unsigned until the new
	NSEC3 chain was built. [GL #1794] [GL #4495]
	- Memory leak in zone.c:sign_zone. When named signed a
	zone it could leak dst_keys due to a misplaced
	'continue'. [GL #4488]
	- Log more details about the cause of "not exact" errors.
	[GL #4500]
	- The wrong time was being used to determine what RRSIGs
	where to be generated when dnssec-policy was in use.
	[GL #4494]
	- The "trust-anchor-telemetry" statement is no longer
	marked as experimental. This silences a relevant log
	message that was emitted even when the feature was
	explicitly disabled. [GL #4497]
	- Fix statistics export to use full 64 bit signed numbers
	instead of truncating values to unsigned 32 bits.
	[GL #4467]
	- NetBSD has added 'hmac' to libc which collides with our
	use of 'hmac'. [GL #4478]

(cherry-pick from Oe-Core rev d7f31aba343948dbaadafc8c0c66f78e6ffb46e3)

(From OE-Core rev: 61fa2f52045b7a1553249c33263b5fd32444a305)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Wang Mingyu
ed0ae8e15b bind: upgrade 9.18.20 -> 9.18.21
bind-ensure-searching-for-json-headers-searches-sysr.patch
refreshed for 9.18.21

Changelog:
==========
-Improve LRU cleaning behaviour.
-The "resolver-nonbackoff-tries" and "resolver-retry-interval" options are
 deprecated; a warning will be logged if they are used.
-BIND might sometimes crash after startup or re-configuration when one 'tls'
 entry is used multiple times to connect to remote servers due to initialisation
 attempts from contexts of multiple threads. That has been fixed.
-Dig +yaml will now report "no servers could be reached" also for UDP setup
 failure when no other servers or tries are left.
-Recognize escapes when reading the public key from file.
-Dig +yaml will now report "no servers could be reached" on TCP connection
 failure as well as for UDP timeouts.
-Deprecate AES-based DNS cookies.

(cherry-pick from Oe-core rev b750d54622a0fa0a35d83ddc59f07661e903360b)

(From OE-Core rev: 6977b7ac4202a1dd4264a6b4e4e6fd5c3dc07d37)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Wang Mingyu
05f2a66ec5 python3-jinja2: upgrade 3.1.2 -> 3.1.3
Changelog:
==========
-Fix compiler error when checking if required blocks in parent templates are empty.
-xmlattr filter does not allow keys with spaces.
-Make error messages stemming from invalid nesting of {% trans %} blocks more helpful

upgrade include fix for CVE-2024-22195.
(cherry-pick from Oe-Core rev 8a0524464583d69df7746253f5020c2c125a8e1f)

(From OE-Core rev: f8f89b901e3f8db3a9e61ab49976beeb9531d1c2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Lee Chee Yang
0d4b501890 libxml2: upgrade to 2.11.7
libxml2 2.11.7
Security
[CVE-2024-25062] xmlreader: Don't expand XIncludes when backtracking

libxml2 2.11.6
Regressions
threads: Fix --with-thread-alloc
xinclude: Fix 'last' pointer in xmlXIncludeCopyNode

Bug fixes
parser: Fix potential use-after-free in xmlParseCharDataInternal

(From OE-Core rev: a0d164d7705034b2c351c518cebad8811ed5026f)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Dhairya Nagodra
59db49d903 xwayland: upgrade 23.2.3 -> 23.2.4
Includes fixes for CVE-2023-6816, CVE-2024-0408, CVE-2024-0409

(From OE-Core rev: 91f5e2a55212f3e0c8ce9269a139a7f4519f28a9)

Signed-off-by: Dhairya Nagodra <dnagodra@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Michael Opdenacker
3d986317d1 dev-manual: packages: need enough free space
Enough free storage space is needed to apply package upgrades.

(From yocto-docs rev: 0ccb6570c8ae50f2f40b3634a9798a10fd20811d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 03:59:26 -10:00
Michael Opdenacker
3d5846e144 dev-manual: packages: clarify shared PR service constraint
Explicit the problems previous described as "obvious".

(From yocto-docs rev: c5e3b57398d98626e348cb14d2a89ecc5f424dd4)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 03:59:26 -10:00
Michael Opdenacker
d241202fa1 manuals: suppress excess use of "following" word
To simplify the style, replace "Following is" and "Following are"
by "here is" and "here are", sounding more natural.

In some cases, also go further by simplifying "Here are/is xxx"
by "xxx are/is" when the "are" or "is" are not two far at
the end of the sentence.

In some cases too, completely remove the sentence, when
it's redundant with the preceding title.

(From yocto-docs rev: da1cbd7083238657aaeaea16841b24531c86298e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 03:59:26 -10:00
Michael Opdenacker
74ed43b221 ref-manual: release-process: grammar fix
(From yocto-docs rev: e5d03de84a327332d20e74a8634bccfe0bf9405a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 03:59:26 -10:00
Michael Opdenacker
d9bb5baff0 ref-manual: system-requirements: update packages to build docs
- "git" is now required to run "set_versions.py"

- Fix Ubuntu / Debian packages.
  The previous instructions didn't run on Debian 12
  Tested on Ubuntu 22.04 and Debian 12.

  Reported on https://lists.yoctoproject.org/g/docs/message/4789

(From yocto-docs rev: 1e32b69e1317c05069878e882023a17294cc0524)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: <mhagans@skyviewsat.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 03:59:26 -10:00
Simone Weiß
f755f56106 dev-manual: Rephrase spdx creation
Make the options more clear by providing them in a list instead of plain prosa.
Also add a ref for a presentation wrt spdx 3.0 in the Yocto project.

Fixes [YOCTO 7476]

(From yocto-docs rev: 8bdfc2feac8aa65d77aada29c046d88e2c31b222)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 03:59:26 -10:00
Munehisa Kamata
5d567f14e9 kernel.bbclass: Set pkg-config variables for building modules
The pkg-config workaround has been applied for kernel image building, but
not for module building. So pkg-config variables are different between
do_compile and do_compile_kernelmodules tasks. It may unnecessary trigger
rebuilding of a few host tools at the later task.

Especially when CONFIG_DEBUG_INFO_BTF is enabled in the kernel, it may even
trigger rebuilding vmlinux at do_compile_kernelmodules due to the rebuilt
host tools such as certs/extract-cert or objtool (on x86). This eventually
creates an inconsistent set of kernel binaries.

Here is the repro steps:

 - Check out nanbield on x86
   - The unexpected rebuild happens on kirkstone or possibly earlier

 - Ensure that pahole is available (e.g. via meta-oe)

 - Set KERNEL_DEBUG to "True" to properly set up PAHOLE
   e.g.
   $ export KERNEL_DEBUG="True"
   $ export BB_ENV_PASSTHROUGH_ADDITIONS="${BB_ENV_PASSTHROUGH_ADDITIONS} KERNEL_DEBUG"

 - Enable CONFIG_DEBUG_INFO_BTF=y
   e.g.
   $ bitbake -c menuconfig virtual/kernel
    -> Kernel hacking
      -> Compile-time checks and compiler options
        -> Generate BTF typeinfo

 - Build the kernel
   e.g.
   $ bitbake virtual/kernel

The BTF information in the resulting bzImage and kernel modules are
inconsistent, because the module's BTF information is generated using the
"second" vmlinux that doesn't have the identical BTF to the "first" vmlinux.
These modules can't be loaded at runtime due to the BTF mismatch.

This also leads to a build-id mismatch between the installed bzImage and
vmlinux since the bzImage is created from the first vmlinux, but the
installed vmlinux is the second one.

  $ eu-readelf -n tmp/work/qemux86_64-poky-linux/linux-yocto/6.5.13+git/image/boot/{bzImage*,vmlinux*} | grep "Build ID"
   Build ID: 4a0d62ee7fef0244950f0f604253729875bea493
   Build ID: fb99b3d91399dbe42bf67ddee59e0f5a0c7f74d9

To avoid the unexpected rebuilding that results in such inconsistency, set
the same pkg-config variables when building kernel and modules. For kernel
5.19 and above, simply set the HOSTPKG_CONFIG in the make command line.

(From OE-Core rev: d88e0fa7c5e6c8252f8f775996f512a37fea4818)

Signed-off-by: Munehisa Kamata <kamatam@amazon.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cd2072e5d953af981339427028e19083257e6a92)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 03:59:26 -10:00
Bruce Ashfield
ed74dbe0c7 linux-yocto/6.1: update CVE exclusions
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 9Feb24
        Date: Fri, 9 Feb 2024 18:02:45 -0500

    ]

(From OE-Core rev: 7b490b890f2bc54c76ae551e92a11fefec4ffec1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 03:59:26 -10:00
Bruce Ashfield
cbc50de8c7 linux-yocto/6.1: update to v6.1.78
Updating linux-yocto/6.1 to the latest korg -stable release that comprises
the following commits:

    8b4118fabd6e Linux 6.1.78
    1296c110c5a0 netfilter: nft_set_rbtree: skip end interval element from gc
    d89a80e4827d net: stmmac: xgmac: fix a typo of register name in DPP safety handling
    7b430fb92440 ALSA: usb-audio: Sort quirk table entries
    06040fadbfef net: stmmac: xgmac: use #define for string constants
    499e6e9f0737 clocksource: Skip watchdog check for large watchdog intervals
    492e0aba0884 block: treat poll queue enter similarly to timeouts
    cf3d57ad6ff8 f2fs: add helper to check compression level
    9f74b3d7183a RDMA/irdma: Fix support for 64k pages
    4675661672e3 vhost: use kzalloc() instead of kmalloc() followed by memset()
    d8712c6c6a38 Revert "ASoC: amd: Add new dmi entries for acp5x platform"
    fbd77ce1d174 io_uring/net: fix sr->len for IORING_OP_RECV with MSG_WAITALL and buffers
    08249dc3d9c1 Input: atkbd - skip ATKBD_CMD_SETLEDS when skipping ATKBD_CMD_GETID
    315075ac739c Input: i8042 - fix strange behavior of touchpad on Clevo NS70PU
    a94d303bea6b hrtimer: Report offline hrtimer enqueue
    8b380ad970d0 usb: host: xhci-plat: Add support for XHCI_SG_TRB_CACHE_SIZE_QUIRK
    f2cf6db28545 usb: dwc3: host: Set XHCI_SG_TRB_CACHE_SIZE_QUIRK
    041cb58f54f5 USB: serial: cp210x: add ID for IMST iM871A-USB
    36ef5b7b4f0a USB: serial: option: add Fibocom FM101-GL variant
    234099ab7f8a USB: serial: qcserial: add new usb-id for Dell Wireless DW5826e
    39fbca505fe6 ALSA: usb-audio: add quirk for RODE NT-USB+
    2552f6b1bd64 ALSA: usb-audio: Add a quirk for Yamaha YIT-W12TX transmitter
    b8259a502320 ALSA: usb-audio: Add delay quirk for MOTU M Series 2nd revision
    82761993d429 mtd: parsers: ofpart: add workaround for #size-cells 0
    b478e414cf85 fs: dlm: don't put dlm_local_addrs on heap
    e5dc63f01e02 blk-iocost: Fix an UBSAN shift-out-of-bounds warning
    1ebd75cefaac scsi: core: Move scsi_host_busy() out of host lock if it is for per-command
    ec1bedd79758 fs/ntfs3: Fix an NULL dereference bug
    a442ff5405d7 netfilter: nft_set_pipapo: remove scratch_aligned pointer
    fac3478d5b87 netfilter: nft_set_pipapo: add helper to release pcpu scratch area
    3eaab7d565be netfilter: nft_set_pipapo: store index in scratch maps
    181dade25130 netfilter: nft_ct: reject direction for ct id
    efdd665ce1a1 drm/amd/display: Implement bounds check for stream encoder creation in DCN301
    a060da32357a netfilter: nft_compat: restrict match/target protocol to u16
    8762bcc92719 netfilter: nft_compat: reject unused compat flag
    e79ef7966ee9 netfilter: nft_compat: narrow down revision to unsigned 8-bits
    69d66d493b1f selftests: cmsg_ipv6: repeat the exact packet
    4e2c4846b250 ppp_async: limit MRU to 64K
    e0e09186d882 af_unix: Call kfree_skb() for dead unix_(sk)->oob_skb in GC.
    3d3a5b31b435 tipc: Check the bearer type before calling tipc_udp_nl_bearer_add()
    cf6b97e1830e rxrpc: Fix response to PING RESPONSE ACKs to a dead call
    05a4d0e16615 drm/i915/gvt: Fix uninitialized variable in handle_mmio()
    54538752216b inet: read sk->sk_family once in inet_recv_error()
    3fa78ee0e381 hwmon: (coretemp) Fix bogus core_id to attr name mapping
    9bce69419271 hwmon: (coretemp) Fix out-of-bounds memory access
    a3156be201cf hwmon: (aspeed-pwm-tacho) mutex for tach reading
    406574668634 octeontx2-pf: Fix a memleak otx2_sq_init
    cbf2e1660259 atm: idt77252: fix a memleak in open_card_ubr0
    e37cde7a5716 tunnels: fix out of bounds access when building IPv6 PMTU error
    90fe47743a2b selftests: net: avoid just another constant wait
    7f484179c53a selftests: net: cut more slack for gro fwd tests.
    466ceebe48cb net: atlantic: Fix DMA mapping for PTP hwts ring
    0193e0660cc6 netdevsim: avoid potential loop in nsim_dev_trap_report_work()
    bcabbf8ab5c6 wifi: mac80211: fix waiting for beacons logic
    e42ff0844fe4 net: stmmac: xgmac: fix handling of DPP safety error for DMA channels
    fb8bfc6ea3cd drm/msm/dpu: check for valid hw_pp in dpu_encoder_helper_phys_cleanup
    42939a1ea6d4 drm/msm/dp: return correct Colorimetry for DP_TEST_DYNAMIC_RANGE_CEA case
    d2b7e247f368 drm/msms/dp: fixed link clock divider bits be over written in BPC unknown case
    cbc53148cc09 cifs: failure to add channel on iface should bump up weight
    0430bfcd4665 phy: ti: phy-omap-usb2: Fix NULL pointer dereference for SRP
    296fb308f4f8 dmaengine: fix is_slave_direction() return false when DMA_DEV_TO_DEV
    ed3bb52a05d3 phy: renesas: rcar-gen3-usb2: Fix returning wrong error code
    25ab4d72eb7c dmaengine: fsl-qdma: Fix a memory leak related to the queue command DMA
    13535ae76655 dmaengine: fsl-qdma: Fix a memory leak related to the status queue DMA
    908939b8e81a dmaengine: ti: k3-udma: Report short packet errors
    a1d7ca71ba1a dmaengine: fsl-dpaa2-qdma: Fix the size of dma pools
    78327acd4cdc ext4: regenerate buddy after block freeing failed if under fc replay
    f1bb70486c9c Linux 6.1.77
    d78690bb5d17 drm/amdgpu: Fix missing error code in 'gmc_v6/7/8/9_0_hw_init()'
    f086c50a9834 ASoC: codecs: wsa883x: fix PA volume control
    ac86261fa87b ASoC: codecs: lpass-wsa-macro: fix compander volume hack
    2386ee6cba10 bonding: remove print in bond_verify_device_path
    e1edd8e6c061 gve: Fix use-after-free vulnerability
    9e584ea1010b LoongArch/smp: Call rcutree_report_cpu_starting() at tlb_init()
    98c392a91a6e drm/msm/dsi: Enable runtime PM
    befdb0a8a195 Revert "drm/amd/display: Disable PSR-SU on Parade 0803 TCON again"
    dc904345e377 mm, kmsan: fix infinite recursion due to RCU critical section
    c5a12dfbfa76 arm64: irq: set the correct node for shadow call stack
    ddd367ebc446 selftests: bonding: Check initial state
    7ebe20e63290 selftests: team: Add missing config options
    aaa8f7684588 net: sysfs: Fix /sys/class/net/<iface> path
    bea0fbf8573c selftests: net: fix available tunnels detection
    a2104f438764 af_unix: fix lockdep positive in sk_diag_dump_icons()
    fde3d47efe4d net: ipv4: fix a memleak in ip_setup_cork
    0f501dae16b7 netfilter: nft_ct: sanitize layer 3 and 4 protocol number in custom expectations
    9ff981cd65cd netfilter: nf_log: replace BUG_ON by WARN_ON_ONCE when putting logger
    67f0ca0a4c85 netfilter: nf_tables: restrict tunnel object to NFPROTO_NETDEV
    8a51dbf7b72c netfilter: conntrack: correct window scaling with retransmitted SYN
    cd091ca44c42 selftests: net: add missing config for GENEVE
    04a553d8ac15 bridge: mcast: fix disabled snooping after long uptime
    9c333d9891f3 llc: call sock_orphan() at release time
    c59ed6592fb1 ipv6: Ensure natural alignment of const ipv6 loopback and router addresses
    2f3d9829f74d net: dsa: qca8k: fix illegal usage of GPIO
    1e4c227805f2 ixgbe: Fix an error handling path in ixgbe_read_iosf_sb_reg_x550()
    3b84b7000c61 ixgbe: Refactor overtemp event handling
    9c8eafc5e9e8 ixgbe: Refactor returning internal error codes
    b383d4ea272f tcp: add sanity checks to rx zerocopy
    046260ce7ca5 net: lan966x: Fix port configuration when using SGMII interface
    d2f1b7fe74af ipmr: fix kernel panic when forwarding mcast packets
    03dc5b73af2e ipv4: raw: add drop reasons
    d54e4da98bbf ip6_tunnel: make sure to pull inner header in __ip6_tnl_rcv()
    262caadfa970 selftests: net: give more time for GRO aggregation
    53e94ec530e3 HID: hidraw: fix a problem of memory leak in hidraw_release()
    db6338f45971 scsi: core: Move scsi_host_busy() out of host lock for waking up EH handler
    81e92f0c97ea regulator: ti-abb: don't use devm_platform_ioremap_resource_byname for shared interrupt register
    7eb86ddaf1eb scsi: isci: Fix an error code problem in isci_io_request_build()
    206dcd2624b9 drm: using mul_u32_u32() requires linux/math64.h
    a2f30104fe5f wifi: cfg80211: fix RCU dereference in __cfg80211_bss_update
    071d98d5ee15 perf: Fix the nr_addr_filters fix
    8eea7e1d69e2 drm/amdkfd: Fix 'node' NULL check in 'svm_range_get_range_boundaries()'
    7513f0906c22 drm/amdgpu: Release 'adev->pm.fw' before return in 'amdgpu_device_need_post()'
    af8e2926152b drm/amdgpu: Fix with right return code '-EIO' in 'amdgpu_gmc_vram_checking()'
    d282ea070313 drm/amd/powerplay: Fix kzalloc parameter 'ATOM_Tonga_PPM_Table' in 'get_platform_power_management_table()'
    3fbfeb8536bc ceph: fix invalid pointer access if get_quota_realm return ERR_PTR
    7f2649c94264 ceph: fix deadlock or deadcode of misusing dget()
    692ead237df9 ceph: reinitialize mds feature bit even when session in open
    1d9c777d3e70 blk-mq: fix IO hang from sbitmap wakeup race
    1f7a0188579e virtio_net: Fix "‘%d’ directive writing between 1 and 11 bytes into a region of size 10" warnings
    b602f098f716 drm/amdkfd: Fix lock dependency warning with srcu
    8b25d397162b drm/amdkfd: Fix lock dependency warning
    49a7b708da92 libsubcmd: Fix memory leak in uniq()
    2c1164ad927e misc: lis3lv02d_i2c: Add missing setting of the reg_ctrl callback
    91f197748738 9p: Fix initialisation of netfs_inode for 9p
    fc557b76dcf0 PCI/AER: Decode Requester ID when no error info found
    83c895561adc PCI: Fix 64GT/s effective data rate calculation
    521f28eedd6b spmi: mediatek: Fix UAF on device remove
    089ebfab244b fs/kernfs/dir: obey S_ISGID
    c13bcbdb8415 tty: allow TIOCSLCKTRMIOS with CAP_CHECKPOINT_RESTORE
    d8d7ffefc075 selftests/sgx: Fix linker script asserts
    fa3f6cd20def usb: hub: Add quirk to decrease IN-ep poll interval for Microchip USB491x hub
    9cdf5ddb06ee usb: hub: Replace hardcoded quirk value with BIT() macro
    4c8ca96124d5 perf cs-etm: Bump minimum OpenCSD version to ensure a bugfix is present
    1d83c8592264 PCI: switchtec: Fix stdev_release() crash after surprise hot remove
    5e0160dab118 PCI: Only override AMD USB controller if required
    26b8a35fef98 mailbox: arm_mhuv2: Fix a bug for mhuv2_sender_interrupt
    6e8c0eda6cca mfd: ti_am335x_tscadc: Fix TI SoC dependencies
    52e7f0554952 xen/gntdev: Fix the abuse of underlying struct page in DMA-buf import
    e827364bc147 i3c: master: cdns: Update maximum prescaler value for i2c clock
    4f7dad73df4c um: time-travel: fix time corruption
    d8512cc8ac05 um: net: Fix return type of uml_net_start_xmit()
    d8264ce2f875 um: Don't use vfprintf() for os_info()
    a95e52af36a0 um: Fix naming clash between UML and scheduler
    7d1c4e580943 leds: trigger: panic: Don't register panic notifier if creating the trigger failed
    2cb659ef0ac7 ALSA: hda/conexant: Fix headset auto detect fail in cx8070 and SN6140
    05a0900bd7a5 drm/amdkfd: Fix iterator used outside loop in 'kfd_add_peer_prop()'
    34bb1b97c370 drm/amdgpu: Drop 'fence' check in 'to_amdgpu_amdkfd_fence()'
    66d38977e226 drm/amdgpu: Fix '*fw' from request_firmware() not released in 'amdgpu_ucode_request()'
    da08dbb64729 drm/amdgpu: Let KFD sync with VM fences
    adae24c5b342 drm/amdgpu: Fix ecc irq enable/disable unpaired
    aade0a07609b clk: imx: clk-imx8qxp: fix LVDS bypass, pixel and phy clocks
    7294b1bbaa57 drm/amd/display: make flip_timestamp_in_us a 64-bit variable
    c95d2144be77 watchdog: it87_wdt: Keep WDTCTRL bit 3 unmodified for IT8784/IT8786
    ec74a45e8028 clk: mmp: pxa168: Fix memory leak in pxa168_clk_init()
    14992bc77ff4 clk: hi3620: Fix memory leak in hi3620_mmc_clk_init()
    d443fb67ca5a drm/amdgpu: fix ftrace event amdgpu_bo_move always move on same heap
    fe7e8ec07259 drm/msm/dpu: fix writeback programming for YUV cases
    7593e62702a1 drm/msm/dpu: Ratelimit framedone timeout msgs
    fb017c3e6acc drm/amd/display: For prefetch mode > 0, extend prefetch if possible
    4ef53b7e301d media: i2c: imx335: Fix hblank min/max values
    5008bde32c02 media: ddbridge: fix an error code problem in ddb_probe
    6408851d05a4 media: amphion: remove mutext lock in condition of wait_event
    5108a2dc2db5 IB/ipoib: Fix mcast list locking
    fe80290b2ad1 drm/exynos: Call drm_atomic_helper_shutdown() at shutdown/unbind time
    7c972c894575 f2fs: fix to tag gcing flag on page during block migration
    fb55c3cee6db hwmon: (nct6775) Fix fan speed set failure in automatic mode
    bf808f58681c media: rkisp1: Fix IRQ disable race issue
    f0d0fe37873c media: rkisp1: Store IRQ lines
    fb71b54856c4 media: rkisp1: Fix IRQ handler return values
    1c51b6b0c62d media: rkisp1: Drop IRQF_SHARED
    c3f77c5d63be ALSA: hda: Intel: add HDA_ARL PCI ID support
    3b28da57d0c9 PCI: add INTEL_HDA_ARL to pci_ids.h
    16786b70903c media: rockchip: rga: fix swizzling for RGB formats
    1ef8beb4bf5d media: stk1160: Fixed high volume of stk1160_dbg messages
    25eaa9f999cd drm/mipi-dsi: Fix detach call without attach
    f3e41cc26067 drm/framebuffer: Fix use of uninitialized variable
    406f8d5bade8 drm/drm_file: fix use of uninitialized variable
    48ad42cd95ac ASoC: amd: Add new dmi entries for acp5x platform
    b6ca70f06e21 f2fs: fix write pointers on zoned device after roll forward
    9773a96eac93 drm/amd/display: Fix tiled display misalignment
    126543736f25 drm/bridge: anx7625: Fix Set HPD irq detect window to 2ms
    3c2bd20dc9e3 drm/panel-edp: Add override_edid_mode quirk for generic edp
    055c84972447 RDMA/IPoIB: Fix error code return in ipoib_mcast_join
    c4cb42824e6e fast_dput(): handle underflows gracefully
    0ee8e0a183b0 ASoC: doc: Fix undefined SND_SOC_DAPM_NOPM argument
    52e25a323c3d ALSA: hda: Refer to correct stream index at loops
    b1020a546779 f2fs: fix to check return value of f2fs_reserve_new_block()
    332a7c108eca net: dsa: qca8k: put MDIO bus OF node on qca8k_mdio_register() failure
    0438a985deba octeontx2-af: Fix max NPC MCAM entry check while validating ref_entry
    95173204b1ff i40e: Fix VF disable behavior to block all traffic
    9f9ac39adbe2 bridge: cfm: fix enum typo in br_cc_ccm_tx_parse
    a243e0818e97 net/smc: disable SEID on non-s390 archs where virtual ISM may be used
    388736c62bf9 Bluetooth: L2CAP: Fix possible multiple reject send
    6d95ade9e647 Bluetooth: hci_sync: fix BR/EDR wakeup bug
    a836b1c3333d Bluetooth: qca: Set both WIDEBAND_SPEECH and LE_STATES quirks for QCA2066
    da1a6e9f01e7 wifi: cfg80211: free beacon_ies when overridden from hidden BSS
    3bb09b9af151 wifi: rtlwifi: rtl8723{be,ae}: using calculate_bit_shift()
    12473265f50c libbpf: Fix NULL pointer dereference in bpf_object__collect_prog_relos
    68ef19417a9a wifi: rtl8xxxu: Add additional USB IDs for RTL8192EU devices
    e15fa0c67eef arm64: dts: amlogic: fix format for s4 uart node
    9e8338b72b35 ice: fix pre-shifted bit usage
    9c5541f3f0fd arm64: dts: qcom: msm8998: Fix 'out-ports' is a required property
    2fdbf9d9a0e3 arm64: dts: qcom: msm8996: Fix 'in-ports' is a required property
    fd9a2c700323 md: Whenassemble the array, consult the superblock of the freshest device
    8ae420190058 block: prevent an integer overflow in bvec_try_merge_hw_page
    44f6b75c095e net: dsa: mv88e6xxx: Fix mv88e6352_serdes_get_stats error path
    0edb3ae8bfa3 net: atlantic: eliminate double free in error handling logic
    ea12794ea617 ice: fix ICE_AQ_VSI_Q_OPT_RSS_* register values
    d4560c11c322 scsi: hisi_sas: Set .phy_attached before notifing phyup event HISI_PHYE_PHY_UP_PM
    dc15b313f3ca ARM: dts: imx23/28: Fix the DMA controller node name
    9388665a1249 ARM: dts: imx23-sansa: Use preferred i2c-gpios properties
    fb8e41af9525 ARM: dts: imx27-apf27dev: Fix LED name
    6ebe86575b0e ARM: dts: imx25/27: Pass timing0
    68b2e26225b2 ARM: dts: imx25: Fix the iim compatible string
    af7bbdac8973 block/rnbd-srv: Check for unlikely string overflow
    238ec612a26c ionic: bypass firmware cmds when stuck in reset
    434fcaf3721f ionic: pass opcode to devcmd_wait
    7dc0fefd37dd net: phy: at803x: fix passing the wrong reference for config_intr
    e7398f3e45d4 ARM: dts: imx1: Fix sram node
    7721a55c0234 ARM: dts: imx27: Fix sram node
    8a0285ed7e87 ARM: dts: imx: Use flash@0,0 pattern
    8953b37bb106 ARM: dts: imx25/27-eukrea: Fix RTC node name
    1acdaf9f290f ARM: dts: rockchip: fix rk3036 hdmi ports node
    574dcd3126aa wifi: wfx: fix possible NULL pointer dereference in wfx_set_mfp_ap()
    5a44a664ab85 bpf: Set uattr->batch.count as zero before batched update or deletion
    7719e56b203a scsi: libfc: Fix up timeout error in fc_fcp_rec_error()
    73fe92ddf90e scsi: libfc: Don't schedule abort twice
    d6d6fe4bb105 bpf: Check rcu_read_lock_trace_held() before calling bpf map helpers
    c07965d1a771 wifi: ath11k: fix race due to setting ATH11K_FLAG_EXT_IRQ_ENABLED too early
    25c6f49ef59b wifi: ath9k: Fix potential array-index-out-of-bounds read in ath9k_htc_txstatus()
    db30f469ae8b ARM: dts: imx7s: Fix nand-controller #size-cells
    6fa750d62f2a ARM: dts: imx7s: Fix lcdif compatible
    c9c2a3582093 ARM: dts: imx7d: Fix coresight funnel ports
    89fdf0a2c74f scsi: arcmsr: Support new PCI device IDs 1883 and 1886
    61c859bd6679 scsi: mpi3mr: Add PCI checks where SAS5116 diverges from SAS4116
    5c4cbec5106d net: usb: ax88179_178a: avoid two consecutive device resets
    cd4cdad9bd3a bonding: return -ENOMEM instead of BUG in alb_upper_dev_walk
    c0d5a69322eb PCI: Add no PM reset quirk for NVIDIA Spectrum devices
    04dcef4a780a scsi: lpfc: Fix possible file string name overflow when updating firmware
    c0a96adce287 soc: xilinx: fix unhandled SGI warning message
    01946c3c83b2 soc: xilinx: Fix for call trace due to the usage of smp_processor_id()
    fd937767d586 selftests/bpf: Fix issues in setup_classid_environment()
    f58cfb63e4d7 wifi: rt2x00: correct wrong BBP register in RxDCOC calibration
    ad0e7bbc0ba2 selftests/bpf: Fix pyperf180 compilation failure with clang18
    76ab331d6d65 selftests/bpf: satisfy compiler by having explicit return in btf test
    739b3ccd9486 wifi: rt2x00: restart beacon queue when hardware reset
    6d2cbf517dca ext4: avoid online resizing failures due to oversized flex bg
    dd10f82ece2e ext4: remove unnecessary check from alloc_flex_gd()
    60292a12a08e ext4: unify the type of flexbg_size to unsigned int
    069ede047554 ext4: fix inconsistent between segment fstrim and full fstrim
    80cab9dad5e9 ecryptfs: Reject casefold directory inodes
    e8ca3e73301e SUNRPC: Fix a suspicious RCU usage warning
    0671f42a9c10 KVM: s390: fix setting of fpc register
    7a4d6481fbdd s390/ptrace: handle setting of fpc register correctly
    08f65c9067bb s390/vfio-ap: fix sysfs status attribute for AP queue devices
    d6c8d8ab761f arch: consolidate arch_irq_work_raise prototypes
    3537f92cd22c jfs: fix array-index-out-of-bounds in diNewExt
    b03d76cc6671 rxrpc_find_service_conn_rcu: fix the usage of read_seqbegin_or_lock()
    ea4eb77c533c afs: fix the usage of read_seqbegin_or_lock() in afs_find_server*()
    eef7c4cd9844 afs: fix the usage of read_seqbegin_or_lock() in afs_lookup_volume_rcu()
    91256fcd578a crypto: stm32/crc32 - fix parsing list of devices
    e0e78522b47f erofs: fix ztailpacking for subpage compressed blocks
    6c7bdb97d470 crypto: octeontx2 - Fix cptvf driver cleanup
    75b0f71b26b3 pstore/ram: Fix crash when setting number of cpus to an odd number
    32e8f2d95528 jfs: fix uaf in jfs_evict_inode
    70780914cb57 jfs: fix array-index-out-of-bounds in dbAdjTree
    cab0c265ba18 jfs: fix slab-out-of-bounds Read in dtSearch
    e4cbc857d75d UBSAN: array-index-out-of-bounds in dtSplitRoot
    42f433785f10 FS:JFS:UBSAN:array-index-out-of-bounds in dbAdjTree
    185d97e5be7f ACPI: APEI: set memory failure flags as MF_ACTION_REQUIRED on synchronous events
    31569995fc65 PM / devfreq: Synchronize devfreq_monitor_[start/stop]
    7633b7a036c2 ACPI: NUMA: Fix the logic of getting the fake_pxm value
    33650372e3ea ACPI: extlog: fix NULL pointer dereference check
    431c1a492107 PNP: ACPI: fix fortify warning
    81eb8b56e70c ACPI: video: Add quirk for the Colorful X15 AT 23 Laptop
    4d4e06eaa251 audit: Send netlink ACK before setting connection in auditd_set
    3430936a0146 regulator: core: Only increment use_count when enable_count changes
    b3ae38966d1c debugobjects: Stop accessing objects after releasing hash bucket lock
    74ec093dba93 perf/core: Fix narrow startup race when creating the perf nr_addr_filters sysfs file
    d67e43be0e30 x86/mce: Mark fatal MCE's page as poison to avoid panic in the kdump kernel
    abd26515d4b7 powerpc/lib: Validate size for vector operations
    0be5614f26c1 powerpc: pmd_move_must_withdraw() is only needed for CONFIG_TRANSPARENT_HUGEPAGE
    d4908b3431bf x86/boot: Ignore NMIs during very early boot
    a6fd14db752a powerpc/64s: Fix CONFIG_NUMA=n build due to create_section_mapping()
    cf3256c43106 powerpc/mm: Fix build failures due to arch_reserved_kernel_pages()
    7ad4b2a6b279 powerpc: Fix build error due to is_valid_bugaddr()
    d87d9a23a1f5 drivers/perf: pmuv3: don't expose SW_INCR event in sysfs
    4431284f4a94 arm64: irq: set the correct node for VMAP stack
    d482d61025e3 powerpc/mm: Fix null-pointer dereference in pgtable_cache_add
    9e5c37e0fa0e asm-generic: make sparse happy with odd-sized put_unaligned_*()
    e5c3b988b827 Linux 6.1.76
    d7dc6a860491 net/mlx5e: Handle hardware IPsec limits events
    e90c7d26cab1 serial: core: fix kernel-doc for uart_port_unlock_irqrestore()
    c02d3872c8dd x86/entry/ia32: Ensure s32 is sign extended to s64
    cf0b4ba4b0f1 tick/sched: Preserve number of idle sleeps across CPU hotplug events
    e333bbb557dc mips: Call lose_fpu(0) before initializing fcr31 in mips_set_personality_nan
    ec745eeff4d2 cxl/region:Fix overflow issue in alloc_hpa()
    1111abee590d MIPS: lantiq: register smp_ops on non-smp platforms
    b086f6d97977 spi: fix finalize message on error return
    598af91f622b spi: bcm-qspi: fix SFDP BFPT read by usig mspi read
    a2fa86e2bb67 drm/bridge: anx7625: Ensure bridge is suspended in disable()
    9564767b67f4 block: Move checking GENHD_FL_NO_PART to bdev_add_partition()
    4b84411165f8 gpio: eic-sprd: Clear interrupt after set the interrupt type
    23cf4cf4294f drm/exynos: gsc: minor fix for loop iteration in gsc_runtime_resume
    ba930885bfd2 drm/exynos: fix accidental on-stack copy of exynos_drm_plane
    c1cd4f9da526 drm/bridge: parade-ps8640: Make sure we drop the AUX mutex in the error case
    6ba690e7f7a4 drm/bridge: parade-ps8640: Ensure bridge is suspended in .post_disable()
    279f1cc56261 drm/bridge: sii902x: Fix audio codec unregistration
    e0f83c234ea7 drm/bridge: sii902x: Fix probing race issue
    c46f9c7f93f6 drm/bridge: sii902x: Use devm_regulator_bulk_get_enable()
    ed555f5b5cc9 drm: panel-simple: add missing bus flags for Tianma tm070jvhg[30/33]
    6b7fb2903aec drm/bridge: parade-ps8640: Wait for HPD when doing an AUX transfer
    f9a4c401bf4c Revert "powerpc/64s: Increase default stack size to 32KB"
    ec5e692cbad4 drm/panel-edp: drm/panel-edp: Fix AUO B116XAK01 name and timing
    f91c77d2c363 btrfs: zoned: optimize hint byte for zoned allocator
    4c45143447e6 btrfs: zoned: factor out prepare_allocation_zoned()
    b168029d67e9 serial: sc16is7xx: fix unconditional activation of THRI interrupt
    49d733c4bbee serial: sc16is7xx: Use port lock wrappers
    4fd9a0212142 serial: core: Provide port lock wrappers
    e11dea8f5033 dlm: use kernel_connect() and kernel_bind()
    fd7c2ffa0ea4 ARM: dts: qcom: sdx55: fix USB SS wakeup
    ecf87621b497 ARM: dts: qcom: sdx55: fix USB DP/DM HS PHY interrupts
    34d2c909c746 ARM: dts: qcom: sdx55: fix pdc '#interrupt-cells'
    bba1320ef21b ARM: dts: samsung: exynos4210-i9100: Unconditionally enable LDO12
    46cd7ef69fe6 ARM: dts: qcom: sdx55: fix USB wakeup interrupt types
    b87a1229d866 pipe: wakeup wr_wait after setting max_usage
    6f5c4aaddd63 fs/pipe: move check to pipe_has_watch_queue()
    28f010dc50df thermal: intel: hfi: Add syscore callbacks for system-wide PM
    b2517d141244 thermal: intel: hfi: Disable an HFI instance when all its CPUs go offline
    a8056e821ccf thermal: intel: hfi: Refactor enabling code into helper functions
    e1c9d32c9830 PM: sleep: Fix possible deadlocks in core system-wide PM code
    a9dbf8ca3101 PM: core: Remove unnecessary (void *) conversions
    ea3357c6cfab bus: mhi: ep: Do not allocate event ring element on stack
    512fc4d735c2 media: ov13b10: Enable runtime PM before registering async sub-device
    a14c2431e53a media: ov13b10: Support device probe in non-zero ACPI D state
    33bf23c9940d erofs: fix lz4 inplace decompression
    2197389e1a8a erofs: get rid of the remaining kmap_atomic()
    471ab2e8b7e1 drm/amdgpu/pm: Fix the power source flag error
    b4cbd018322b drm/amd/display: Port DENTIST hang and TDR fixes to OTG disable W/A
    7960f14fcad0 drm/bridge: nxp-ptn3460: simplify some error checking
    6341140b0445 platform/x86: intel-uncore-freq: Fix types in sysfs callbacks
    85d16c03ddd3 drm/amd/display: Disable PSR-SU on Parade 0803 TCON again
    b5fcb340b7b2 drm/tidss: Fix atomic_flush check
    2a81e844d1ff drm/bridge: nxp-ptn3460: fix i2c_master_send() error checking
    62f2e79cf9f4 drm: Don't unref the same fb many times by mistake due to deadlock handling
    635e996e6e3b cpufreq: intel_pstate: Refine computation of P-state for given frequency
    242996f50065 gpiolib: acpi: Ignore touchpad wakeup on GPD G1619-04
    6c495c84e24e xfs: read only mounts with fsopen mount API are busted
    7f95f6997f4f firmware: arm_scmi: Check mailbox/SMT channel for consistency
    2c939c74ef0b ksmbd: fix global oob in ksmbd_nl_policy
    2841631a0365 platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe
    8e34430e33b8 netfilter: nf_tables: reject QUEUE/DROP verdict parameters
    af149a46890e netfilter: nft_chain_filter: handle NETDEV_UNREGISTER for inet/ingress basechain
    5e7d8ddf2a38 hv_netvsc: Calculate correct ring size when PAGE_SIZE is not 4 Kbytes
    aa2cc9363926 wifi: iwlwifi: fix a memory corruption
    dcc54a54de54 exec: Fix error handling in begin_new_exec()
    4646445756ac rbd: don't move requests to the running list on errors
    6e6bca99e8d8 btrfs: don't abort filesystem when attempting to snapshot deleted subvolume
    52e02f26d01a btrfs: defrag: reject unknown flags of btrfs_ioctl_defrag_range_args
    86aff7c5f7c6 btrfs: don't warn if discard range is not aligned to sector
    b60f748a2fb6 btrfs: tree-checker: fix inline ref size in error messages
    c91c247be4de btrfs: ref-verify: free ref cache before clearing mount opt
    9ebd514fbdeb btrfs: avoid copying BTRFS_ROOT_SUBVOL_DEAD flag to snapshot of subvolume being deleted
    d9c54763e5cd nbd: always initialize struct msghdr completely
    0a5a083c2b6a net: fec: fix the unhandled context fault from smmu
    5b1086d22639 fjes: fix memleaks in fjes_hw_setup
    4b4dcb3f42dd selftests: netdevsim: fix the udp_tunnel_nic test
    cec65f09c47d net: mvpp2: clear BM pool before initialization
    acb6eaf2eac9 net: stmmac: Wait a bit for the reset to take effect
    67ee37360d41 netfilter: nf_tables: validate NFPROTO_* family
    ed5b62bbd451 netfilter: nf_tables: restrict anonymous set and map names to 16 bytes
    c25d7922ef0f btrfs: fix race between reading a directory and adding entries to it
    fd968e683bd9 btrfs: refresh dir last index during a rewinddir(3) call
    a045b6b19740 btrfs: set last dir index to the current last index when opening dir
    2aa515b5b501 btrfs: fix infinite directory reads
    bc6e242bb74e netfilter: nft_limit: reject configurations that cause integer overflow
    c817f5c01626 rcu: Defer RCU kthreads wakeup when CPU is dying
    b2fa86b2aceb net/mlx5e: fix a potential double-free in fs_any_create_groups
    42876db001bb net/mlx5e: fix a double-free in arfs_create_groups
    890881d10f35 net/mlx5e: Allow software parsing when IPsec crypto is enabled
    62ce16005ee4 net/mlx5: Use mlx5 device constant for selecting CQ period mode for ASO
    75d9ed4930b5 net/mlx5: DR, Can't go to uplink vport on RX rule
    e54aedd4d0e5 net/mlx5: DR, Use the right GVMI number for drop action
    f11792c3899c ipv6: init the accept_queue's spinlocks in inet6_create
    de061604f834 netlink: fix potential sleeping issue in mqueue_flush_file
    90fba981cacb tcp: Add memory barrier to tcp_push()
    ab49164c6080 afs: Hide silly-rename files from userspace
    f4f7e696db02 tracing: Ensure visibility when inserting an element into tracing_map
    82a9bc343ba0 netfs, fscache: Prevent Oops in fscache_put_cache()
    71024928b3f7 net/rds: Fix UBSAN: array-index-out-of-bounds in rds_cmsg_recv
    fcb0b4b6bc72 net: micrel: Fix PTP frame parsing for lan8814
    7a581f597a78 tun: add missing rx stats accounting in tun_xdp_act
    41e7decdad04 tun: fix missing dropped counter in tun_xdp_act
    a2232f29bf52 net: fix removing a namespace with conflicting altnames
    6646145be908 udp: fix busy polling
    660c3053d992 llc: Drop support for ETH_P_TR_802_2.
    6d53b813ff8b llc: make llc_ui_sendmsg() more robust against bonding changes
    c5e7fa4f9da4 vlan: skip nested type that is not IFLA_VLAN_QOS_MAPPING
    4ee0613868d4 bnxt_en: Wait for FLR to complete during probe
    b1e0a68a0cd2 tcp: make sure init the accept_queue's spinlocks once
    6994dba06321 net/smc: fix illegal rmb_desc access in SMC-D connection dump
    49aaeb8c539b wifi: mac80211: fix potential sta-link leak
    b59e08c872e0 drm/amd/display: pbn_div need be updated for hotplug event
    a5046e5eb855 Revert "drm/amd: Enable PCIe PME from D3"
    b1c06ee2d171 ksmbd: Add missing set_freezable() for freezable kthread
    844dfef31659 ksmbd: send lease break notification on FILE_RENAME_INFORMATION
    de603a52af84 ksmbd: don't increment epoch if current state and request state are same
    e61fc656ceea ksmbd: fix potential circular locking issue in smb2_set_ea()
    8fa25e67fdcf ksmbd: set v2 lease version on lease upgrade
    3101b9fd749f mm: page_alloc: unreserve highatomic page blocks before oom
    1d15da560175 LoongArch/smp: Call rcutree_report_cpu_starting() earlier
    0e0653d53af8 serial: sc16is7xx: improve do/while loop in sc16is7xx_irq()
    80beb4424d48 serial: sc16is7xx: remove obsolete loop in sc16is7xx_port_irq()
    de8e41f78f76 serial: sc16is7xx: fix invalid sc16is7xx_lines bitfield in case of probe error
    416b10d2817c serial: sc16is7xx: convert from _raw_ to _noinc_ regmap functions for FIFO
    4b068e55bf5e serial: sc16is7xx: change EFR lock to operate on each channels
    f6c58552a8d9 serial: sc16is7xx: remove unused line structure member
    6dca71e6e14a serial: sc16is7xx: remove global regmap from struct sc16is7xx_port
    9bcb019aee47 serial: sc16is7xx: remove wasteful static buffer in sc16is7xx_regmap_name()
    45ec1b7accd5 serial: sc16is7xx: improve regmap debugfs by using one regmap per port
    362be9ec328a rename(): fix the locking of subdirectories
    68ed9e333240 mm/sparsemem: fix race in accessing memory_section->usage
    367a47ef4ccc mm/rmap: fix misplaced parenthesis of a likely()
    5d01dcda812f ubifs: ubifs_symlink: Fix memleak of inode->i_link in error path
    13a6ceeb5bf1 nouveau/vmm: don't set addr on the fail path to avoid warning
    40c23b5e0756 rtc: Extend timeout for waiting for UIP to clear to 1s
    7971389316e5 rtc: Add support for configuring the UIP timeout for RTC reads
    fd1f5396be24 rtc: mc146818-lib: Adjust failure return code for mc146818_get_time()
    911e7206c850 rtc: Adjust failure return code for cmos_set_alarm()
    aca1ea92f518 rtc: cmos: Use ACPI alarm for non-Intel x86 systems too
    2b1dc0666e7f arm64: Rename ARM64_WORKAROUND_2966298
    9fec4db7fff5 media: mtk-jpeg: Fix use after free bug due to error path handling in mtk_jpeg_dec_device_run
    a33fbb8b6d45 mmc: mmc_spi: remove custom DMA mapped buffers
    c4edcd134bb7 mmc: core: Use mrq.sbc in close-ended ffu
    d78fac87c66d media: videobuf2-dma-sg: fix vmap callback
    c160f2ac85e0 scripts/get_abi: fix source path leak
    efe3ec706618 docs: kernel_abi.py: fix command injection
    c014490c0b22 lsm: new security_file_ioctl_compat() hook
    2647770eac09 arm64: dts: qcom: sm8150: fix USB DP/DM HS PHY interrupts
    016853056885 arm64: dts: qcom: sdm845: fix USB DP/DM HS PHY interrupts
    69ee126bbae0 arm64: dts: qcom: sc7280: fix usb_1 wakeup interrupt types
    eec1f92949a6 arm64: dts: qcom: sm8150: fix USB wakeup interrupt types
    595d35c6ae7e arm64: dts: qcom: sdm845: fix USB wakeup interrupt types
    8191aa4146d9 arm64: dts: qcom: sc7180: fix USB wakeup interrupt types
    9f29c5d2bf22 scsi: ufs: core: Remove the ufshcd_hba_exit() call from ufshcd_async_scan()
    2ab32986a0b9 dmaengine: fix NULL pointer in channel unregistration function
    0c8ada71d980 iio: adc: ad7091r: Enable internal vref if external vref is not supplied
    fcf8e3715250 async: Introduce async_schedule_dev_nocall()
    6e8aab4de7a9 async: Split async_schedule_node_domain()
    b37c1b0db14d parisc/power: Fix power soft-off button emulation on qemu
    71602d95ae64 parisc/firmware: Fix F-extend for PDC addresses
    0b093176fd09 bus: mhi: host: Add spinlock to protect WP access when queueing TREs
    3c5ec66b4b3f bus: mhi: host: Drop chan lock before queuing buffers
    2df39ac8f813 bus: mhi: host: Add alignment check for event ring read pointer
    574f69b46b23 mips: Fix max_mapnr being uninitialized on early stages
    6690a0acbbd9 s390/vfio-ap: let on_scan_complete() callback filter matrix and update guest's APCB
    baf3fcb268fd s390/vfio-ap: loop over the shadow APCB when filtering guest's AP configuration
    d6b8d034b576 s390/vfio-ap: always filter entire AP matrix
    51a7c02bc742 media: ov9734: Enable runtime PM before registering async sub-device
    f4bb1d5daf77 rpmsg: virtio: Free driver_override when rpmsg_remove()
    e8757cd139ec media: imx355: Enable runtime PM before registering async sub-device
    8a7729cda2dd PM / devfreq: Fix buffer overflow in trans_stat_show
    f4518de40a21 s390/vfio-ap: unpin pages on gisc registration failure
    dbc9a791a70e crypto: s390/aes - Fix buffer overread in CTR mode
    aa8aa16ed9ad hwrng: core - Fix page fault dead lock on mmap-ed hwrng
    3a081586c753 PM: hibernate: Enforce ordering during image compression/decompression
    680eb0a99336 crypto: api - Disallow identical driver names
    562850a008db btrfs: sysfs: validate scrub_speed_max value
    29e2da3eabd8 OPP: Pass rounded rate to _set_opp()
    4b5f8a187f10 arm64: properly install vmlinuz.efi
    852b6b2a2f7b ext4: allow for the last group to be marked as trimmed
    137568aa540a iio: adc: ad7091r: Allow users to configure device events
    6f57121e9cbe iio: adc: ad7091r: Set alert bit in config register
    fafda9f08a7c Revert "nSVM: Check for reserved encodings of TLB_CONTROL in nested VMCB"
    c519a9054bf7 usb: dwc3: gadget: Handle EP0 request dequeuing properly
    c8fe8ce07f1e usb: dwc3: gadget: Queue PM runtime idle on disconnect event
    ce2704688380 usb: dwc3: gadget: Refactor EP0 forced stall/restart into a separate API
    883d1a956208 Linux 6.1.75
    cfa468382858 Revert "Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d""
    f854bff46abe arm64: dts: armada-3720-turris-mox: set irq type for RTC
    17062a768c2e Revert "KEYS: encrypted: Add check for strsep"
    b1cc57f976fe riscv: Fix wrong usage of lm_alias() when splitting a huge linear mapping
    9025ee107929 block: Remove special-casing of compound pages
    2c46871ac49f i2c: s3c24xx: fix transferring more than one message in polling mode
    63892860b019 i2c: s3c24xx: fix read transfers in polling mode
    380540bb06bb ipv6: mcast: fix data-race in ipv6_mc_down / mld_ifc_work
    8f7f03e8cd33 selftests: mlxsw: qos_pfc: Adjust the test to support 8 lanes
    13e6065fed5e mlxsw: spectrum_acl_erp: Fix error flow of pool allocation failure
    31944f4264cd loop: fix the the direct I/O support check when used on top of block devices
    f2cc7d90a8c2 ethtool: netlink: Add missing ethnl_ops_begin/complete
    7809296dc172 kdb: Fix a potential buffer overflow in kdb_local()
    50ee63b800c6 ipvs: avoid stat macros calls from preemptible context
    4a45e7e7d2a6 netfilter: nf_tables: reject NFT_SET_CONCAT with not field length description
    b56bce52f9f6 netfilter: nf_tables: skip dead set elements in netlink dump
    9cb084df01e1 netfilter: nf_tables: do not allow mismatch field size and set key length
    7ae19ee81ca5 netfilter: bridge: replace physindev with physinif in nf_bridge_info
    754ca18ed3f2 netfilter: propagate net to nf_bridge_get_physindev
    3f1f50527707 netfilter: nf_queue: remove excess nf_bridge variable
    52d01a40b738 netfilter: nfnetlink_log: use proper helper for fetching physinif
    dfa01315c315 netfilter: nft_limit: do not ignore unsupported flags
    f00f11aae1c2 netfilter: nf_tables: reject invalid set policy
    2f32d518a1b8 mptcp: relax check on MPC passive fallback
    4631c2dd69d9 LoongArch: BPF: Prevent out-of-bounds memory access
    ca65da8da1e9 net: dsa: vsc73xx: Add null pointer check to vsc73xx_gpio_probe
    4108b86e324d bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS
    f1ec1b6c5c46 net: stmmac: ethtool: Fixed calltrace caused by unbalanced disable_irq_wake calls
    359fadf5f770 drm/amdkfd: fixes for HMM mem allocation
    81b86a10b8b6 drm/amdkfd: Use resource_size() helper function
    1c3aa875db9a dt-bindings: gpio: xilinx: Fix node address in gpio
    24e00f0fa9fc net: ravb: Fix dma_addr_t truncation in error case
    615501d41bbd udp: annotate data-races around up->pending
    33cf52b6e53a block: ensure we hold a queue reference when using queue limits
    fdf3df297f4d mptcp: refine opt_mp_capable determination
    c0749c8770a9 mptcp: use OPTION_MPTCP_MPJ_SYN in subflow_check_req()
    51e4cb032d49 mptcp: use OPTION_MPTCP_MPJ_SYNACK in subflow_finish_connect()
    081273082df8 mptcp: strict validation before using mp_opt->hmac
    67feafe7a3dd mptcp: mptcp_parse_option() fix for MPTCPOPT_MP_JOIN
    cb183a586e34 net: phy: micrel: populate .soft_reset for KSZ9131
    ecf0ebf0e618 amt: do not use overwrapped cb area
    c96da963de02 net: ethernet: ti: am65-cpsw: Fix max mtu to fit ethernet frames
    ee1dc3bf86f2 net: qualcomm: rmnet: fix global oob in rmnet_policy
    93eb80c5c946 s390/pci: fix max size calculation in zpci_memcpy_toio()
    cad471227a37 ASoC: mediatek: sof-common: Add NULL check for normal_link string
    69f0bebe9166 PCI: mediatek-gen3: Fix translation window size calculation
    94667790e5e3 PCI: keystone: Fix race condition when initializing PHYs
    11923a8df8ed nvmet-tcp: Fix the H2C expected PDU len calculation
    fb711858e669 nvme: trace: avoid memcpy overflow warning
    cac037db2473 nvmet: re-fix tracing strncpy() warning
    e92fe6f51b1d serial: imx: Correct clock error message in function probe()
    938b88a2d9ca usb: xhci-mtk: fix a short packet issue of gen1 isoc-in transfer
    9d4fa5fe2b1d apparmor: avoid crash when parsed profile name is empty
    3a461018710f cxl/region: fix x9 interleave typo
    16cbe4bad847 perf env: Avoid recursively taking env->bpf_progs.lock
    83ccd15717ee nvmet-tcp: fix a crash in nvmet_req_complete()
    2871aa407007 nvmet-tcp: Fix a kernel panic when host sends an invalid H2C PDU length
    8ed3eb92a56e vdpa: Fix an error handling path in eni_vdpa_probe()
    b2cb99d26e15 spmi: mtk-pmif: Serialize PMIF status check and command submission
    28a45e15c8fb usb: cdc-acm: return correct error code on unsupported break
    8fd48981a79f tty: use 'if' in send_break() instead of 'goto'
    50608b54ad36 tty: don't check for signal_pending() in send_break()
    6f0cd560ff56 tty: early return from send_break() on TTY_DRIVER_HARDWARE_BREAK
    8e426f249993 tty: change tty_write_lock()'s ndelay parameter to bool
    ed863a4d48fb perf genelf: Set ELF program header addresses properly
    4cb521321389 perf hisi-ptt: Fix one memory leakage in hisi_ptt_process_auxtrace_event()
    8f02951cee26 perf header: Fix one memory leakage in perf_event__fprintf_event_update()
    eeeb3861c282 iio: adc: ad9467: fix scale setting
    e2b405b9853b iio: adc: ad9467: don't ignore error codes
    89398709ae50 iio: adc: ad9467: fix reset gpio handling
    f33bdf21e1ae selftests/sgx: Skip non X86_64 platform
    bf92b8210198 selftests/sgx: Include memory clobber for inline asm in test enclave
    2cfae256a130 selftests/sgx: Fix uninitialized pointer dereferences in encl_get_entry
    eb41e7e8b4b3 selftests/sgx: Fix uninitialized pointer dereference in error path
    63ee7be01a3f serial: imx: fix tx statemachine deadlock
    3f9ec4227e44 software node: Let args be NULL in software_node_get_reference_args
    893c3ca250b0 acpi: property: Let args be NULL in __acpi_node_get_property_reference
    76be69716cad base/node.c: initialize the accessor list before registering
    d5ef7480d643 libapi: Add missing linux/types.h header to get the __u64 type on io.h
    d74173bda29a serial: 8250: omap: Don't skip resource freeing if pm_runtime_resume_and_get() failed
    e6fce099c9b4 power: supply: bq256xx: fix some problem in bq256xx_hw_init
    ddd3fe99b4fa power: supply: cw2015: correct time_to_empty units in sysfs
    559e25126c15 MIPS: Alchemy: Fix an out-of-bound access in db1550_dev_setup()
    2504864be6fd MIPS: Alchemy: Fix an out-of-bound access in db1200_dev_setup()
    69e9a6944df7 riscv: Fixed wrong register in XIP_FIXUP_FLASH_OFFSET macro
    add57b5298bd riscv: Fix set_direct_map_default_noflush() to reset _PAGE_EXEC
    b4f4d427653f riscv: Fix set_memory_XX() and set_direct_map_XX() by splitting huge linear mappings
    d2ebb8143b6b riscv: Fix module_alloc() that did not reset the linear mapping permissions
    890cfe5337e0 riscv: Check if the code to patch lies in the exit section
    9ad0ab0bbc21 mips: Fix incorrect max_low_pfn adjustment
    1961a29b89e8 mips: dmi: Fix early remap on MIPS32
    e3411940637c mfd: intel-lpss: Fix the fractional clock divider flags
    7fdc6c187ea0 leds: aw2013: Select missing dependency REGMAP_I2C
    527e8c5f3d00 mfd: syscon: Fix null pointer dereference in of_syscon_register()
    ac3b65cbc68d ARM: 9330/1: davinci: also select PINCTRL
    d2ba8eea74af serial: sc16is7xx: set safe default SPI clock frequency
    4f61154a683d serial: sc16is7xx: add check for unsupported SPI modes during probe
    f09b277f736c HID: wacom: Correct behavior when processing some confidence == false touches
    710bd468604b iio: adc: ad7091r: Pass iio_dev to event handler
    dba788e25f05 KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cache
    8a4f6a176a43 KVM: arm64: vgic-v4: Restore pending state on host userspace write
    455ebc191068 x86/kvm: Do not try to disable kvmclock if it was not enabled
    88f4dd8b9f58 PCI: mediatek: Clear interrupt status before dispatching handler
    0c883bc9fa29 PCI: dwc: endpoint: Fix dw_pcie_ep_raise_msix_irq() alignment support
    d3c08d1015fa PCI/P2PDMA: Remove reference to pci_p2pdma_map_sg()
    970c0899a4ac cxl/port: Fix decoder initialization when nr_targets > interleave_ways
    23f974910862 Revert "net: rtnetlink: Enslave device before bringing it up"
    f2ddfc7d3a9c wifi: mwifiex: configure BSSID consistently when starting AP
    54e1864b13f1 wifi: rtlwifi: Convert LNKCTL change to PCIe cap RMW accessors
    0075a5d69df6 wifi: rtlwifi: Remove bogus and dangerous ASPM disable/enable code
    debfa60412af wifi: mt76: fix broken precal loading from MTD for mt7915
    1edce43f4799 iommu/dma: Trace bounce buffer usage when mapping buffers
    cc7e8482c61a iommu/arm-smmu-qcom: Add missing GMU entry to match table
    516ecb243625 LoongArch: Fix and simplify fcsr initialization on execve()
    6cc9c0af0aa0 bpf: Fix re-attachment branch in bpf_tracing_prog_attach
    96860d9ad462 Bluetooth: Fix atomicity violation in {min,max}_key_size_set
    7c02ca554287 rootfs: Fix support for rootfstype= when root= is given
    f5c29a3a7e68 md/raid1: Use blk_opf_t for read and write operations
    7b85554c7c2a pwm: Fix out-of-bounds access in of_pwm_single_xlate()
    00e29df1b44d pwm: jz4740: Don't use dev_err_probe() in .request()
    a372f1d01bc1 netfilter: nf_tables: check if catch-all set element is active in next generation
    c6350b5cb78e block: Fix iterating over an empty bio with bio_for_each_folio_all
    ef31cc877947 block: add check that partition length needs to be aligned with block size
    0c8d252d0a20 drm/amd: Enable PCIe PME from D3
    f49a30a24f9b scsi: mpi3mr: Block PEL Enable Command on Controller Reset and Unrecoverable State
    546e981eead2 scsi: mpi3mr: Refresh sdev queue depth after controller reset
    3378333263b7 scsi: target: core: add missing file_{start,end}_write()
    01644b861681 scsi: ufs: core: Simplify power management during async scan
    81f444f22816 fbdev: flush deferred IO before closing
    ccbee2843edd fbdev: flush deferred work in fb_deferred_io_fsync()
    d6cc8dd231b8 io_uring/rw: ensure io->bytes_done is always initialized
    c866866c7952 ksmbd: only v2 leases handle the directory
    380965e48e9c ksmbd: fix UAF issue in ksmbd_tcp_new_connection()
    6eb8015492bc ksmbd: validate mech token in session setup
    0914dc8041d4 ALSA: hda/realtek: Enable headset mic on Lenovo M70 Gen5
    5648a0087f55 ALSA: hda/realtek: Enable mute/micmute LEDs and limit mic boost on HP ZBook
    3253abcd9b2d ALSA: hda/relatek: Enable Mute LED on HP Laptop 15s-fq2xxx
    29f6eccbcf7b ALSA: oxygen: Fix right channel of capture volume mixer
    104f95698cad drm/vmwgfx: Keep a gem reference to user bos in surfaces
    5a4087a90776 drm/vmwgfx: Fix possible invalid drm gem put calls
    a71776bbd87e serial: omap: do not override settings for RS485 support
    b5a2232ba821 serial: 8250_exar: Set missing rs485_supported flag
    36b0710502a5 serial: imx: Ensure that imx_uart_rs485_config() is called with enabled clock
    d5f13c1d01e4 serial: core, imx: do not set RS485 enabled if it is not supported
    dac0dd3d803c serial: 8250_bcm2835aux: Restore clock error handling
    15000d6f2936 serial: core: make sure RS485 cannot be enabled when it is not supported
    f790bd27a74b serial: core: fix sanitizing check for RTS settings
    974a0a694416 usb: mon: Fix atomicity violation in mon_bin_vma_fault
    206e2ddeb7df usb: typec: class: fix typec_altmode_put_partner to put plugs
    d0320b9ac6b4 Revert "usb: typec: class: fix typec_altmode_put_partner to put plugs"
    097cdc78c659 usb: cdns3: Fix uvc fail when DMA cross 4k boundery since sg enabled
    45c766231e6b usb: cdns3: fix iso transfer error when mult is not zero
    3f2bf7cac03d usb: cdns3: fix uvc failure work since sg support enabled
    e894b1b038ab usb: chipidea: wait controller resume finished for wakeup irq
    3450197e9a75 Revert "usb: dwc3: don't reset device side if dwc3 was configured as host-only"
    598f9d5a3b35 Revert "usb: dwc3: Soft reset phy on probe for host"
    d5c4a04205df usb: dwc: ep0: Update request status in dwc3_ep0_stall_restart
    789eade47fd9 usb: phy: mxs: remove CONFIG_USB_OTG condition for mxs_phy_is_otg_host()
    c952654e1a27 tick-sched: Fix idle and iowait sleeptime accounting vs CPU hotplug
    9ccf64e763ac powerpc/64s: Increase default stack size to 32KB
    7ac029af0060 clocksource/drivers/timer-ti-dm: Fix make W=n kerneldoc warnings
    6696f76c32ff binder: fix race between mmput() and do_exit()
    437360133cbd xen-netback: don't produce zero-size SKB frags
    3ed5f55599c1 Input: atkbd - use ab83 as id when skipping the getid command
    45e565b55b2f mips/smp: Call rcutree_report_cpu_starting() earlier
    16e1d4fa1369 binder: fix unused alloc->free_async_space
    c5255d122938 binder: fix async space check for 0-sized buffers
    66b35787976d keys, dns: Fix size check of V1 server-list header
    60a9a5fca6bf selftests/bpf: Add assert for user stacks in test_task_stack
    3590da14e163 of: unittest: Fix of_count_phandle_with_args() expected value message
    581ade6be57b fbdev: imxfb: fix left margin setting
    b9d760dae5b1 of: Fix double free in of_parse_phandle_with_args_map
    676af10d0cdf ksmbd: validate the zero field of packet header
    222618b73748 kselftest/alsa - mixer-test: Fix the print format specifier warning
    b77ae4f8c142 kselftest/alsa - mixer-test: fix the number of parameters to ksft_exit_fail_msg()
    74416a207fcf drm/amd/pm/smu7: fix a memleak in smu7_hwmgr_backend_init
    4525525cb716 drm/amdkfd: Confirm list is non-empty before utilizing list_first_entry in kfd_topology.c
    a9f68a23ca42 IB/iser: Prevent invalidating wrong MR
    96dc4d204a12 mmc: sdhci_omap: Fix TI SoC dependencies
    5aa65e5f20c6 mmc: sdhci_am654: Fix TI SoC dependencies
    d8d8897d6506 ALSA: scarlett2: Add clamp() in scarlett2_mixer_ctl_put()
    cda7762bea85 ALSA: scarlett2: Add missing error checks to *_ctl_get()
    be0b1be4ace2 ALSA: scarlett2: Allow passing any output to line_out_remap()
    be96acd3eaa7 ALSA: scarlett2: Add missing error check to scarlett2_usb_set_config()
    6232b7505c2c ALSA: scarlett2: Add missing error check to scarlett2_config_save()
    74341edb7d18 ASoC: rt5645: Drop double EF20 entry from dmi_platform_data[]
    40fe0903fa0f pwm: stm32: Fix enable count for clk in .probe()
    0d554b420cab pwm: stm32: Use hweight32 in stm32_pwm_detect_channels
    ade959ed6725 pwm: stm32: Use regmap_clear_bits and regmap_set_bits where applicable
    c4b1f10f1456 clk: fixed-rate: fix clk_hw_register_fixed_rate_with_accuracy_parent_hw
    6d98d249175e accel/habanalabs: fix information leak in sec_attest_info()
    7ac0adc7df2f drm/mediatek: dp: Add phy_mtk_dp module as pre-dependency
    f930dbdc9543 clk: si5341: fix an error code problem in si5341_output_clk_set_rate
    24961a5dc759 watchdog: rti_wdt: Drop runtime pm reference count when watchdog is unused
    6317445623a2 watchdog: bcm2835_wdt: Fix WDIOC_SETTIMEOUT handling
    3bde94e858ba watchdog/hpwdt: Only claim UNKNOWN NMI if from iLO
    06b854238ee5 watchdog: set cdev owner before adding
    c249ef9d0978 drivers: clk: zynqmp: update divider round rate logic
    b61ca9c34c84 drivers: clk: zynqmp: calculate closest mux rate
    74aeef7e4354 clk: qcom: videocc-sm8150: Add missing PLL config property
    52d741c95d4a clk: qcom: videocc-sm8150: Update the videocc resets
    52e2ebc06435 dt-bindings: clock: Update the videocc resets for sm8150
    4f31f357e525 f2fs: fix to check return value of f2fs_recover_xattr_data
    2c6537c58bce drm/amd/pm: fix a double-free in amdgpu_parse_extended_power_table
    4e26e2d485fb gpu/drm/radeon: fix two memleaks in radeon_vm_init
    35fa2394d26e drivers/amd/pm: fix a use-after-free in kv_parse_power_table
    f957a1be647f drm/amd/pm: fix a double-free in si_dpm_init
    591e77fedc76 drm/amdgpu/debugfs: fix error code when smc register accessors are NULL
    3ec6ce0651e2 drm/mediatek: Fix underrun in VDO1 when switches off the layer
    518efe60bbdd drm/mediatek: Return error if MDP RDMA failed to enable the clock
    aa3e61cf89b4 drm/msm/dpu: Drop enable and frame_count parameters from dpu_hw_setup_misr()
    08d7e291af1d drm/msm/dpu: Set input_sel bit for INTF
    9570ae0e1d3c clk: renesas: rzg2l: Check reset monitor registers
    3e1dd6a1b4fa clk: renesas: rzg2l-cpg: Reuse code in rzg2l_cpg_reset()
    2db77604221c media: dvb-frontends: m88ds3103: Fix a memory leak in an error handling path of m88ds3103_probe()
    74e3f165d39e media: dvbdev: drop refcount on error path in dvb_device_open()
    4d6e15a5eabe f2fs: fix to update iostat correctly in f2fs_filemap_fault()
    8835766027c6 f2fs: fix to check compress file in f2fs_move_file_range()
    9bfd5ea71521 f2fs: fix to wait on block writeback for post_read case
    e67911d2caeb drm/panel: st7701: Fix AVCL calculation
    bb17cc851e3a media: rkisp1: Fix media device memory leak
    690b7c356f1e media: dt-bindings: media: rkisp1: Fix the port description for the parallel interface
    438193dcc27b media: imx-mipi-csis: Fix clock handling in remove()
    df2adafa6213 clk: qcom: gpucc-sm8150: Update the gpu_cc_pll1 config
    40a156cf08c9 RDMA/hns: Fix memory leak in free_mr_init()
    dada3fdb4ec9 media: cx231xx: fix a memleak in cx231xx_init_isoc
    b075ed8dcc2c drm/bridge: tc358767: Fix return value on error case
    9a3b2263705d drm/bridge: cdns-mhdp8546: Fix use of uninitialized variable
    60c23f9aeb26 drm/radeon/trinity_dpm: fix a memleak in trinity_parse_power_table
    0f19543097c2 drm/radeon/dpm: fix a memleak in sumo_parse_power_table
    c4ff55408187 drm/radeon: check the alloc_workqueue return value in radeon_crtc_init()
    048cbfd6050a drm/panfrost: Ignore core_mask for poweroff and disable PWRTRANS irq
    c32ee7286f5b ASoC: Intel: glk_rt5682_max98357a: fix board id mismatch
    7682ef5c144a drm/drv: propagate errors from drm_modeset_register_all()
    19b01c6c19a0 drm/msm/dsi: Use pm_runtime_resume_and_get to prevent refcnt leaks
    b234ecad200b drm/msm/mdp4: flush vblank event on disable
    982eb772e185 ASoC: cs35l34: Fix GPIO name and drop legacy include
    940484c05564 ASoC: cs35l33: Fix GPIO name and drop legacy include
    2da8e2034600 drm/tidss: Fix dss reset
    553574c023b3 drm/tidss: Check for K2G in in dispc_softreset()
    f099c742caa1 drm/tidss: Return error value from from softreset
    10a437c60440 drm/tidss: Move reset to the end of dispc_init()
    da72ff8def7c drm/radeon: check return value of radeon_ring_lock()
    e6667551ed5e drm/radeon/r100: Fix integer overflow issues in r100_cs_track_check()
    9ac2845a2eee drm/radeon/r600_cs: Fix possible int overflows in r600_cs_check_reg()
    f0145860c20b f2fs: fix to avoid dirent corruption
    4bab3ad44d61 drm/bridge: Fix typo in post_disable() description
    dab1227007a5 media: rkvdec: Hook the (TRY_)DECODER_CMD stateless ioctls
    563f34c24c0c media: verisilicon: Hook the (TRY_)DECODER_CMD stateless ioctls
    32b4b2dde3d4 media: mtk-jpeg: Remove cancel worker in mtk_jpeg_remove to avoid the crash of multi-core JPEG devices
    f211621debcd media: mtk-jpegdec: export jpeg decoder functions
    30773ea47d41 media: pvrusb2: fix use after free on context disconnection
    4019c809688d drm/tilcdc: Fix irq free on unload
    81f1bd85960b drm/bridge: tpd12s015: Drop buggy __exit annotation for remove function
    37b400c8030c drm/nouveau/fence:: fix warning directly dereferencing a rcu pointer
    dbea48e9169d drm/panel-elida-kd35t133: hold panel in reset for unprepare
    019bba28d1e8 RDMA/hns: Fix inappropriate err code for unsupported operations
    a867b891f9ef RDMA/usnic: Silence uninitialized symbol smatch warnings
    d260b65b2b0d drm/panfrost: Really power off GPU cores in panfrost_gpu_power_off()
    8578a795baae Revert "drm/omapdrm: Annotate dma-fence critical section in commit path"
    3e6bf96561f5 Revert "drm/tidss: Annotate dma-fence critical section in commit path"
    544d223d71f9 ARM: davinci: always select CONFIG_CPU_ARM926T
    62a1fedeb14c ip6_tunnel: fix NEXTHDR_FRAGMENT handling in ip6_tnl_parse_tlv_enc_lim()
    1b481cb53601 mlxbf_gige: Enable the GigE port in mlxbf_gige_open
    7ad5e7a35c3f mlxbf_gige: Fix intermittent no ip issue
    0b5b831122fc net/sched: act_ct: fix skb leak and crash on ooo frags
    b91d31de9a43 sctp: fix busy polling
    9233a88f4b71 sctp: support MSG_ERRQUEUE flag in recvmsg()
    3c0bd2b06656 bpf: sockmap, fix proto update hook to avoid dup calls
    6e9429f9c66c null_blk: don't cap max_hw_sectors to BLK_DEF_MAX_SECTORS
    a623d31805ea block: make BLK_DEF_MAX_SECTORS unsigned
    33f93ce22ee1 Bluetooth: btmtkuart: fix recv_buf() return value
    81f3b6ea314c Bluetooth: Fix bogus check for re-auth no supported with non-ssp
    55c88a7efb02 netfilter: nf_tables: mark newset as dead on transaction abort
    68aebba59e9e wifi: iwlwifi: mvm: send TX path flush in rfkill
    6cc82456e391 wifi: iwlwifi: mvm: set siso/mimo chains to 1 in FW SMPS request
    8915946cde3e wifi: rtlwifi: rtl8192se: using calculate_bit_shift()
    62badccc7c99 wifi: rtlwifi: rtl8192ee: using calculate_bit_shift()
    a277e8e9feaf wifi: rtlwifi: rtl8192de: using calculate_bit_shift()
    b716c8483c22 wifi: rtlwifi: rtl8192ce: using calculate_bit_shift()
    d938e470b2d6 wifi: rtlwifi: rtl8192cu: using calculate_bit_shift()
    35fb6b757408 wifi: rtlwifi: rtl8192c: using calculate_bit_shift()
    937f65a1251c wifi: rtlwifi: rtl8188ee: phy: using calculate_bit_shift()
    dd9e3d9513e6 wifi: rtlwifi: add calculate_bit_shift()
    ce9b43e58c36 arm64: dts: qcom: ipq6018: Fix up indentation
    20fb17328b36 arm64: dts: qcom: ipq6018: Pad addresses to 8 hex digits
    ba71baee6e08 arm64: dts: qcom: ipq6018: Use lowercase hex
    cb65c2caa1f6 arm64: dts: qcom: ipq6018: improve pcie phy pcs reg table
    45d8d80cdaa2 arm64: dts: qcom: ipq6018: fix clock rates for GCC_USB0_MOCK_UTMI_CLK
    ab23e4ef8926 arm64: dts: qcom: sc7280: Mark SDHCI hosts as cache-coherent
    e765363ecfa8 block: add check of 'minors' and 'first_minor' in device_add_disk()
    a4529948df7a arm64: dts: qcom: sm8150-hdk: fix SS USB regulators
    bf5e9d28a8e7 soc: qcom: llcc: Fix dis_cap_alloc and retain_on_pc configuration
    aaf0fc13bed9 dma-mapping: clear dev->dma_mem to NULL after freeing it
    542da27eac4f virtio/vsock: fix logic which reduces credit update messages
    f69365e3a7ca ipmr: support IP_PKTINFO on cache report IGMP msg
    0c867561cee2 selftests/net: fix grep checking for fib_nexthop_multiprefix
    c458be39093d ARM: dts: stm32: don't mix SCMI and non-SCMI board compatibles
    fdbe94c524f2 scsi: hisi_sas: Correct the number of global debugfs registers
    6491d9ea9326 scsi: hisi_sas: Rollback some operations if FLR failed
    3d5a4fa56d0c scsi: hisi_sas: Replace with standard error code return value
    35657d1ba826 arm64: dts: imx8mm: Reduce GPU to nominal speed
    a4210a686a75 arm64: dts: renesas: white-hawk-cpu: Fix missing serial console pin control
    9f5b79cf125b block: Set memalloc_noio to false on device_add_disk() error path
    4196b45370bd selftests/bpf: Relax time_tai test for equal timestamps in tai_forward
    0c9318d49e50 wifi: mt76: mt7921: fix country count limitation for CLC
    fe002eeda420 arm64: dts: mediatek: mt8183: correct MDP3 DMA-related nodes
    9c91f5849885 dt-bindings: media: mediatek: mdp3: correct RDMA and WROT node with generic names
    ba5e58dacf8c arm64: dts: hisilicon: hikey970-pmic: fix regulator cells properties
    b1d4d54d32ce bpf: Fix verification of indirect var-off stack access
    4054b2b1e6de wifi: mt76: mt7921s: fix workqueue problem causes STA association fail
    4486b2e5dbe5 arm64: dts: qcom: sc7280: fix usb_2 wakeup interrupt types
    361b4175ddca arm64: dts: qcom: sc7280: Mark Adreno SMMU as DMA coherent
    a16a476b5c0d arm64: dts: qcom: sc7280: Fix up GPU SIDs
    9e1dafa5c365 arm64: dts: qcom: sm8350: Fix DMA0 address
    1623432c6a74 arm64: dts: qcom: sdm845-db845c: correct LED panic indicator
    773c09af312f arm64: dts: qcom: qrb5165-rb5: correct LED panic indicator
    9435bbc8d9ea scsi: fnic: Return error if vmalloc() failed
    fc3e3c50a0a4 bpf: fix check for attempt to corrupt spilled pointer
    50e9fbddcbc2 selftests/net: specify the interface when do arping
    62fca83303d6 bpf: Defer the free of inner map when necessary
    e05b322c82d2 bpf: Add map and need_defer parameters to .map_fd_put_ptr()
    a6fb03a9c9c8 bpf: add percpu stats for bpf_map elements insertions/deletions
    10108826191a rcu-tasks: Provide rcu_trace_implies_rcu_gp()
    db44bac18a13 arm64: dts: qcom: sm6350: Make watchdog bark interrupt edge triggered
    8e335e7759c0 arm64: dts: qcom: sc8280xp: Make watchdog bark interrupt edge triggered
    66cdbc4e80ff arm64: dts: qcom: sm8250: Make watchdog bark interrupt edge triggered
    385f30d448c3 arm64: dts: qcom: sm8150: Make watchdog bark interrupt edge triggered
    5e8267cbc0fa arm64: dts: qcom: sdm845: Make watchdog bark interrupt edge triggered
    bc9a45a06a75 arm64: dts: qcom: sc7280: Make watchdog bark interrupt edge triggered
    30d0c5fe2c26 arm64: dts: qcom: sc7280: Mark some nodes as 'reserved'
    0200f1b6bab8 arm64: dts: qcom: sc7180: Make watchdog bark interrupt edge triggered
    22529f0ac274 ARM: dts: qcom: sdx65: correct SPMI node name
    be1f34b93f5a bpf: enforce precision of R0 on callback return
    f9f2d957a8ea md: synchronize flush io with array reconfiguration
    b21a16909b49 selftests/bpf: Fix erroneous bitmask operation
    ff9935181e5a arm64: dts: ti: k3-am65-main: Fix DSS irq trigger type
    e9e59f3ee5c5 arm64: dts: ti: k3-am62a-main: Fix GPIO pin count in DT nodes
    436785a207ed wifi: rtlwifi: rtl8821ae: phy: fix an undefined bitwise shift behavior
    6824ed5d5ab6 firmware: meson_sm: populate platform devices from sm device tree data
    00ac00ce8d90 firmware: ti_sci: Fix an off-by-one in ti_sci_debugfs_create()
    ac7c503bd5ef net/ncsi: Fix netlink major/minor version numbers
    12db013dc91d ARM: dts: qcom: apq8064: correct XOADC register address
    638f381ab2d8 wifi: libertas: stop selecting wext
    7dd918d877fa wifi: ath11k: Defer on rproc_get failure
    799a914e483a bpf: Add crosstask check to __bpf_get_stack
    1959a560ac4e bpf, lpm: Fix check prefixlen before walking trie
    cd1896b9224e wifi: rtw88: fix RX filter in FIF_ALLMULTI flag
    fdd93641633f wifi: plfxlc: check for allocation failure in plfxlc_usb_wreq_async()
    a058f0c432e0 pNFS: Fix the pnfs block driver's calculation of layoutget size
    b10370b1ea0b SUNRPC: fix _xprt_switch_find_current_entry logic
    19f28fa8be4e NFSv4.1/pnfs: Ensure we handle the error NFS4ERR_RETURNCONFLICT
    83f2d54ca33c blocklayoutdriver: Fix reference leak of pnfs_device_node
    23ba22557aac csky: fix arch_jump_label_transform_static override
    4df0c942d04a crypto: scomp - fix req->dst buffer overflow
    490adf8be7d0 crypto: sahara - do not resize req->src when doing hash operations
    eae15c43beb6 crypto: sahara - fix processing hash requests with req->nbytes < sg->length
    6fc95767954a crypto: sahara - improve error handling in sahara_sha_process()
    5834cafc1d20 crypto: sahara - fix wait_for_completion_timeout() error handling
    8b355e047810 crypto: sahara - fix ahash reqsize
    a75ba66b6904 crypto: sahara - handle zero-length aes requests
    0545801b3076 crypto: sahara - avoid skcipher fallback code duplication
    635308e6042f crypto: virtio - Wait for tasklet to complete on device remove
    d69d7804cf9e gfs2: Fix kernel NULL pointer dereference in gfs2_rgrp_dump
    caae86077dd3 fs: indicate request originates from old mount API
    9c285df949b5 erofs: fix memory leak on short-lived bounced pages
    48dcfc42ce70 pstore: ram_core: fix possible overflow in persistent_ram_init_ecc()
    d7e4268a510b crypto: hisilicon/zip - save capability registers in probe process
    a384d7dc4e09 crypto: hisilicon/sec2 - save capability registers in probe process
    fc6b944de141 crypto: hisilicon/hpre - save capability registers in probe process
    4705731fc5fa crypto: hisilicon/qm - add a function to set qm algs
    11d7a3390566 crypto: hisilicon/zip - add zip comp high perf mode configuration
    6412f039ac87 crypto: hisilicon/qm - save capability registers in qm init process
    d1f82d72104a crypto: sahara - fix error handling in sahara_hw_descriptor_create()
    435303ad8a07 crypto: sahara - fix processing requests with cryptlen < sg->length
    e7e8fbfe6dd7 crypto: sahara - fix ahash selftest failure
    1f9128036238 crypto: sahara - fix cbc selftest failure
    eecf2e1e0c5f crypto: sahara - remove FLAGS_NEW_KEY logic
    4c0ac81a172a crypto: safexcel - Add error handling for dma_map_sg() calls
    d5d4dfc73bed crypto: af_alg - Disallow multiple in-flight AIO requests
    f3a11fdd02b3 crypto: ccp - fix memleak in ccp_init_dm_workarea
    baa79033e17b crypto: sa2ul - Return crypto_aead_setkey to transfer the error
    ae4747dab2ea crypto: virtio - Handle dataq logic with tasklet
    e973b045c162 selinux: Fix error priority for bind with AF_UNSPEC on PF_INET6 socket
    5389407bba1e mtd: Fix gluebi NULL pointer dereference caused by ftl notifier
    030a1147eda8 kunit: debugfs: Fix unchecked dereference in debugfs_print_results()
    b841208b7e85 ACPI: extlog: Clear Extended Error Log status when RAS_CEC handled the error
    b412c486a358 ACPI: LPSS: Fix the fractional clock divider flags
    5980041cba21 spi: sh-msiof: Enforce fixed DTDL for R-Car H3
    ea6b597fcaca efivarfs: Free s_fs_info on unmount
    d4a9aa7db574 efivarfs: force RO when remounting if SetVariable is not supported
    321b3a5592c8 calipso: fix memory leak in netlbl_calipso_add_pass()
    71f47a52baef cpufreq: scmi: process the result of devm_of_clk_add_hw_provider()
    04fc66dd2be4 cpufreq: Use of_property_present() for testing DT property presence
    79de65ac39d7 of: Add of_property_present() helper
    426710a2bc2f platform/x86/intel/vsec: Fix xa_alloc memory leak
    0ff5cd92bbd5 platform/x86/intel/vsec: Use mutex for ida_alloc() and ida_free()
    1fa4a1e1258d platform/x86/intel/vsec: Support private data
    3c48b2a7ce49 platform/x86/intel/vsec: Enhance and Export intel_vsec_add_aux()
    c25f1555e03a KEYS: encrypted: Add check for strsep
    72222dfd76a7 ACPI: LPIT: Avoid u32 multiplication overflow
    2124c5bc2294 ACPI: video: check for error while searching for backlight device parent
    08f7142e224f mtd: rawnand: Increment IFC_TIMEOUT_MSECS for nand controller response
    a35ab02c85c1 spi: spi-zynqmp-gqspi: fix driver kconfig dependencies
    a2da3f9b1a10 powerpc/imc-pmu: Add a null pointer check in update_events_in_group()
    f152a6bfd187 powerpc/powernv: Add a null pointer check in opal_powercap_init()
    9a523e1da6d8 powerpc/powernv: Add a null pointer check in opal_event_init()
    ed8d023cfa97 powerpc/powernv: Add a null pointer check to scom_debug_init_one()
    327d4f2d6676 selftests/powerpc: Fix error handling in FPU/VMX preemption tests
    026fd977dc50 powerpc/pseries/memhp: Fix access beyond end of drmem array
    63df75d38342 powerpc/44x: select I2C for CURRITUCK
    2fc51c4b7dd2 powerpc: add crtsavres.o to always-y instead of extra-y
    16b88e68b85d powerpc: remove checks for binutils older than 2.25
    9dbac9fdae6e EDAC/thunderx: Fix possible out-of-bounds string access
    c9275305d61a x86/mce/inject: Clear test status value
    0be645792c11 x86/lib: Fix overflow when counting digits
    8fd7f4462453 Linux 6.1.74
    a31690d3dd41 scripts/decode_stacktrace.sh: optionally use LLVM utilities
    5e67191818fe coresight: etm4x: Fix width of CCITMIN field
    d08e756e253b PCI: Add ACS quirk for more Zhaoxin Root Ports
    41e3e3d813c9 leds: ledtrig-tty: Free allocated ttyname buffer on deactivate
    419602d08b79 parport: parport_serial: Add Brainboxes device IDs and geometry
    3936b54a8d65 parport: parport_serial: Add Brainboxes BAR details
    17a8519cb359 uio: Fix use-after-free in uio_open
    08af2ceb83d5 binder: fix comment on binder_alloc_new_buf() return value
    35a3e8ceaf60 binder: fix trivial typo of binder_free_buf_locked()
    9fa04c93f241 binder: fix use-after-free in shinker's callback
    ee14fd2c8b0a binder: use EPOLLERR from eventpoll.h
    bed0acf330b2 Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d"
    e377a3346f7e ksmbd: free ppace array on error in parse_dacl
    09d84f37f841 ksmbd: don't allow O_TRUNC open on read-only share
    c24fc060ab7f bpf: Add --skip_encoding_btf_inconsistent_proto, --btf_gen_optimized to pahole flags for v1.25
    0d242f739cec btf, scripts: Exclude Rust CUs with pahole
    b9765932199e ASoC: SOF: Intel: hda-codec: Delay the codec device registration
    dcf95b26bef9 ACPI: resource: Add another DMI match for the TongFang GMxXGxx
    5816a82caf12 ALSA: hda/realtek: Fix mute and mic-mute LEDs for HP Envy X360 13-ay0xxx
    9d588f3b6f33 drm/crtc: fix uninitialized variable use
    809ebacd2274 ARM: sun9i: smp: fix return code check of of_property_match_string
    0ce688d88af0 net: qrtr: ns: Return 0 if server port is not present
    1e1b2f34e9a7 virtio_blk: fix snprintf truncation compiler warning
    9efdc0081cca ida: Fix crash in ida_free when the bitmap is empty
    24f3fec911a0 pinctrl: cy8c95x0: Fix get_pincfg
    a54e7741cc6d pinctrl: cy8c95x0: Fix typo
    75e94701c016 drm/amd/display: get dprefclk ss info from integration info table
    426ab60bd2fd i2c: rk3x: fix potential spinlock recursion on poll
    5411e3292792 smb: client: fix potential OOB in smb2_dump_detail()
    da7ba20a7107 HID: nintendo: Prevent divide-by-zero on code
    87e2739656f4 dm audit: fix Kconfig so DM_AUDIT depends on BLK_DEV_DM
    d0085e100f40 ALSA: hda/realtek: Add quirks for ASUS Zenbook 2022 Models
    2b055dc11e05 ASoC: Intel: bytcr_rt5640: Add new swapped-speakers quirk
    8840d3491a03 ASoC: Intel: bytcr_rt5640: Add quirk for the Medion Lifetab S10346
    a63ab09a07b2 platform/x86: thinkpad_acpi: fix for incorrect fan reporting on some ThinkPad systems
    44521a5dc40b HID: nintendo: fix initializer element is not constant error
    3910d7a441f2 kselftest: alsa: fixed a print formatting warning
    2a36b4e5e608 Input: xpad - add Razer Wolverine V2 support
    31fbbc809c9e wifi: iwlwifi: pcie: avoid a NULL pointer dereference
    05d268e2e4ad ARC: fix spare error
    372a93921e29 s390/scm: fix virtual vs physical address confusion
    626b0c0ab3a0 Input: i8042 - add nomux quirk for Acer P459-G2-M
    30fe4c4135cb Input: atkbd - skip ATKBD_CMD_GETID in translated mode
    b6ef44cb6a67 reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning
    c5d9fd8c5aa4 Input: psmouse - enable Synaptics InterTouch for ThinkPad L14 G1
    b0407f68d917 ring-buffer: Do not record in NMI if the arch does not support cmpxchg in NMI
    07787918c6cf tracing: Fix uaf issue when open the hist or hist_debug file
    851865caacc5 MIPS: dts: loongson: drop incorrect dwmac fallback compatible
    708579592c68 stmmac: dwmac-loongson: drop useless check for compatible fallback
    e75c3db90445 tracing: Add size check when printing trace_marker output
    7d885c171765 tracing: Have large events show up as '[LINE TOO BIG]' instead of nothing
    3ac74ed58f4a jbd2: fix soft lockup in journal_finish_inode_data_buffers()
    bb0e510b742b platform/x86: intel-vbtn: Fix missing tablet-mode-switch events
    f379394a78a0 neighbour: Don't let neigh_forced_gc() disable preemption for long
    9b5044e17e1e drm/crtc: Fix uninit-value bug in drm_mode_setcrtc
    28c9fced8ddf jbd2: increase the journal IO's priority
    6b15330693ac jbd2: correct the printing of write_flags in jbd2_write_superblock()
    c84f9a5ecb82 clk: rockchip: rk3128: Fix HCLK_OTG gate register
    3fe5fbc3a557 clk: rockchip: rk3568: Add PLL rate for 292.5MHz
    c3597996a3ae LoongArch: Preserve syscall nr across execve()
    c73cc2310a5a hwmon: (corsair-psu) Fix probe when built-in
    53442204b1dd drm/exynos: fix a wrong error checking
    1502a9a595e5 drm/exynos: fix a potential error pointer dereference
    92decec3caa7 drm/amdgpu: Add NULL checks for function pointers
    5337fb3ebaa4 arm64: dts: rockchip: Fix PCI node addresses on rk3399-gru
    ce9768612491 nvme: prevent potential spectre v1 gadget
    df2bd52354d8 nvme: introduce helper function to get ctrl state
    a50562146d6c ASoC: ops: add correct range check for limiting volume
    01a7727ab7f1 ASoC: da7219: Support low DC impedance headset
    a7d15ac0853c net/tg3: fix race condition in tg3_reset_task()
    c342afc14623 ASoC: hdac_hda: Conditionally register dais for HDMI and Analog
    0f37e198c338 ASoC: amd: yc: Add DMI entry to support System76 Pangolin 13
    2fff601a1d98 nouveau/tu102: flush all pdbs on vmm flush
    94d2a9da31ab ASoC: Intel: skl_hda_dsp_generic: Drop HDMI routes when HDMI is not available
    1613195bf31e ASoC: rt5650: add mutex to avoid the jack detection failure
    b45e21b529d8 ASoC: cs43130: Fix incorrect frame delay configuration
    0c7833f75857 ASoC: cs43130: Fix the position of const qualifier
    b0c9af3d31bf ASoC: Intel: Skylake: mem leak in skl register function
    7c09cf80954b ASoC: nau8822: Fix incorrect type in assignment and cast to restricted __be16
    522f69ba6b4c ASoC: Intel: Skylake: Fix mem leak in few functions
    9f1429c5aa79 arm64: dts: rockchip: fix rk356x pcie msg interrupt name
    3996699d1f02 ASoC: wm8974: Correct boost mixer inputs
    63360763bff9 hwtracing: hisi_ptt: Don't try to attach a task
    2e3fc2a45a7a hwtracing: hisi_ptt: Handle the interrupt in hardirq context
    319c5186d66c nvme-core: check for too small lba shift
    f84b0c64452e blk-mq: don't count completed flush data request as inflight in case of quiesce
    366d2101fc59 smb: client, common: fix fortify warnings
    53a37135f763 drm/amdgpu: Fix cat debugfs amdgpu_regs_didt causes kernel null pointer
    d551c77727b7 drm/amd/display: update dcn315 lpddr pstate latency
    3c781fbb4f42 nvme-core: fix a memory leak in nvme_ns_info_from_identify()
    a37096b079b7 ALSA: hda: intel-nhlt: Ignore vbps when looking for DMIC 32 bps format
    08f6de7b3f78 debugfs: fix automount d_fsdata usage
    d1d138c043ab wifi: mac80211: handle 320 MHz in ieee80211_ht_cap_ie_to_sta_ht_cap
    0c880e1e38ea wifi: avoid offset calculation on NULL pointer
    dd9465b10880 wifi: cfg80211: lock wiphy mutex for rfkill poll
    91edb0cd1b42 mptcp: fix uninit-value in mptcp_incoming_options
    90389621303b ALSA: hda - Fix speaker and headset mic pin config for CHUWI CoreBook XPro
    9436ae696a19 pinctrl: lochnagar: Don't build on MIPS
    5de9e9dd1828 f2fs: explicitly null-terminate the xattr list

(From OE-Core rev: 7aea35bdc1fb3a81b602402d697af8b8e0bf625e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 03:59:26 -10:00
Tim Orling
bfd608ec84 vim: upgrade v9.0.2130 -> v9.0.2190
This is the latest/last of the 9.0.z upgrades, since 9.1 is now
released.

CVE: CVE-2024-22667
(includes the patch for .2142 b39b240c38)

Changes:
https://github.com/vim/vim/compare/v9.0.2130...v9.0.2190

(From OE-Core rev: 8155a1f60b490859b1c942da2a35d5106eddc901)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 03:59:26 -10:00
Dhairya Nagodra
a06286e6f7 glibc: Remove duplicate entry for CVE-2023-4527
(From OE-Core rev: d58b1a3a08fbef97455124d9be3eba297d33f036)

Signed-off-by: Dhairya Nagodra <dnagodra@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 03:59:26 -10:00
Michael Opdenacker
1a5c00f00c migration-guides: fix release notes for 4.3.3
(From yocto-docs rev: 25fafd6f0fb90456358687f358a87960006cf2e6)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Lee Chee Yang
ed0b2b860f migration-guide: add release notes for 4.3.3
(From yocto-docs rev: 75c0d611da378a30ef70420d9f0e622f595d8881)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Chen Qi
62851677da multilib_global.bbclass: fix parsing error with no kernel module split
The problem could be reproduced with the following settings:
MACHINE = "qemux86-64"
KERNEL_SPLIT_MODULES = "0"
require conf/multilib.conf
MULTILIBS ?= "multilib:lib32"
DEFAULTTUNE:virtclass-multilib-lib32 ?= "core2-32"

The error message is as below:
  bb.data_smart.ExpansionError: Failure expanding variable KERNEL_VERSION_PKG_NAME, expression was ${@legitimize_package_name(d.getVar('KERNEL_VERSION'))} which triggered exception TypeError: expected string or bytes-like object
  The variable dependency chain for the failure is: KERNEL_VERSION_PKG_NAME -> RPROVIDES:kernel-modules

This is because multilib_virtclass_handler_global function in
multilib_global.bbclass deletes KERNEL_VERSION. So we need to handle
such situation. We'll also need to delete KERNEL_VERSION_PKG_NAME
to avoid this parsing error.

(From OE-Core rev: 82dd61aade02456621cd2958b2fbb56236062789)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 43dd497bc161ac44faecfdff052db03679dbb4f8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
baruch@tkos.co.il
126d94a615 overlayfs: add missing closing parenthesis in selftest
Cc: Vyacheslav Yurkov <uvv.mail@gmail.com>
(From OE-Core rev: 8635e17bd81e50ca587bb15716687fd78b81ec46)

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aebd526cdfea738745e57183b1015fd327bd94df)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Richard Purdie
9dd0928c51 pseudo: Update to pull in gcc14 fix and missing statvfs64 intercept
rpm 4.19 now builds with LFS64 support enabled by default,
so it calls statvfs64() to get the space available on the
filesystem it is installing packages into.  This is not
getting caught by pseudo, so rpm is checking the host's
root filesystem, rather than the filesystem where the
build is happening.

Merge in that fix and a gcc14 fix.

(From OE-Core rev: f7ef390b70709c0b6a607fcfe1da4c85144840e5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f6d021c860b2b99f46c604149317b326f493022d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Jonathan GUILLOT
b5781286ad udev-extraconf: fix unmount directories containing octal-escaped chars
USB devices are auto-mounted in a directory named like theirs labels.
Special characters like whitespace are octal-escaped in /proc/mounts
output. Using directly this output file as an argument for umount failed
and the mount directory can't be removed as still busy.
Using printf allows these special characters to be unescaped.

(From OE-Core rev: c3c31248233356a04db1d5ed375b647656d80fa0)

Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 37f17625d931a06888388682dc2b1f5a2d298125)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Julien Stephan
9b94baed26 externalsrc: fix task dependency for do_populate_lic
do_populate_lic dependencies are defined inside license.bbclass such as:

  addtask populate_lic after do_patch before do_build

but externalsrc deletes the do_patch task, so the only dependency left for
do_populate_lic is "before do_build"

On a devtool context, when doing devtool modify, sources are extracted inside
build/workspace/sources/${BPN}/ and local files inside
build/workspace/sources/${BPN}/oe-local-files

When building the recipe after a devtool modify, do_unpack is called again to
unpack (possibly modified) local files from
build/workspace/sources/${BPN}/oe-local-files into ${WORKDIR}.

Since the only left dependency for do_populate_lic is do_build, the
do_populate_lic can be called BEFORE do_unpack. Most of the time this is not a
problem, because license files are generally located inside ${S}, which
corresponds to build/workspace/sources/${BPN} (and is already unpacked),
but this can lead to an issue if recipe sets LIC_FILES_CHKSUM to look for
files in ${WORKDIR} (example from init-ifupdown_1.0.bb):

  LIC_FILES_CHKSUM = "file://${WORKDIR}/copyright;md5=3dd6192d306f582dee7687da3d8748ab"

So devtool modify init-ifupdown && bitbake init-ifupdown gives the following
error:

  WARNING: init-ifupdown-1.0-r0 do_populate_lic: Could not copy license file <...>/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0/copyright to <...>/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0/license-destdir/qemux86_64/init-ifupdown/copyright: [Errno 2] No such file or directory: '<...>/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0/copyright'
  ERROR: init-ifupdown-1.0-r0 do_populate_lic: QA Issue: init-ifupdown: LIC_FILES_CHKSUM points to an invalid file: <...>/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0/copyright [license-checksum]
  ERROR: init-ifupdown-1.0-r0 do_populate_lic: Fatal QA errors were found, failing task.
  ERROR: Logfile of failure stored in: <...>/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0/temp/log.do_populate_lic.838584
  ERROR: Task (<...>/poky/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb:do_populate_lic) failed with exit code '1'

Fix this by forcing the do_populate_lic task to run after do_unpack

(From OE-Core rev: bc02b59ca6506d727450512ac2490b8861de59ca)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ea6a0cccdd274534809df62a0a196bf83489a1e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Richard Purdie
20e316e372 reproducible: Fix race with externalsrc/devtool over lockfile
We occasionally see races over the lockfile used by externalsrc/devtool
when walking files for the source_date_epock calculation. Skip this file
if present to avoid the issues and fix a real issue where SDE could be
contaminated too.

[YOCTO #14921]

(From OE-Core rev: 6bb824019fd7335a10fdcebf7d301c101d60ad61)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4bc0eb4bd90e6e6e46581a8ed367212bdd910a26)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Richard Purdie
ab7fecefc6 allarch: Fix allarch corner case
Most of the allarch code is conditional and only set if the recipe remains marked
as allarch. The qemu wrapper handling is not handled in the same way however and
is unconditional.

Move the code to some slightly uglier inline python to allow it to be conditional
and match the way the rest of the code works.

(From OE-Core rev: 2e206eb9b43c267e939ccb3cdfa62d9666ff5efa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dfd704f1741dccd9a85338c5d45dee4be079064d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Wang Mingyu
10b2dd53ce gstreamer: upgrade 1.22.8 -> 1.22.9
Changelog:
 https://gstreamer.freedesktop.org/releases/1.22

(From OE-Core rev: cc21356c4147f47bc6879826bf2e801cb3acd695)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 30b3835c367ff1de00d24cddf3bd920ea29f15c5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Wang Mingyu
bdd694eb15 cpio: upgrade 2.14 -> 2.15
Changelog:
==========
* Fix operation of --no-absolute-filenames --make-directories
* Restore access and modification times of symlinks in copy-in
  and copy-pass modes.

0001-configure-Include-needed-header-for-major-minor-macr.patch
revmoed since it's included in 2.15

(From OE-Core rev: e912a11c5fa6709708428f2d0fe3a29a344cd43a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c4fb7512a5b1c13234e3733cba1c4bf246c77861)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Wang Mingyu
7584c6d12a at-spi2-core: upgrade 2.50.0 -> 2.50.1
Changelog:
 atk-adaptor: Fix critical when no table cell array is returned.

(From OE-Core rev: e742e3bdfbcb7cbbc7c4a3e26151b5ee3aa291e2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9bed9f07aea6c425748c8908641ce8a99fd5162f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Kai Kang
e8f1ae5d33 xserver-xorg: 21.1.9 -> 21.1.11
Update xserver-xorg from 21.1.9 to 21.1.11.

Release Notes of 21.1.11 [1]:

This release contains fixes for the issues reported in today's security
advisory: https://lists.x.org/archives/xorg/2024-January/061525.html

* CVE-2023-6816
* CVE-2024-0229
* CVE-2024-21885
* CVE-2024-21886
* CVE-2024-0408
* CVE-2024-0409

Additionally, it also contains a fix for XRandR to allow for multiple virtual
monitors on a physical display.

Release Notes of 21.1.10 [2]:

This release contains fixes for CVE-2023-6377 and CVE-2023-6478 as
reported in today's security advisory:
https://lists.x.org/archives/xorg-announce/2023-December/003435.html

[1]: https://lists.x.org/archives/xorg/2024-January/061526.html
[2]: https://lists.x.org/archives/xorg/2023-December/061518.html

(From OE-Core rev: e06a10763ee8ed99c9dd8122b49227e7085fd964)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fc9da07bd181ee6f7ae51a5b6db40af0b94cd046)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Alexander Sverdlin
5fb8ed4af4 linux-firmware: upgrade 20231030 -> 20231211
(From OE-Core rev: 0569b19936d20acc77a3f11d1033fc7ae5e8f331)

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0caafdbbf4e7dc84b919afe14f7cb8c46a9e4ac2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Benjamin Bara
df5e182c9f glibc: stable 2.38 branch updates
Pull in fixes for CVE-2023-6246, CVE-2023-6779 and CVE-2023-6780.

(From OE-Core rev: 07847f5945ff67340803149242a629741d619bf5)

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Robert Joslyn
b0424cf1ea gtk: Set CVE_PRODUCT
The CPE vendor is "gnome" and the CPE product is "gtk" for both gtk+3
and gtk4 recipes. Set CVE_PRODUCT so we properly match the NVD database.

(From OE-Core rev: e1bab7d2f5a885f2e4fd0332599edb8bfa55be45)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 253f5f745d66acefcc739f1c9ad2dd46be630e47)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Ross Burton
8912badafe cve_check: cleanup logging
Primarily list the number of patches found, useful when debugging.

Also clean up some bad escaping that caused warnings and use
re.IGNORECASE instead of manually doing case-insenstive rang matches.

(From OE-Core rev: 55d7393eda71fa37a93c1a0f5c8f7f18640cf079)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 10acc75b7f3387b968bacd51aade6a8dc11a463f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Ross Burton
617c24aed8 cve_check: handle CVE_STATUS being set to the empty string
Handle CVE_STATUS[...] being set to an empty string just as if it was
not set at all.

This is needed for evaluated CVE_STATUS values to work, i.e. when
setting not-applicable-config if a PACKAGECONFIG is disabled.

(From OE-Core rev: a8ccf2abdc89cf4ae3dce1fed4163e3c1399e528)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2c9f20f746251505d9d09262600199ffa87731a2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Simone Weiß
206267f75d gcc: Update status of CVE-2023-4039
This is fixed via a patch added in gcc-13.2.inc already, but still
reported e.g. for libgcc as it is not defining an own source but use the
shared gcc-source.

(From OE-Core rev: cc78945cf8372eea743ecddfca47cbc084641678)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 301d45eacfd4ae6bddfb13207e2af9e8b4662bc8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Ross Burton
563cd419c7 libssh2: backport fix for CVE-2023-48795
Backport the upstream fix for CVE-2023-48795.

(From OE-Core rev: c2894768c270e2698de23884f59e823f185820a0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 314fa19c5e07fa632ff0434a6adbb97de1319a02)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Peter Marko
52adde71ad zlib: ignore CVE-2023-6992
This CVE is for iCPE cloudflare:zlib.

Alternative to ignoring would be to limit CVE_PRODUCT, but
historic CVEs already have two - gnu:zlib and zlib:zlib.
So limiting it could miss future CVEs.

(From OE-Core rev: 7523c7b3609220b4dfc2bb0a83c552db60e1dc7e)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9f953a1cd832f03f0b3666168addf45fd4fc8d14)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Yogita Urade
4b37e67fbc tiff: fix CVE-2023-52355 and CVE-2023-52356
CVE-2023-52355:
An out-of-memory flaw was found in libtiff that could be
triggered by passing a crafted tiff file to the
TIFFRasterScanlineSize64() API. This flaw allows a remote
attacker to cause a denial of service via a crafted input
with a size smaller than 379 KB.
Issue fixed by providing a documentation update.

CVE-2023-52356:
A segment fault (SEGV) flaw was found in libtiff that could
be triggered by passing a crafted tiff file to the
TIFFReadRGBATileExt() API. This flaw allows a remote attacker
to cause a heap-buffer overflow, leading to a denial of service.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-52355
https://security-tracker.debian.org/tracker/CVE-2023-52355
https://gitlab.com/libtiff/libtiff/-/issues/621
https://gitlab.com/libtiff/libtiff/-/merge_requests/553
https://nvd.nist.gov/vuln/detail/CVE-2023-52356
https://gitlab.com/libtiff/libtiff/-/issues/622
https://gitlab.com/libtiff/libtiff/-/merge_requests/546

(From OE-Core rev: 71348662169be9737b10fbd305646df9295a07f6)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 831d7a2fffb3dec94571289292f0940bc7ecd70a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Yogita Urade
0cc056f177 tiff: fix CVE-2023-6228
CVE-2023-6228:
An issue was found in the tiffcp utility distributed by the
libtiff package where a crafted TIFF file on processing may
cause a heap-based buffer overflow leads to an application
crash.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-6228
https://gitlab.com/libtiff/libtiff/-/issues/606

(From OE-Core rev: fe0ee74a236cd7523f8982c5699098e6b75d2b20)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 55735e0d75820d59e569a630679f9ac403c7fdbe)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Steve Sakoman
d3b27346c3 build-appliance-image: Update to nanbield head revision
(From OE-Core rev: 0584d01f623e1f9b0fef4dfa95dd66de6cbfb7b3)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-08 04:22:37 -10:00
Steve Sakoman
17635c5e4d poky.conf: bump version for 4.3.3 release
(From meta-yocto rev: 65524b4d23cba2d57e7146942fa23ff74d9c7738)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-08 03:47:53 -10:00
Michael Opdenacker
12bfafb9e7 release-notes-4.3: fix spacing
This fixes an ugly formatting issue in the HTML output

(From yocto-docs rev: dde4b815db82196af086847f68ee27d7902b4ffa)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-08 03:47:53 -10:00
Baruch Siach
167d294de3 contributor-guide: fix lore URL
Cc: Michael Opdenacker <michael.opdenacker@bootlin.com>
(From yocto-docs rev: d044e01369666d3d48250661afc6b825b513d99e)

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-08 03:47:53 -10:00
Simone Weiß
6c40f9c1ef dev-manual: gen-tapdevs need iptables installed
Add the hint to the test setup that runqemu-gen-tapdevs will need the
iptables package installed.

(From yocto-docs rev: 368bacc10a18100ef721c477b5d0abc5184eef91)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-08 03:47:53 -10:00
Khem Raj
6d6ccbca0c tcl: Fix prepending to run-ptest script
This ensures that string is prepended properly and eclosed in ''
Fixes the ptest runs on musl

(From OE-Core rev: 5f49d4c3f528c1e9a2884cc9cc8026b5d43517f9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7bb45591f9caa7ff6b065220927a26e8261e2866)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Yang Xu
9724d9822c rootfs.py: check depmodwrapper execution result
The execution result of depmodwrapper is not checked which makes depmod
generation failed sliently and hard to detect.

So check exection result and stop building if depmodwrapper failed.

(From OE-Core rev: 2d8e913e2bfbb4ccbdf3eb747aab46fc38cf23e7)

Signed-off-by: Yang Xu <yang.xu@mediatek.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2f88e7d331390c6aaecc4522253e24791aec299e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Rodrigo M. Duarte
2d7fe81f8e linux-firmware: Fix the linux-firmware-bcm4373 FILES variable
This commit includes the 'cyfmac4373-sdio.clm_blob' file in
the list of files for the linux-firmware-bcm4373 package.
Without this file, the linux-firmware package adds all
firmware packages to the image.

(From OE-Core rev: 205b3990fe23dc05689ef619a4607e8903ebbec6)

Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7886d3b77200e4488393fa11c8198658fcf386cd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Alexander Kanavin
90600c8168 icon-naming-utils: take tarball from debian
Upstream website has disappeared; the tarball can still be downloaded
but this is probably not for long.

(From OE-Core rev: 12cb5cce1cad02125fbf695e0d94010535cf228a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit af59c518467d1174d1d63594fdd3279a2fdbd8f8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Ming Liu
d94ab548b0 qemu.bbclass: fix a python TypeError
QEMU_OPTIONS can be empty which will trigger a exception TypeError:
| can only concatenate str (not "NoneType") to str. Fix it by setting a
empty string.

ALso removed two useless blanks.

(From OE-Core rev: 3ccc642bb36373e81d80d41b4f213328c7bfb9cb)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b619197bd52a4a99a9989e7ea6fb7032415b1e42)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
William Lyu
801c3f25cc elfutils: Update license information
Update license information for overall package, package libraries, and
package utilities in the recipe to match the license information as
described on the upstream website [1]:

"License. The libraries and backends are dual GPLv2+/LGPLv3+. The
utilities are GPLv3+."

[1] https://sourceware.org/elfutils

(From OE-Core rev: d0e082b8303ad9591983c95d19a199c8d22942da)

Signed-off-by: William Lyu <William.Lyu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c0728805f24cbd6a788871ae54af4ec8307e40d4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Ming Liu
67c359b259 grub: fs/fat: Don't error when mtime is 0
A issue was found when I run "runqemu genericx86-64 ovmf", grub failed
to boot, it's a known issue has been fixed in grub upstream, backport
the fix.

(From OE-Core rev: 10f783721decaec06e87dd7a140ea16f12b97539)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 51eab4bb0cae46c9c32d28986eb97badf47594b7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Alexander Kanavin
e513d20afd glibc-y2038-tests: do not run tests using 32 bit time APIs
I'm not sure why this was included and enabled to begin with: the tests
predictably mass-fail if system time is set to after y2038.

(From OE-Core rev: 3d04849c741baeddd0677a18a468603b7112139d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c9c7ebd6e447bce19803253afd881854f686b5f6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Trevor Gamblin
89b80f507f scripts/runqemu: fix regex escape sequences
When invoking runqemu with Python 3.12, the following warning is
encountered:

|SyntaxWarning: invalid escape sequence '\.'

This is because the interpreter scans the string before it is processed
by the regex module, and it interprets the backslash as part of an
escape sequence, but not a standard one. This will be registered as an
error rather than a warning in future Python versions. To avoid the it,
simply add an extra backslash so that Python doesn't misinterpret the
string, while the regex parser still sees an escaped '.' character.

(From OE-Core rev: 145672043d6d75a9e5a03afb4c205e8008218a3b)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0e8a4142bb90a92d175df6b2537d24a372356f98)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Richard Purdie
84d3e21ba8 curl: Disable test 1091 due to intermittent failures
Disable another test that intermittently fails on the autobuilder.

(From OE-Core rev: 7c183e7470565db3085b4f18044567fc51c842ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8d169e13f7e2eb6511f0ac98da63b060c6c0d53a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Peter Marko
51e2259697 sqlite: drop obsolete CVE ignore
CVE-2023-36191 is now rejected in NVD DB so it won't shoup up in
cve-check report anymore.

(From OE-Core rev: 362a77ea331124ae4c84553c0dceb06b05150804)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Peter Marko
8c33b62fa8 sqlite3: upgrade 3.43.1 -> 3.43.2
This fixes CVE-2024-0232

(From OE-Core rev: 748c18468cc7de0173ab4796805704b9376cd391)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Wang Mingyu
138f0acae3 aspell: upgrade 0.60.8 -> 0.60.8.1
CVE-2019-25051.patch
removed since it's included in 0.60.8.1

Changelog:
============
-Fix memory leak in suggestion code introduced in 0.60.8.
-Various documentation fixes.
-Fix various warnings when compiling with -Wall.
-Fix two buffer overflows found by Google's OSS-Fuzz.
-Other minor updates.

(From OE-Core rev: 1d7ab8b0bc129efadd9144b87fa5208b4a8fcd6c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ec3c8642f71b470936b6dd29331afa467ab865c7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Wang Mingyu
c84022a1ad gstreamer1.0: upgrade 1.22.7 -> 1.22.8
From release notes:

1.22 bug-fix release (1.22.8) was released on 18 December 2023.

This release only contains bugfixes and security fixes and it should be safe to update from 1.22.x.

(From OE-Core rev: 7d43da3f6f83d9a58a3bc54e55fefd591274afca)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 132d8b7e0188aae8849ae43cfffabce4389a55df)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Simone Weiß
6981794ff8 glibc: Set status for CVE-2023-5156 & CVE-2023-0687
Set `CVE_STATUS`for those CVEs, they have already been fixed with the latest
pull for stable branch fixes done in rev
e444d2bed0. Hence the issues are fixed
already.

(From OE-Core rev: a7b92c9c675c2c111e0b41121c1232b2e79de4ea)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6e6fe23c95f1d0a8a0503cb71557cf3272bf9945)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Alassane Yattara
94b73c33d5 bitbake: toaster/toastergui: Bug-fix verify given layer path only if import/add local layer
(Bitbake rev: 380a9ac97de5774378ded5e37d40b79b96761a0c)

Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Lee Chee Yang
cf9b37dfd0 migration-guide: add release notes for 4.0.16
(From yocto-docs rev: 81b75961edeb120345c5176dd97e2c9dabe6e4ed)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Saul Wold
17b8581413 package.py: OEHasPackage: Add MLPREFIX to packagename
FIXES [YOCTO #12342]

When testing a Multilib image, the package manifest list contains
the fully qualified package name which includes the Multilib Prefix.
This patch adds the MLPREFIX to the package names that are passed
into the @OEHasPackage() decorator to ensure the set isdisjoint()
matches correctly.

(From OE-Core rev: a27983e0b6bde730fe501c9931119bf18b2c376b)

Signed-off-by: Saul Wold <sgw@bigsur.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ab87e4f92305b2a664cc473869e1615cf56e0936)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Richard Purdie
11fbbbf59a oeqa/selftest/prservice: Improve test robustness
The tests were not cleaning up after themselves and making assumptions about
memory resident bitbake being stopped by the scripts.

Add cleanup logic to ensure the tests don't break other things and
clean up created files.

(From OE-Core rev: 81d7011a793de2548c573ebb84f60fb80a357bed)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 692dd762a0c817797c28381c6169205fbaeb2705)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Richard Purdie
f890240f06 lib/prservice: Improve lock handling robustness
It is possible we could crash holding a lock whilst parsing in this code.
Switch to use utils.fileslocked() in the with expression to avoid this.

This may be causing some of our strange intermittent failures in PRServ
tests.

(From OE-Core rev: 4e3c9526c2389fd08d86d986014313e1d404f1fb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4e59db15e5df2cc3d0ae042454812a2d54cef77b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Joshua Watt
8de5dd79c0 classes-global/sstate: Fix variable typo
The vardepsexclude was subtly wrong in that it referenced STATE_MANMACH
when the actual variable name is SSTATE_MANMACH.

(From OE-Core rev: a681f90caec27d4076bdae3b5b19df2d7f5978cd)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ec5054396f7fafea2a071d2695ae111fc585d6e6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Robert Berger
1a44cbee81 uninative-tarball.xz - reproducibility fix
added --clamp-mtime --mtime to the tar command

see:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15148

(From OE-Core rev: 3dabf663a772b49e2f324ce5e875d6e633384559)

Signed-off-by: Robert Berger <Robert.Berger@ReliableEmbeddedSystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2ef7c63871ab4fb62a9cea45a23a78bf9d541e4a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Soumya Sambu
5afcce0022 ncurses: Fix - tty is hung after reset
Serial tty is hung after reset command -
$echo "test " >> /dev/ttyS0
test
$stty -a < /dev/ttyS0
speed 115200 baud; rows 34; columns 153; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>;
start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon ixoff -iuclc -ixany -imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon -iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc
$reset
$echo "test " >> /dev/ttyS0
^C
$stty -a < /dev/ttyS0
^C

Updating reset_tty_settings API with latest code which fixes tty hung issue

(From OE-Core rev: 53939c1f4bcf8c32ed648ddf5150aee11ca3215b)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2419afd8024f903efff862f3f7f7772aedea7613)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Clay Chang
090c0e8445 devtool: deploy: provide max_process to strip_execs
Use oe.utils.get_bb_number_threads to get max_process

(From OE-Core rev: 162607e3f7fd490c4b01775a9516a1bcf643eae6)

Signed-off-by: Clay Chang <clayc@hpe.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f0056dca0a44c374f1f0c5fccbf66ae88e0b1850)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Richard Purdie
c6def80c31 curl: Disable two intermittently failing tests
These two tests seem to fail semi-regularly so just stop running them.

(From OE-Core rev: aa52e8fe6f53c5e3e5466385b683ea209d833845)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1bfa564f1aa8b865f6c3ae3501e6d5f6cc0542eb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Peter Marko
01017ff17d dtc: preserve version also from shallow git clones
Since switch from Makefile to meson based build,
the version is no longer hardcoded but queried from git tag.

This works only if git history is available.
When shallow tarballs are used, tag is not available.

Example error for trusted-firmware-a from meta-arm:
dtc version too old (039a994), you need at least version 1.4.4

Backport also patch to fix version in meson file.

(From OE-Core rev: a77defdac80d4cc660d6b6677bc166a1d1d338b5)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 319f5d8a32d1f4a71ac997ce4522249b08f84945)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Mingli Yu
ba6a6eb13e python3-license-expression: Fix the ptest failure
Fix the below ptest failure:
 self = <test_skeleton_codestyle.BaseTests testMethod=test_skeleton_codestyle>
 def test_skeleton_codestyle(self):
 """
 This test shouldn't run in proliferated repositories.
 """
 setup_cfg = configparser.ConfigParser()
 setup_cfg.read("setup.cfg")
 > if setup_cfg["metadata"]["name"] != "skeleton":
 tests/test_skeleton_codestyle.py:22:
 self = <configparser.ConfigParser object at 0x7fd87cf55110>, key = 'metadata'
 def _getitem_(self, key):
 if key != self.default_section and not self.has_section(key):
 > raise KeyError(key)
 E KeyError: 'metadata'

After the patch:
 # ./run-ptest
 [snip]
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_bad_syntax
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_exception_as_regular_key
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_exception_with_choice
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_exception
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_exception_strict_false
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_key
 PASS: tests/test_license_expression.py::UtilTest::test_build_licensing
 PASS: tests/test_license_expression.py::UtilTest::test_build_spdx_licensing
 PASS: tests/test_license_expression.py::UtilTest::test_get_license_key_info
 PASS: tests/test_license_expression.py::UtilTest::test_get_license_key_info_vendored
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_duplicated_elements
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_empty_input
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_or_relationship
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_regular
 PASS: tests/test_skeleton_codestyle.py::BaseTests::test_skeleton_codestyle
============================================================================
Testsuite summary
 # TOTAL: 175
 # PASS: 175
 # SKIP: 0
 # XFAIL: 0
 # FAIL: 0
 # XPASS: 0

(From OE-Core rev: f69530a3b86b512c5c60da4da34fc287ff0d1366)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>

Changed in v4:
Add python3-license-expression to PTESTS_FAST

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b06ad7a9f1dd5900483102f5723a6821f961dab)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Robert Yang
60f7c83994 nfs-utils: Update Upstream-Status
Update Upstream-Status for 0001-reexport.h-Include-unistd.h-to-compile-with-musl.patch.

(From OE-Core rev: 2323086931f2abd9b85fc1ec94b6b0d3efd6364a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7189d1ea5c066b9ffc52103160bb34945fd779d7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Bruce Ashfield
96ceab7e0c linux-yocto/6.1: update CVE exclusions
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 15Jan24
        Date: Mon, 15 Jan 2024 12:48:45 -0500

    ]

(From OE-Core rev: dfd3c5c6fbe2cd3b0723879bd2b6574eb59a5860)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74bf102eb4ae7377527a146e3db1d9ee1da1f2da)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Bruce Ashfield
252dd4cf25 linux-yocto/6.1: update to v6.1.73
Updating linux-yocto/6.1 to the latest korg -stable release that comprises
the following commits:

    fec3b1451d5f Linux 6.1.73
    f9ee31dc7fcd cifs: fix flushing folio regression for 6.1 backport
    0f22c8a6efe6 ipv6: remove max_size check inline with ipv4
    b2c545c39877 Revert "nfsd: separate nfsd_last_thread() from nfsd_put()"
    db5f2f4db8b7 Revert "nfsd: call nfsd_last_thread() before final nfsd_put()"

(From OE-Core rev: 84a86b91de33a048b8a4aafacb051c9dbc3abbca)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 27004956fb5ce3d4c2a48e64681b743763641f04)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Bruce Ashfield
38da774fe8 linux-yocto/6.1: security/cfg: add configs to harden protection
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Xiangyu Chen
    Email: xiangyu.chen@windriver.com
    Subject: feature/security: add configs to harden protection
    Date: Tue, 16 Jan 2024 18:22:31 +0800

    Add some configs to harden protection:
      CONFIG_HW_RANDOM_TPM=y Exposing the TPM's Random Number Generator as a hwrng device.
      CONFIG_DEBUG_WX=y Warn on W+X mappings at boot.
      CONFIG_SECURITY_DMESG_RESTRICT=y Restrict unprivileged access to the kernel syslog.
      CONFIG_LDISC_AUTOLOAD=n Disable automatically load TTY Line Disciplines.

    Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 6ee7b17677a39302bd14acbc2a4bfe5cb247f32e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 33d3dd8f5469cb0b2999d7f935378899d447b3ce)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Bruce Ashfield
3f65155a06 linux-yocto/6.1: update CVE exclusions
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 27Dec23
        Date: Wed, 27 Dec 2023 19:47:13 -0500

    ]

(From OE-Core rev: 8960ae115972015de0176ceb202c4996f5a03c75)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c16ed90dae1f1954b582c4fb6783fca7e3171af3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Bruce Ashfield
434ebe75c3 linux-yocto/6.1: update to v6.1.72
Updating linux-yocto/6.1 to the latest korg -stable release that comprises
the following commits:

    7c58bfa711cb Linux 6.1.72
    2dbe25ae06e6 Revert "interconnect: qcom: sm8250: Enable sync_state"
    f73a374c1969 smb3: Replace smb2pdu 1-element arrays with flex-arrays
    ec162546a733 media: qcom: camss: Comment CSID dt_id field
    a5c3f2b4cee7 bpf: syzkaller found null ptr deref in unix_bpf proto add
    15db682980fc bpf: Fix a verifier bug due to incorrect branch offset comparison with cpu=v4
    7cbdf36eabf3 net/sched: act_ct: Always fill offloading tuple iifidx
    2be4e8ac2d16 net/sched: act_ct: additional checks for outdated flows
    87318b7e374c f2fs: compress: fix to assign compress_level for lz4 correctly
    397f719037c2 genirq/affinity: Only build SMP-only helper functions on SMP kernels
    28c9222e29e5 mmc: sdhci-sprd: Fix eMMC init failure after hw reset
    2813a434d461 mmc: core: Cancel delayed work before releasing host
    575e127041f2 mmc: rpmb: fixes pause retune on all RPMB partitions.
    9c5efaa09b31 mmc: meson-mx-sdhc: Fix initialization frozen issue
    48e1d426f452 drm/amd/display: add nv12 bounding box
    11c3510d1d4d drm/amdgpu: skip gpu_info fw loading on navi12
    dafdeb7b91f1 mm: fix unmap_mapping_range high bits shift bug
    08038069c237 i2c: core: Fix atomic xfer check for non-preempt config
    53b42cb33fb1 x86/kprobes: fix incorrect return address calculation in kprobe_emulate_call_indirect
    d1db1ef5e633 firewire: ohci: suppress unexpected system reboot in AMD Ryzen machines and ASM108x/VT630x PCIe cards
    09a44d994bfe ring-buffer: Fix 32-bit rb_time_read() race with rb_time_cmpxchg()
    820a7802f25a btrfs: mark the len field in struct btrfs_ordered_sum as unsigned
    ab220f4f5c70 btrfs: fix qgroup_free_reserved_data int overflow
    0f74dde5be2c octeontx2-af: Support variable number of lmacs
    7d3912613d5b octeontx2-af: Fix pause frame configuration
    a29b15cc68a6 net/sched: act_ct: Take per-cb reference to tcf_ct_flow_table
    2bb4ecb3349c netfilter: flowtable: GC pushes back packets to classic path
    df01de08b411 net/sched: act_ct: Fix promotion of offloaded unreplied tuple
    87466a374571 net/sched: act_ct: offload UDP NEW connections
    8b160f2fba77 netfilter: flowtable: cache info of last offload
    c29a7656f8a2 netfilter: flowtable: allow unidirectional rules
    e681f711e9e8 net: sched: call tcf_ct_params_free to free params in tcf_ct_init
    d49bf9c1ceb3 mm/memory_hotplug: fix error handling in add_memory_resource()
    4666f003afff mm/memory_hotplug: add missing mem_hotplug_lock
    a576780a2a66 lib/group_cpus.c: avoid acquiring cpu hotplug lock in group_cpus_evenly
    f33b27f5c3de genirq/affinity: Move group_cpus_evenly() into lib/
    617ba3735d3b genirq/affinity: Rename irq_build_affinity_masks as group_cpus_evenly
    aeeb4e4e49f8 genirq/affinity: Don't pass irq_affinity_desc array to irq_build_affinity_masks
    9e84d7bb1505 genirq/affinity: Pass affinity managed mask array to irq_build_affinity_masks
    a1dcd1794730 genirq/affinity: Remove the 'firstvec' parameter from irq_build_affinity_masks
    f4fe76467e7b ALSA: hda/realtek: Add quirk for Lenovo Yoga Pro 7
    aee609302d65 firmware: arm_scmi: Fix frequency truncation by promoting multiplier type
    90d1f74c3cf6 bpf, sockmap: af_unix stream sockets need to hold ref for pair sock
    5ff1682fec18 ethtool: don't propagate EOPNOTSUPP from dumps
    e570b1508753 dpaa2-eth: recycle the RX buffer only after all processing done
    5b8938fc7d00 net: dpaa2-eth: rearrange variable in dpaa2_eth_get_ethtool_stats
    e88275ce7e7b smb: client: fix missing mode bits for SMB symlinks
    bf223fd4d914 block: update the stable_writes flag in bdev_add
    a8e4300ae58d filemap: add a per-mapping stable writes flag
    d0eafc763135 mm, netfs, fscache: stop read optimisation when folio removed from pagecache
    bceff380f361 mm: merge folio_has_private()/filemap_release_folio() call pairs
    8b6b3ecf0c13 memory-failure: convert truncate_error_page() to use folio
    a6f440f3b956 khugepage: replace try_to_release_page() with filemap_release_folio()
    4c78612e5fbc ext4: convert move_extent_per_page() to use folios
    b92a8f591ca8 media: qcom: camss: Fix set CSI2_RX_CFG1_VC_MODE when VC is greater than 3
    710f70555d5b media: camss: sm8250: Virtual channels for CSID
    c96a4f936008 selftests: mptcp: set FAILING_LINKS in run_tests
    4b85e920afc8 selftests: mptcp: fix fastclose with csum failure
    336d1ee07efb f2fs: set the default compress_level on ioctl
    1ff3f5ef284b f2fs: assign default compression level
    55d3f41e5583 f2fs: convert to use bitmap API
    84a8d913fb53 f2fs: clean up i_compress_flag and i_compress_level usage
    2c14f4991610 s390/cpumf: support user space events for counting
    a1a1e5ce88a7 s390/mm: add missing arch_set_page_dat() call to vmem_crst_alloc()
    31051f722db2 net/mlx5: Increase size of irq name buffer
    b5c8e0ff76d1 blk-mq: make sure active queue usage is held for bio_integrity_prep()
    803fb6109fcf bpf: fix precision backtracking instruction iteration
    b08acd5c4602 bpf: handle ldimm64 properly in check_cfg()
    2c795ce09042 bpf: Support new 32bit offset jmp instruction
    b1c780ed3c22 bpf: clean up visit_insn()'s instruction processing
    97bb6dab0172 bpf: Remove unused insn_cnt argument from visit_[func_call_]insn()
    8266c47d04b2 bpf: remove unnecessary prune and jump points
    743f3548d301 bpf: decouple prune and jump points
    eb4f2e17886a fbdev: imsttfb: fix double free in probe()
    f2a79f3651a5 fbdev: imsttfb: Release framebuffer and dealloc cmap on error path
    51a1b943022f arm64: dts: qcom: sdm845: Fix PSCI power domain names
    5db8b93cbe2d arm64: dts: qcom: sdm845: align RPMh regulator nodes with bindings
    343bb27e3152 wifi: iwlwifi: yoyo: swap cdb and jacket bits values
    158b71f3a9fa udp: annotate data-races around udp->encap_type
    8d929b6c1114 udp: lockless UDP_ENCAP_L2TPINUDP / UDP_GRO
    b680a907d17c udp: move udp->accept_udp_{l4|fraglist} to udp->udp_flags
    753886c0b994 udp: move udp->gro_enabled to udp->udp_flags
    a01cff15ccdc udp: move udp->no_check6_rx to udp->udp_flags
    50e41aa9ea0d udp: move udp->no_check6_tx to udp->udp_flags
    e2a4392b61f6 udp: introduce udp->udp_flags
    2489502fb1f5 ipv4, ipv6: Use splice_eof() to flush
    4713b7c7568b splice, net: Add a splice_eof op to file-ops and socket-ops
    ac8c69e448f7 udp: Convert udp_sendpage() to use MSG_SPLICE_PAGES
    6bcc79a4e760 net: Declare MSG_SPLICE_PAGES internal sendmsg() flag
    89b51e70e5e3 bpf, x86: save/restore regs with BPF_DW size
    4ee461c5dc99 bpf, x86: Simplify the parsing logic of structure parameters
    605c8d8f9966 bpf, x64: Fix tailcall infinite loop
    5573fdbc3423 srcu: Fix callbacks acceleration mishandling
    abc3e3fb71a5 cpu/SMT: Make SMT control more robust against enumeration failures
    482fa21635c8 cpu/SMT: Create topology_smt_thread_allowed()
    a364c18553d0 selftests: secretmem: floor the memory size to the multiple of page_size
    c38c5cfd3ed7 net: Implement missing SO_TIMESTAMPING_NEW cmsg support
    14937f47a48f bnxt_en: Remove mis-applied code from bnxt_cfg_ntp_filters()
    55fbcd83aaca net: ravb: Wait for operating mode to be applied
    8a09b0f01c40 asix: Add check for usbnet_get_endpoints
    db9c4a1f37ee octeontx2-af: Re-enable MAC TX in otx2_stop processing
    b67e7d78e48a octeontx2-af: Always configure NIX TX link credits based on max frame size
    84c3833a93bb net/smc: fix invalid link access in dumping SMC-R connections
    0af75845ff5e net/qla3xxx: fix potential memleak in ql_alloc_buffer_queues
    9b0504292237 igc: Fix hicredit calculation
    7663226274af i40e: Restore VF MSI-X state during PCI reset
    5735f529e318 ASoC: meson: g12a-tohdmitx: Fix event generation for S/PDIF mux
    8719838c126a ASoC: meson: g12a-toacodec: Fix event generation
    5de3c8496e77 ASoC: meson: g12a-tohdmitx: Validate written enum values
    95b4d4093ac0 ASoC: meson: g12a-toacodec: Validate written enum values
    2f3b6e8600c9 i40e: fix use-after-free in i40e_aqc_add_filters()
    72fa66177859 net: Save and restore msg_namelen in sock_sendmsg
    81f8a995ebc8 netfilter: nft_immediate: drop chain reference counter on error
    bb1bf97fa187 net: bcmgenet: Fix FCS generation for fragmented skbuffs
    e75715e1c2e5 sfc: fix a double-free bug in efx_probe_filters
    725d44e49fb5 ARM: sun9i: smp: Fix array-index-out-of-bounds read in sunxi_mc_smp_init
    85f6fae44bba selftests: bonding: do not set port down when adding to bond
    3edd66bd4e42 net: Implement missing getsockopt(SO_TIMESTAMPING_NEW)
    ac5fde92b510 net: annotate data-races around sk->sk_bind_phc
    c48fcb4f4906 net: annotate data-races around sk->sk_tsflags
    5d586f7ca0fc net-timestamp: extend SOF_TIMESTAMPING_OPT_ID to HW timestamps
    b2130366a952 can: raw: add support for SO_MARK
    633a49e34b32 r8169: Fix PCI error on system resume
    565460e180d9 net: sched: em_text: fix possible memory leak in em_text_destroy()
    ac5cbe931c43 mlxbf_gige: fix receive packet race condition
    6d7f45492706 ASoC: mediatek: mt8186: fix AUD_PAD_TOP register and offset
    811604fb02c4 ASoC: fsl_rpmsg: Fix error handler with pm_runtime_enable
    c3a37dc15685 igc: Check VLAN EtherType mask
    6edff0b8381c igc: Check VLAN TCI mask
    d27b98f4aeae igc: Report VLAN EtherType matching back to user
    e76d1913f6a8 i40e: Fix filter input checks to prevent config with invalid values
    188c9970d05e ice: Shut down VSI with "link-down-on-close" enabled
    83b80170b7fa ice: Fix link_down_on_close message
    f3f6a23e054c drm/i915/dp: Fix passing the correct DPCD_REV for drm_dp_set_phy_test_pattern
    6cf7235bc1fb octeontx2-af: Fix marking couple of structure as __packed
    a4b0a9b80a96 nfc: llcp_core: Hold a ref to llcp_local->dev when holding a ref to llcp_local
    282e3fb61285 netfilter: nf_tables: set transport offset from mac header for netdev/egress
    9487cc4c90fb netfilter: use skb_ip_totlen and iph_totlen
    5f523f1beb46 drm/bridge: ti-sn65dsi86: Never store more than msg->size bytes in AUX xfer
    3da4868907da wifi: iwlwifi: pcie: don't synchronize IRQs from IRQ
    493d556278a3 KVM: x86/pmu: fix masking logic for MSR_CORE_PERF_GLOBAL_CTRL
    3152a7d361c6 cifs: do not depend on release_iface for maintaining iface_list
    5982a625fc0d cifs: cifs_chan_is_iface_active should be called with chan_lock held
    4afcb82518b9 drm/mgag200: Fix gamma lut not initialized for G200ER, G200EV, G200SE
    b9c370b61d73 Revert "PCI/ASPM: Remove pcie_aspm_pm_state_change()"
    af9a5307656d mptcp: prevent tcp diag from closing listener subflows
    105063f7f441 ALSA: hda/realtek: Fix mute and mic-mute LEDs for HP ProBook 440 G6
    0fa3cf2d151e ALSA: hda/realtek: fix mute/micmute LEDs for a HP ZBook
    beda900d3aaf ALSA: hda/realtek: enable SND_PCI_QUIRK for hp pavilion 14-ec1xxx series
    9539e3b56e0d block: Don't invalidate pagecache for invalid falloc modes
    079eefaecfd7 keys, dns: Fix missing size check of V1 server-list header
    38fb82ecd144 Linux 6.1.71
    74c4c7d57cf2 Revert "platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe"
    7709b16bdbd5 tracing/kprobes: Fix symbol counting logic by looking at modules as well
    9dd295341dc1 kallsyms: Make module_kallsyms_on_each_symbol generally available
    29cb16577189 device property: Allow const parameter to dev_fwnode()
    e7b04372179e spi: Constify spi parameters of chip select APIs
    f9a01938e079 NFSD: fix possible oops when nfsd/pool_stats is closed.
    899ac41804d8 ring-buffer: Fix slowpath of interrupted event
    0105571f80ed netfilter: nf_tables: skip set commit for deleted/destroyed sets
    4768430d5a69 ring-buffer: Remove useless update to write_stamp in rb_try_to_discard()
    f33c4e4cabce tracing: Fix blocked reader of snapshot buffer
    09640899e6b7 ring-buffer: Fix wake ups when buffer_percent is set to 100
    4ee9d9291b95 mm/memory-failure: check the mapcount of the precise page
    fb21c9780a31 mm/memory-failure: cast index to loff_t before shifting it
    be72d197b228 mm: migrate high-order folios in swap cache correctly
    a8df791470fb mm/filemap: avoid buffered read/write race to read inconsistent data
    b954b92ef08f platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe
    7a3bbbadac4b ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()
    b9c5f0fd5cd5 block: renumber QUEUE_FLAG_HW_WC
    e21b5fc5b887 spi: atmel: Fix clock issue when using devices with different polarities
    025cf65f68d4 spi: Add APIs in spi core to set/get spi->chip_select and spi->cs_gpiod
    64a4eb2982db spi: Reintroduce spi_set_cs_timing()
    95e21657ffe9 linux/export: Ensure natural alignment of kcrctab array
    bb4f791cb2de nfsd: call nfsd_last_thread() before final nfsd_put()
    03d68ffc48b9 nfsd: separate nfsd_last_thread() from nfsd_put()
    481561a431ff iio: imu: adis16475: add spi_device_id table
    027eaeaf3294 spi: Introduce spi_get_device_match_data() helper
    457a219c8453 usb: fotg210-hcd: delete an incorrect bounds test
    119127273b5d ARM: dts: Fix occasional boot hang for am3 usb
    98235bc13aa8 ksmbd: fix wrong allocation size update in smb2_open()
    04b8e04f8f89 ksmbd: avoid duplicate opinfo_put() call on error of smb21_lease_break_ack()
    34f7d5b5c972 ksmbd: lazy v2 lease break on smb2_write()
    500c7a5e9af8 ksmbd: send v2 lease break notification for directory
    1993959460c0 ksmbd: downgrade RWH lease caching state to RH for directory
    2fcb46df3460 ksmbd: set v2 lease capability
    3eddc811a7c8 ksmbd: set epoch in create context v2 lease
    52a32eafd0a5 ksmbd: don't update ->op_state as OPLOCK_STATE_NONE on error
    0bc46c2370ee ksmbd: move setting SMB2_FLAGS_ASYNC_COMMAND and AsyncId
    d9aa5c19084e ksmbd: release interim response after sending status pending response
    013bf453af0d ksmbd: move oplock handling after unlock parent dir
    20dd92c23756 ksmbd: separately allocate ci per dentry
    d5651972e5c5 ksmbd: fix possible deadlock in smb2_open
    aabc944ebf08 ksmbd: prevent memory leak on error return
    b4a269bb89dd ksmbd: fix kernel-doc comment of ksmbd_vfs_kern_path_locked()
    699ad8d03cc5 ksmbd: no need to wait for binded connection termination at logoff
    3cf44550814c ksmbd: add support for surrogate pair conversion
    d26e024a5ead ksmbd: fix missing RDMA-capable flag for IPoIB device in ksmbd_rdma_capable_netdev()
    5113f7222554 ksmbd: fix recursive locking in vfs helpers
    42e56982bed1 ksmbd: fix kernel-doc comment of ksmbd_vfs_setxattr()
    533e6dc4469f ksmbd: reorganize ksmbd_iov_pin_rsp()
    1d95c5a54184 ksmbd: Remove unused field in ksmbd_user struct
    5929e98f3bb7 ksmbd: fix potential double free on smb2_read_pipe() error path
    a7aae713eaf2 ksmbd: fix Null pointer dereferences in ksmbd_update_fstate()
    943cebf9ea34 ksmbd: fix wrong error response status by using set_smb2_rsp_status()
    7b58ee8d0b91 ksmbd: fix race condition between tree conn lookup and disconnect
    0090f0bfc225 ksmbd: fix race condition from parallel smb2 lock requests
    6584ca894f30 ksmbd: fix race condition from parallel smb2 logoff requests
    b3a843caed29 ksmbd: fix race condition with fp
    7345f5dbf66d ksmbd: check iov vector index in ksmbd_conn_write()
    8beae8a0a065 ksmbd: return invalid parameter error response if smb2 request is invalid
    e523a26c0567 ksmbd: fix passing freed memory 'aux_payload_buf'
    b4b3fd1a95b4 ksmbd: remove unneeded mark_inode_dirty in set_info_sec()
    1ee419e08fa1 ksmbd: remove experimental warning
    83b01f7330d7 ksmbd: add missing calling smb2_set_err_rsp() on error
    422c0cd01693 ksmbd: Fix one kernel-doc comment
    c20105a8975c ksmbd: fix `force create mode' and `force directory mode'
    f8cf1ebb7de6 ksmbd: fix wrong interim response on compound
    9f297df20d93 ksmbd: add support for read compound
    673e60c69124 ksmbd: switch to use kmemdup_nul() helper
    0a9b91f45e88 ksmbd: check if a mount point is crossed during path lookup
    d782f42eed93 ksmbd: Fix unsigned expression compared with zero
    48cc49384048 ksmbd: Replace one-element array with flexible-array member
    63fbfd212c82 ksmbd: Use struct_size() helper in ksmbd_negotiate_smb_dialect()
    e7ab53bd81b0 ksmbd: Replace the ternary conditional operator with min()
    143da652cee8 ksmbd: use kvzalloc instead of kvmalloc
    de43cdaa88c2 ksmbd: Change the return value of ksmbd_vfs_query_maximal_access to void
    deb79f20be21 ksmbd: return a literal instead of 'err' in ksmbd_vfs_kern_path_locked()
    fe7977b872a6 ksmbd: use kzalloc() instead of __GFP_ZERO
    294a275f374b ksmbd: remove unused ksmbd_tree_conn_share function
    b069977b2b47 ksmbd: add mnt_want_write to ksmbd vfs functions
    13a5045011ec ksmbd: fix posix_acls and acls dereferencing possible ERR_PTR()
    1524884c3efb ksmbd: call putname after using the last component
    30a1344198aa ksmbd: fix uninitialized pointer read in smb2_create_link()
    6d4e21e369f3 ksmbd: fix uninitialized pointer read in ksmbd_vfs_rename()
    6927ffe7479c ksmbd: fix racy issue from using ->d_parent and ->d_name
    6e99fbb4296a fs: introduce lock_rename_child() helper
    965eb8650737 ksmbd: remove unused compression negotiate ctx packing
    49d9f6ad1ee0 ksmbd: avoid duplicate negotiate ctx offset increments
    2182d96ec0b7 ksmbd: set NegotiateContextCount once instead of every inc
    8d271ef5e5ca ksmbd: delete asynchronous work from list
    4ef3fd2f85bb ksmbd: remove unused is_char_allowed function
    226aaaa59365 ksmbd: Fix parameter name and comment mismatch
    e8c49f9364c5 ksmbd: Fix spelling mistake "excceed" -> "exceeded"
    ada8bcc48acd ksmbd: update Kconfig to note Kerberos support and fix indentation
    5c0306b0abcd ksmbd: Remove duplicated codes
    b6502c34cf30 ksmbd: fix typo, syncronous->synchronous
    052b41ef2abe ksmbd: Implements sess->rpc_handle_list as xarray
    264547e13f80 ksmbd: Convert to use sysfs_emit()/sysfs_emit_at() APIs
    87ffbb9e24ba ksmbd: Fix resource leak in smb2_lock()
    d847b7588341 ksmbd: use F_SETLK when unlocking a file
    343d667deee1 ksmbd: set SMB2_SESSION_FLAG_ENCRYPT_DATA when enforcing data encryption for this share
    ab69d3e8f7a0 ksmbd: replace one-element arrays with flexible-array members

(From OE-Core rev: 127092cdb8818bfa454d85e95fc91d3f5a58351e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b5a2a428407e7f94ef9207dbac9f24dad14c7202)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Bruce Ashfield
63520bce8f linux-yocto/6.1: update CVE exclusions
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 27Dec23
        Date: Wed, 27 Dec 2023 19:47:13 -0500

    ]

(From OE-Core rev: 31dc2d2952a15df902cef3755f9db4d5f2bd9944)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(cherry picked from commit b303a7dd260ad3f6a9e6f1b8099b86efcc8373a9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Bruce Ashfield
e091288ef9 linux-yocto/6.1: update to v6.1.70
Updating linux-yocto/6.1 to the latest korg -stable release that comprises
the following commits:

    a507f147e6f0 Linux 6.1.70
    a413b88cdb69 loop: deprecate autoloading callback loop_probe()
    75c27bdb2144 wifi: nl80211: fix deadlock in nl80211_set_cqm_rssi (6.6.x)
    15577a98ef29 wifi: cfg80211: fix CQM for non-range use
    706448f716c1 fuse: share lookup state between submount and its parent
    ec7b81b0abcd mm/damon/core: make damon_start() waits until kdamond_fn() starts
    41f4ff9fe22c x86/alternatives: Sync core before enabling interrupts
    425379154b7f KVM: arm64: vgic: Force vcpu vgic teardown on vcpu destroy
    5dfacfd0fcd6 KVM: arm64: vgic: Add a non-locking primitive for kvm_vgic_vcpu_destroy()
    3a0fd93cd9f7 KVM: arm64: vgic: Simplify kvm_vgic_destroy()
    3339028dd082 thunderbolt: Fix memory leak in margining_port_remove()
    69b6596c6e4a lib/vsprintf: Fix %pfwf when current node refcount == 0
    2dd6f2286047 gpio: dwapb: mask/unmask IRQ when disable/enale it
    ab1c3f91d174 bus: ti-sysc: Flush posted write only after srst_udelay
    cd9f9ef59d85 pinctrl: starfive: jh7100: ignore disabled device tree nodes
    7f7efa30fa87 dm-integrity: don't modify bio's immutable bio_vec in integrity_metadata()
    33b976a0f2ae tracing / synthetic: Disable events after testing in synth_event_gen_test_init()
    d2b549d3107b scsi: core: Always send batch on reset or error handling command
    72e472a91c0d Revert "scsi: aacraid: Reply queue mapping to CPUs based on IRQ affinity"
    4258274bacfb selftests: mptcp: join: fix subflow_send_ack lookup
    a8555c86f508 ublk: move ublk_cancel_dev() out of ub->mutex
    1c250f2c5fa5 ubifs: fix possible dereference after free
    3c42cc437d7e btrfs: zoned: no longer count fresh BG region as zone unusable
    b09a67617621 Revert "drm/amd/display: Do not set DRR on pipe commit"
    93da3d8af9ee dm thin metadata: Fix ABBA deadlock by resetting dm_bufio_client
    e9779fac685e loop: do not enforce max_loop hard limit by (new) default
    600043e1856c RISC-V: Fix do_notify_resume / do_work_pending prototype
    764c6790dd71 9p: prevent read overrun in protocol dump tracepoint
    7d09c84df5ab drm/i915: Reject async flips with bigjoiner
    c60e10d1549f smb: client: fix OOB in smbCalcSize()
    bef4315f19ba smb: client: fix OOB in SMB2_query_info_init()
    71fe685b6a47 smb: client: fix potential OOB in cifs_dump_detail()
    277832a306f9 smb: client: fix OOB in cifsd when receiving compounded resps
    3f6da210470c dt-bindings: nvmem: mxs-ocotp: Document fsl,ocotp
    1092525155ea net: ks8851: Fix TX stall caused by TX buffer overrun
    e9df9f089128 net: rfkill: gpio: set GPIO direction
    805611157d68 net: 9p: avoid freeing uninit memory in p9pdu_vreadf
    4c775b4cd8dd Input: soc_button_array - add mapping for airplane mode button
    5df2b49e7e78 net: usb: ax88179_178a: avoid failed operations when device is disconnected
    0f7bffd40a51 Bluetooth: Add more enc key size check
    39347d645081 Bluetooth: MGMT/SMP: Fix address type when using SMP over BREDR/LE
    e14a7ebafe4e Bluetooth: L2CAP: Send reject on command corrupted request
    37f71e2c9f51 Bluetooth: af_bluetooth: Fix Use-After-Free in bt_sock_recvmsg
    470896ecbc92 Bluetooth: hci_event: Fix not checking if HCI_OP_INQUIRY has been sent
    d36d945f94c3 ALSA: hda/realtek: Add quirk for ASUS ROG GV302XA
    9599a5e34ca9 USB: serial: option: add Quectel RM500Q R13 firmware support
    a91fb450df5d USB: serial: option: add Foxconn T99W265 with new baseline
    73b6b6ab03ae USB: serial: option: add Quectel EG912Y module support
    9b968a708678 USB: serial: ftdi_sio: update Actisense PIDs constant names
    db57ef0dd4c2 wifi: cfg80211: fix certs build to not depend on file order
    ec350809cd98 wifi: cfg80211: Add my certificate
    228d9960ae81 usb-storage: Add quirk for incorrect WP on Kingston DT Ultimate 3.0 G3
    82f913724bc9 ALSA: usb-audio: Increase delay in MOTU M quirk
    01bc94b58192 iio: triggered-buffer: prevent possible freeing of wrong buffer
    c508a99fbc21 iio: adc: ti_am335x_adc: Fix return value check of tiadc_request_dma()
    1b670b0eeefa iio: common: ms_sensors: ms_sensors_i2c: fix humidity conversion time table
    1fe4c93fc77b scsi: bnx2fc: Fix skb double free in bnx2fc_rcv()
    66ccf5f7437a Input: ipaq-micro-keys - add error handling for devm_kmemdup
    3637f6bdfe2c interconnect: qcom: sm8250: Enable sync_state
    90aa62722d3e iio: imu: inv_mpu6050: fix an error code problem in inv_mpu6050_read_raw
    50d60bfc9681 interconnect: Treat xlate() returning NULL node as an error
    900c1b3c62f9 drm/i915: Fix ADL+ tiled plane stride when the POT stride is smaller than the original
    de4349bdf9f3 drm/i915/mtl: Add MTL for remapping CCS FBs
    52c1a67dd303 drm/i915/dpt: Only do the POT stride remap when using DPT
    7afe8109456d drm/i915: Fix intel_atomic_setup_scalers() plane_state handling
    b097184f8026 drm/i915: Relocate intel_atomic_setup_scalers()
    99767368b7fa drm/i915/mtl: limit second scaler vertical scaling in ver >= 14
    387e8077593e nvme-pci: fix sleeping function called from interrupt context
    b506833ee887 gpiolib: cdev: add gpio_device locking wrapper around gpio_ioctl()
    6eb51df9e739 pinctrl: at91-pio4: use dedicated lock class for IRQ
    903bb0c7b81f x86/xen: add CPU dependencies for 32-bit build
    2550d96aa248 i2c: aspeed: Handle the coalesced stop conditions with the start conditions.
    5c11f637999c ASoC: fsl_sai: Fix channel swap issue on i.MX8MP
    264d8c9b7f7f ASoC: hdmi-codec: fix missing report for jack initial status
    9b4c95a63e2d afs: Fix use-after-free due to get/remove race in volume tree
    17605162e26b afs: Fix overwriting of result of DNS query
    791d5409cdb9 keys, dns: Allow key types (eg. DNS) to be reclaimed immediately on expiry
    3e617c7e39eb net: check dev->gso_max_size in gso_features_check()
    087b96adc694 afs: Fix dynamic root lookup DNS check
    9c6ea7abe3ed afs: Fix the dynamic root's d_delete to always delete unused dentries
    a70c2dd74198 net: check vlan filter feature in vlan_vids_add_by_dev() and vlan_vids_del_by_dev()
    ea03196ebc47 net: mana: select PAGE_POOL
    a1986c429c68 Bluetooth: hci_event: shut up a false-positive warning
    fc6471510582 Bluetooth: Fix deadlock in vhci_send_frame
    3e0d1585799d net/rose: fix races in rose_kill_by_device()
    51e28c37d960 ethernet: atheros: fix a memleak in atl1e_setup_ring_resources
    6707baabe432 net: sched: ife: fix potential use-after-free
    31edab12229c net: Return error from sk_stream_wait_connect() if sk_wait_event() fails
    9d00421e1430 octeontx2-pf: Fix graceful exit during PFC configuration failure
    b0cee294022f net: mscc: ocelot: fix eMAC TX RMON stats for bucket 256-511 and above
    72b8de75b394 net/mlx5e: Correct snprintf truncation handling for fw_version buffer used by representors
    18b4a5e0c3f5 net/mlx5e: Correct snprintf truncation handling for fw_version buffer
    94c8485b449e net/mlx5: Fix fw tracer first block check
    1750f55d855a net/mlx5e: fix a potential double-free in fs_udp_create_groups
    01877daaeff0 net/mlx5e: Fix a race in command alloc flow
    f3739647a737 net/mlx5: Re-organize mlx5_cmd struct
    148ec770c63e net/mlx5: Prevent high-rate FW commands from populating all slots
    bd6e09162910 net/mlx5: Introduce and use opcode getter in command interface
    0f5de95fa266 net/mlx5e: Fix slab-out-of-bounds in mlx5_query_nic_vport_mac_list()
    31037cfceff8 Revert "net/mlx5e: fix double free of encap_header"
    8a84413505a6 Revert "net/mlx5e: fix double free of encap_header in update funcs"
    2f635af7d6b4 wifi: mac80211: mesh_plink: fix matches_local logic
    7a07af00aa88 wifi: mac80211: mesh: check element parsing succeeded
    40ba7f9ab82a wifi: mac80211: check if the existing link config remains unchanged
    e90da1c7c6e7 wifi: iwlwifi: pcie: add another missing bh-disable for rxq->lock
    912652366f9e s390/vx: fix save/restore of fpu kernel context
    0a6e700c3d7b reset: Fix crash when freeing non-existent optional resets
    930a61fd795d ARM: OMAP2+: Fix null pointer dereference and memory leak in omap_soc_device_init
    228a00a77d50 ARM: dts: dra7: Fix DRA7 L3 NoC node register size
    913463f8e6cd drm/amd/display: fix hw rotated modes when PSR-SU is enabled
    a4f48f77bbe7 HID: i2c-hid: Add IDEA5002 to i2c_hid_acpi_blacklist[]
    413bef367ba6 HID: i2c-hid: acpi: Unify ACPI ID tables format
    57a6b0a464eb bpf: Fix prog_array_map_poke_run map poke update
    4768f82272a7 kasan: disable kasan_non_canonical_hook() for HW tags

(From OE-Core rev: ef32e8e1aae94b75247cd94f837fb34fff029a03)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(cherry picked from commit a0bfc167a283372297881baa696bc91bcea7787a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Bruce Ashfield
d5357b5be6 linux-yocto/6.1: update to v6.1.69
Updating  to the latest korg -stable release that comprises
the following commits:

    4aa6747d9352 Linux 6.1.69
    325556d46bfd r8152: fix the autosuspend doesn't work
    4c2ad8e39c62 r8152: remove rtl_vendor_mode function
    1d82735f4bae r8152: avoid to change cfg for all devices
    9b3d3a7f3c4d net: tls, update curr on splice as well
    869aee35cf61 ring-buffer: Have rb_time_cmpxchg() set the msb counter too
    c425a772fc58 ring-buffer: Do not try to put back write_stamp
    b15cf1486999 ring-buffer: Fix a race in rb_time_cmpxchg() for 32 bit archs
    edbc03d671f7 ring-buffer: Fix writing to the buffer with max_data_size
    6d98d594a5b6 ring-buffer: Have saved event hold the entire event
    7888b607a981 ring-buffer: Do not update before stamp when switching sub-buffers
    7043c4610ca7 tracing: Update snapshot buffer on resize if it is allocated
    31785cf8171e ring-buffer: Fix memory leak of free page
    8c3b77ad4e91 smb: client: fix OOB in smb2_query_reparse_point()
    d8541c50c671 smb: client: fix NULL deref in asn1_ber_decoder()
    9f528a8e6832 smb: client: fix OOB in receive_encrypted_standard()
    7b0faa541f15 drm/i915: Fix remapped stride with CCS on ADL+
    20907717918f drm/amd/display: Disable PSR-SU on Parade 0803 TCON again
    a9e2de19433f drm/amdgpu: fix tear down order in amdgpu_vm_pt_free
    730b3322b8c3 btrfs: don't clear qgroup reserved bit in release_folio
    9b670e1b644c btrfs: free qgroup reserve when ORDERED_IOERR is set
    da9b7c651c65 mm/shmem: fix race in shmem_undo_range w/THP
    8ec07b0620ac mm/mglru: fix underprotected page cache
    40f3ad769ec8 dmaengine: stm32-dma: avoid bitfield overflow assertion
    78b2ba39beef drm/amdgpu/sdma5.2: add begin/end_use ring callbacks
    6a1472d9be02 team: Fix use-after-free when an option instance allocation fails
    b01af9281851 arm64: mm: Always make sw-dirty PTEs hw-dirty in pte_modify
    0b071a3266a8 ext4: prevent the normalized size from exceeding EXT_MAX_BLOCKS
    f2955dd3e933 soundwire: stream: fix NULL pointer dereference for multi_link
    56f762659a5e btrfs: do not allow non subvolume root targets for snapshot
    557f7ad06460 perf: Fix perf_event_validate_size() lockdep splat
    a684235d3035 HID: hid-asus: add const to read-only outgoing usb buffer
    2b9e16bc1ce5 arm64: add dependency between vmlinuz.efi and Image
    6cb0c71c6e7c net: usb: qmi_wwan: claim interface 4 for ZTE MF290
    f7ce765744a3 asm-generic: qspinlock: fix queued_spin_value_unlocked() implementation
    fba6e958caa1 HID: multitouch: Add quirk for HONOR GLO-GXXX touchpad
    8f0c8585856c HID: hid-asus: reset the backlight brightness level on resume
    de78e4bdcb5e nbd: pass nbd_sock to nbd_read_reply() instead of index
    d482bb566344 HID: add ALWAYS_POLL quirk for Apple kb
    541b183be92f HID: glorious: fix Glorious Model I HID report
    42b4ab97bee5 platform/x86: intel_telemetry: Fix kernel doc descriptions
    355170a7ecac LoongArch: Implement constant timer shutdown interface
    adb6a907540c LoongArch: Add dependency between vmlinuz.efi and vmlinux.efi
    943cde1f3daa selftests/bpf: fix bpf_loop_bench for new callback verification scheme
    1b40f23e702e nvme: catch errors from nvme_configure_metadata()
    6cb3741c4582 nvme-auth: set explanation code for failure2 msgs
    83bb13bf6c23 nbd: fold nbd config initialization into nbd_alloc_config()
    02a4b14d17ab bcache: avoid NULL checking to c->root in run_cache_set()
    3d3f72efc77d bcache: add code comments for bch_btree_node_get() and __bch_btree_node_alloc()
    bc17ec4215e2 bcache: remove redundant assignment to variable cur_idx
    be0e2a28e06a bcache: avoid oversize memory allocation by small stripe_size
    94070fd6689e blk-cgroup: bypass blkcg_deactivate_policy after destroying
    e52d0eb48efd blk-throttle: fix lockdep warning of "cgroup_mutex or RCU read lock required!"
    5fb6772cb573 stmmac: dwmac-loongson: Add architecture dependency
    82c386d73689 usb: aqc111: check packet for fixup for true limit
    d6c02295c824 x86/hyperv: Fix the detection of E820_TYPE_PRAM in a Gen2 VM
    ae818b2a2e78 drm/mediatek: Add spinlock for setting vblank event in atomic_begin
    73c240e1ec73 ksmbd: fix wrong name of SMB2_CREATE_ALLOCATION_SIZE
    0c196180b588 PCI: loongson: Limit MRRS to 256
    56d1891594d6 Revert "PCI: acpiphp: Reassign resources on bridge if necessary"
    1ec80b9d4310 ALSA: hda/realtek: Apply mute LED quirk for HP15-db
    eeeb91216a1b ALSA: hda/hdmi: add force-connect quirks for ASUSTeK Z170 variants
    82413e9e4255 ALSA: hda/hdmi: add force-connect quirk for NUC5CPYB
    0dc6a06c4843 fuse: dax: set fc->dax to NULL in fuse_dax_conn_free()
    36e2497ac7ad cred: switch to using atomic_long_t
    a51f71cd4f56 net: atlantic: fix double free in ring reinit logic
    1646b2929d5e appletalk: Fix Use-After-Free in atalk_ioctl
    d835299dde3e net: stmmac: Handle disabled MDIO busses from devicetree
    9aac81639e52 dpaa2-switch: do not ask for MDB, VLAN and FDB replay
    a81c7069af05 dpaa2-switch: fix size of the dma_unmap
    9a23be1e5806 vsock/virtio: Fix unsigned integer wrap around in virtio_transport_has_space()
    2027dd67c3cf sign-file: Fix incorrect return values check
    918991db7de0 stmmac: dwmac-loongson: Make sure MDIO is initialized before use
    63387fe87fc5 net: ena: Fix XDP redirection error
    2664b56420b3 net: ena: Fix xdp drops handling due to multibuf packets
    e312eed27aba net: ena: Destroy correct number of xdp queues upon failure
    55a43bae0886 net: Remove acked SYN flag from packet in the transmit queue correctly
    9bb392ee53af qed: Fix a potential use-after-free in qed_cxt_tables_alloc
    112792ad36c4 iavf: Handle ntuple on/off based on new state machines for flow director
    11c314a5a44a iavf: Introduce new state machines for flow director
    01540ee2366a net/rose: Fix Use-After-Free in rose_ioctl
    2de2a6cbe14f atm: Fix Use-After-Free in do_vcc_ioctl
    3a76dcab2e3a octeontx2-af: Update RSS algorithm index
    d0f0786f8c5a octeontx2-pf: Fix promisc mcam entry action
    34b630626a97 octeontx2-af: fix a use-after-free in rvu_nix_register_reporters
    e4ce3dc7a0ed net: fec: correct queue selection
    a00dbc6dec4b net: vlan: introduce skb_vlan_eth_hdr()
    7cfbb8bea36a atm: solos-pci: Fix potential deadlock on &tx_queue_lock
    35c63d366fff atm: solos-pci: Fix potential deadlock on &cli_queue_lock
    525904a15791 bnxt_en: Fix HWTSTAMP_FILTER_ALL packet timestamp logic
    ac6125174190 bnxt_en: Fix wrong return value check in bnxt_close_nic()
    8217f9362c79 bnxt_en: Save ring error counters across reset
    53cacb8cdc7e bnxt_en: Clear resource reservation during resume
    ab410db6e9aa qca_spi: Fix reset behavior
    7e177e5a40d0 qca_debug: Fix ethtool -G iface tx behavior
    2127142c179c qca_debug: Prevent crash on TX ring changes
    0da41ddfb291 net: ipv6: support reporting otherwise unknown prefix flags in RTM_NEWPREFIX
    514232495aa5 net/mlx5e: Fix possible deadlock on mlx5e_tx_timeout_work
    1e8396aab21d HID: lenovo: Restrict detection of patched firmware only to USB cptkbd
    e0cda159c865 afs: Fix refcount underflow from error handling race
    a7e6477cc3af ksmbd: fix memory leak in smb2_lock()
    8925ab33b391 ext4: fix warning in ext4_dio_write_end_io()
    1c077acf246c powerpc/ftrace: Fix stack teardown in ftrace_no_trace
    34ae53cccf53 r8152: add vendor/device ID pair for ASUS USB-C2500
    cac1218b32d7 r8152: add vendor/device ID pair for D-Link DUB-E250
    893597cbabfb r8152: add USB device driver for config selection
    b80d0c6e5bae perf/x86/uncore: Don't WARN_ON_ONCE() for a broken discovery table

(From OE-Core rev: 15017ac95f0702a162caed2b022709504bd751d4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7a4364e4733c8b8757927596dcbf7d6230f1da96)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Wang Mingyu
88e9607d71 kea: upgrade 2.4.0 -> 2.4.1
Changelog:
=========
-The library version numbers have been bumped up for the Kea 2.4.1 stable release.
-Fixed interface redetection which had stopped working since Kea 2.3.6.
-Fixed a race condition in free lease queue allocator

fix-multilib-conflict.patch
fix_pid_keactrl.patch
refreshed for 2.4.

(From OE-Core rev: fcf269bd8fc607882960cebc2c6e2e557517647d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7afab39fd1c3239df3bb2fa49b79a5efaaaf9db6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Markus Volk
d18ebf9271 libadwaita: update 1.4.0 -> 1.4.2
=============
Version 1.4.2
=============

- Really fix build with libappstream 1.0

=============
Version 1.4.1
=============

- Fix build with MSVC
- Fix build with libappstream 1.0
- AdwCarousel
  - Fix carousel scroll behavior with page reordering
- AdwComboRow
  - Fix focus when opening the popover
  - Set the correct state on the selected checkmark
- AdwNavigationView
  - Fix a warning message
- AdwTabOverview
  - Allow child focus on out animations
- AdwTabView
  - Keep view alive during ::page-detached
  - Fix crashes when using :pages
- Docs
  - Fix erroneous <child> use in breakpoints migration guide
- Translation updates
  - Russian
  - Serbian

(From OE-Core rev: 45e035fd044491fbd88aedf6b99ae6eddf1611f5)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7c02a1169197fd5452d5b323dd523f6712245cb6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Wang Mingyu
18995b95be libva-utils: upgrade 2.20.0 -> 2.20.1
Changelog:
============
-Fix some coverity issues exposed in encode
-Fixed VPP coverity issues

(From OE-Core rev: 3ff4aee01896dc301250d38acf0a67629d317db8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2bd1443d047ba56196b2eaa7d59b3c39c9c0f49b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Wang Mingyu
1655d39bed libatomic-ops: upgrade 7.8.0 -> 7.8.2
Changelog:
=========
* Eliminate 'atomic_thread_fence is unsupported with tsan' gcc-11 warning
* Eliminate 'comparing signed/unsigned values' lcc warning in add_chunk_as
* Fix 'undefined reference to AO_pt_lock' if configure is using clang-16
* Fix 'undefined reference to __atomic_load/store/cas_16' Mingw64-gcc error
* Fix 'undefined reference' linker errors if shared build on OpenBSD (CMake)
* Fix get_chunk for case of mmap area is located before AO_initial_heap
* Fix typo in AO_HAVE_compare_and_swap_double name in atomic_ops_stack.h
* Fix typo in comment of run_one_test of test_stack
* Fix typos in comments of atomic_ops_malloc.c and atomic_ops_stack.c/h
* Update cmake minimum required version to 3.5

(From OE-Core rev: cae10312a45a686b118596e0e07000d3fae55f7a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1dea52da8cd00e6619890b8c4dcece8b5ff83f74)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Lee Chee Yang
8b279cacc2 migration-guide: add release notes for 4.3.2
(From yocto-docs rev: b1fd42b9cf0fbdf5792d4ae7eae3a9214302d562)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:48 -10:00
Jörg Sommer
11ee0c1e4e documentation: Add UBOOT_BINARY, extend UBOOT_CONFIG
UBOOT_CONFIG accepts a third parameter for the UBOOT_BINARY that isn't
documented. To show its usage another example from the meta-freescale layer
was picked.

(From yocto-docs rev: f315078495003bdaff111a70908d7a698b2065eb)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:48 -10:00
Enguerrand de Ribaucourt
5c09156703 manuals: document VSCode extension
The VSCode extension is now officially maintained and published by the
Yocto Project so it should be referenced in the manuals to help users
discover it.

I located the most relevant places to reference the extension by looking
at how the old Eclipse plugin was documented in the 2.6 manuals as well
as the current Toaster references.

(From yocto-docs rev: 6294cbeda2809a61b7689dec25d11e99f6f5016b)

Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:48 -10:00
Maxin B. John
049aadc73d ref-manual: classes: remove insserv bbclass
insserv.bbclass was removed from oe-core:

commit e6bb5dbb62
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date:   Sun May 10 12:30:49 2015 +0100

insserv: Remove

(From yocto-docs rev: d6da5784877a2c777461263d5a93d703fc0f94d9)

Signed-off-by: Maxin John <maxin.john@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:48 -10:00
Ilya A. Kriveshko
f5f8ec78d4 dev-manual: update license manifest path
After changes in openembedded-core@1a4ab9f, image licenses moved one
directory down into ${SSTATE_PKGARCH} subdir.

(From yocto-docs rev: 244481a93a67c781ae846ef3b8bd8f8f30906a86)

Signed-off-by: Ilya A. Kriveshko <iillyyaa@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:48 -10:00
Michael Opdenacker
1e3f7444ba contributor-guide: use "apt" instead of "aptitude"
As used in the rest of the manual.

(From yocto-docs rev: dc4a34572bc92b1b69c024c8bdf8816cff6f8db7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:48 -10:00
Simone Weiß
87f57b7ee0 dev-manual: start.rst: Update use of Download page
The yocto website has changed its structure. Update the section for
Accessing the Downloads page to match the new structure.

(From yocto-docs rev: 3e535a08d50fc2f5c3d1a56a0435545eeaf17091)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Joshua Watt
1bcde5b6a4 rpcbind: Specify state directory under /run
The state directory must be correctly specified as under /run because
RequiresMountsFor doesn't follow symbolic links which means the unit may
run before /run is mounted if the default of /var/run/rpcbind is kept

(From OE-Core rev: 3d5a85f173dffa14a6829edb9e6adbd5a3946d9c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 561e853e97e2cfa325ed310233577a5e124d9049)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Jeremy A. Puhlman
a63b21a693 create-spdx-2.2: combine spdx can try to write before dir creation
On occasion a file is attmpeded to be opened prior to the
creation of the spdx_workdir. Create the directory before
the open, just in case.

File: '/build/layers/poky/meta/classes/create-spdx-2.2.bbclass', lineno: 1081, function: combine_spdx
     1077:        )
     1078:
     1079:    image_spdx_path = spdx_workdir / (rootfs_name + ".spdx.json")
     1080:
 *** 1081:    with image_spdx_path.open("wb") as f:
     1082:        doc.to_json(f, sort_keys=True, indent=get_json_indent(d))

(From OE-Core rev: 1b90a9c9c8180c080f780c8dd428fad3f55e879d)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bb9f2a9c0ff5dcdeaf1a0beb6a614d0d022a2481)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Peter Kjellerstedt
5d5c77bc4c devtool: modify: Handle recipes with a menuconfig task correctly
This avoids the following error when running `devtool modify` on a
recipe that has a menuconfig task, but does not have
KCONFIG_CONFIG_ENABLE_MENUCONFIG set.

  .../temp/run.do_configure.4163366: line 152:
  ${@ oe.types.boolean('${KCONFIG_CONFIG_ENABLE_MENUCONFIG}') }: bad substitution
  WARNING: .../temp/run.do_configure.4163366:152 exit 1 from
  '[ ${@ oe.types.boolean('${KCONFIG_CONFIG_ENABLE_MENUCONFIG}') } = True ]'

(From OE-Core rev: 91192e861f0f764799f0ae9943cf387b18c70820)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e87e6fa84a0c4b5ac8e736dc62f6e08390ba2436)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Richard Purdie
edc3370b86 sstate: Fix dir ownership issues in SSTATE_DIR
We currently use mkdir -p to create missing parent directories within SSTATE_DIR.
Reading the man page for mkdir mentions that parent directories are created with
the current umask, *not* the mode passed upon the commandline.

We could fix this by setting and resetting the umask but since we already have
decent python code able to do this, move to using that injecting a python function
into the chain of functions already present.

This should help fix the occasional sstate directory creation with the wrong
permissions.

[YOCTO #14385]

(From OE-Core rev: 90d1e97b7c8bce0fb49714923989c63d243eb2da)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ae642a4b038c6946e6c8aa9778bf09099d938a31)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Chen Qi
229061248d sudo: upgrade from 1.9.15p2 to 1.9.15p5
(cherry picked from OE-Core rev 4b2eccc0ee3f2906f9b04de194b9df6e24c2cdf4)

(From OE-Core rev: e2cb6c1b5e90822bf9e73f43f8bb30259d2b75f6)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Xiangyu Chen
5a4036003c sudo: upgrade 1.9.14p3 -> 1.9.15p2
Changelog:
===========
1.9.15p2:
- Fixed a bug on BSD systems where sudo would not restore the
terminal settings on exit if the terminal had parity enabled.

1.9.15p1:
- Fixed a bug introduced in sudo 1.9.15 that prevented LDAP-based
sudoers from being able to read the ldap.conf file.

1.9.15:
- Fixed an undefined symbol problem on older versions of macOS
when "intercept" or "log_subcmds" are enabled in sudoers.
- Fixed "make check" failure related to getpwent(3) wrapping
on NetBSD.
- Fixed the warning message for "sudo -l command" when the command
is not permitted.  There was a missing space between "list" and
the actual command due to changes in sudo 1.9.14.
- Fixed a bug where output could go to the wrong terminal if
"use_pty" is enabled (the default) and the standard input, output
or error is redirected to a different terminal.  Bug #1056.
- The visudo utility will no longer create an empty file when the
specified sudoers file does not exist and the user exits the
editor without making any changes.  GitHub issue #294.
- The AIX and Solaris sudo packages on www.sudo.ws now support
"log_subcmds" and "intercept" with both 32-bit and 64-bit
binaries.  Previously, they only worked when running binaries
with the same word size as the sudo binary.  GitHub issue #289.
- The sudoers source is now logged in the JSON event log.  This
makes it possible to tell which rule resulted in a match.
Running "sudo -ll command" now produces verbose output that
includes matching rule as well as the path to the sudoers file
the matching rule came from.  For LDAP sudoers, the name of the
matching sudoRole is printed instead.
- The embedded copy of zlib has been updated to version 1.3.
- The sudoers plugin has been modified to make it more resilient
to ROWHAMMER attacks on authentication and policy matching.
This addresses CVE-2023-42465.
- The sudoers plugin now constructs the user time stamp file path
name using the user-ID instead of the user name.  This avoids a
potential problem with user names that contain a path separator
('/') being interpreted as part of the path name.  A similar
issue in sudo-rs has been assigned CVE-2023-42456.
- A path separator ('/') in a user, group or host name is now
replaced with an underbar character ('_') when expanding escapes
in @include and @includedir directives as well as the "iolog_file"
and "iolog_dir" sudoers Default settings.
- The "intercept_verify" sudoers option is now only applied when
the "intercept" option is set in sudoers.  Previously, it was
also applied when "log_subcmds" was enabled.  Sudo 1.9.14
contained an incorrect fix for this.  Bug #1058.
- Changes to terminal settings are now performed atomically, where
possible.  If the command is being run in a pseudo-terminal and
the user's terminal is already in raw mode, sudo will not change
the user's terminal settings.  This prevents concurrent sudo
processes from restoring the terminal settings to the wrong values.
GitHub issue #312.
- Reverted a change from sudo 1.9.4 that resulted in PAM session
modules being called with the environment of the command to be
run instead of the environment of the invoking user.
GitHub issue #318.
- New Indonesian translation from translationproject.org.
- The sudo_logsrvd server will now raise its open file descriptor
limit to the maximum allowed value when it starts up.  Each
connection can require up to nine open file descriptors so the
default soft limit may be too low.
- Better log message when rejecting a command if the "intercept"
option is enabled and the "intercept_allow_setid" option is
disabled.  Previously, "command not allowed" would be logged and
the user had no way of knowing what the actual problem was.
- Sudo will now log the invoking user's environment as "submitenv"
in the JSON logs.  The command's environment ("runenv") is no
longer logged for commands rejected by the sudoers file or an
approval plugin.

(cherry picked from OE-Core rev 5ea298680a8f17d3b808a2c43b0182e9c391f663)

(From OE-Core rev: 105ecb87e78b9133e4188a8b5c604ea0e9a47910)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Lee Chee Yang
ddeefb3df3 qemu: 8.1.2 -> 8.1.4
update include fix for CVE-2023-3019.
CVE-2023-3019 : 88e79a2dfd

(From OE-Core rev: 2a2f2b5be2070544f0ab98144e4c31c749b7d504)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Anuj Mittal
ca5733a6dd glib-2.0: upgrade 2.78.1 -> 2.78.3
(From OE-Core rev: 71696c0b89751c1a975025086da0c6f52de00cd8)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 419503d3d3402b683979696f248cd42f05c282b7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Anuj Mittal
8451fb79f5 base-passwd: upgrade 3.6.2 -> 3.6.3
(From OE-Core rev: a13fd3a4182a97ee0c8a2b49519e897b92f3a987)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74d165f5baacd0cd94eb90396b0a3119281df91d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Wang Mingyu
7337063d04 xwayland: upgrade 23.2.2 -> 23.2.3
upgrade include fix for CVE-2023-6377 CVE-2023-6478

(Cherry-pick from OE-Core rev: bf0bb7b94ed4930145af5f1fb3836157daceb6bb)

(From OE-Core rev: 3882f403a756563a90c9e517211adebabfb0499d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Robert Yang
7faa0d9b75 nfs-utils: Upgrade 2.6.3 -> 2.6.4
* Remove backported patch 0001-configure.ac-libevent-and-libsqlite3-checked-when-nf.patch.
* Add 0001-reexport.h-Include-unistd.h-to-compile-with-musl.patch to fix build with musl

(From OE-Core rev: fcd5623dbeb302b3f2e9043fd66cc000f81d206b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ff416e9fd6a1a65cf59ecd662613581b6190e05e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Lee Chee Yang
1d282ef078 curl: Fix CVE-2023-46219
Upstream docs for CVE-2023-46219:
https://curl.se/docs/CVE-2023-46219.html

(From OE-Core rev: ef3ade93a0cc249046503920c97813df95d53b3c)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Simone Weiß
dbc8727bea dev-manual: start.rst: Update use of Download page
The yocto website has changed its structure. Update the section for
Accessing the Downloads page to match the new structure.

(From yocto-docs rev: fda5e5a915d3441252eaf0c7a9ede8d13fb4539e)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Richard Purdie
a48d081bd9 pseudo: Update to pull in syncfs probe fix
Pulls in the changes:

Eilís 'pidge' Ní Fhlannagáin (1):
      subports: Add _GNU_SOURCE for syncfs probe

Richard Purdie (1):
      SECURITY.md: Add file

Wu Zhenyu (1):
      pseudo.1: Fix a typo

(From OE-Core rev: ff0dc585479136e3d031da08ef15e8e5c6e92c8d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9aab5be508c0dd88a4d9767f65ba5b6fcd5fb9dd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Massimiliano Minella
e9623c9751 zstd: fix LICENSE statement
zstd is dual-licensed under BSD _OR_ GPLv2. License wording in the
README for v1.5.5 is misleading, but license headers in the code clearly
state that there is a choice between the two licenses.

(From OE-Core rev: 6c9a5fefeaa9225c193a0445bae869e6844bf34d)

Signed-off-by: Massimiliano Minella <massimiliano.minella@se.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 40f85de590c188c9c3985e64a83efaf06b0b4fbc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Ross Burton
68ad4cd71a avahi: update URL for new project location
Avahi has moved to a new parent organisation on GitHub, so update the
URLs to match.

(From OE-Core rev: b541fbeb99df15a1548f93ddbd654fb629ebc2ce)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 02caef1567186f250e64ae3ef84fcff33d7323e4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Zahir Hussain
da81312c3d cmake: Unset CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES
As discussion in [YOCTO #14717] cmake contains a OEToolchainConfig.cmake
file to configure the toolchain correctly in cross-compile build for recipes
using cmake.

The variable CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES value updates incorrectly
during do_compile the code. Due to this getting sporadic error like below,

fatal error: stdlib.h: No such file or directory
|    75 | #include_next <stdlib.h>
|       |               ^~~~~~~~~~
| compilation terminated.
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.

As cmake already correctly initializes the variable from environment,
So we have to unset it in the toolchain file to avoid overwriting the
variable definition again.

(From OE-Core rev: 5599eaefee3818c865d71f5b7c3cc04fc01de848)

Signed-off-by: aszh07 <mail2szahir@gmail.com>
Signed-off-by: Zahir Hussain <zahir.basha@kpit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5aeada5793af53e8c93940952d4f314474dca4c2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Joao Marcos Costa
bce087b5e8 documentation.conf: fix do_menuconfig description
The current description is only pertinent to the kernel, even though
do_menuconfig task is used by other projects, such as Busybox and
U-Boot.

Replace "for the kernel" by an agnostic alternative (i.e., "in the
compilation directory").

(From OE-Core rev: adf91e340d5d8121c87585fd7340f947b21396b1)

Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 52e053bce5e359995ebdaa21d6899f04ad2306a0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Jason Andryuk
6ed9c8671e linux-firmware: Create bnx2x subpackage
bnx2x is another broadcom ethernet adapter with its own firmware.  Place
it into its own subpackage.

(From OE-Core rev: bb9eeafb13a69fe71919832b89a01ef8b561f7d7)

Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 414f71bb692da7ca1899b07ebb689edeb53f8e0d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Jason Andryuk
95bc902c13 linux-firmware: Change bnx2 packaging
The bnx2 module uses both the mips and rv2p files, so package them all
together.  Remove -mips from the package name, but add an RPROVIDES for
compatibility.

(From OE-Core rev: 49ca6eb5ef93bf90c682ea06c83db147aed250fa)

Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 46f2b7b3bebc7efdb4199cdfe386dc16c049d8d7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Jason Andryuk
b3aeebb469 linux-firmware: Package iwlwifi .pnvm files
The iwlwifi uses the .pnvm files for newer AX210+ cards, so package them
into the iwlwifi-misc subpackage.

(From OE-Core rev: d4f7a9f4715ba2eda753ff6bac07f6905233c3d7)

Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 056c4de1422ff06745c5669f871a1bb6f5390d01)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Jose Quaresma
0eb72668a8 go: update 1.20.11 -> 1.20.12
Upgrade to latest 1.20.x release [1]:

$ git log --oneline go1.20.11..go1.20.12
97c8ff8d53 (tag: go1.20.12, origin/release-branch.go1.20) [release-branch.go1.20] go1.20.12
6446af942e [release-branch.go1.20] net/http: limit chunked data overhead
77397ffcb2 [release-branch.go1.20] crypto/rand,runtime: revert "switch RtlGenRandom for ProcessPrng"
d77307f855 [release-branch.go1.20] cmd/compile: fix findIndVar so it does not match disjointed loop headers
1bd76576fe [release-branch.go1.20] crypto/rand,runtime: switch RtlGenRandom for ProcessPrng
1b59b017db [release-branch.go1.20] path/filepath: consider \\?\c: as a volume on Windows
46bc33819a [release-branch.go1.20] cmd/go/internal/vcs: error out if the requested repo does not support a secure protocol
e1dc209be8 [release-branch.go1.20] cmd/go/internal/modfetch/codehost: set core.longpaths in Git repos on Windows

[1] https://github.com/golang/go/compare/go1.20.11...go1.20.12

(From OE-Core rev: 3e7981c7e575b0e16a7b7aba47993e9c58a719c5)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8515842b5c503b9a8840675d9cbcfe147d25c1d4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Jose Quaresma
df1decb1e1 go: update 1.20.10 -> 1.20.11
Upgrade to latest 1.20.x release [1]:

$ git log --oneline go1.20.10..go1.20.11
1d0d4b149c (tag: go1.20.11) [release-branch.go1.20] go1.20.11
46fb781685 [release-branch.go1.20] path/filepath: fix various issues in parsing Windows paths
998fdce3ae [release-branch.go1.20] net/http: pull http2 underflow fix from x/net/http2
d48639094b [release-branch.go1.20] cmd/link: split text sections for arm 32-bit
c8fdffb790 [release-branch.go1.20] all: tidy dependency versioning after release

[1] https://github.com/golang/go/compare/go1.20.10...go1.20.11

(From OE-Core rev: 0ff60c9bf0332a9b6305e082a6ecae7c963d367e)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 09fb378fb9c60c383f0ac068bbe3692f047aa617)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Khem Raj
550894f62b tiff: Backport fixes for CVE-2023-6277
(From OE-Core rev: a2d0f36a89ba7414cb5aade202c0367097f6308b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d115e17ad7775cf5bbfd402e98e61f362ac96efa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Xiangyu Chen
d8929a6e1a shadow: Fix for CVE-2023-4641
shadow-utils: possible password leak during passwd(1) change

CVE: CVE-2023-4641

Upstream-Status: Backport
[65c88a43a2]

(From OE-Core rev: d6ca15b3df54e2973a8e21814a73016255a1cb9b)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7942df17d9dfcf690106b8b86506d496e6251327)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:07 -10:00
Michael Opdenacker
61a59d00a0 ref-manual: update tested and supported distros
According to currently active workers
https://autobuilder.yoctoproject.org/typhoon/#/workers
and to the "workers_prev_releases" definition
in https://git.yoctoproject.org/yocto-autobuilder2/tree/config.py

Also correct the text saying that SANITY_TESTED_DISTROS
lists currently tested distros.

Also replace AlmaLinux 8.8 and 9.2 by just AlmaLinux 8 and 9,
as we update our workers anyway.

(From yocto-docs rev: f169122a4594d7733ebc478d34aaf269801fc068)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-10 05:02:09 -10:00
Joshua Watt
afe1706a77 bitbake: asyncrpc: Add context manager API
Adds context manager API for the asyncrcp client class which allow
writing code that will automatically close the connection like so:

    with hashserv.create_client(address) as client:
       ...

Rework the bitbake-hashclient tool and PR server to use this new API to
fix warnings about unclosed event loops when exiting

(Bitbake rev: 52226a7244968c8dad6f4ee9ccec57ac1979217a)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d01d684a0f6398270fe35ed59b7d28f3fd9b7e41)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-10 05:02:09 -10:00
Steve Sakoman
f768ffb891 build-appliance-image: Update to nanbield head revision
(From OE-Core rev: ff595b937d37d2315386aebf315cea719e2362ea)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:16:19 -10:00
Steve Sakoman
59e8c565ef poky.conf: bump version for 4.3.2 release
(From meta-yocto rev: 762f8be72809f8f3e49561cab74e79efc50a91ca)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:12:49 -10:00
Shubham Kulkarni
4e1fa148f4 tzdata: Upgrade to 2023d
(From OE-Core rev: 928194f041041ed3e7d985ef94ea32928c013498)

Signed-off-by: Shubham Kulkarni <skulkarni@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2956b1aa22129951b8c08ac06ff1ffd66811a26c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:44 -10:00
Ross Burton
64ba80468a tcl: skip async and event tests in run-ptest
These test suites are full of timing-sensitive test cases, so skip
them too.

[ YOCTO #15321 ]

(From OE-Core rev: e6a2793afdf4d48479e5f369a0446db51a681117)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dd06c3668dbe9ec1cf9a0a84d7a6bc9851f9c662)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:44 -10:00
Ross Burton
34a0aa10a5 tcl: skip timing-dependent tests in run-ptest
There are several tests in the test suite which are very dependent on
timing and fail on a loaded host system, so skip them.

[ YOCTO #14825 #14882 #15081 ]

(From OE-Core rev: bd9070fbf4942d412099b4a0a8d199f9d63e33e3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 68beb4f4b5a0bea5d431decddf7656f18ac7a04a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:44 -10:00
Richard Purdie
0fdd315174 testimage: Drop target_dumper and most of monitor_dumper
The target_dumper code is basically broken. It has been reading binary files
over the text base serial communication and runs at every command failure which
makes no sense. Each run might overwrite files from the previous run and the
output appears corrupted due to confusion from the binary data.

For now, remove the commands and the target dumper code as the command
and execution point are problematic. Also remove the same pieces of the monitor
code but leave the command list since in theory this can be moved to a more
useful place in the code.

(From OE-Core rev: 4c7aa982a996b23a4c5100c5a5a9390e26e5fe46)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a24d787987dccc95fdd95b7e85bf525a1c55b285)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:44 -10:00
Trevor Gamblin
99f26364ce patchtest: shorten patch signed-off-by test output
The patch Signed-off-by test's output line is excessively long, and can
trigger a failsafe in the patchtest automated service's email content
generation. Shorten the output by reducing redundant phrasing and using
os.path.basename to get only the failing patch's name, not the entire
path, as the submitter should have a good idea of where it is located
regardless.

(From OE-Core rev: f6a6af896dd1968eded614b0c519dc375eff407a)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cc7546ded87dd44a988d7a23f1d7645094b5cdd4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:44 -10:00
Viswanath Kraleti
782b0e62ef systemd-boot: Fix build issues on armv7a-linux
Backport a fix to address the build failure on armv7a introduced
in systemd v254-rc1.

see
https://github.com/systemd/systemd/issues/29381

(From OE-Core rev: 9fbb9b974cc8a92eb77a080c89410fb2c8b311c1)

Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 782790dc6423fe3ae1ce4cd674ab492bfc881230)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:44 -10:00
Marco Felsch
087dad780c json-c: fix icecc compilation
Skip -Werror to make it possible to compile this recipe with ICECC else
all fallthrough comments will be removed since we pre-process the files
on the host before sending them to the compile nodes which then cause
errors because of default -Werror switch.

Fixes: caf64f85b5c5 ("json-c: update 0.13.1 - > 0.14")
(From OE-Core rev: edda50f28826fd84f83ccecaffbc7705204bccd6)

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 915f8307b063e17ddadd5dface83578b8ad254e2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:44 -10:00
Markus Volk
0a9f2a1c17 cups: Add root,sys,wheel to system groups
The Cups documentation states:
The default contains "admin", "lpadmin", "root", "sys" and/or "system".
https://www.cups.org/doc/man-cups-files.conf.html#:~:text=SystemGroup

Add root and sys accordingly
Also add wheel group. This is required for systems with polkit support in order to
control the printer settings with cups-pk-helper.
Not only for gnome-control-center, but also when using plain system-config-printer on
a system with running polkit, cups-pk-helper would be a required rdepend.

(From OE-Core rev: 1cca30bb163fbc3f6b79fe3cff6d6b405830a63a)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 572fed0ac6dbcf5749e19c7b624826fc30cf301e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:44 -10:00
Markus Volk
f5a0b25876 bluez5: fix connection for ps5/dualshock controllers
Bluez 5.69 added a regression. Bluetooth connection for playstation controllers
stopped working. This adds a backport patch for the issue

(From OE-Core rev: a4ba3de4248ee05119ae944a972f88517e4e087b)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit be05a177f943e9c8ce6c0fdbd157ee6f9103eef9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:44 -10:00
Julien Stephan
d8a257d2c1 devtool: finish/update-recipe: restrict mode srcrev to recipes fetched from SCM
When specifying --mode / -m srcrev with devtool finish/update-recipe on
recipes that are not fetched from a SCM repository we get the following
error:

  Traceback (most recent call last):
  [..]
    File "<...>/poky/meta/lib/oe/patch.py", line 49, in runcmd
    raise CmdError(cmd, exitstatus >> 8, "stdout: %s\nstderr: %s" % (stdout, stderr))
oe.patch.CmdError: Command Error: 'sh -c 'git format-patch --no-signature --no-numbered INVALID -o /tmp/oepatchbj7pfmzj -- .'' exited with 0  Output:
stdout:
stderr: fatal: bad revision 'INVALID'

Fix this by adding a check and abort with a proper error message.

(From OE-Core rev: 9254b08fbfba3734d5bc717a382d909595833db1)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5b77f60e85d07921ae5e808daa1fd7d8c3dc40ea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:44 -10:00
Trevor Gamblin
97bdfea698 python3-ptest: skip test_storlines
[YOCTO #14933]

test_storlines is yet another Python ptest that fails intermittently on
the Yocto AB, so disable it during ptests for now.

(From OE-Core rev: 11eab2b5d14efa75fcb0686a9f835f9675883113)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d7b9f8157e6214a83b5495e8a32e11540ae65ff8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:44 -10:00
Julien Stephan
4e65f8e2ef devtool: fix update-recipe dry-run mode
When running devtool update-recipe with --mode=srcrev AND --append switch
in dry-run, we get the following error:

  Traceback (most recent call last):
  [...]
  Exception: destpath should be set here

Fix this by removing a misplaced else statement in _update_recipe_srcrev

(From OE-Core rev: edfa2aac5c39e12e1149134a6241ad4e5b2ebc46)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 85ba125703d5b442133fd7c470b915460ee68ac9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:44 -10:00
Michael Opdenacker
792649dee0 systemd-compat-units.bb: fix postinstall script
This fixes an issue running "opkg upgrade" on a system with systemd
(and when there is an update to "systemd-compat-units",
for example between yocto 4.2.2 and 4.2.3):

//var/lib/opkg/info/systemd-compat-units.postinst: cd: line 3: can't cd to /etc/init.d: No such file or directory

The existence of /etc/init.d is now tested
without causing an error if doesn't exist.

Fixes [YOCTO #15292]

(From OE-Core rev: d114814fa2628cfea2769d65a26514b76e61a0fa)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0330331a1386fd2a34b410a7f62b29bfc8dc23c4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Richard Purdie
4558219ec8 package_ipk: Fix Source: field variable dependency
The Source: variable is generated from FILE but this is excluded from checksums
normally which results in a reproduciubility issue when the filename changes.

Add in a dependency by reworking the code a little to avoid this.

(From OE-Core rev: 431e6ad7c5b0af3909f5a43599764c529146e6d6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3ea7da76c6930031a0071069027b1d71f737fbc9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Javier Tia
d5d85421f2 kernel-arch: use ccache only for compiler
Attempting to use it with other tools is not beneficial, only with the
compiler. Confirmation from ccache's maintainer [1].

[1] https://github.com/ccache/ccache/discussions/1346#discussioncomment-7616180

(From OE-Core rev: 4fe3ec1b7e1d034b236816166d58801a4b0e8d70)

Signed-off-by: Javier Tia <javier.tia@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 47fa8d81083f1ef594f8fe6fcab3e227e9607b3f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Ross Burton
911935d7bd lib/oe/patch: ensure os.chdir restoring always happens
If we chdir(), do the chdir back to the original directory in a finally
block so they always run.

(From OE-Core rev: 1680d1766445b21e35c6b874c4767b385862017f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cdc40292818683b6df1c814498c7589450a163fa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Adam Johnston
dc33087410 useradd_base: Fix sed command line for passwd-expire
A previous commit tried to add the --follow-symlinks option to
the perform_passwd_expire function in useradd_base.bbclass, however it used
a single -.

This is interpreted as --file=ollow-symlinks which results in...

sed: couldn't open file ollow-symlinks: No such file or directory

and...

ERROR: <image name>: passwd --expire operation did not succeed.

Fix by adding the missing -

(From OE-Core rev: 67721b71bf677097645b9150a31ac833125c0c23)

Signed-off-by:  Adam Johnston <adam.johnston@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3c0deafcfcea3f610c7dd9a2d2884a16fbfe0497)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Markus Volk
713b5d5803 gtk: Add rdepend on printbackend for cups
install the required printbackends

(From OE-Core rev: a241b3f3466d50c73dfbd8001a027e6b8ba67aea)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 0a97892920db46043102d54ef1623669241e9780)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Joakim Tjernlund
d2d9fd7063 sed -i destroys symlinks
If /etc/passwd is a symlink, sed -i on same file will replace the
symlink with a new file. Prevent that by adding --follow-symlinks
option to sed

(From OE-Core rev: 7b4343a30a02d8f8664ac4c4bc09e5acfb4fa60e)

Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 6ec004b2e7b4342465af8e5e6cc66041834821a0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Massimiliano Minella
40a11d6e2a systemd: update LICENSE statement
As stated in the LICENSES/README.md "Unless otherwise noted, the systemd
project sources are licensed under the terms and conditions of the GNU
Lesser General Public License v2.1 or later", so replace LGPL-2.1-only
with LGPL-2.1-or-later.

With the exception of some udev sources that are licensed under
GPL-2.0-or-later (but are packaged separately), the project is licensed
under LGPL, and all the components are LGPL or under LGPL compatible
licenses. The package libsystemd is currently under the main package
license, which can cause problems when scanning for GPL software linked
to CLOSED one.  Add more granularity by setting a license for libsystemd
to LGPL-2.1-or-later.

(From OE-Core rev: 2c65ec32ce3c4a74b7117588151a94a4c6e506a6)

Signed-off-by: Massimiliano Minella <massimiliano.minella@se.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 54975f4b2184fe12c4995c289eba8358958e6c21)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Alexander Kanavin
16fdf54a60 cmake: upgrade 3.27.5 -> 3.27.7
Changes made since CMake 3.27.6:

Brad King (6):
  Android: Require Clang 18 for -std=c++23
  Tests: Clarify RunCMake.CTestTimeout case name
  ctest: Restore support for --timeout values higher than default test timeout
  Help: Document CMP0124 behavior on already-set variables
  FindPostgreSQL: Add support for version 16
  CMake 3.27.7

Orkun Tokdemir (1):
  Linting: Fix empty evaluated genex

(From OE-Core rev: 3f3f3118dd6976259e8d971ebf76f2eeaf96f930)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 0faec0c8606b31216702252d0db7aa88388df231)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Wang Mingyu
5adf1eaeac log4cplus: upgrade 2.1.0 -> 2.1.1
Changelog:
===========
-Add missing source files to MSVC project files.
-Resolve environment variables in include directive in configuration file.

(From OE-Core rev: 067023cd723a9056c5c15a37d20e3b12d4b2cf02)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 33d49b14609d9b92a7c23d79f1bdfca79a5d8197)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Wang Mingyu
6ac257ef3a libxslt: upgrade 1.1.38 -> 1.1.39
Changelog:
===========
- extensions: Don't search imports for extension prefixes
- transform: Check maximum depth when processing default templates
- build: Add more missing includes
- python: Don't set deprecated global
- build: Add missing includes
- imports: Limit nesting depth
- extensions: Report top-level elements in xsltDebugDumpExtensions
- Add extern "C" { } block to xsltlocale.h
- python: Make it compatible with python3.12
- date: Fix check for localtime_s
- date: Fix check for gmtime_s
- pkg-config files include cflags for static builds
- Handle NOCONFIG case when setting locations from CMake target properties
- autotools: Make xslt-config executable
- tests: Structured error handler now passes a const xmlError
- python: Fix tests on MinGW
- fuzz: Fix xmlFuzzEntityLoader after recent libxml2 changes

(From OE-Core rev: 7828e780813857a6667cb07472a0371823781e9b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 48b353f3fb8e5ab1853cba7faa3065d2fe6f36b4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Wang Mingyu
26fe89c158 libgcrypt: upgrade 1.10.2 -> 1.10.3
Changelog:
==========
- Fix public key computation for other EdDSA curves.
- Remove out of core handler diagnostic in FIPS mode.
- Check that the digest size is not zero in gcry_pk_sign_md and
  gcry_pk_verify_md.
- Make store an s-exp with \0 is considered to be binary.
- Various constant-time improvements.
- Use getrandom call only when supported by the platform.
- Change the default for --with-libtool-modification to never.

(From OE-Core rev: 451480be9e8693d026fb408f5bfd1c6c77ad7182)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit e21583896116cf37bf6b95aea466854e4fd5e54b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Wang Mingyu
306ebfd2c7 ell: upgrade 0.59 -> 0.60
Changelog:
==========
-Fix issue with missing NETLINK_EXT_ACK definition.
-Fix issue with incorrect derivation of ECC compressed points.
-Add support for ECC usage from SPAKE2+ key exchange protocol.

(From OE-Core rev: 2b799f27bb005a314ac87117ab2e9fc34be90fa3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9b13c1ffadda0893561e804d2ab789bf1c401d3a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Wang Mingyu
128ab2a47f bind: upgrade 9.18.19 -> 9.18.20
Changelog:
============
-Fix missing newlines in the output of "rndc nta -dump".
-Take into account local authoritative zones when falling back to serve-stale.
-Fix assertion failure when using lock-file configuration option together -X
 argument to named.
-The 'lock-file' file was being removed when it shouldn't have been making it
 ineffective if named was started 3 or more times.
-Fix a shutdown race in dns__catz_update_cb().
-B.ROOT-SERVERS.NET addresses are now 170.247.170.2 and 2801:1b8:10::b.
-The timeouts for resending zone refresh queries over UDP were lowered to enable
 named to more quickly determine that a primary is down.
-Don't schedule resign operations on the raw version of an inline-signing zone.
-Fix a possible assertion failure on an error path in resolver.c:fctx_query(),
 when using an uninitialized link.
-Add semantic patch to do an explicit cast from char to unsigned char in ctype.h
 class of functions.
-Python system tests have to be executed by invoking pytest directly. Executing
 them with the legacy test runner is no longer supported.
-The wrong covered value was being set by dns_ncache_current for RRSIG records
 in the returned rdataset structure. This resulted in TYPE0 being reported as
 the covered value of the RRSIG when dumping the cache contents.

(From OE-Core rev: 6103a28c3b3df76a679acae577140d4ad2346894)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9b34124561d926d9273c52163853161515e5666a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Anuj Mittal
cb4f20f7e8 gstreamer1.0: upgrade 1.22.6 -> 1.22.7
This release only contains bugfixes and security fixes.  For details:

https://gstreamer.freedesktop.org/releases/1.22/#1.22.8

(From OE-Core rev: 1d4df263a62de1d860731bace77c69e56987fa6e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f6be55ef1e862d93d8275fb5792e6c66b0a0beee)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Wang Mingyu
ae24fd63aa libsolv: upgrade 0.7.25 -> 0.7.26
Version 0.7.26
- selected bug fixes:
  * fix evr roundtrip in testcases
  * do not use deprecated headerUnload with newer rpm versions

(From OE-Core rev: a749063e3f978a429d192445dcb5d636de668b82)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit abd47f16a4ef8a50af4287795969832d1391d8d2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Bruce Ashfield
21ba5094ce linux-yocto/6.5: fix AB-INT: QEMU kernel panic: No irq handler for vector
Integrating the following commit(s) to linux-yocto/6.5:

1/2 [
    Author: Thomas Gleixner
    Email: tglx@linutronix.de
    Subject: x86/alternatives: Sync core before enabling interrupts
    Date: Thu, 7 Dec 2023 20:49:24 +0100

    text_poke_early() does:

       local_irq_save(flags);
       memcpy(addr, opcode, len);
       local_irq_restore(flags);
       sync_core();

    That's not really correct because the synchronization should happen before
    interrupts are reenabled to ensure that a pending interrupt observes the
    complete update of the opcodes.

    It's not entirely clear whether the interrupt entry provides enough
    serialization already, but moving the sync_core() invocation into interrupt
    disabled region does no harm and is obviously correct.

    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/2 [
    Author: Thomas Gleixner
    Email: tglx@linutronix.de
    Subject: x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    Date: Thu, 7 Dec 2023 20:49:26 +0100

    apply_alternatives() treats alternatives with the ALT_FLAG_NOT flag set
    special as it optimizes the existing NOPs in place.

    Unfortunately this happens with interrupts enabled and does not provide any
    form of core synchronization.

    So an interrupt hitting in the middle of the update and using the affected
    code path will observe a half updated NOP and crash and burn. The following
    3 NOP sequence was observed to expose this crash halfways reliably under
    QEMU 32bit:

       0x90 0x90 0x90

    which is replaced by the optimized 3 byte NOP:

       0x8d 0x76 0x00

    So an interrupt can observe:

       1) 0x90 0x90 0x90		nop nop nop
       2) 0x8d 0x90 0x90		undefined
       3) 0x8d 0x76 0x90		lea    -0x70(%esi),%esi
       4) 0x8d 0x76 0x00		lea     0x0(%esi),%esi

    Where only #1 and #4 are true NOPs. The same problem exists for 64bit obviously.

    Disable interrupts around this NOP optimization and invoke sync_core()
    before reenabling them.

    Fixes: 270a69c4485d ("x86/alternative: Support relocations in alternatives")
    Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com>
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    Cc: stable@vger.kernel.org
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: eaa14acddf8259bef87143956766e7d3cf01d6ff)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1c8d29ab6b02c5b783429db3b67583deb1637142)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Bruce Ashfield
9e123cdcbf linux-yocto/6.5: drop removed IMA option
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Paul Gortmaker
    Email: paul.gortmaker@windriver.com
    Subject: features/ima: drop now retired IMA_TRUSTED_KEYRING option
    Date: Wed, 6 Dec 2023 09:15:38 -0500

    Unfortunately linux-stable backported this:

      Subject: ima: Remove deprecated IMA_TRUSTED_KEYRING Kconfig

      From: Nayna Jain <nayna@linux.ibm.com>

      [ Upstream commit 5087fd9e80e539d2163accd045b73da64de7de95 ]

      Time to remove "IMA_TRUSTED_KEYRING".

    ...to all releases still being maintained.

    stable-queue$git grep -l 5087fd9e80e539
    releases/5.10.195/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/5.15.132/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/5.4.257/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/6.1.53/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/6.4.16/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/6.5.3/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch

    So now when someone uses the feature, it triggers a do_kernel_configcheck
    warning when the audit runs.

    We added this file way back in 2019 so this fix will be needed on all
    active branches that are using an LTS linux-stable kernel listed above.

    Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 0f8eaea3a46c9f6e3c99fb59e689e2a3843979d0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d575b2822c1779077177deb177bafa94ab975bfc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Richard Purdie
0414806a80 linux/cve-exclusion6.1: Update to latest kernel point release
(From OE-Core rev: ec48d71311808126ce22b0ea771e37750ac98304)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c4ffd18d3e71b935acc050b106267db544d86df7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Bruce Ashfield
69475a1e73 linux-yocto/6.1: update to v6.1.68
Updating  to the latest korg -stable release that comprises
the following commits:

    ba6f5fb46511 Linux 6.1.68
    f38b4e99e24c drm/i915: Skip some timing checks on BXT/GLK DSI transcoders
    d9ef7b05ccd7 drm/i915/sdvo: stop caching has_hdmi_monitor in struct intel_sdvo
    cf70d62ace90 drm/i915/lvds: Use REG_BIT() & co.
    e6d55cf49399 drm/i915/display: Drop check for doublescan mode in modevalid
    9c322aaf28e8 riscv: Kconfig: Add select ARM_AMBA to SOC_STARFIVE
    189c2a82933c netfilter: nft_set_pipapo: skip inactive elements during set walk
    b4e440cf600e MIPS: Loongson64: Enable DMA noncoherent support
    d52a5178cbdc MIPS: Loongson64: Handle more memory types passed from firmware
    8d18a0158546 MIPS: Loongson64: Reserve vgabios memory on boot
    2b9b2d28a92a KVM: SVM: Update EFER software model on CR0 trap for SEV-ES
    6d6314c3dbac KVM: s390/mm: Properly reset no-dat
    be297475cabc MIPS: kernel: Clear FPU states when setting up kernel threads
    358bd5f436d8 cifs: Fix flushing, invalidation and file size with FICLONE
    18b02e4343e8 cifs: Fix flushing, invalidation and file size with copy_file_range()
    69540c108d72 USB: gadget: core: adjust uevent timing on gadget unbind
    2467f4f8cb7c x86/CPU/AMD: Check vendor in the AMD microcode callback
    0553d5290879 devcoredump: Send uevent once devcd is ready
    74799b43d856 serial: 8250_omap: Add earlycon support for the AM654 UART controller
    d59dafa9eb12 serial: 8250: 8250_omap: Do not start RX DMA on THRI interrupt
    638a6cbacefd serial: 8250: 8250_omap: Clear UART_HAS_RHR_IT_DIS bit
    f434703fb893 serial: sc16is7xx: address RX timeout interrupt errata
    a8027753ab65 ARM: PL011: Fix DMA support
    c909ce57d055 usb: typec: class: fix typec_altmode_put_partner to put plugs
    b12ccef70545 smb: client: fix potential NULL deref in parse_dfs_referrals()
    f48430635b5e Revert "xhci: Loosen RPM as default policy to cover for AMD xHC 1.1"
    9ce109b74875 cifs: Fix non-availability of dedup breaking generic/304
    8e25331ea560 parport: Add support for Brainboxes IX/UC/PX parallel cards
    bee9affd37b9 serial: 8250_dw: Add ACPI ID for Granite Rapids-D UART
    16da1f84f5ef usb: gadget: f_hid: fix report descriptor allocation
    c8bf22e0d049 drm/amdgpu: Update EEPROM I2C address for smu v13_0_0
    87509778718c drm/amdgpu: Add I2C EEPROM support on smu v13_0_6
    4ccb34d4313b drm/amdgpu: simplify amdgpu_ras_eeprom.c
    af6b1f1156fc drm/amdgpu: Return from switch early for EEPROM I2C address
    a3049c9a3013 drm/amdgpu: Remove second moot switch to set EEPROM I2C address
    30289057ef8f drm/amdgpu: Add support for RAS table at 0x40000
    c67c553b4dd9 drm/amdgpu: Decouple RAS EEPROM addresses from chips
    ee9efcdc76af drm/amdgpu: Remove redundant I2C EEPROM address
    a945568638ac drm/amdgpu: Add EEPROM I2C address support for ip discovery
    f549f837b9ac drm/amdgpu: Update ras eeprom support for smu v13_0_0 and v13_0_10
    458affed0619 drm/amdgpu: correct the amdgpu runtime dereference usage count
    41c5dd545e76 drm/amd/amdgpu: Fix warnings in amdgpu/amdgpu_display.c
    613eaee4459d drm/amdgpu: fix memory overflow in the IB test
    1705927a1073 gpiolib: sysfs: Fix error handling on failed export
    4b716fcacd2a x86/sev: Fix kernel crash due to late update to read-only ghcb_version
    06dec254c59a perf: Fix perf_event_validate_size()
    b0c195a825d4 arm64: dts: mt8183: kukui: Fix underscores in node names
    8a3d746c7ec5 arm64: dts: mediatek: add missing space before {
    5656634ce01e parisc: Fix asm operand number out of range build error in bug table
    f9e9e156dbbb parisc: Reduce size of the bug_table on 64-bit kernel by half
    8479f5ca8b6c tracing: Stop current tracer when resizing buffer
    df4aa7e84d00 tracing: Set actual size after ring buffer resize
    07ad456e1c02 ring-buffer: Force absolute timestamp on discard of event
    40421e0cf34e LoongArch: BPF: Don't sign extend function return value
    ebb09d58dfe7 LoongArch: BPF: Don't sign extend memory load operand
    066dcd87b94c misc: mei: client.c: fix problem of return '-EOVERFLOW' in mei_cl_write
    d78789ba2195 misc: mei: client.c: return negative error code in mei_cl_write
    672976c28e1b hwtracing: hisi_ptt: Add dummy callback pmu::read()
    0b80e6af0d90 coresight: etm4x: Remove bogous __exit annotation for some functions
    766b29f6141a coresight: etm4x: Make etm4_remove_dev() return void
    920f84a6e8e9 binder: fix memory leaks of spam and pending work
    18847b6bba36 arm64: dts: mediatek: mt8183-evb: Fix unit_address_vs_reg warning on ntc
    c428285eab3c arm64: dts: mediatek: mt8183: Move thermal-zones to the root node
    bdd7508661fc arm64: dts: mediatek: mt8183: Fix unit address for scp reserved memory
    66398d18565d arm64: dts: mediatek: mt8195: Fix PM suspend/resume with venc clocks
    e1d4f02a68d3 arm64: dts: mediatek: mt8173-evb: Fix regulator-fixed node names
    ff566a8d765f arm64: dts: mediatek: cherry: Fix interrupt cells for MT6360 on I2C7
    6d50aa965650 arm64: dts: mediatek: mt8183-kukui-jacuzzi: fix dsi unnecessary cells properties
    c2adea319187 arm64: dts: mediatek: mt7622: fix memory node warning check
    515d971cd26a md/raid6: use valid sector values to determine if an I/O should wait on the reshape
    4132cc3a3aa9 powercap: DTPM: Fix missing cpufreq_cpu_put() calls
    686cc4de099f mm: fix oops when filemap_map_pmd() without prealloc_pte
    574a6db80f3e hugetlb: fix null-ptr-deref in hugetlb_vma_lock_write
    f5e6958919e0 platform/surface: aggregator: fix recv_buf() return value
    bcd50a3bd637 regmap: fix bogus error on regcache_sync success
    1c1c6d5c7e14 r8169: fix rtl8125b PAUSE frames blasting when suspended
    6a71d7785643 packet: Move reference count in packet_sock to atomic_long_t
    15c251f81442 tracing: Fix a possible race when disabling buffered events
    b00b50091693 tracing: Fix incomplete locking when disabling buffered events
    6e0d6c685b1b tracing: Disable snapshot buffer when stopping instance tracers
    20fd56ca2e6d tracing: Always update snapshot buffer size
    f33d663db004 checkstack: fix printed address
    4c00f01832f2 cgroup_freezer: cgroup_freezing: Check if not frozen
    3907e9cc85ff nilfs2: prevent WARNING in nilfs_sufile_set_segment_usage()
    c344e99dd812 nilfs2: fix missing error check for sb_set_blocksize call
    d2558e726e76 ring-buffer: Test last update in 32bit version of __rb_time_read()
    c4dcc915ea22 ALSA: hda/realtek: Add Framework laptop 16 to quirks
    0675fe3b3234 ALSA: hda/realtek: add new Framework laptop to quirks
    8b23707c8a1e ALSA: hda/realtek: Enable headset on Lenovo M90 Gen5
    dc1141ae5ca2 ALSA: pcm: fix out-of-bounds in snd_pcm_state_names
    bb43c57c3d0b ALSA: usb-audio: Add Pioneer DJM-450 mixer controls
    bfe5a5e2f9e9 io_uring: fix mutex_unlock with unreferenced ctx
    8bba38f7a0d4 nvme-pci: Add sleep quirk for Kingston drives
    f2f57f51b53b io_uring/af_unix: disable sending io_uring over sockets
    515c25be77ba ASoC: amd: yc: Fix non-functional mic on ASUS E1504FA
    0fcfc90c8664 kprobes: consistent rcu api usage for kretprobe holder
    a5325a055f0f rethook: Use __rcu pointer for rethook::handler
    68bc7b200305 iommu: Avoid more races around device probe
    3c796895b4e2 md: don't leave 'MD_RECOVERY_FROZEN' in error path of md_set_readonly()
    5255ded03422 md: introduce md_ro_state
    a38c1e766f4f riscv: fix misaligned access handling of C.SWSP and C.SDSP
    8b41bdcc22da ARM: dts: imx28-xea: Pass the 'model' property
    282b5acd586e ARM: dts: imx7: Declare timers compatible with fsl,imx6dl-gpt
    12ac3b0ab837 ARM: imx: Check return value of devm_kasprintf in imx_mmdc_perf_init
    4d8cc87d1845 scsi: be2iscsi: Fix a memleak in beiscsi_init_wrb_handle()
    bc5b79df6d54 tracing: Fix a warning when allocating buffered events fails
    fc2d811d3101 ARM: dts: imx6ul-pico: Describe the Ethernet PHY clock
    22143a0e5ac2 arm64: dts: imx8mp: imx8mq: Add parkmode-disable-ss-quirk on DWC3
    8dd0e20b41b1 arm64: dts: imx8mq: drop usb3-resume-missing-cas from usb
    188de9839ff2 drm/bridge: tc358768: select CONFIG_VIDEOMODE_HELPERS
    1ff56298ab32 RDMA/irdma: Avoid free the non-cqp_request scratch
    0a929e837527 RDMA/core: Fix umem iterator when PAGE_SIZE is greater then HCA pgsz
    ebcb4e19d3ef ASoC: wm_adsp: fix memleak in wm_adsp_buffer_populate
    2358e53208c0 hwmon: (nzxt-kraken2) Fix error handling path in kraken2_probe()
    3baaba79088b ASoC: codecs: lpass-tx-macro: set active_decimator correct default value
    c11b7e26d2f0 hwmon: (acpi_power_meter) Fix 4.29 MW bug
    19269741c3e2 RDMA/irdma: Fix UAF in irdma_sc_ccq_get_cqe_info()
    439857e2fe4e RDMA/irdma: Refactor error handling in create CQP
    59a022a869b1 RDMA/bnxt_re: Correct module description string
    7ed498095c6d RDMA/rtrs-clt: Remove the warnings for req in_use check
    03095a6440db RDMA/rtrs-clt: Fix the max_send_wr setting
    233c32bcf069 RDMA/rtrs-srv: Destroy path files after making sure no IOs in-flight
    7be574c34dc7 RDMA/rtrs-srv: Free srv_mr iu only when always_invalidate is true
    9dd976c435be RDMA/rtrs-srv: Check return values while processing info request
    3910ccbf25a7 RDMA/rtrs-clt: Start hb after path_up
    1e46485045cd RDMA/rtrs-srv: Do not unconditionally enable irq
    4a8774a63303 ASoC: fsl_sai: Fix no frame sync clock issue on i.MX8MP
    3166c76d1deb arm64: dts: rockchip: Expand reg size of vdec node for RK3399
    aa9ae3dffc34 arm64: dts: rockchip: Expand reg size of vdec node for RK3328
    945bfe4e0b09 RDMA/irdma: Add wait for suspend on SQD
    0b0afd4e1477 RDMA/irdma: Do not modify to SQD on error
    9d005ea01ed0 RDMA/hns: Fix unnecessary err return when using invalid congest control algorithm
    1c9561b438cb tee: optee: Fix supplicant based device enumeration
    5fd29433b29d mm/damon/sysfs: eliminate potential uninitialized variable warning
    b5ca945612b4 drop_monitor: Require 'CAP_SYS_ADMIN' when joining "events" group
    07c8229c022b psample: Require 'CAP_NET_ADMIN' when joining "packets" group
    af39b80173e4 bpf: sockmap, updating the sg structure should also update curr
    008b807fe487 tcp: do not accept ACK of bytes we never sent
    7a63521ed041 netfilter: xt_owner: Fix for unsafe access of sk->sk_socket
    3176160c22d9 netfilter: nf_tables: validate family when identifying table via handle
    96f8654b701f netfilter: nf_tables: bail out on mismatching dynset and set expressions
    c9704c26193c netfilter: nf_tables: fix 'exist' matching on bigendian arches
    0bfbfd9423f3 netfilter: nft_exthdr: add boolean DCCP option matching
    9225a4566bc1 dt-bindings: interrupt-controller: Allow #power-domain-cells
    6b9e78d6c6b9 octeontx2-af: Update Tx link register range
    9be8f66ea857 octeontx2-af: Add missing mcs flr handler call
    d54470adfcc7 octeontx2-af: Fix mcs stats register address
    90773de07391 octeontx2-af: Fix mcs sa cam entries size
    0c8baa37bfa5 octeontx2-af: Adjust Tx credits when MCS external bypass is disabled
    d2689aea4f2e net: hns: fix fake link up on xge port
    217cc7f6a6ac net: hns: fix wrong head when modify the tx feature when sending packets
    87559196c316 net: atlantic: Fix NULL dereference of skb pointer in
    64c78c57e307 ipv4: ip_gre: Avoid skb_pull() failure in ipgre_xmit()
    ce3c5acb594e ionic: Fix dim work handling in split interrupt mode
    a92719900fc6 ionic: fix snprintf format length warning
    c91685ac1bce tcp: fix mid stream window clamp.
    9fc81912fcdb net: bnxt: fix a potential use-after-free in bnxt_init_tc
    0d33871b66f9 iavf: validate tx_coalesce_usecs even if rx_coalesce_usecs is zero
    75fd86e54119 i40e: Fix unexpected MFS warning message
    ba6eb3a77a56 octeontx2-af: fix a use-after-free in rvu_npa_register_reporters
    2c0cbb97b118 xsk: Skip polling event check for unbound socket
    ed7e211b6786 net: stmmac: fix FPE events losing
    1a41ffc4dc6a octeontx2-pf: consider both Rx and Tx packet stats for adaptive interrupt coalescing
    8d034da82563 arcnet: restoring support for multiple Sohard Arcnet cards
    3c323796951a platform/mellanox: Check devm_hwmon_device_register_with_groups() return value
    29d82b366a22 platform/mellanox: Add null pointer checks for devm_kasprintf()
    646f1e9c1978 mlxbf-bootctl: correctly identify secure boot with development keys
    ef91309a570a r8152: Add RTL8152_INACCESSIBLE to r8153_aldps_en()
    d11ef4d3dd37 r8152: Add RTL8152_INACCESSIBLE to r8153_pre_firmware_1()
    284cd311bb48 r8152: Add RTL8152_INACCESSIBLE to r8156b_wait_loading_flash()
    0823990da76f r8152: Add RTL8152_INACCESSIBLE checks to more loops
    3759e735562a r8152: Rename RTL8152_UNPLUG to RTL8152_INACCESSIBLE
    ecb5068f55a8 hv_netvsc: rndis_filter needs to select NLS
    80de965ca52c octeontx2-af: Check return value of nix_get_nixlf before using nixlf
    f565044d1d84 octeontx2-pf: Add missing mutex lock in otx2_get_pauseparam
    a3f5de10b5cf ipv6: fix potential NULL deref in fib6_add()
    e2b202821dd8 platform/x86: wmi: Skip blocks with zero instances
    b536601d0520 of: dynamic: Fix of_reconfig_get_state_change() return value documentation
    76b9ea6f54ed platform/x86: asus-wmi: Move i8042 filter install to shared asus-wmi code
    3453531284cb dt: dt-extract-compatibles: Don't follow symlinks when walking tree
    8a124b9e784b dt: dt-extract-compatibles: Handle cfile arguments in generator function
    cde700ceb0ea x86/tdx: Allow 32-bit emulation by default
    e09d243a518b x86/entry: Do not allow external 0x80 interrupts
    d5f999317e83 x86/entry: Convert INT 0x80 emulation to IDTENTRY
    b8ec27ae221e x86/coco: Disable 32-bit emulation by default on TDX and SEV
    0870f19b54de x86: Introduce ia32_enabled()
    9046665befd6 drm/amdgpu: correct chunk_ptr to a pointer to chunk.
    18209382db64 kconfig: fix memory leak from range properties
    bcc2abaa4095 tg3: Increment tx_dropped in tg3_tso_bug()
    9bbc655e1849 tg3: Move the [rt]x_dropped counters to tg3_napi
    62c6d82bac2b zstd: Fix array-index-out-of-bounds UBSAN warning
    875ee3a09e27 netfilter: ipset: fix race condition between swap/destroy and kernel side add/del/test
    6025052bbf3d i2c: designware: Fix corrupted memory seen in the ISR
    75b5016ce325 hrtimers: Push pending hrtimers away from outgoing CPU earlier
    8ea2b4ba9ba2 vdpa/mlx5: preserve CVQ vringh index

(From OE-Core rev: 3f28f1247ee313d558909286af7e77a0572cc4b4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 98dd7225341e4a8c46e9db17728cd162a0d12216)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Bruce Ashfield
24072981e4 linux-yocto/6.1: update to v6.1.67
Updating  to the latest korg -stable release that comprises
the following commits:

    e7cddbb41b63 Linux 6.1.67
    db46c77f3d51 Revert "wifi: cfg80211: fix CQM for non-range use"

(From OE-Core rev: c1411f50533512973e16e1e4b3a6e950c9bb9a77)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a80b32127dccd35ed7ed129e28231229afdaa53b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Bruce Ashfield
8764ca54e3 linux-yocto/6.1: update to v6.1.66
Updating  to the latest korg -stable release that comprises
the following commits:

    6c6a6c7e211c Linux 6.1.66
    ea574927fc0b iomap: update ki_pos a little later in iomap_dio_complete
    adf0ecebf00a x86/apic/msi: Fix misconfigured non-maskable MSI quirk
    b3b839fb636b x86/xen: fix percpu vcpu_info allocation
    00bc8b2cf44c xen: simplify evtchn_do_upcall() call maze
    9311a0ff388a xen: Allow platform PCI interrupt to be shared
    402b8323461c r8169: fix deadlock on RTL8125 in jumbo mtu mode
    22ee0ddb2af7 r8169: disable ASPM in case of tx timeout
    10ce6301009f drm/amd/display: Fix MPCC 1DLUT programming
    8332cb6c6339 drm/amd/display: Fix the delta clamping for shaper LUT
    442a4d4d0157 drm/amd/display: clean code-style issues in dcn30_set_mpc_shaper_3dlut
    6cd736272165 drm/amd/display: Expand kernel doc for DC
    8b01195be4a9 mmc: sdhci-sprd: Fix vqmmc not shutting down after the card was pulled
    38d3216032c9 mmc: core: add helpers mmc_regulator_enable/disable_vqmmc
    0e0a95166882 drm/amd/pm: fix a memleak in aldebaran_tables_init
    59862b869275 iommu/vt-d: Make context clearing consistent with context mapping
    ee2c2247690c iommu/vt-d: Disable PCI ATS in legacy passthrough mode
    8f39d297a26a iommu/vt-d: Add device_block_translation() helper
    3787b3168b6c iommu/vt-d: Allocate pasid table in device probe path
    681aeeda413d iommu/vt-d: Omit devTLB invalidation requests when TES=0
    8aaed5b81d26 cpufreq: imx6q: Don't disable 792 Mhz OPP unnecessarily
    d3788f6e9d5a cpufreq: imx6q: don't warn for disabling a non-existing frequency
    195514bda626 drm/amd/display: Guard against invalid RPTR/WPTR being set
    395a63ca1ad2 drm/amd/display: Restore rptr/wptr for DMCUB as workaround
    4ec4508db975 spi: Fix null dereference on suspend
    b57eebfb80e8 fbdev: stifb: Make the STI next font pointer a 32-bit signed offset
    5bc8d96fedce PCI: qcom-ep: Add dedicated callback for writing to DBI2 registers
    10c3d86fea04 octeontx2-af: Initialize 'cntr_val' to fix uninitialized symbol error
    1c8f75ee9233 PCI: Lengthen reset delay for VideoPropulsion Torrent QN16e card
    7545ddda9c98 KVM: x86: Fix lapic timer interrupt lost after loading a snapshot.
    21feaf558f93 net: ravb: Keep reverse order of operations in ravb_remove()
    8d04278ff48b net: ravb: Stop DMA in case of failures on ravb_open()
    52b751686cbf net: ravb: Start TX queues after HW initialization succeeded
    e2db25d16cdd net: ravb: Make write access to CXR35 first before accessing other EMAC registers
    f5c649ce7975 net: ravb: Use pm_runtime_resume_and_get()
    149b2fe12aca net: ravb: Check return value of reset_control_deassert()
    7ed2e4c2d016 ravb: Fix races between ravb_tx_timeout_work() and net related ops
    8b1d088be5f1 r8169: prevent potential deadlock in rtl8169_close
    9c4ac2d98a48 octeontx2-pf: Restore TC ingress police rules when interface is up
    aef2d5b3e56e octeontx2-af: Install TC filter rules in hardware based on priority
    662b88708408 octeontx2-pf: Fix adding mbox work queue entry when num_vfs > 64
    5d5bcfb1ca8d net: stmmac: xgmac: Disable FPE MMC interrupts
    334e6378c28c octeontx2-af: Fix possible buffer overflow
    c3e974e9c4bb selftests/net: mptcp: fix uninitialized variable warnings
    12dd4c1bf3bd selftests/net: unix: fix unused variable compiler warning
    4e999af7cf8a selftests/net: fix a char signedness issue
    249ceee95caf selftests/net: ipsec: fix constant out of range
    e01249a83939 uapi: propagate __struct_group() attributes to the container union
    fd91b48f108d dpaa2-eth: increase the needed headroom to account for alignment
    94445d958307 ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet
    f89fef7710b2 usb: config: fix iteration issue in 'usb_get_bos_descriptor()'
    9aff7c51b440 USB: core: Change configuration warnings to notices
    c89b34eef336 USB: xhci-plat: fix legacy PHY double init
    307a6525c82a wifi: cfg80211: fix CQM for non-range use
    e8c1105c0ccc serial: sc16is7xx: add missing support for rs485 devicetree properties
    55061c323075 serial: sc16is7xx: Put IOControl register into regmap_volatile
    a491c7be35ed auxdisplay: hd44780: move cursor home after clear display command
    7f2116777541 Input: xpad - add HyperX Clutch Gladiate Support
    7a105de27538 btrfs: fix 64bit compat send ioctl arguments not initializing version member
    32912ee86931 btrfs: make error messages more clear when getting a chunk map
    4fc9c61c02c0 btrfs: send: ensure send_fd is writable
    86742a963fe6 btrfs: fix off-by-one when checking chunk map includes logical address
    9fe447c485ed btrfs: ref-verify: fix memory leaks in btrfs_ref_tree_mod()
    3f26d9b257ad btrfs: add dmesg output for first mount and last unmount of a filesystem
    0ad7d59e7901 parisc: Mark altinstructions read-only and 32-bit aligned
    cf2ae6494d1f parisc: Ensure 32-bit alignment on parisc unwind section
    2acfff573042 parisc: Mark jump_table naturally aligned
    3793cd2ded7c parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codes
    79a1fdf4c212 parisc: Mark lock_aligned variables 16-byte aligned on SMP
    41d7852a0a39 parisc: Use natural CPU alignment for bug_table
    c7c78a4aa60a parisc: Mark ex_table entries 32-bit aligned in uaccess.h
    645e4b693b5e parisc: Mark ex_table entries 32-bit aligned in assembly.h
    c23b9eaca80c powerpc: Don't clobber f0/vs0 during fp|altivec register save
    e6bc42fae6b8 KVM: PPC: Book3S HV: Fix KVM_RUN clobbering FP/VEC user registers
    59419ebcc0a6 iommu/vt-d: Add MTL to quirk list to skip TE disabling
    0b48970ce102 bcache: revert replacing IS_ERR_OR_NULL with IS_ERR
    fc98ea2699c0 dma-buf: fix check in dma_resv_add_fence
    4da1556996fa cpufreq/amd-pstate: Fix the return value of amd_pstate_fast_switch()
    9d4c721c1866 powercap: DTPM: Fix unneeded conversions to micro-Watts
    a62ca58bb3cc nvme: check for valid nvme_identify_ns() before using it
    82b5e603edd4 dm verity: don't perform FEC for failed readahead IO
    6f5a9fc94bfc dm verity: initialize fec io before freeing it
    7cfc3884a8bb drm/amd/display: fix ABM disablement
    859a3a9f1e6b drm/amd/display: Update min Z8 residency time to 2100 for DCN314
    6ef7f13c72df drm/amd/display: Use DRAM speed from validation for dummy p-state
    a67c18704706 drm/amd/display: Remove min_dst_y_next_start check for Z8
    33ed892f0cde drm/amd/display: Include udelay when waiting for INBOX0 ACK
    c5cf436c8969 drm/amdgpu: Force order between a read and write to the same address
    c60884296300 drm/amd: Enable PCIe PME from D3
    cebccbe80165 scsi: sd: Fix system start for ATA devices
    181fd67dc5b9 scsi: Change SCSI device boolean fields to single bit flags
    7d2faae81b57 dm-verity: align struct dm_verity_fec_io properly
    da9f55393f69 ALSA: hda/realtek: Add supported ALC257 for ChromeOS
    f4b130213497 ALSA: hda/realtek: Headset Mic VREF to 100%
    65654af4c8a6 ALSA: hda: Disable power-save on KONTRON SinglePC
    ba911edc6c0c mmc: block: Be sure to wait while busy in CQE error recovery
    eab9ec644637 mmc: block: Do not lose cache flush during CQE error recovery
    e121f6d73d2e mmc: block: Retry commands in CQE error recovery
    3a9a9c256f02 mmc: cqhci: Fix task clearing in CQE error recovery
    def67fd8efde mmc: cqhci: Warn of halt or task clear failure
    2ebc8b758c7d mmc: cqhci: Increase recovery halt timeout
    d2fc10e262b5 mmc: sdhci-pci-gli: Disable LPM during initialization
    87ceaa8521fc firewire: core: fix possible memory leak in create_units()
    db0b69e46da6 pinctrl: avoid reload of p state in list iteration
    74820f7406a1 smb: client: report correct st_size for SMB and NFS symlinks
    60fed17ca5b8 cifs: Fix FALLOC_FL_INSERT_RANGE by setting i_size after EOF moved
    6406cce4b22d cifs: Fix FALLOC_FL_ZERO_RANGE by setting i_size if EOF moved

(From OE-Core rev: 70e1c509c81c5bc9b270076169b836562829ef51)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 83c13368918a69ad63ee957f3d03362e366afe42)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Bruce Ashfield
2b50e63a96 linux-yocto-rt/6.1: update to -rt18
Integrating the following commit(s) to linux-yocto-rt/6.1:

1/17 [
    Author: Tvrtko Ursulin
    Email: tvrtko.ursulin@intel.com
    Subject: drm/i915: Do not disable preemption for resets
    Date: Fri, 18 Aug 2023 22:45:25 -0400

    [commit 40cd2835ced288789a685aa4aa7bc04b492dcd45 in linux-rt-devel]

    Commit ade8a0f59844 ("drm/i915: Make all GPU resets atomic") added a
    preempt disable section over the hardware reset callback to prepare the
    driver for being able to reset from atomic contexts.

    In retrospect I can see that the work item at a time was about removing
    the struct mutex from the reset path. Code base also briefly entertained
    the idea of doing the reset under stop_machine in order to serialize
    userspace mmap and temporary glitch in the fence registers (see
    eb8d0f5af4ec ("drm/i915: Remove GPU reset dependence on struct_mutex"),
    but that never materialized and was soon removed in 2caffbf11762
    ("drm/i915: Revoke mmaps and prevent access to fence registers across
    reset") and replaced with a SRCU based solution.

    As such, as far as I can see, today we still have a requirement that
    resets must not sleep (invoked from submission tasklets), but no need to
    support invoking them from a truly atomic context.

    Given that the preemption section is problematic on RT kernels, since the
    uncore lock becomes a sleeping lock and so is invalid in such section,
    lets try and remove it. Potential downside is that our short waits on GPU
    to complete the reset may get extended if CPU scheduling interferes, but
    in practice that probably isn't a deal breaker.

    In terms of mechanics, since the preemption disabled block is being
    removed we just need to replace a few of the wait_for_atomic macros into
    busy looping versions which will work (and not complain) when called from
    non-atomic sections.

    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Cc: Chris Wilson <chris.p.wilson@intel.com>
    Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
    Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    Link: https://lore.kernel.org/r/20230705093025.3689748-1-tvrtko.ursulin@linux.intel.com
    Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    [PG: backport from v6.4-rt ; minor context fixup caused by b7d70b8b06ed]
    Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
    Signed-off-by: Clark Williams <williams@redhat.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/17 [
    Author: Clark Williams
    Email: clrkwllms@kernel.org
    Subject: 'Linux 6.1.33-rt11'
    Date: Mon, 12 Jun 2023 10:40:02 -0500

    Signed-off-by: Clark Williams <clrkwllms@kernel.org>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

5/17 [
    Author: Sebastian Andrzej Siewior
    Email: bigeasy@linutronix.de
    Subject: io-mapping: don't disable preempt on RT in io_mapping_map_atomic_wc().
    Date: Fri, 10 Mar 2023 17:29:05 +0100

    io_mapping_map_atomic_wc() disables preemption and pagefaults for
    historical reasons.  The conversion to io_mapping_map_local_wc(), which
    only disables migration, cannot be done wholesale because quite some call
    sites need to be updated to accommodate with the changed semantics.

    On PREEMPT_RT enabled kernels the io_mapping_map_atomic_wc() semantics are
    problematic due to the implicit disabling of preemption which makes it
    impossible to acquire 'sleeping' spinlocks within the mapped atomic
    sections.

    PREEMPT_RT replaces the preempt_disable() with a migrate_disable() for
    more than a decade.  It could be argued that this is a justification to do
    this unconditionally, but PREEMPT_RT covers only a limited number of
    architectures and it disables some functionality which limits the coverage
    further.

    Limit the replacement to PREEMPT_RT for now.  This is also done
    kmap_atomic().

    Link: https://lkml.kernel.org/r/20230310162905.O57Pj7hh@linutronix.de
    Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    Reported-by: Richard Weinberger <richard.weinberger@gmail.com>
      Link: https://lore.kernel.org/CAFLxGvw0WMxaMqYqJ5WgvVSbKHq2D2xcXTOgMCpgq9nDC-MWTQ@mail.gmail.com
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    (cherry picked from commit 7eb16f23b9a415f062db22739e59bb144e0b24ab)
    Signed-off-by: Clark Williams <clark.williams@gmail.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

6/17 [
    Author: Sebastian Andrzej Siewior
    Email: bigeasy@linutronix.de
    Subject: locking/rwbase: Mitigate indefinite writer starvation
    Date: Tue, 21 Mar 2023 17:11:40 +0100

    On PREEMPT_RT, rw_semaphore and rwlock_t locks are unfair to writers.
    Readers can indefinitely acquire the lock unless the writer fully acquired
    the lock, which might never happen if there is always a reader in the
    critical section owning the lock.

    Mel Gorman reported that since LTP-20220121 the dio_truncate test case
    went from having 1 reader to having 16 readers and that number of readers
    is sufficient to prevent the down_write ever succeeding while readers
    exist. Eventually the test is killed after 30 minutes as a failure.

    Mel proposed a timeout to limit how long a writer can be blocked until
    the reader is forced into the slowpath.

    Thomas argued that there is no added value by providing this timeout.  From
    a PREEMPT_RT point of view, there are no critical rw_semaphore or rwlock_t
    locks left where the reader must be preferred.

    Mitigate indefinite writer starvation by forcing the READER into the
    slowpath once the WRITER attempts to acquire the lock.

    Reported-by: Mel Gorman <mgorman@techsingularity.net>
    Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: Ingo Molnar <mingo@kernel.org>
    Acked-by: Mel Gorman <mgorman@techsingularity.net>
    Link: https://lore.kernel.org/877cwbq4cq.ffs@tglx
    Link: https://lore.kernel.org/r/20230321161140.HMcQEhHb@linutronix.de
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    (cherry picked from commit 286deb7ec03d941664ac3ffaff58814b454adf65)
    Signed-off-by: Clark Williams <clark.williams@gmail.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

7/17 [
    Author: Paolo Abeni
    Email: pabeni@redhat.com
    Subject: revert: "softirq: Let ksoftirqd do its job"
    Date: Mon, 8 May 2023 08:17:44 +0200

    Due to the mentioned commit, when the ksoftirqd processes take charge
    of softirq processing, the system can experience high latencies.

    In the past a few workarounds have been implemented for specific
    side-effects of the above:

    commit 1ff688209e2e ("watchdog: core: make sure the watchdog_worker is not deferred")
    commit 8d5755b3f77b ("watchdog: softdog: fire watchdog even if softirqs do not get to run")
    commit 217f69743681 ("net: busy-poll: allow preemption in sk_busy_loop()")
    commit 3c53776e29f8 ("Mark HI and TASKLET softirq synchronous")

    but the latency problem still exists in real-life workloads, see the
    link below.

    The reverted commit intended to solve a live-lock scenario that can now
    be addressed with the NAPI threaded mode, introduced with commit
    29863d41bb6e ("net: implement threaded-able napi poll loop support"),
    and nowadays in a pretty stable status.

    While a complete solution to put softirq processing under nice resource
    control would be preferable, that has proven to be a very hard task. In
    the short term, remove the main pain point, and also simplify a bit the
    current softirq implementation.

    Note that this change also reverts commit 3c53776e29f8 ("Mark HI and
    TASKLET softirq synchronous") and commit 1342d8080f61 ("softirq: Don't
    skip softirq execution when softirq thread is parking"), which are
    direct follow-ups of the feature commit. A single change is preferred to
    avoid known bad intermediate states introduced by a patch series
    reverting them individually.

    Link: https://lore.kernel.org/netdev/305d7742212cbe98621b16be782b0562f1012cb6.camel@redhat.com/
    Signed-off-by: Paolo Abeni <pabeni@redhat.com>
    Tested-by: Jason Xing <kerneljasonxing@gmail.com>
    Reviewed-by: Jakub Kicinski <kuba@kernel.org>
    Reviewed-by: Eric Dumazet <edumazet@google.com>
    Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    Link: https://lore.kernel.org/r/57e66b364f1b6f09c9bc0316742c3b14f4ce83bd.1683526542.git.pabeni@redhat.com
    Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    (cherry picked from commit b8a04a538ed4755dc97c403ee3b8dd882955c98c)
    Signed-off-by: Clark Williams <clark.williams@gmail.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

8/17 [
    Author: Peter Zijlstra
    Email: peterz@infradead.org
    Subject: debugobjects,locking: Annotate debug_object_fill_pool() wait type violation
    Date: Tue, 25 Apr 2023 17:03:13 +0200

    There is an explicit wait-type violation in debug_object_fill_pool()
    for PREEMPT_RT=n kernels which allows them to more easily fill the
    object pool and reduce the chance of allocation failures.

    Lockdep's wait-type checks are designed to check the PREEMPT_RT
    locking rules even for PREEMPT_RT=n kernels and object to this, so
    create a lockdep annotation to allow this to stand.

    Specifically, create a 'lock' type that overrides the inner wait-type
    while it is held -- allowing one to temporarily raise it, such that
    the violation is hidden.

    Reported-by: Vlastimil Babka <vbabka@suse.cz>
    Reported-by: Qi Zheng <zhengqi.arch@bytedance.com>
    Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
    Tested-by: Qi Zheng <zhengqi.arch@bytedance.com>
    Link: https://lkml.kernel.org/r/20230429100614.GA1489784@hirez.programming.kicks-ass.net
    (cherry picked from commit 0cce06ba859a515bd06224085d3addb870608b6d)
    Signed-off-by: Clark Williams <clark.williams@gmail.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

9/17 [
    Author: Wander Lairson Costa
    Email: wander@redhat.com
    Subject: sched: avoid false lockdep splat in put_task_struct()
    Date: Wed, 14 Jun 2023 09:23:22 -0300

    In put_task_struct(), a spin_lock is indirectly acquired under the kernel
    stock. When running the kernel in real-time (RT) configuration, the
    operation is dispatched to a preemptible context call to ensure
    guaranteed preemption. However, if PROVE_RAW_LOCK_NESTING is enabled
    and __put_task_struct() is called while holding a raw_spinlock, lockdep
    incorrectly reports an "Invalid lock context" in the stock kernel.

    This false splat occurs because lockdep is unaware of the different
    route taken under RT. To address this issue, override the inner wait
    type to prevent the false lockdep splat.

    Signed-off-by: Wander Lairson Costa <wander@redhat.com>
    Suggested-by: Oleg Nesterov <oleg@redhat.com>
    Suggested-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    Suggested-by: Peter Zijlstra <peterz@infradead.org>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Cc: Luis Goncalves <lgoncalv@redhat.com>
    Link: https://lore.kernel.org/r/20230614122323.37957-3-wander@redhat.com
    Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    (cherry picked from commit a5e446e728e89d5f5c5e427cc919bc7813c64c28)
    Signed-off-by: Clark Williams <clark.williams@gmail.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

10/17 [
    Author: Sebastian Andrzej Siewior
    Email: bigeasy@linutronix.de
    Subject: mm/page_alloc: Use write_seqlock_irqsave() instead write_seqlock() + local_irq_save().
    Date: Fri, 23 Jun 2023 22:15:17 +0200

    __build_all_zonelists() acquires zonelist_update_seq by first disabling
    interrupts via local_irq_save() and then acquiring the seqlock with
    write_seqlock(). This is troublesome and leads to problems on
    PREEMPT_RT. The problem is that the inner spinlock_t becomes a sleeping
    lock on PREEMPT_RT and must not be acquired with disabled interrupts.

    The API provides write_seqlock_irqsave() which does the right thing in
    one step.
    printk_deferred_enter() has to be invoked in non-migrate-able context to
    ensure that deferred printing is enabled and disabled on the same CPU.
    This is the case after zonelist_update_seq has been acquired.

    There was discussion on the first submission that the order should be:
    	local_irq_disable();
    	printk_deferred_enter();
    	write_seqlock();

    to avoid pitfalls like having an unaccounted printk() coming from
    write_seqlock_irqsave() before printk_deferred_enter() is invoked. The
    only origin of such a printk() can be a lockdep splat because the
    lockdep annotation happens after the sequence count is incremented.
    This is exceptional and subject to change.

    It was also pointed that PREEMPT_RT can be affected by the printk
    problem since its write_seqlock_irqsave() does not really disable
    interrupts. This isn't the case because PREEMPT_RT's printk
    implementation differs from the mainline implementation in two important
    aspects:
    - Printing happens in a dedicated threads and not at during the
      invocation of printk().
    - In emergency cases where synchronous printing is used, a different
      driver is used which does not use tty_port::lock.

    Acquire zonelist_update_seq with write_seqlock_irqsave() and then defer
    printk output.

    Fixes: 1007843a91909 ("mm/page_alloc: fix potential deadlock on zonelist_update_seq seqlock")
    Acked-by: Michal Hocko <mhocko@suse.com>
    Reviewed-by: David Hildenbrand <david@redhat.com>
    Link: https://lore.kernel.org/r/20230623201517.yw286Knb@linutronix.de
    Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    (cherry picked from commit 4d1139baae8bc4fff3728d1d204bdb04c13dbe10)
    Signed-off-by: Clark Williams <clark.williams@gmail.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

11/17 [
    Author: Sebastian Andrzej Siewior
    Email: bigeasy@linutronix.de
    Subject: bpf: Remove in_atomic() from bpf_link_put().
    Date: Wed, 14 Jun 2023 10:34:30 +0200

    bpf_free_inode() is invoked as a RCU callback. Usually RCU callbacks are
    invoked within softirq context. By setting rcutree.use_softirq=0 boot
    option the RCU callbacks will be invoked in a per-CPU kthread with
    bottom halves disabled which implies a RCU read section.

    On PREEMPT_RT the context remains fully preemptible. The RCU read
    section however does not allow schedule() invocation. The latter happens
    in mutex_lock() performed by bpf_trampoline_unlink_prog() originated
    from bpf_link_put().

    It was pointed out that the bpf_link_put() invocation should not be
    delayed if originated from close(). It was also pointed out that other
    invocations from within a syscall should also avoid the workqueue.
    Everyone else should use workqueue by default to remain safe in the
    future (while auditing the code, every caller was preemptible except for
    the RCU case).

    Let bpf_link_put() use the worker unconditionally. Add
    bpf_link_put_direct() which will directly free the resources and is used
    by close() and from within __sys_bpf().

    Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
    Link: https://lore.kernel.org/bpf/20230614083430.oENawF8f@linutronix.de
    (cherry picked from commit ab5d47bd41b1db82c295b0e751e2b822b43a4b5a)
    Signed-off-by: Clark Williams <clark.williams@gmail.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

12/17 [
    Author: Thomas Gleixner
    Email: tglx@linutronix.de
    Subject: posix-timers: Ensure timer ID search-loop limit is valid
    Date: Thu, 1 Jun 2023 20:58:47 +0200

    posix_timer_add() tries to allocate a posix timer ID by starting from the
    cached ID which was stored by the last successful allocation.

    This is done in a loop searching the ID space for a free slot one by
    one. The loop has to terminate when the search wrapped around to the
    starting point.

    But that's racy vs. establishing the starting point. That is read out
    lockless, which leads to the following problem:

    CPU0	  	      	     	   CPU1
    posix_timer_add()
      start = sig->posix_timer_id;
      lock(hash_lock);
      ...				   posix_timer_add()
      if (++sig->posix_timer_id < 0)
          			             start = sig->posix_timer_id;
         sig->posix_timer_id = 0;

    So CPU1 can observe a negative start value, i.e. -1, and the loop break
    never happens because the condition can never be true:

      if (sig->posix_timer_id == start)
         break;

    While this is unlikely to ever turn into an endless loop as the ID space is
    huge (INT_MAX), the racy read of the start value caught the attention of
    KCSAN and Dmitry unearthed that incorrectness.

    Rewrite it so that all id operations are under the hash lock.

    Reported-by: syzbot+5c54bd3eb218bb595aa9@syzkaller.appspotmail.com
    Reported-by: Dmitry Vyukov <dvyukov@google.com>
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
    Link: https://lore.kernel.org/r/87bkhzdn6g.ffs@tglx

    (cherry picked from commit 8ce8849dd1e78dadcee0ec9acbd259d239b7069f)
    Signed-off-by: Clark Williams <clark.williams@gmail.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 3ada2757f8c8987af988dc8cd7525f755571c31f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 53e612c42ce438b100505c93d8bb65e59f49895d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Bruce Ashfield
908122a77d linux-yocto/6.1: drop removed IMA option
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Paul Gortmaker
    Email: paul.gortmaker@windriver.com
    Subject: features/ima: drop now retired IMA_TRUSTED_KEYRING option
    Date: Wed, 6 Dec 2023 09:15:38 -0500

    Unfortunately linux-stable backported this:

      Subject: ima: Remove deprecated IMA_TRUSTED_KEYRING Kconfig

      From: Nayna Jain <nayna@linux.ibm.com>

      [ Upstream commit 5087fd9e80e539d2163accd045b73da64de7de95 ]

      Time to remove "IMA_TRUSTED_KEYRING".

    ...to all releases still being maintained.

    stable-queue$git grep -l 5087fd9e80e539
    releases/5.10.195/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/5.15.132/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/5.4.257/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/6.1.53/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/6.4.16/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/6.5.3/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch

    So now when someone uses the feature, it triggers a do_kernel_configcheck
    warning when the audit runs.

    We added this file way back in 2019 so this fix will be needed on all
    active branches that are using an LTS linux-stable kernel listed above.

    Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 72adeea0757a7de664092cfac6139c28c7f6e999)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit db11dfcd8304ded18fd21d7c4c2db50331402666)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Ross Burton
3c4801b91a linux-yocto: update CVE exclusions
(From OE-Core rev: d705c4071d0f829ad3348af9899e6a3a4ea3fa48)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4cfc4187ac90a4504b93a01ff6333d14928728a8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Deepthi Hemraj
4f9e22bd67 rust: Fix CVE-2023-40030
CVE:CVE-2023-40030

This converts the feature name validation check from a warning to an error

Upstream-Status: Backport from 9835622853

Reference: https://nvd.nist.gov/vuln/detail/CVE-2023-40030

(From OE-Core rev: c55e8f8b1971cc9f311b6a18a34c4c34f732177a)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Dhairya Nagodra
086f6f55c9 cve-update-nvd2-native: increase the delay between subsequent request failures
Sometimes NVD servers are unstable and return too many errors.
There is an option to have higher fetch attempts to increase the chances
of successfully fetching the CVE data.

Additionally, it also makes sense to progressively increase the delay
after a failed request to an already unstable or busy server.
The increase in delay is reset after every successful request and
the maximum delay is limited to 30 seconds.

Also, the logs are improved to give more clarity.

(From OE-Core rev: d24b1ce8485615b9359c0d319c64eb7756492cf8)

Signed-off-by: Dhairya Nagodra <dnagodra@cisco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7101d654635b707e56b0dbae8c2146b312d211ea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Dhairya Nagodra
a8768bdaf8 cve-update-nvd2-native: faster requests with API keys
As per NVD, the public rate limit is 5 requests in 30s (6s delay).
Using an API key increases the limit to 50 requests in 30s (0.6s delay).
However, NVD still recommends sleeping for several seconds so that the
other legitimate requests are serviced without denial or interruption.
Keeping the default sleep at 6 seconds and 2 seconds with an API key.

For failures, the wait time is unchanged (6 seconds).

Reference: https://nvd.nist.gov/developers/start-here#RateLimits

(From OE-Core rev: 6998b433a0b0609bbcfb99e7c8e96e5d6b534921)

Signed-off-by: Dhairya Nagodra <dnagodra@cisco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 5c32e2941d1dc3d04a799a1b7cbd275c1ccc9e79)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Peter Marko
dc31801ddb cve-update-nvd2-native: make number of fetch attemtps configurable
Sometimes NVD servers are unstable and return too many errors.

Last time we increased number of attempts from 3 to 5, but
further increasing is not reasonable as in normal case
too many retries is just abusive.

Keep retries low as default and allow to increase as needed.

(From OE-Core rev: 3573b0ab09359f7eca37fd86400dc3945f5fa7c1)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b6fd8043d83b99000054ab6ad2c745d07c6bcc1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Peter Marko
29dd0df225 cve-update-nvd2-native: remove unused variable CVE_SOCKET_TIMEOUT
This variable is not referenced in oe-core anymore.

(From OE-Core rev: 5e545e1226dbec48e7c60735ec5969ec0e356f21)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 905b45a814cb33327503b793741c19b44c8550b3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Richard Purdie
0b4769de4a bitbake: lib/bb: Add workaround for libgcc issues with python 3.8 and 3.9
With python 3.8 and 3.9, we see intermittent errors of:

libgcc_s.so.1 must be installed for pthread_cancel to work
Aborted (core dumped)

which seem related to:

https://stackoverflow.com/questions/64797838/libgcc-s-so-1-must-be-installed-for-pthread-cancel-to-work
https://bugs.ams1.psf.io/issue42888

These tend to occur on debian 11 and ubuntu 20.04.

Workaround this by ensuring libgcc is preloaded in all cases.

(Bitbake rev: 72bf75f0b2e7f36930185e18a1de8277ce7045d8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 04:09:43 -10:00
Richard Purdie
958a1ab3d0 testimage: Exclude wtmp from target-dumper commands
wtmp is filled with binary data which the run_serial command can't cope with.
Catting this results in confusion of the serial interface and potentially large
backlogs of data in the buffers which can hang qemu.

Exclude the problematic files from the command.

(From OE-Core rev: 1a14503ff5b4bc8192ae1b0d22622b8aefb718be)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 599ac08a6f6fb3f6a89a897c8e06367c63c2f979)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-22 05:23:26 -10:00
Rasmus Villemoes
c2bf788604 perf: lift TARGET_CC_ARCH modification out of security_flags.inc
Building perf without security_flags.inc being included in one's
distro results in the buildpaths warning

WARNING: perf-1.0-r9 do_package_qa: QA Issue: File /usr/bin/trace in
package perf contains reference to TMPDIR

because the ${DEBUG_PREFIX_MAP} does not get used. Most recipes get
that from CFLAGS, but the perf recipe explicitly unsets that.

Now ${SELECTED_OPTIMIZATION} of course contains more than just
${DEBUG_FLAGS}/${DEBUG_PREFIX_MAP}. For most TUs, perf's build system
adds its own optimization flags (-O6 for odd reasons), so for those
including the -O2 or -Og doesn't change anything. But looking at the
.o.cmd files show that there are some TUs which currently get built
without any -O flag. So for those adding the distro's
SELECTED_OPTIMIZATION seem to be the right thing to do.

(cherry-picked from Oe-Core rev: aa01c9122ef4a2159df503ef6ed25e802277f13a)

(From OE-Core rev: 34f2f67055a9a29765629abef28ffa6b66c8ed41)

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-22 05:23:26 -10:00
Sundeep KOKKONDA
e0aac6bc37 binutils: stable 2.41 branch updates
Below commits on binutils-2.41 stable branch are updated.
eb49941e7e1 Gold/MIPS: Add targ_extra_size=64 for mips32 triples
c27eff41737 Gold/MIPS: Use EM_MIPS instead of EM_MIPS_RS3_LE for little endian
7fe76f02413 x86-64: fix suffix-less PUSH of symbol address

(From OE-Core rev: 8408a44331a0c9e5ea86d822cebec06dcf495694)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-22 05:23:26 -10:00
Sundeep KOKKONDA
4941042518 glibc: stable 2.38 branch updates
Below commits on glibc-2.38 stable branch are updated.
44f757a636 LoongArch: Delete excessively allocated memory.
bf5aa419cb elf: Fix wrong break removal from 8ee878592c
63dbbc5c52 sysdeps: sem_open: Clear O_CREAT when semaphore file is expected to exist [BZ #30789]
1e04dcec49 Revert "elf: Move l_init_called_next to old place of l_text_end in link map"
719866ab2f Revert "elf: Always call destructors in reverse constructor order (bug 30785)"
e0b6c9706c Revert "elf: Remove unused l_text_end field from struct link_map"

(From OE-Core rev: 88e95c24c4b7b440e4ab4653fb93bddcb7524a58)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-22 05:23:26 -10:00
Wang Mingyu
55e874099a ghostscript: upgrade 10.02.0 -> 10.02.1
upgrade include CVE-2023-46751.

(cherry pick from Oe-Core rev: 9492c2d51a08fbd4c107540a5a833b1a3fb70504 )

(From OE-Core rev: a26c9acc8a853bfa13f08916c596a52da26088e4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-22 05:23:26 -10:00
Lee Chee Yang
2ce6765f8b perl: 5.38.0 -> 5.38.2
update include fix for CVE-2023-47100.

(From OE-Core rev: d429d25beb8d4afba106b6dec957269356cb57ef)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-22 05:23:26 -10:00
Lee Chee Yang
e2d2043246 perlcross: update to 1.5.2
remove upstreamed 0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch

(From OE-Core rev: 70b521284f8dbe3b38a2be9b312c632b3a51ef73)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-22 05:23:26 -10:00
Lee Chee Yang
664c3401c5 curl: fix CVE-2023-46218
(From OE-Core rev: 000b2a380021f2c7fd102b6523a986c2e7ad20ae)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-22 05:23:26 -10:00
Lee Chee Yang
91bd70dbea grub: fix CVE-2023-4692 CVE-2023-4693
checkout CVE-2023-4692.patch from OE-Core rev:
c89835b37366dde6c74f8221fd5a295ecabf8225

checkout CVE-2023-4693.patch from OE-Core rev:
1bbbba098dba85ec1b875512d75f7eca9026e781

(From OE-Core rev: 915208a01ce3a5fc6a0c636225e96d385709986b)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-22 05:23:26 -10:00
Lee Chee Yang
84dac0e607 avahi: add CVE-2023-38473.patch to SRC_URL
patch file added since Oe-Core rev a9203c46cd64c3ec5e5b00e381bbac85733f85df but not part of SRC_URI.

(From OE-Core rev: c9abf1f8395692080576d0fe9b2f28ea2240741b)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-22 05:23:25 -10:00
Marta Rybczynska
53387c5ca3 bitbake: toastergui: verify that an existing layer path is given
Verify that an existing layer path was given when adding a new
layer.

Manually using the shell for globbing is unnecessary, use the glob
function instead for cleaner code.

(Bitbake rev: f02c3ccc46bfc78ff3ec577b84247a37cbb1a58c)

Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:27:18 -10:00
Peter Kjellerstedt
59c56c080d bitbake: command: Make parseRecipeFile() handle virtual recipes correctly
Running `devtool search gcc` would result in errors like this for
virtual recipes:

  ERROR: When reparsing
  .../meta/recipes-devtools/gcc/libgcc-initial_13.2.bb:do_populate_sysroot,
  the basehash value changed from
  b1cd809ed98cef9db0fb1b17d34c4083e739c336f9d5619b89715b0294d81af5 to
  44c2f92781dc4a20e98b7bb4724e204e64b101905fa75e71241a574b725997dc. The
  metadata is not deterministic and this needs to be fixed.
  ERROR: The following commands may help:
  ERROR: $ bitbake libgcc-initial -cdo_populate_sysroot -Snone
  ERROR: Then:
  ERROR: $ bitbake libgcc-initial -cdo_populate_sysroot -Sprintdiff

The reason was the newly introduced :layer-<layername> override, which
is used, e.g., in meta/classes-global/insane.bbclass to add the
patch-status QA test only for the meta layer:

  ERROR_QA:append:layer-core = " patch-status"

When tinfoil parsed the recipes using the parseRecipeFile() function, it
failed to properly identify the layername for virtual recipes, which
resulted in the error above.

The correct thing to do is to make parseRecipeFile() call
bb.cache.virtualfn2realfn() to convert the virtual filename into a real
filename and virtual class.

(Bitbake rev: 4684d8886834595c3b81d97befecad69ac73545f)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:27:18 -10:00
Michael Opdenacker
1a66f16c14 test-manual: use working example
(From yocto-docs rev: fac88b9e80646a68b31975c915a718a9b6b2b439)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:18:23 -10:00
Lee Chee Yang
0152e49589 migration-guides: add release notes for 4.0.15
(From yocto-docs rev: 971a428a14adc7f438489670eb7cf8a4fc13568f)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:18:23 -10:00
Michael Opdenacker
a41c9ae7aa dev-manual: runtime-testing: fix test module name
(From yocto-docs rev: d2d114ea2ba1994d244ce4af92119158ac1954bf)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:18:23 -10:00
Simone Weiß
815ef8ecb3 manuals: brief-yoctoprojectqs: align variable order with default local.conf
Align the order from `BB_SIGNATURE_HANDLER` to `SSTATE_MIRRORS` in Quick Build
with the order in the default local conf. While trivial it is easier to find,
if the order matches.

(From yocto-docs rev: 80af32ab4d5ff4e7ee834477da748f2ba5bdb6de)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:18:23 -10:00
Lee Chee Yang
ad02f70585 migration-guides: reword fix in release-notes-4.3.1
Reword a fix to align with the final release notes.

(From yocto-docs rev: 290063679c2f67b022a19255031b8d3293508935)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:18:23 -10:00
Michael Opdenacker
e19a175f46 test-manual: add or improve hyperlinks
(From yocto-docs rev: 134fe8fe8ce7e310d65a1e9d8ec8a9e16d87704c)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:18:23 -10:00
Michael Opdenacker
e5082d1c19 test-manual: explicit or fix file paths
(From yocto-docs rev: 090276305a23acb8548c74cc2eeb0a23970d7b42)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:18:23 -10:00
Michael Opdenacker
5a7d733984 test-manual: add links to python unittest
Better than using "python unittest" without any
special formatting.

(From yocto-docs rev: b8771fb08b5efc7e6f2b4dbb5bd4df2bb1942ecf)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:18:23 -10:00
Michael Opdenacker
f04a8b052f test-manual: resource updates
(From yocto-docs rev: deb482a93932b163e82f0c78025a8504d360692d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:18:23 -10:00
Michael Opdenacker
12bb768b27 test-manual: text and formatting fixes
(From yocto-docs rev: b3ac0e3657d97c0d437f87ee7ce620b507a88f56)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:18:23 -10:00
Peter Kjellerstedt
5165ecaa14 dev-manual: Discourage the use of SRC_URI[md5sum]
SRC_URI[md5sum] has been deprecated for a long time. Discourage its use
by removing it from examples and note that it should be replaced by
SRC_URI[sha256sum] when updating recipes.

Also mention that bitbake supports other checksums, though they are not
commonly used.

(From yocto-docs rev: 99d176aa9bd88750eab9314b9d8c941abeff6726)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:18:23 -10:00
Paul Barker
6f8cbeed02 ref-manual: Fix reference to MIRRORS/PREMIRRORS defaults
After the following meta-yocto commits, MIRRORS & PREMIRRORS are no
longer set in the poky distro config file:

  67b79df4fbff ("poky.conf: remove redundant MIRRORS")
  1b71a3b9418f ("poky: Drop PREMIRRORS entries for scms")

(From yocto-docs rev: 6e9b733ff83533da6b59af5073cc7efa93406ac9)

Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:18:23 -10:00
Lee Chee Yang
a6340ebd3c migration-guide: add release notes for 4.0.14
(From yocto-docs rev: bd6837e48e473d2e3ead75991c9465a201619bd2)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:18:23 -10:00
Michael Opdenacker
9fe70d68fc manuals: fix URL
[YOCTO #15279]

(From yocto-docs rev: 4c280217729cd7543c0fc4b4a5299db2e95d8cda)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by:  Steve Landherr <steve-yocto@chiquapin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:18:23 -10:00
Michael Opdenacker
97c06bd351 ref-manual: releases.svg: update nanbield release status
- nanbield is now released
- update the start and end dates

(From yocto-docs rev: 2fa71834987a5954ccef8bd2747431022c96533e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:18:23 -10:00
Lee Chee Yang
e20b20060a migration-guide: add release notes for 4.2.4
release notes based on 4.2.4 rc3.

(From yocto-docs rev: 9f4d336196380201d567d8b9a66f109d82ce3e67)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:18:23 -10:00
Michael Opdenacker
5f937d6bc1 dev-manual: layers: update link to YP Compatible form
(From yocto-docs rev: 4f97b922b360931b6b3f3da8659d7bad5b470c80)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Megan Knight <megankn@amazon.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:18:23 -10:00
Justin Bronder
6891ec882c contributor-guide: add License-Update tag
Porting from the old wiki
https://www.openembedded.org/index.php?title=Commit_Patch_Message_Guidelines&oldid=10935#Describing_license_changes

(From yocto-docs rev: 42bfd6eba02d90493a3d10f053e1862b6467b23a)

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:18:23 -10:00
Michael Opdenacker
26124fcc41 contributor-guide: fix command option
"--subject-prefix" applies to "git format-patch", not "git send-email"

(From yocto-docs rev: 870935bb94f40adbd61220bdb4b6f1eeaaea1ece)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:18:23 -10:00
Michael Opdenacker
7862143282 migration-guides: release 3.5 is actually 4.0
(From yocto-docs rev: 2a38e48f774204cd444738050d8fa8c8df86839b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:18:23 -10:00
Richard Purdie
046b70083f sstate: Ensure sstate searches update file mtime
Commands like "bitbake XXX -S printdiff" search for sstate files but don't download
them. This means that local files aren't touched as the download code would do, meaning
the sstate cleanup scripts can delete them. This can then lead to obtuse build failures.

Have the search code touch local files in the same way as the main code paths would to
avoid these files disappearing.

Move the function to a common touch() function in lib/oe instead of duplicating code.

(From OE-Core rev: 427c43d8e3315fa6872feaa71d135de60c810de7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a27fc0bd5706ab5b9c68a0271fcf57377a678cdf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Dmitry Baryshkov
825972095a meson: use correct targets for rust binaries
Follow the example of rust and cargo classes and pass RUST_HOST_SYS and
RUST_BUILD_SYS to rustc's --target argument instead of bare HOST_SYS and
BUILD_SYS.

(From OE-Core rev: ea5e46a627dc7385c4d7732299618b6392b7a407)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 1471c6c076f544ccd6f0722c82878311199881a7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Peter Kjellerstedt
1a47e21fff oeqa/selftest/tinfoil: Add tests that parse virtual recipes
Running `devtool search gcc` would result in errors for virtual recipes.
The reason was the newly introduced :layer-<layername> override.

When tinfoil parsed the recipes using the parseRecipeFile() function, it
failed to properly identify the layername for virtual recipes, which
resulted in the errors.

Add tests that exercise these code paths through parseRecipeFile().

(From OE-Core rev: f415c97ad538ce046c87af3fc9eeec6599313764)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Zoltán Böszörményi
88430ae8b7 update_gtk_icon_cache: Fix for GTK4-only builds
Try to execute both gtk-update-icon-cache and
gtk4-update-icon-cache after checking whether the
commands are available.

This attempts to match what gtk-icon-cache.bbclass is doing.

This fixes running update_gtk_icon_cache during do_rootfs
for an image that contains only GTK4 related packages.

(From OE-Core rev: 9de44606319c1bcf5a0a80399073e391954dfdbe)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Ross Burton
4a256d442c linux-yocto: update CVE exclusions
(From OE-Core rev: c8b93b08f663384f358fed72b9d3d86172fae8b7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 34835847442c15ebe12970bc31b6a949e66da48e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Bruce Ashfield
d7de2161d2 linux-yocto/6.5: update to v6.5.13
Updating  to the latest korg -stable release that comprises
the following commits:

    4631960b4700 Linux 6.5.13
    a9d6c0c5a6bd net/mlx5e: Track xmit submission to PTP WQ after populating metadata map
    c712654d6f36 net/mlx5e: Avoid referencing skb after free-ing in drop path of mlx5e_sq_xmit_wqe
    2c9de867ca28 tracing: Have trace_event_file have ref counters
    1f59a2a92855 powerpc/powernv: Fix fortify source warnings in opal-prd.c
    7aded92aeb75 drm/amd/display: Change the DMCUB mailbox memory location from FB to inbox
    353bc3849241 drm/amd/display: Enable fast plane updates on DCN3.2 and above
    5b14cf37b9f0 drm/amd/display: fix a NULL pointer dereference in amdgpu_dm_i2c_xfer()
    562176ea823a drm/amd/display: Fix DSC not Enabled on Direct MST Sink
    5b37ee61b89d drm/amd/display: Guard against invalid RPTR/WPTR being set
    f3385c9b8ed4 drm/amdgpu: Fix possible null pointer dereference
    ed8fc80b1950 drm/amdgpu: lower CS errors to debug severity
    b827ed7014a0 drm/amdgpu: fix error handling in amdgpu_bo_list_get()
    7c6574dd032c drm/amdgpu: fix error handling in amdgpu_vm_init
    8c3b198fac82 drm/amdgpu: don't use ATRM for external devices
    6f6177558004 drm/amdgpu: add a retry for IP discovery init
    a5bd0c0d3189 drm/amdgpu: fix GRBM read timeout when do mes_self_test
    045d5eec88d2 drm/amdgpu: don't use pci_is_thunderbolt_attached()
    02eb46bb2150 drm/amdgpu/smu13: drop compute workload workaround
    5392874af8ab drm/amd/pm: Fix error of MACO flag setting code
    5d614170fa1f drm/i915: Flush WC GGTT only on required platforms
    1e019d6bcb44 drm/i915: Fix potential spectre vulnerability
    0990bd1ff1bf drm/i915: Bump GLK CDCLK frequency when driving multiple pipes
    9dfc6bc4a6a2 drm/i915/mtl: Support HBR3 rate with C10 phy and eDP in MTL
    59d2eee68804 drm: bridge: it66121: ->get_edid callback must not return err pointers
    f0a11733bd03 drm/amd/pm: Handle non-terminated overdrive commands.
    e3b83d87c93e ext4: fix racy may inline data check in dio write
    8b7e09f9b955 ext4: properly sync file size update after O_SYNC direct IO
    13859f9e6493 ext4: add missed brelse in update_backups
    edfb7b8d36ab ext4: remove gdb backup copy for meta bg in setup_new_flex_group_blocks
    079d796c58f2 ext4: correct the start block of counting reserved clusters
    8547701c3b0a ext4: correct return value of ext4_convert_meta_bg
    ec51fb39b173 ext4: mark buffer new if it is unwritten to avoid stale data exposure
    a9ceb3e26c7c ext4: correct offset of gdb backup in non meta_bg group to update_backups
    aaa3bd727255 ext4: apply umask if ACL support is disabled
    d1769a4c92b3 ext4: make sure allocate pending entry not fail
    a937cf1c90d1 ext4: fix race between writepages and remount
    cdbfce536cfa Revert "net: r8169: Disable multicast filter for RTL8168H and RTL8107E"
    e33abcd82f9c media: qcom: camss: Fix csid-gen2 for test pattern generator
    51792b41ee52 media: qcom: camss: Fix invalid clock enable bit disjunction
    4122d47ad139 media: qcom: camss: Fix set CSI2_RX_CFG1_VC_MODE when VC is greater than 3
    c25c6d618eda media: qcom: camss: Fix missing vfe_lite clocks check
    d8cd7a8645c2 media: qcom: camss: Fix VFE-480 vfe_disable_output()
    e428d0f3e42f media: qcom: camss: Fix VFE-17x vfe_disable_output()
    820b967c0384 media: qcom: camss: Fix vfe_get() error jump
    2dbb91675d6b media: qcom: camss: Fix pm_domain_on sequence in probe
    967a522b5123 mmc: sdhci-pci-gli: GL9750: Mask the replay timer timeout of AER
    ddb96a13b277 r8169: add handling DASH when DASH is disabled
    89a0fc500471 r8169: fix network lost after resume on DASH systems
    533108f04a57 selftests: mptcp: fix fastclose with csum failure
    c8e74731fff0 mptcp: fix setsockopt(IP_TOS) subflow locking
    e729027888e9 mptcp: add validity check for sending RM_ADDR
    342b528c0e84 mptcp: deal with large GSO size
    9a7982259028 mm: kmem: drop __GFP_NOFAIL when allocating objcg vectors
    77227943445e mm: fix for negative counter: nr_file_hugepages
    641061405579 mmc: sdhci-pci-gli: A workaround to allow GL9750 to enter ASPM L1.2
    5fb6a480a0fa riscv: kprobes: allow writing to x0
    c93d4b75f58e riscv: correct pt_level name via pgtable_l5/4_enabled
    85efe51890ef riscv: mm: Update the comment of CONFIG_PAGE_OFFSET
    05b2911ac941 riscv: put interrupt entries into .irqentry.text
    8d497507ce26 riscv: Using TOOLCHAIN_HAS_ZIHINTPAUSE marco replace zihintpause
    9c3115d8549a LoongArch: Mark __percpu functions as always inline
    4ce011ebb640 NFSD: Update nfsd_cache_append() to use xdr_stream
    90ceb1e85869 nfsd: fix file memleak on client_opens_release
    3cdc6b90ef59 dm-verity: don't use blocking calls from tasklets
    f6af719e355d dm-bufio: fix no-sleep mode
    02d2f24aaeee drm/mediatek/dp: fix memory leak on ->get_edid callback error path
    d82dbbb169f2 drm/mediatek/dp: fix memory leak on ->get_edid callback audio detection
    f310c613afdf media: ccs: Correctly initialise try compose rectangle
    da2617b32b4d media: venus: hfi: add checks to handle capabilities from firmware
    bc3ade714672 media: venus: hfi: fix the check to handle session buffer requirement
    8da410e429d2 media: venus: hfi_parser: Add check to keep the number of codecs within range
    c7f45dd39318 media: sharp: fix sharp encoding
    3163d9bf64e5 media: lirc: drop trailing space from scancode transmit
    9de787139b02 f2fs: split initial and dynamic conditions for extent_cache
    6fca08fd3085 f2fs: avoid format-overflow warning
    ea8df211997b f2fs: set the default compress_level on ioctl
    e08a8d94f982 f2fs: do not return EFSCORRUPTED, but try to run online repair
    3ec63129137e i2c: i801: fix potential race in i801_block_transaction_byte_by_byte
    1c5ffd27c542 gfs2: don't withdraw if init_threads() got interrupted
    e92237ba0704 net: phylink: initialize carrier state at creation
    55c7b046cd1f net: dsa: lan9303: consequently nested-lock physical MDIO
    82c9a9456b82 net: ethtool: Fix documentation of ethtool_sprintf()
    d67fce6b1368 s390/ap: fix AP bus crash on early config change callback invocation
    bc73f5ef079c i2c: designware: Disable TX_EMPTY irq while waiting for block length byte
    0e094322aad6 sbsa_gwdt: Calculate timeout with 64-bit math
    3a0a398bedeb lsm: fix default return value for inode_getsecctx
    b564c10d4e95 lsm: fix default return value for vm_enough_memory
    695a358a3905 Revert "i2c: pxa: move to generic GPIO recovery"
    db205ac66fda Revert ncsi: Propagate carrier gain/loss events to the NCSI controller
    30fb55283841 ALSA: hda/realtek: Add quirks for HP Laptops
    d9d0d1c1d880 ALSA: hda/realtek: Enable Mute LED on HP 255 G10
    1bc8a597307c ALSA: hda/realtek - Enable internal speaker of ASUS K6500ZC
    966b51c45080 ALSA: hda/realtek - Add Dell ALC295 to pin fall back table
    96865995ccd2 ALSA: hda/realtek: Enable Mute LED on HP 255 G8
    746820e6963a ALSA: info: Fix potential deadlock at disconnection
    0b214ccbc778 btrfs: zoned: wait for data BG to be finished on direct IO allocation
    f13f25184a9f xfs: recovery should not clear di_flushiter unconditionally
    64af62c8977a cifs: Fix encryption of cleared, but unset rq_iter data buffers
    50f4b57fc561 cifs: do not reset chan_max if multichannel is not supported at mount
    48a8c1891851 cifs: force interface update before a fresh session setup
    9bf434f12957 cifs: reconnect helper should set reconnect for the right channel
    b9bb9607b1fc smb: client: fix potential deadlock when releasing mids
    6db94d08359c smb: client: fix use-after-free in smb2_query_info_compound()
    89929ea46f9c smb: client: fix use-after-free bug in cifs_debug_data_proc_show()
    ef97cb5e93f7 smb3: fix caching of ctime on setxattr
    2d29a938bf62 smb3: allow dumping session and tcon id to improve stats analysis and debugging
    e0748969c6d7 smb3: fix touch -h of symlink
    34e11da3eb40 smb3: fix creating FIFOs when mounting with "sfu" mount option
    e28562567c72 fs: add ctime accessors infrastructure
    45fa91b09bdb xhci: Enable RPM on controllers that support low-power states
    b57e254d5ef4 parisc/power: Fix power soft-off when running on qemu
    339ac29c6811 parisc/pgtable: Do not drop upper 5 address bits of physical address
    c1b8ef9d7b8f parisc: Prevent booting 64-bit kernels on PA1.x machines
    6fc3231df968 mm/hugetlb: use nth_page() in place of direct struct page manipulation
    45b910169533 mm/hugetlb: prepare hugetlb_follow_page_mask() for FOLL_PIN
    a231a59ec94c rcutorture: Fix stuttering races and other issues
    c85633590547 torture: Make torture_hrtimeout_ns() take an hrtimer mode parameter
    05eb10004221 torture: Move stutter_wait() timeouts to hrtimers
    3bdabd7be640 torture: Make torture_hrtimeout_*() use TASK_IDLE
    aac54ca1a64c torture: Add lock_torture writer_fifo module parameter
    525bcb9c290c torture: Add a kthread-creation callback to _torture_create_kthread()
    ecc89436729b PCI: Lengthen reset delay for VideoPropulsion Torrent QN16e card
    776edaebd616 PCI: qcom-ep: Add dedicated callback for writing to DBI2 registers
    b5b24f7693fe pmdomain: imx: Make imx pgc power domain also set the fwnode
    d2cc57f71327 pmdomain: amlogic: Fix mask for the second NNA mem PD domain
    47ceb5151c49 pmdomain: bcm: bcm2835-power: check if the ASB register is equal to enable
    37179fcc916b cxl/port: Fix delete_endpoint() vs parent unregistration race
    92ce68f7db0a cxl/region: Fix x1 root-decoder granularity calculations
    276c11fba093 i3c: master: svc: fix random hot join failure since timeout error
    d85cce9a5cbc i3c: master: svc: fix SDA keep low when polling IBIWON timeout happen
    ccf8c93a3cdb i3c: master: svc: fix check wrong status register in irq handler
    de3f849e2fb9 i3c: master: svc: fix ibi may not return mandatory data byte
    f448576547a1 i3c: master: svc: fix wrong data return when IBI happen during start frame
    3cce94303f3d i3c: master: svc: fix race condition in ibi work thread
    7dc6161114a3 i3c: master: cdns: Fix reading status register
    9090c5537c93 cxl/region: Do not try to cleanup after cxl_region_setup_targets() fails
    3c6facb35781 mtd: cfi_cmdset_0001: Byte swap OTP info
    b3759b87052f mm: make PR_MDWE_REFUSE_EXEC_GAIN an unsigned long
    cabf0ae76cc5 mm/memory_hotplug: use pfn math in place of direct struct page manipulation
    bec1ed638f26 mm/cma: use nth_page() in place of direct struct page manipulation
    569955a7bfa9 s390/cmma: fix detection of DAT pages
    61c903a28d73 s390/mm: add missing arch_set_page_dat() call to vmem_crst_alloc()
    6c4a91f9bb4a dmaengine: stm32-mdma: correct desc prep when channel running
    5f74466e7a1e mcb: fix error handling for different scenarios when parsing
    b2f00346f57b driver core: Release all resources during unbind before updating device links
    6d6b2578403a tracing: Have the user copy of synthetic event address use correct context
    1d221014dba1 selftests/clone3: Fix broken test under !CONFIG_TIME_NS
    8c3fa52a46ff i2c: core: Run atomic i2c xfer when !preemptible
    f81088082b15 kernel/reboot: emergency_restart: Set correct system_state
    21468aca2b52 quota: explicitly forbid quota files from being encrypted
    3925c0fb5932 jbd2: fix potential data lost in recovering journal raced with synchronizing fs bdev
    e0fe12248779 ASoC: codecs: wsa-macro: fix uninitialized stack variables with name prefix
    19ed109e1aba hid: lenovo: Resend all settings on reset_resume for compact keyboards
    496c5ca14f39 selftests/resctrl: Reduce failures due to outliers in MBA/MBM tests
    49ff765672bb selftests/resctrl: Move _GNU_SOURCE define into Makefile
    a91a4e52bfe7 selftests/resctrl: Remove duplicate feature check from CMT test
    23e60a15bbd0 selftests/resctrl: Fix uninitialized .sa_flags
    6f33bfaa762b ASoC: codecs: wsa883x: make use of new mute_unmute_on_trigger flag
    94da565664b0 ASoC: soc-dai: add flag to mute and unmute stream during trigger
    e31eb7d9b7e4 netfilter: nf_tables: split async and sync catchall in two functions
    e3e68e617bfa netfilter: nf_tables: remove catchall element in GC sync path
    0d29174959bc ima: detect changes to the backing overlay file
    f2f0144e826b ima: annotate iint mutex to avoid lockdep false positive warnings
    4ce77b023d42 mfd: qcom-spmi-pmic: Fix revid implementation
    5487d746f77c mfd: qcom-spmi-pmic: Fix reference leaks in revid helper
    db76d11bdad1 leds: trigger: netdev: Move size check in set_device_name
    c8a439e96aaa arm64: dts: qcom: ipq6018: Fix tcsr_mutex register size
    0361d86f8a06 arm64: dts: qcom: ipq9574: Fix hwlock index for SMEM
    a7c6fa8ecdd3 ACPI: FPDT: properly handle invalid FPDT subtables
    8398f2209474 firmware: qcom_scm: use 64-bit calling convention only when client is 64-bit
    68d8d8c659ac arm64: dts: qcom: ipq8074: Fix hwlock index for SMEM
    1fe0d9fa75ce arm64: dts: qcom: ipq5332: Fix hwlock index for SMEM
    6a3866dbdcf3 thermal: intel: powerclamp: fix mismatch in get function for max_idle
    5b2ed3c04a06 btrfs: don't arbitrarily slow down delalloc if we're committing
    94fda7ef2f1c rcu: kmemleak: Ignore kmemleak false positives when RCU-freeing objects
    ca6769551657 PM: hibernate: Clean up sync_read handling in snapshot_write_next()
    54a964575b7a PM: hibernate: Use __get_safe_page() rather than touching the list
    3480c1cd3bcf dt-bindings: timer: renesas,rz-mtu3: Fix overflow/underflow interrupt names
    59fef3cc602a arm64: dts: qcom: ipq6018: Fix hwlock index for SMEM
    11b83785f525 rcu/tree: Defer setting of jiffies during stall reset
    1dc5f364e065 svcrdma: Drop connection after an RDMA Read error
    6aaf7cd8bdfe wifi: wilc1000: use vmm_table as array in wilc struct
    6a1cbc40579e PCI: exynos: Don't discard .remove() callback
    34198b3c544e PCI: kirin: Don't discard .remove() callback
    560ba0deb73e PCI/ASPM: Fix L1 substate handling in aspm_attr_store_common()
    d7769b51d85e mmc: Add quirk MMC_QUIRK_BROKEN_CACHE_FLUSH for Micron eMMC Q2J54A
    65204e28a0d0 mmc: sdhci_am654: fix start loop index for TAP value parsing
    c1008f77e6c9 mmc: vub300: fix an error code
    09d9d8b40a33 ksmbd: fix slab out of bounds write in smb_inherit_dacl()
    8434e0237913 ksmbd: handle malformed smb1 message
    b464f6c8df07 ksmbd: fix recursive locking in vfs helpers
    94e6378e1a70 clk: qcom: ipq6018: drop the CLK_SET_RATE_PARENT flag from PLL clocks
    499ebc29b6d6 clk: qcom: ipq8074: drop the CLK_SET_RATE_PARENT flag from PLL clocks
    75f9b1a3ec29 clk: visconti: Fix undefined behavior bug in struct visconti_pll_provider
    2718027d6bca clk: socfpga: Fix undefined behavior bug in struct stratix10_clock_data
    ea131894f000 powercap: intel_rapl: Downgrade BIOS locked limits pr_warn() to pr_debug()
    d3f1a2c43827 cpufreq: stats: Fix buffer overflow detection in trans_stats()
    7a238a80e03d parisc/power: Add power soft-off when running on qemu
    423d3944a2ae parisc/pdc: Add width field to struct pdc_model
    4fb88c548be1 parisc/agp: Use 64-bit LE values in SBA IOMMU PDIR table
    74d2059dc4dd arm64: module: Fix PLT counting when CONFIG_RANDOMIZE_BASE=n
    bd31e534721a arm64: Restrict CPU_BIG_ENDIAN to GNU as or LLVM IAS 15.x or newer
    d193f28146cf PCI: keystone: Don't discard .probe() callback
    01359f23420e PCI: keystone: Don't discard .remove() callback
    e0cecc2aa28d KEYS: trusted: Rollback init_trusted() consistently
    4745bd98ad9e KEYS: trusted: tee: Refactor register SHM usage
    ebd1f4898c3b sched/core: Fix RQCF_ACT_SKIP leak
    c62bad84b73d genirq/generic_chip: Make irq_remove_generic_chip() irqdomain aware
    611dda46d77d mmc: meson-gx: Remove setting of CMD_CFG_ERROR
    774de37c147f wifi: ath12k: fix dfs-radar and temperature event locking
    d908ca431e20 wifi: ath12k: fix htt mlo-offset event locking
    cf9c7d783a2b wifi: ath11k: fix gtk offload status event locking
    423762f02182 wifi: ath11k: fix htt pktlog locking
    1fd878e17501 wifi: ath11k: fix dfs radar event locking
    a9ad6fa9e582 wifi: ath11k: fix temperature event locking
    117ccba0288b regmap: Ensure range selector registers are updated after cache sync
    3055b7335604 ACPI: resource: Do IRQ override on TongFang GMxXGxx
    c85312edf701 parisc: Add nop instructions after TLB inserts
    d8cd49ff1fa3 mm/damon/sysfs: check error from damon_sysfs_update_target()
    2e4dec8e1ba6 mm/damon/sysfs-schemes: handle tried regions sysfs directory allocation failure
    fadc9f448f56 mm/damon/sysfs-schemes: handle tried region directory allocation failure
    47b6fa90875d mm/damon/core: avoid divide-by-zero during monitoring results update
    d44b509ba8af mm/damon: implement a function for max nr_accesses safe calculation
    dff884772b03 mm/damon/ops-common: avoid divide-by-zero during region hotness calculation
    771f3a57fdd1 mm/damon/lru_sort: avoid divide-by-zero in hot threshold calculation
    e93ac6410de3 dm crypt: account large pages in cc->n_allocated_pages
    369f7c467211 fbdev: stifb: Make the STI next font pointer a 32-bit signed offset
    836db2e7e456 iommufd: Fix missing update of domains_itree after splitting iopt_area
    38fae890594a watchdog: move softlockup_panic back to early_param
    81c5d125ff14 mm/damon/sysfs: update monitoring target regions for online input commit
    239a5a730e2a mm/damon/sysfs: remove requested targets when online-commit inputs
    93a063073cc4 PCI/sysfs: Protect driver's D3cold preference from user space
    5d93cb1ff604 hvc/xen: fix event channel handling for secondary consoles
    f17cba693e8a hvc/xen: fix error path in xen_hvc_init() to always register frontend driver
    b0ba80e8a6fe hvc/xen: fix console unplug
    fa71a72cd641 tty: serial: meson: fix hard LOCKUP on crtscts mode
    82ed32865a03 tty/sysrq: replace smp_processor_id() with get_cpu()
    9e4b54247cfd proc: sysctl: prevent aliased sysctls from getting passed to init
    0e8e06574ca4 audit: don't WARN_ON_ONCE(!current->mm) in audit_exe_compare()
    6ccef3ff7e79 audit: don't take task_lock() in audit_exe_compare() code path
    3eacee28b152 sched: psi: fix unprivileged polling against cgroups
    c242318d0b92 mmc: sdhci-pci-gli: GL9755: Mask the replay timer timeout of AER
    b1f329180409 KVM: x86: Fix lapic timer interrupt lost after loading a snapshot.
    d09a0eaf01b2 KVM: x86: Clear bit12 of ICR after APIC-write VM-exit
    080e6d79066f KVM: x86: Ignore MSR_AMD64_TW_CFG access
    144b8472b699 KVM: x86: hyper-v: Don't auto-enable stimer on write from user-space
    e22352ec91e2 x86/cpu/hygon: Fix the CPU topology evaluation for real
    2d0463ee5add x86/apic/msi: Fix misconfigured non-maskable MSI quirk
    4a142ea152ba x86/PCI: Avoid PME from D3hot/D3cold for AMD Rembrandt and Phoenix USB4
    72a40e561f3d crypto: x86/sha - load modules based on CPU features
    8f15a7e3c054 scsi: ufs: core: Fix racing issue between ufshcd_mcq_abort() and ISR
    07bc6e424419 scsi: qla2xxx: Fix system crash due to bad pointer access
    32e63c396f78 scsi: ufs: qcom: Update PHY settings only when scaling to higher gears
    09bcc704da4b scsi: megaraid_sas: Increase register read retry rount from 3 to 30 for selected registers
    fc3166ddfbe8 scsi: mpt3sas: Fix loop logic
    69327243558f bpf: Fix precision tracking for BPF_ALU | BPF_TO_BE | BPF_END
    a101d1262799 bpf: Fix check_stack_write_fixed_off() to correctly spill imm
    a32e62eb903a randstruct: Fix gcc-plugin performance mode to stay in group
    6cfee0c86eee powerpc/perf: Fix disabling BHRB and instruction sampling
    6066567c5bd2 perf intel-pt: Fix async branch flags
    4edc7e66c014 media: venus: hfi: add checks to perform sanity on queue pointers
    2c86b24095fc drivers: perf: Check find_first_bit() return value
    8d60852e8cc9 perf: arm_cspmu: Reject events meant for other PMUs
    bf8e10503008 i915/perf: Fix NULL deref bugs with drm_dbg() calls
    c8ace8d25274 perf/core: Fix cpuctx refcounting
    109b452cc842 cifs: fix check of rc in function generate_smb3signingkey
    eeba3f02bb99 cifs: spnego: add ';' in HOST_KEY_LEN
    95cd9b8efb1c scsi: ufs: core: Expand MCQ queue slot to DeviceQueueDepth + 1
    8c7037da3d0e tools/power/turbostat: Enable the C-state Pre-wake printing
    b309f567636a tools/power/turbostat: Fix a knl bug
    9b2e63f1bea6 macvlan: Don't propagate promisc change to lower dev in passthru
    b4c2de028ea4 net: sched: do not offload flows with a helper in act_ct
    ba8d40609562 net/mlx5e: Check return value of snprintf writing to fw_version buffer for representors
    5f36c6760cc9 net/mlx5e: Check return value of snprintf writing to fw_version buffer
    3d764c41725c net/mlx5e: Reduce the size of icosq_str
    aee07f286930 net/mlx5: Increase size of irq name buffer
    42b11d1293e5 net/mlx5e: Update doorbell for port timestamping CQ before the software counter
    647eb36aaeca net/mlx5e: Add recovery flow for tx devlink health reporter for unhealthy PTP SQ
    e729382c297e net/mlx5e: Make tx_port_ts logic resilient to out-of-order CQEs
    11bffa0c4ef2 net/mlx5: Consolidate devlink documentation in devlink/mlx5.rst
    57fb34e36fad net/mlx5e: Fix pedit endianness
    3585f0b2afda net/mlx5e: fix double free of encap_header in update funcs
    ac2dd6c892e4 net/mlx5e: fix double free of encap_header
    8b9491d50ca4 net/mlx5: Decouple PHC .adjtime and .adjphase implementations
    e87fa62ebc59 io_uring/fdinfo: remove need for sqpoll lock for thread/pid retrieval
    a533c9763c3f gve: Fixes for napi_poll when budget is 0
    cb9e4507cca7 pds_core: fix up some format-truncation complaints
    9c9d97c88536 pds_core: use correct index to mask irq
    b435b4573240 net: stmmac: avoid rx queue overrun
    c40a19f57010 net: stmmac: fix rx budget limit check
    72caa17c14b4 netfilter: nf_tables: bogus ENOENT when destroying element which does not exist
    1a605657adc5 netfilter: nf_tables: fix pointer math issue in nft_byteorder_eval()
    cbb43d024952 netfilter: nf_conntrack_bridge: initialize err to 0
    eae0b295ce16 af_unix: fix use-after-free in unix_stream_read_actor()
    b971f116733c net: ethernet: cortina: Fix MTU max setting
    458cc008c723 net: ethernet: cortina: Handle large frames
    fbe560020a5f net: ethernet: cortina: Fix max RX frame define
    87c49806a37f bonding: stop the device in bond_setup_by_slave()
    fa9dac68ce73 ptp: annotate data-race around q->head and q->tail
    e9c309ded295 blk-mq: make sure active queue usage is held for bio_integrity_prep()
    36fcea86f71d xen/events: fix delayed eoi list handling
    ebbb5baa134a ppp: limit MRU to 64K
    230dc06e2495 net: mvneta: fix calls to page_pool_get_stats
    b70f095b30ee tipc: Fix kernel-infoleak due to uninitialized TLV value
    e4514960282d net: hns3: fix VF wrong speed and duplex issue
    96f9229c8459 net: hns3: fix VF reset fail issue
    cdae6292604c net: hns3: fix variable may not initialized problem in hns3_init_mac_addr()
    be1f703f39ef net: hns3: fix out-of-bounds access may occur when coalesce info is read via debugfs
    3a948d0aed3d net: hns3: fix incorrect capability bit display for copper port
    3d7e5e30124b net: hns3: add barrier in vf mailbox reply process
    53ba90be73c1 net: hns3: fix add VLAN fail issue
    0ad883132835 xen/events: avoid using info_for_irq() in xen_send_IPI_one()
    fdd76a1e9353 tty: Fix uninit-value access in ppp_sync_receive()
    8872dc638c24 ipvlan: add ipvlan_route_v6_outbound() helper
    d239d81b660b net: set SOCK_RCU_FREE before inserting socket into hashtable
    d31958f65e48 bpf: fix precision backtracking instruction iteration
    732b237269e0 bpf: handle ldimm64 properly in check_cfg()
    9aea191c29e1 gcc-plugins: randstruct: Only warn about true flexible arrays
    ae8ea4e20067 vhost-vdpa: fix use after free in vhost_vdpa_probe()
    ba9626b4c2bb vdpa_sim_blk: allocate the buffer zeroed
    50aa75671d30 drm/i915/tc: Fix -Wformat-truncation in intel_tc_port_init
    5e43db2d8c1d gfs2: Silence "suspicious RCU usage in gfs2_permission" warning
    a00a7a028bcd riscv: provide riscv-specific is_trap_insn()
    377befc2e809 RISC-V: hwprobe: Fix vDSO SIGSEGV
    1cdb52ffd660 SUNRPC: Fix RPC client cleaned up the freed pipefs dentries
    b8919192ab62 NFSv4.1: fix SP4_MACH_CRED protection for pnfs IO
    5d215bd58b1e SUNRPC: Add an IS_ERR() check back to where it was
    3c51fac1ae19 NFSv4.1: fix handling NFS4ERR_DELAY when testing for session trunking
    37c6ca6a1931 drm/i915/mtl: avoid stringop-overflow warning
    8250fdd1daa3 mtd: rawnand: meson: check return value of devm_kasprintf()
    6fc0bc01eef1 mtd: rawnand: intel: check return value of devm_kasprintf()
    0b8fb1758ef6 SUNRPC: ECONNRESET might require a rebind
    cc0ccee308e8 dt-bindings: serial: fix regex pattern for matching serial node children
    61576b7a0f28 samples/bpf: syscall_tp_user: Fix array out-of-bound access
    923697c686e7 samples/bpf: syscall_tp_user: Rename num_progs into nr_tests
    64cdff87126d sched/core: Optimize in_task() and in_interrupt() a bit
    de9b4f65e9e2 wifi: iwlwifi: Use FW rate for non-data frames
    e651a075d817 mtd: rawnand: tegra: add missing check for platform_get_irq()
    c19a8794bf4f pwm: Fix double shift bug
    81663506ed83 drm/amdgpu: fix software pci_unplug on some chips
    5764e6c861f2 ALSA: hda/realtek: Add quirk for ASUS UX7602ZM
    1acf0293d713 drm/qxl: prevent memory leak
    4e35ae99f85d ASoC: ti: omap-mcbsp: Fix runtime PM underflow warnings
    fe4eb2157d8c i2c: dev: copy userspace array safely
    1493baaf09e3 riscv: VMAP_STACK overflow detection thread-safe
    c99fff688529 kgdb: Flush console before entering kgdb on panic
    6d8653b1a7a8 drm/amd/display: Avoid NULL dereference of timing generator
    10ec5a97f8f5 media: imon: fix access to invalid resource for the second interface
    163c0a38dfaf media: ccs: Fix driver quirk struct documentation
    359f6509b342 media: cobalt: Use FIELD_GET() to extract Link Width
    ba5c85a4f30c gfs2: fix an oops in gfs2_permission
    212f112fe5e9 gfs2: ignore negated quota changes
    6928a428218e media: ipu-bridge: increase sensor_name size
    be36843c9691 media: vivid: avoid integer overflow
    93bddd6529f1 media: gspca: cpia1: shift-out-of-bounds in set_flicker
    3cb79a365e7c i3c: master: mipi-i3c-hci: Fix a kernel panic for accessing DAT_data.
    017278f14114 virtio-blk: fix implicit overflow on virtio_max_dma_size
    ef0de19402e5 i2c: sun6i-p2wi: Prevent potential division by zero
    43306cc76119 i2c: fix memleak in i2c_new_client_device()
    f10b93471818 i2c: i801: Add support for Intel Birch Stream SoC
    7c2b91b30d74 i3c: mipi-i3c-hci: Fix out of bounds access in hci_dma_irq_handler
    454a176943a2 9p: v9fs_listxattr: fix %s null argument warning
    e0f8790383ef 9p/trans_fd: Annotate data-racy writes to file::f_flags
    a65245d663ee usb: gadget: f_ncm: Always set current gadget in ncm_bind()
    95d3f58e1d4e usb: host: xhci: Avoid XHCI resume delay if SSUSB device is not present
    ecf58b678d4b f2fs: fix error handling of __get_node_page
    184b4e42d929 f2fs: fix error path of __f2fs_build_free_nids
    38f43d43f20a soundwire: dmi-quirks: update HP Omen match
    5b13bb603d05 usb: ucsi: glink: use the connector orientation GPIO to provide switch events
    5a6afa6a8427 usb: dwc3: core: configure TX/RX threshold for DWC3_IP
    11fbc8357820 phy: qualcomm: phy-qcom-eusb2-repeater: Zero out untouched tuning regs
    d86b03dc9041 phy: qualcomm: phy-qcom-eusb2-repeater: Use regmap_fields
    5fe0d30ecdc4 dt-bindings: phy: qcom,snps-eusb2-repeater: Add magic tuning overrides
    4a24a3182624 tty: vcc: Add check for kstrdup() in vcc_probe()
    5440e83534ee thunderbolt: Apply USB 3.x bandwidth quirk only in software connection manager
    b028f89c56e9 iio: adc: stm32-adc: harden against NULL pointer deref in stm32_adc_probe()
    d6703d4a0686 mfd: intel-lpss: Add Intel Lunar Lake-M PCI IDs
    807ee5504236 exfat: support handle zero-size directory
    e9cf5b36ef98 HID: Add quirk for Dell Pro Wireless Keyboard and Mouse KM5221W
    5b6af0a7196a crypto: hisilicon/qm - prevent soft lockup in receive loop
    9e7c0059fbe1 ASoC: Intel: soc-acpi-cht: Add Lenovo Yoga Tab 3 Pro YT3-X90 quirk
    4113955cb689 PCI: Use FIELD_GET() in Sapphire RX 5600 XT Pulse quirk
    4c525492f1c5 misc: pci_endpoint_test: Add Device ID for R-Car S4-8 PCIe controller
    1567af9a411c PCI: dwc: Add missing PCI_EXP_LNKCAP_MLW handling
    89973bbce2c8 PCI: dwc: Add dw_pcie_link_set_max_link_width()
    27622f8b50ba PCI: Disable ATS for specific Intel IPU E2000 devices
    0ac15627471b PCI: Extract ATS disabling to a helper function
    5bb6d731d45e PCI: Use FIELD_GET() to extract Link Width
    f6fe7261b92b scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()
    668b8ec30762 PCI: Do error check on own line to split long "if" conditions
    db8e4d8567a7 atm: iphase: Do PCI error checks on own line
    4faeebe638ca PCI: mvebu: Use FIELD_PREP() with Link Width
    7f7d54926b39 PCI: tegra194: Use FIELD_GET()/FIELD_PREP() with Link Width fields
    def5e864ca2d gpiolib: of: Add quirk for mt2701-cs42448 ASoC sound
    fe7c1a0c2b25 ALSA: hda: Fix possible null-ptr-deref when assigning a stream
    c23ff8ea21bd ARM: 9320/1: fix stack depot IRQ stack filter
    9de5ae56f4f3 HID: lenovo: Detect quirk-free fw on cptkbd and stop applying workaround
    665b44e55c27 jfs: fix array-index-out-of-bounds in diAlloc
    88b7894a8f87 jfs: fix array-index-out-of-bounds in dbFindLeaf
    dca403bb035a fs/jfs: Add validity check for db_maxag and db_agpref
    491085258185 fs/jfs: Add check for negative db_l2nbperpage
    d2af4ef80601 scsi: ibmvfc: Remove BUG_ON in the case of an empty event pool
    75a2656260fe scsi: hisi_sas: Set debugfs_dir pointer to NULL after removing debugfs
    b3e52db0e9d1 RDMA/hfi1: Use FIELD_GET() to extract Link Width
    f5437f4a3ec9 ASoC: SOF: ipc4: handle EXCEPTION_CAUGHT notification from firmware
    e134f3aba98e crypto: pcrypt - Fix hungtask for PADATA_RESET
    355946538c39 ASoC: SOF: Pass PCI SSID to machine driver
    e670059e8c20 ASoC: soc-card: Add storage for PCI SSID
    0adc6613c263 ASoC: mediatek: mt8188-mt6359: support dynamic pinctrl
    9da3382085dc selftests/efivarfs: create-read: fix a resource leak
    a7e2f27557df arm64: dts: ls208xa: use a pseudo-bus to constrain usb dma size
    5b4574b663d0 drm/amd: check num of link levels when update pcie param
    3b0135937936 drm/amd/display: fix num_ways overflow error
    1f20cb1da4dd drm/amd: Disable PP_PCIE_DPM_MASK when dynamic speed switching not supported
    820daf9ffe2b drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL
    d33a35b13cbf drm/amdkfd: Fix shift out-of-bounds issue
    16f77d4264c4 drm/panel: st7703: Pick different reset sequence
    8c6c85a07376 drm/amdgpu/vkms: fix a possible null pointer dereference
    22d7ec972cd9 drm/radeon: fix a possible null pointer dereference
    9268bfd76beb drm/panel/panel-tpo-tpg110: fix a possible null pointer dereference
    4fa930ba046d drm/panel: fix a possible null pointer dereference
    b0702ee4d811 drm/amdgpu: Fix potential null pointer derefernce
    7c68283f3166 drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tonga
    6dffdddfca81 drm/amd: Fix UBSAN array-index-out-of-bounds for SMU7
    dec5469ce9f5 drm/msm/dp: skip validity check for DP CTS EDID checksum
    1eacb4c96e73 drm: vmwgfx_surface.c: copy user-array safely
    301e597e7b81 drm_lease.c: copy user-array safely
    c7acf02df167 kernel: watch_queue: copy user-array safely
    b0ed017a2b97 kernel: kexec: copy user-array safely
    5562f0a42844 string.h: add array-wrappers for (v)memdup_user()
    811539a2ec93 drm/amd/display: use full update for clip size increase of large plane source
    e9b638de04b0 drm/amd: Update `update_pcie_parameters` functions to use uint8_t arguments
    c772eacbd6d0 drm/amdkfd: Fix a race condition of vram buffer unref in svm code
    3ec74308f17a drm/amdgpu: not to save bo in the case of RAS err_event_athub
    77eee682f437 md: don't rely on 'mddev->pers' to be set in mddev_suspend()
    c2a7847c0d4b drm/edid: Fixup h/vsync_end instead of h/vtotal
    de7550fe430f drm/amd/display: add seamless pipe topology transition check
    356dee34f5db drm/amd/display: Don't lock phantom pipe on disabling
    f1035d36fd45 drm/amd/display: Blank phantom OTG before enabling
    11c3ebd1d2b7 drm/komeda: drop all currently held locks if deadlock happens
    c7f81cd3e9c9 drm/amdkfd: ratelimited SQ interrupt messages
    d6f17735d8da drm/gma500: Fix call trace when psb_gem_mm_init() fails
    54d7dd51345a platform/x86: thinkpad_acpi: Add battery quirk for Thinkpad X120e
    99171d81c5bc of: address: Fix address translation when address-size is greater than 2
    3df4c7945390 platform/chrome: kunit: initialize lock for fake ec_dev
    ad1b721c9d16 gpiolib: acpi: Add a ignore interrupt quirk for Peaq C1010
    6165ae149eaa tsnep: Fix tsnep_request_irq() format-overflow warning
    6a2c311fd0dc ACPI: EC: Add quirk for HP 250 G7 Notebook PC
    fc666d1b4751 Bluetooth: Fix double free in hci_conn_cleanup
    0048ddf045bd Bluetooth: btusb: Add date->evt_skb is NULL check
    dd860dff8058 wifi: iwlwifi: mvm: fix size check for fw_link_id
    cc8de9383c72 bpf: Ensure proper register state printing for cond jumps
    cb2cfbec0982 vsock: read from socket's error queue
    104922ba6602 net: sfp: add quirk for FS's 2.5G copper SFP
    aa47f6382bd1 wifi: ath10k: Don't touch the CE interrupt registers after power up
    b2e99ba69ce6 wifi: ath12k: mhi: fix potential memory leak in ath12k_mhi_register()
    fb3a71a8383f net: annotate data-races around sk->sk_dst_pending_confirm
    37e1a89a8728 net: annotate data-races around sk->sk_tx_queue_mapping
    437538c00f19 wifi: mt76: mt7921e: Support MT7992 IP in Xiaomi Redmibook 15 Pro (2023)
    cde2a1d8c9da net: sfp: add quirk for Fiberstone GPON-ONU-34-20BI
    8d95caf80366 ACPI: APEI: Fix AER info corruption when error status data has multiple sections
    dfe13eaab043 wifi: ath12k: fix possible out-of-bound write in ath12k_wmi_ext_hal_reg_caps()
    0b8e7c1169a6 wifi: ath10k: fix clang-specific fortify warning
    79527c21a3ce wifi: ath12k: fix possible out-of-bound read in ath12k_htt_pull_ppdu_stats()
    c4992b79fadc wifi: ath9k: fix clang-specific fortify warnings
    327b92e8cb52 bpf: Detect IP == ksym.end as part of BPF program
    54a6152da499 atl1c: Work around the DMA RX overflow issue
    adc2474d823f wifi: mac80211: don't return unset power in ieee80211_get_tx_power()
    6100f6013af0 wifi: mac80211_hwsim: fix clang-specific fortify warning
    b8966720c3a0 wifi: ath12k: Ignore fragments from uninitialized peer in dp
    ed0ac28cbc2a wifi: plfxlc: fix clang-specific fortify warning
    66e460eeaa70 x86/mm: Drop the 4 MB restriction on minimal NUMA node memory size
    d112c682c47f workqueue: Provide one lock class key per work_on_cpu() callsite
    335a47ed71e3 cpu/hotplug: Don't offline the last non-isolated CPU
    2ca04946b4ea smp,csd: Throw an error if a CSD lock is stuck for too long
    d4d2297d04bf srcu: Only accelerate on enqueue time
    c05cbfcb6eee clocksource/drivers/timer-atmel-tcb: Fix initialization on SAM9 hardware
    8ea7a452dc7d clocksource/drivers/timer-imx-gpt: Fix potential memory leak
    161a323c60d0 selftests/lkdtm: Disable CONFIG_UBSAN_TRAP in test config
    8c3b1175d152 srcu: Fix srcu_struct node grpmask overflow on 64-bit systems
    2424410f94a9 perf/core: Bail out early if the request AUX area is out of bound
    c485c94c0b8b x86/retpoline: Make sure there are no unconverted return thunks due to KCSAN
    ec298b958cb0 lib/generic-radix-tree.c: Don't overflow in peek()
    96612b6f99d5 btrfs: abort transaction on generation mismatch when marking eb as dirty
    e36407713163 locking/ww_mutex/test: Fix potential workqueue corruption

(From OE-Core rev: 68d222aca43bfa31ac425da1084f33470864ff19)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e28367970d90ffdd501c1876a950e645486bdaf1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Bruce Ashfield
1a6c6b4bcc linux-yocto/6.5: update to v6.5.12
Updating  to the latest korg -stable release that comprises
the following commits:

    fa1be4637aad Linux 6.5.12
    39ee8317876f btrfs: make found_logical_ret parameter mandatory for function queue_scrub_stripe()
    1c44debc30d2 perf parse-events: Fix driver config term
    9a955334c112 bpf, x86: initialize the variable "first_off" in save_args()
    3dccc81f9ea9 btrfs: use u64 for buffer sizes in the tree search ioctls
    7fbd30155906 Revert "mmc: core: Capture correct oemid-bits for eMMC cards"
    2ee1f00866ac Revert "PCI/ASPM: Disable only ASPM_STATE_L1 when driver, disables L1"
    b592cec2a478 x86/amd_nb: Use Family 19h Models 60h-7Fh Function 4 IDs
    9e1c7fe85391 io_uring/net: ensure socket is marked connected on connect retry
    c0ba439a4333 selftests: mptcp: fix wait_rm_addr/sf parameters
    8a0ba7e4b2e8 Revert "drm/ast: report connection status on Display Port."
    718dfd5b1646 tracing/kprobes: Fix the order of argument descriptions
    afc10d0ca630 fbdev: fsl-diu-fb: mark wr_reg_wa() static
    6e6676c34078 ALSA: hda/realtek: Add support dual speaker for Dell
    18d26f9baca7 fbdev: imsttfb: fix a resource leak in probe
    32310dbf0aa9 fbdev: imsttfb: fix double free in probe()
    7446c44198a5 arm64/arm: arm_pmuv3: perf: Don't truncate 64-bit registers
    68b1ad75906b spi: spi-zynq-qspi: add spi-mem to driver kconfig dependencies
    033ade77d851 ASoC: dapm: fix clock get name
    18795fc33915 ASoC: hdmi-codec: register hpd callback on component probe
    a3ef9afd315a ASoC: mediatek: mt8186_mt6366_rt1019_rt5682s: trivial: fix error messages
    2f769f4c557b drm/syncobj: fix DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE
    fe131f6d71c5 drm/vc4: tests: Fix UAF in the mock helpers
    b2628d195a02 module/decompress: use kvmalloc() consistently
    990345880a1c RISC-V: Don't fail in riscv_of_parent_hartid() for disabled HARTs
    c59f92817719 net/sched: act_ct: Always fill offloading tuple iifidx
    61fd0c64e3bf netfilter: nat: fix ipv6 nat redirect with mapped and scoped addresses
    a95ea2622afb netfilter: xt_recent: fix (increase) ipv6 literal buffer length
    52f7f210bd3d i2c: iproc: handle invalid slave state
    f706e2c9adf2 net: enetc: shorten enetc_setup_xdp_prog() error message to fit NETLINK_MAX_FMTMSG_LEN
    93e7f8feacb1 r8169: respect userspace disabling IFF_MULTICAST
    dbe7967095a5 vsock/virtio: remove socket from connected/bound list on shutdown
    0828d76ba2f9 blk-core: use pr_warn_ratelimited() in bio_check_ro()
    879947f4180b nbd: fix uaf in nbd_open
    d5d744277c03 tg3: power down device only on SYSTEM_POWER_OFF
    57efa187cda5 riscv: boot: Fix creation of loader.bin
    209a13dc04d0 nvme: fix error-handling for io_uring nvme-passthrough
    bf6571bb260b net/smc: put sk reference if close work was canceled
    8d6a49fc39ed net/smc: allow cdc msg send rather than drop it with NULL sndbuf_desc
    6904598dd970 net/smc: fix dangling sock under state SMC_APPFINCLOSEWAIT
    a63ff94ae244 octeontx2-pf: Free pending and dropped SQEs
    d888fcdaa87d selftests: pmtu.sh: fix result checking
    5917a439643b net: stmmac: xgmac: Enable support for multiple Flexible PPS outputs
    aeb378667a00 Fix termination state for idr_for_each_entry_ul()
    28220ff13ac3 net: r8169: Disable multicast filter for RTL8168H and RTL8107E
    0577f93e8481 dccp/tcp: Call security_inet_conn_request() after setting IPv6 addresses.
    9e5386d494fd dccp: Call security_inet_conn_request() after setting IPv4 addresses.
    59f1841a9b14 net: page_pool: add missing free_percpu when page_pool_init fail
    c84f297964fe octeontx2-pf: Fix holes in error code
    b3e4e1162368 octeontx2-pf: Fix error codes
    688f277d0592 inet: shrink struct flowi_common
    d5574d0ad4c4 bpf: Check map->usercnt after timer->timer is assigned
    fe4d6a419062 rxrpc: Fix two connection reaping bugs
    abc1582119e8 tipc: Change nla_policy for bearer-related names to NLA_NUL_STRING
    1787b9f0729d hsr: Prevent use after free in prp_create_tagged_frame()
    0a720d0259ad llc: verify mac len before reading mac header
    f1fd72c06d8e watchdog: ixp4xx: Make sure restart always works
    cc56c4d17721 Input: synaptics-rmi4 - fix use after free in rmi_unregister_function()
    3448b7ba8c56 pwm: brcmstb: Utilize appropriate clock APIs in suspend/resume
    98965075e630 pwm: sti: Reduce number of allocations and drop usage of chip_data
    da97367c938d drm/amdgpu: don't put MQDs in VRAM on ARM | ARM64
    5bb28ff319bf drm/amdgpu/gfx10,11: use memcpy_to/fromio for MQDs
    f6ac81f82692 regmap: prevent noinc writes from clobbering cache
    f232770077e8 cpupower: fix reference to nonexistent document
    531129a7e935 media: cec: meson: always include meson sub-directory in Makefile
    d4076de583f3 media: platform: mtk-mdp3: fix uninitialized variable in mdp_path_config()
    af9c02dd5962 media: imx-jpeg: notify source chagne event when the first picture parsed
    963ac643508a media: verisilicon: Fixes clock list for rk3588 av1 decoder
    1180f59a5b3c media: dvb-usb-v2: af9035: fix missing unlock
    a7ee4299b025 media: cadence: csi2rx: Unregister v4l2 async notifier
    b9be6d023c3e media: cedrus: Fix clock/reset sequence
    cb1300141199 media: vidtv: mux: Add check and kfree for kstrdup
    5cfcc8de7d73 media: vidtv: psi: Add check for kstrdup
    88bdfe1a2439 media: s3c-camif: Avoid inappropriate kfree()
    f589aad0768a media: mtk-jpegenc: Fix bug in JPEG encode quality selection
    1ef450564770 media: amphion: handle firmware debug message
    1871014d6ef4 media: bttv: fix use after free error due to btv->timeout timer
    b43848690b3f media: ov5640: Fix a memory leak when ov5640_probe fails
    220f763dcad3 media: i2c: max9286: Fix some redundant of_node_put() calls
    c4c8324eb142 media: ov5640: fix vblank unchange issue when work at dvp mode
    e028c9573dde media: verisilicon: Do not enable G2 postproc downscale if source is narrower than destination
    66b4c5f980d7 media: hantro: Check whether reset op is defined before use
    a2e2190d994a media: imx-jpeg: initiate a drain of the capture queue in dynamic resolution change
    7ef4cebe945e pcmcia: ds: fix possible name leak in error path in pcmcia_device_add()
    65559a64c276 pcmcia: ds: fix refcount leak in pcmcia_device_add()
    7b3607be4576 pcmcia: cs: fix possible hung task and memory leak pccardd()
    d98f43ab71e5 cxl/hdm: Remove broken error path
    ce82bfafd6f9 cxl/port: Fix @host confusion in cxl_dport_setup_regs()
    f2783b8a218a cxl/core/regs: Rename @dev to @host in struct cxl_register_map
    fb2306ec5099 cxl/region: Fix cxl_region_rwsem lock held when returning to user space
    7ca00fb8c99d cxl/region: Use cxl_calc_interleave_pos() for auto-discovery
    043facdd8d5d cxl/region: Calculate a target position in a region interleave
    5d86b34317d5 cxl/region: Prepare the decoder match range helper for reuse
    c2723a64b63b rtc: pcf85363: fix wrong mask/val parameters in regmap_update_bits call
    5e9051bf642e rtc: pcf85363: Allow to wake up system without IRQ
    a8a063f2c5ec virt: sevguest: Fix passing a stack buffer as a scatterlist target
    cad22a757029 cxl/mem: Fix shutdown order
    516fba3bd586 cxl/memdev: Fix sanitize vs decoder setup locking
    8e09215aadde cxl/pci: Fix sanitize notifier setup
    d50d70827e2a cxl/pci: Clarify devm host for memdev relative setup
    ba524b221cb4 cxl/pci: Remove inconsistent usage of dev_err_probe()
    a1124adef547 cxl/pci: Cleanup 'sanitize' to always poll
    7be8c47426cf cxl/pci: Remove unnecessary device reference management in sanitize work
    e7afa8a065a0 rtc: brcmstb-waketimer: support level alarm_irq
    b24cf43d9bab i3c: Fix potential refcount leak in i3c_master_register_new_i3c_devs
    bcf5e18c0beb rtla: Fix uninitialized variable found
    48b318939955 9p/net: fix possible memory leak in p9_check_errors()
    9a4cc8e1ad73 perf vendor events intel: Add broadwellde two metrics
    e5270cbe0252 perf vendor events intel: Fix broadwellde tma_info_system_dram_bw_use metric
    ccbe6d8c6b4a perf hist: Add missing puts to hist__account_cycles
    57c01bae6c24 libperf rc_check: Make implicit enabling work for GCC
    64fe182e0b20 perf machine: Avoid out of bounds LBR memory read
    a43bdc6ba342 usb: host: xhci-plat: fix possible kernel oops while resuming
    7b8ae3c24efd xhci: Loosen RPM as default policy to cover for AMD xHC 1.1
    056a83850468 perf vendor events: Update PMC used in PM_RUN_INST_CMPL event for power10 platform
    ed905e38c0f2 powerpc/pseries: fix potential memory leak in init_cpu_associativity()
    104f083c5df3 powerpc/imc-pmu: Use the correct spinlock initializer.
    c3f620809a61 powerpc/vas: Limit open window failure messages in log bufffer
    d9d00713b8f7 perf trace: Use the right bpf_probe_read(_str) variant for reading user data
    3af067e50b0e powerpc: Hide empty pt_regs at base of the stack
    fc7957384d7e powerpc/xive: Fix endian conversion size
    1fe1c98a72d2 powerpc/40x: Remove stale PTE_ATOMIC_UPDATES macro
    ea654911b8ee perf tools: Do not ignore the default vmlinux.h
    35278545af13 modpost: fix ishtp MODULE_DEVICE_TABLE built on big-endian host
    db40f538c825 modpost: fix tee MODULE_DEVICE_TABLE built on big-endian host
    6fbbf9f14a53 s390/ap: re-init AP queues on config on
    e94732825a5a perf mem-events: Avoid uninitialized read
    34ca27039e1f perf pmu: Remove logic for PMU name being NULL
    4890aaf24b0c perf parse-events: Fix for term values that are raw events
    63e14dbe45f8 perf build: Add missing comment about NO_LIBTRACEEVENT=1
    49dc517a904e interconnect: fix error handling in qnoc_probe()
    4eb6e78b3f81 powerpc: Only define __parse_fpscr() when required
    7e324e99321c interconnect: qcom: sm8350: Set ACV enable_mask
    ed261c06fcf9 interconnect: qcom: sm8350: Retire DEFINE_QBCM
    6bbf49794fb4 interconnect: qcom: sm8150: Set ACV enable_mask
    389fd2613208 interconnect: qcom: sm8150: Retire DEFINE_QBCM
    57ba6e84bc32 interconnect: qcom: sm6350: Set ACV enable_mask
    ff36f2775bea interconnect: qcom: sm6350: Retire DEFINE_QBCM
    885139b6a071 interconnect: qcom: sdm845: Set ACV enable_mask
    1940f9a3f735 interconnect: qcom: sdm845: Retire DEFINE_QBCM
    f82f1ddb7ec5 interconnect: qcom: sdm670: Set ACV enable_mask
    e8720308de88 interconnect: qcom: sdm670: Retire DEFINE_QBCM
    b7d939c28f80 interconnect: qcom: sc8280xp: Set ACV enable_mask
    9640f78cdc0e interconnect: qcom: sc8180x: Set ACV enable_mask
    0f1b8085a42f interconnect: qcom: sc7280: Set ACV enable_mask
    b5db623daed9 interconnect: qcom: sc7180: Set ACV enable_mask
    4ca7387d611b interconnect: qcom: sc7180: Retire DEFINE_QBCM
    899b86659064 interconnect: qcom: qdu1000: Set ACV enable_mask
    00ca5edeaed1 f2fs: fix to initialize map.m_pblk in f2fs_precache_extents()
    c8fff2c9225f dmaengine: pxa_dma: Remove an erroneous BUG_ON() in pxad_free_desc()
    9a8656a5300c USB: usbip: fix stub_dev hub disconnect
    356a5f8bdb6d tools: iio: iio_generic_buffer ensure alignment
    4428cd427855 misc: st_core: Do not call kfree_skb() under spin_lock_irqsave()
    9bbdea45ea79 tools/perf: Update call stack check in builtin-lock.c
    21e32bf0bb27 dmaengine: ti: edma: handle irq_of_parse_and_map() errors
    5356ca664710 usb: chipidea: Simplify Tegra DMA alignment code
    ac69dc32af3b usb: chipidea: Fix DMA overwrite for Tegra
    3e851a77a13c usb: dwc2: fix possible NULL pointer dereference caused by driver concurrency
    50daad99bd7a dmaengine: idxd: Register dsa_bus_type before registering idxd sub-drivers
    faa48ed2647c perf record: Fix BTF type checks in the off-cpu profiling
    25a88c08352d pinctrl: renesas: rzg2l: Make reverse order of enable() for disable()
    432909464fd9 livepatch: Fix missing newline character in klp_resolve_symbols()
    ad3fa6cc3e23 perf parse-events: Fix tracepoint name memory leak
    bd64a16ba2c5 perf tools: Revert enable indices setting syntax for BPF map
    acd50fcdd4e4 perf parse-events: Remove ABORT_ON
    ee4558a6e062 perf parse-events: Remove unused PE_KERNEL_PMU_EVENT token
    84d2e3f3e74c perf parse-events: Remove unused PE_PMU_EVENT_FAKE token
    49a22ed339a5 tty: tty_jobctrl: fix pid memleak in disassociate_ctty()
    eb42e1862aa7 f2fs: fix to drop meta_inode's page cache in f2fs_put_super()
    d759d1d271f6 f2fs: compress: fix to avoid redundant compress extension
    932ddb5c29e8 f2fs: compress: fix to avoid use-after-free on dic
    f783e3507b09 f2fs: compress: fix deadloop in f2fs_write_cache_pages()
    03832670f99e perf kwork: Set ordered_events to true in 'struct perf_tool'
    7990bb48feea perf kwork: Add the supported subcommands to the document
    83237a95d315 perf kwork: Fix incorrect and missing free atom in work_push_atom()
    0c0044a01cb7 iio: frequency: adf4350: Use device managed functions and fix power down issue.
    89ad251b6f99 perf stat: Fix aggr mode initialization
    f997e1b08f88 apparmor: fix invalid reference on profile->disconnected
    74e5ce33ed3b scripts/gdb: fix usage of MOD_TEXT not defined when CONFIG_MODULES=n
    b76057527912 leds: trigger: ledtrig-cpu:: Fix 'output may be truncated' issue for 'cpu'
    dd88eb7b0c60 leds: pwm: Don't disable the PWM when the LED should be off
    5a237df850f0 leds: turris-omnia: Do not use SMBUS calls
    48c32d8df085 leds: turris-omnia: Drop unnecessary mutex locking
    e84a57ce0435 mfd: arizona-spi: Set pdata.hpdet_channel for ACPI enumerated devs
    49797594d234 dt-bindings: mfd: mt6397: Split out compatible for MediaTek MT6366 PMIC
    e97de887bd28 mfd: dln2: Fix double put in dln2_probe
    b8af0a637afc mfd: core: Ensure disabled devices are skipped without aborting
    b666088a7df2 mfd: core: Un-constify mfd_cell.of_reg
    4f4a7a7d1404 IB/mlx5: Fix init stage error handling to avoid double free of same QP and UAF
    531a6b22b5af erofs: fix erofs_insert_workgroup() lockref usage
    300041583ea5 ASoC: ams-delta.c: use component after check
    837afdc92f69 crypto: qat - fix deadlock in backlog processing
    e7c29266f520 certs: Break circular dependency when selftest is modular
    1e901bcb8af1 padata: Fix refcnt handling in padata_free_shell()
    65f881a0a90d PCI: endpoint: Fix double free in __pci_epc_create()
    f013769f70d3 ASoC: Intel: Skylake: Fix mem leak when parsing UUIDs fails
    cfe88cf748cc HID: logitech-hidpp: Move get_wireless_feature_index() check to hidpp_connect_event()
    c8836943bd4e HID: logitech-hidpp: Revert "Don't restart communication if not necessary"
    aedb6041da69 HID: logitech-hidpp: Don't restart IO, instead defer hid_connect() only
    b4f35870a9b9 sh: bios: Revive earlyprintk support
    08420113b468 HID: uclogic: Fix a work->entry not empty bug in __queue_work()
    64da1f6147da HID: uclogic: Fix user-memory-access bug in uclogic_params_ugee_v2_init_event_hooks()
    f06c2b93502f hid: cp2112: Fix IRQ shutdown stopping polling for all IRQs on chip
    8ef4b7548dcb HID: cp2112: Make irq_chip immutable
    abc6ac81a306 RDMA/hfi1: Workaround truncation compilation error
    8a517831ca9f scsi: ufs: core: Leave space for '\0' in utf8 desc string
    e1fc0752d5e8 ASoC: fsl: Fix PM disable depth imbalance in fsl_easrc_probe
    cd666d29c1ad ASoC: SOF: core: Ensure sof_ops_free() is still called when probe never ran.
    87820275278d RDMA/hns: The UD mode can only be configured with DCQCN
    aaf04e12b60a RDMA/hns: Add check for SL
    37d9b4a8842f RDMA/hns: Fix signed-unsigned mixed comparisons
    3e7665413c0d RDMA/hns: Fix uninitialized ucmd in hns_roce_create_qp_common()
    035a843df60a RDMA/hns: Fix printing level of asynchronous events
    767e4c76e0da IB/mlx5: Fix rdma counter binding for RAW QP
    13ee0d9bae3b dlm: fix no ack after final message
    f67500a59f82 ASoC: fsl-asoc-card: Add comment for mclk in the codec_priv
    b66d7d971467 ASoC: Intel: sof_sdw_rt_sdca_jack_common: add rt713 support
    afdf67c1a521 backlight: pwm_bl: Disable PWM on shutdown, suspend and remove
    f9501d0c1015 ASoC: fsl: mpc5200_dma.c: Fix warning of Function parameter or member not described
    73be585b2912 kselftest: vm: fix mdwe's mmap_FIXED test case
    8575339a5f7c ext4: move 'ix' sanity check to corrent position
    3456dad3d723 ARM: 9323/1: mm: Fix ARCH_LOW_ADDRESS_LIMIT when CONFIG_ZONE_DMA
    1d09354dca6e ARM: 9321/1: memset: cast the constant byte to unsigned char
    11eb0faaae67 crypto: hisilicon/qm - fix PF queue parameter issue
    fb5718bc6733 hid: cp2112: Fix duplicate workqueue initialization
    2f0367ea3a9e PCI: vmd: Correct PCI Header Type Register's multi-function check
    531f107ee700 ASoC: SOF: ipc4-topology: Use size_add() in call to struct_size()
    461b4df72256 crypto: qat - increase size of buffers
    60f93c3b75ff crypto: caam/jr - fix Chacha20 + Poly1305 self test failure
    886e2995b42b crypto: caam/qi2 - fix Chacha20 + Poly1305 self test failure
    b27751fb1f27 nd_btt: Make BTT lanes preemptible
    4f08f132c996 libnvdimm/of_pmem: Use devm_kstrdup instead of kstrdup and check its return value
    4778c1dd656e ASoC: soc-pcm.c: Make sure DAI parameters cleared if the DAI becomes inactive
    ffce1dc8457e scsi: ibmvfc: Fix erroneous use of rtas_busy_delay with hcall return code
    f666c814dc5b crypto: qat - fix unregistration of compression algorithms
    adeee72f0e3b crypto: qat - fix unregistration of crypto algorithms
    99fe5f7b6c99 crypto: qat - ignore subsequent state up commands
    36f45cb3d919 crypto: qat - fix state machines cleanup paths
    8946a17a70c5 RDMA/core: Use size_{add,sub,mul}() in calls to struct_size()
    64254a5b9427 hwrng: geode - fix accessing registers
    b9f8f249a551 hwrng: bcm2835 - Fix hwrng throughput regression
    bc49891f9871 crypto: hisilicon/hpre - Fix a erroneous check after snprintf()
    fce1075147a5 KEYS: Include linux/errno.h in linux/verification.h
    cb759656ffb0 ALSA: hda: cs35l41: Undo runtime PM changes at driver exit time
    bcb94863b056 ALSA: hda: cs35l41: Fix unbalanced pm_runtime_get()
    8cd0ae3660b1 ASoC: cs35l41: Undo runtime PM changes at driver exit time
    22f034db12a2 ASoC: cs35l41: Verify PM runtime resume errors in IRQ handler
    809ec9f7d474 ASoC: cs35l41: Initialize completion object before requesting IRQ
    30a7908fdc18 ASoC: cs35l41: Handle mdsync_down reg write errors
    065d45141019 module/decompress: use vmalloc() for gzip decompression workspace
    1475a083ccee iommufd: Add iopt_area_alloc()
    0a54ac6ff6cc ARM: dts: BCM5301X: Explicitly disable unused switch CPU ports
    bd3cab2d710e soc: qcom: pmic_glink: fix connector type to be DisplayPort
    59a31165fe6d selftests/resctrl: Ensure the benchmark commands fits to its array
    ab13ca1ef2dd selftests/pidfd: Fix ksft print formats
    87483b30fad2 arm64: tegra: Use correct interrupts for Tegra234 TKE
    8e3f93cd849f memory: tegra: Set BPMP msg flags to reset IPC channels
    e3e711ef8a10 firmware: tegra: Add suspend hook and reset BPMP IPC early on resume
    ef3a7c256462 arm64: tegra: Fix P3767 QSPI speed
    d2ab1d75e486 arm64: tegra: Fix P3767 card detect polarity
    0a6baa9b5b64 arm64: dts: imx8mn: Add sound-dai-cells to micfil node
    a1a4d82e99b7 arm64: dts: imx8mm: Add sound-dai-cells to micfil node
    2e79e826233a arm64: dts: imx8mp-debix-model-a: Remove USB hub reset-gpios
    117a07e2e9e2 arm64: dts: imx8qm-ss-img: Fix jpegenc compatible entry
    b0a20843664e clk: scmi: Free scmi_clk allocated when the clocks with invalid info are skipped
    50fc96f3616b ARM: dts: am3517-evm: Fix LED3/4 pinmux
    507d5ffd1af9 firmware: arm_ffa: Allow the FF-A drivers to use 32bit mode of messaging
    90776e2a2f8d firmware: arm_ffa: Assign the missing IDR allocation ID to the FFA device
    128e4aff2c13 arm64: dts: ti: k3-am62a7-sk: Drop i2c-1 to 100Khz
    e1c755a2d0da arm64: dts: ti: k3-am625-beagleplay: Fix typo in ramoops reg
    99639d09f491 firmware: ti_sci: Mark driver as non removable
    2ff42f2d6450 kunit: Fix missed memory release in kunit_free_suite_set()
    3565684309e5 soc: qcom: llcc: Handle a second device without data corruption
    9f388768d380 ARM: dts: qcom: mdm9615: populate vsdcc fixed regulator
    cad2fdf734bc ARM: dts: qcom: apq8026-samsung-matisse-wifi: Fix inverted hall sensor
    895faac163db arm64: dts: qcom: apq8016-sbc: Add missing ADV7533 regulators
    769c5e9d15f6 riscv: dts: allwinner: remove address-cells from intc node
    04be6547e407 arm64: dts: qcom: msm8939: Fix iommu local address range
    f4b77d63a52c arm64: dts: qcom: msm8976: Fix ipc bit shifts
    d71128a962ed ARM64: dts: marvell: cn9310: Use appropriate label for spi1 pins
    19af445c6e45 arm64: dts: qcom: sdm845-mtp: fix WiFi configuration
    a96940caa86a arm64: dts: qcom: sm8350: fix pinctrl for UART18
    27ce256c1f08 arm64: dts: qcom: sm8150: add ref clock to PCIe PHYs
    d1423675ae95 arm64: dts: qcom: sc7280: drop incorrect EUD port on SoC side
    320f5ecb4528 arm64: dts: qcom: qrb2210-rb1: Swap UART index
    732a7b414f99 arm64: dts: qcom: sc7280: Add missing LMH interrupts
    845966edbf49 arm64: dts: qcom: sm6125: Pad APPS IOMMU address to 8 characters
    f9670c979946 arm64: dts: qcom: msm8992-libra: drop duplicated reserved memory
    5a360ea043ec arm64: dts: qcom: msm8916: Fix iommu local address range
    0d28ee4d3034 arm64: dts: qcom: sc7280: link usb3_phy_wrapper_gcc_usb30_pipe_clk
    ad523cd4258b arm64: dts: qcom: sdm845: cheza doesn't support LMh node
    e3d5e71ab28a arm64: dts: qcom: sdm845: Fix PSCI power domain names
    f3531725a243 ARM: dts: renesas: blanche: Fix typo in GP_11_2 pin name
    3405f364f82d perf: hisi: Fix use-after-free when register pmu fails
    3d92672e71d9 drivers/perf: hisi_pcie: Check the type first in pmu::event_init()
    b4a182cd0336 perf/arm-cmn: Fix DTC domain detection
    f0c771695a3f drm/amd/pm: Fix a memory leak on an error path
    3f5827371763 drivers/perf: hisi: use cpuhp_state_remove_instance_nocalls() for hisi_hns3_pmu uninit process
    98812fb0df70 drm: mediatek: mtk_dsi: Fix NO_EOT_PACKET settings/handling
    211267cc420b clocksource/drivers/arm_arch_timer: limit XGene-1 workaround
    57a90fb6ab11 drm/msm/dsi: free TX buffer in unbind
    a4522c7612f3 drm/msm/dsi: use msm_gem_kernel_put to free TX buffer
    2a57291a1131 xen-pciback: Consider INTx disabled when MSI/MSI-X is enabled
    ce60d6cc40fd xenbus: fix error exit in xenbus_init()
    bc27e08ecb09 drm/rockchip: Fix type promotion bug in rockchip_gem_iommu_map()
    1556f041b844 arm64/arm: xen: enlighten: Fix KPTI checks
    0a3d2b736bb9 drm/bridge: lt9611uxc: fix the race in the error path
    4ed0b4b2e49f gpu: host1x: Correct allocated size for contexts
    e30054a351ab drm/rockchip: cdn-dp: Fix some error handling paths in cdn_dp_probe()
    b720a10346a4 accel/habanalabs/gaudi2: Fix incorrect string length computation in gaudi2_psoc_razwi_get_engines()
    5190f8b3cf22 drm/mediatek: Fix iommu fault during crtc enabling
    c34934d7c2e0 drm/mediatek: Fix iommu fault by swapping FBs after updating plane state
    e5c2edb09edd drm/mediatek: Add mmsys_dev_num to mt8188 vdosys0 driver data
    cafff2cfb710 io_uring/kbuf: Allow the full buffer id space for provided buffers
    aabcc4c49967 io_uring/kbuf: Fix check of BID wrapping in provided buffers
    8c18de99dfcc drm/amd/display: Bail from dm_check_crtc_cursor if no relevant change
    7e4702c7b668 drm/amd/display: Refactor dm_get_plane_scale helper
    37289873d183 drm/amd/display: Check all enabled planes in dm_check_crtc_cursor
    97ef07182ac4 drm/amd/display: Fix null pointer dereference in error message
    35a00ee37ab4 drm/amdkfd: Handle errors from svm validate and map
    75800841b2e8 drm/amdkfd: Remove svm range validated_once flag
    96dc6e62eb99 drm/amdkfd: retry after EBUSY is returned from hmm_ranges_get_pages
    68ccd61c8d01 drm/amdkfd: fix some race conditions in vram buffer alloc/free of svm code
    1406172d5b11 drm/amdgpu: Increase IH soft ring size for GFX v9.4.3 dGPU
    84021fa4cf19 drm: Call drm_atomic_helper_shutdown() at shutdown/remove time for misc drivers
    2e6f00e063aa drm/tve200: Convert to platform remove callback returning void
    68da712aa242 drm/stm: Convert to platform remove callback returning void
    813ef38bb98b drm/aspeed: Convert to platform remove callback returning void
    b53575a965c9 drm/bridge: tc358768: Fix tc358768_ns_to_cnt()
    da8168f111ea drm/bridge: tc358768: Clean up clock period code
    194a13ed464a drm/bridge: tc358768: Rename dsibclk to hsbyteclk
    9b7cf64ec8c4 drm/bridge: tc358768: Use dev for dbg prints, not priv->dev
    9ddf3ac09716 drm/bridge: tc358768: Print logical values, not raw register values
    e56561d0354e drm/bridge: tc358768: Use struct videomode
    b85fb1a0721f drm/bridge: tc358768: Fix bit updates
    2ef9177fb721 drm/bridge: tc358768: Fix use of uninitialized variable
    2191950d35d8 x86/tdx: Zero out the missing RSI in TDX_HYPERCALL macro
    0d8a1df39d3f drm/mediatek: Fix coverity issue with unintentional integer overflow
    66e2bbbacaf8 drm/bridge: lt8912b: Add missing drm_bridge_attach call
    07a28632f744 drm/bridge: lt8912b: Manually disable HPD only if it was enabled
    fcd9895e3654 drm/bridge: lt8912b: Fix crash on bridge detach
    dd57f6864a59 drm/bridge: lt8912b: Fix bridge_detach
    1669d7b21a66 drm: bridge: it66121: Fix invalid connector dereference
    d9b4fa249dea drm/radeon: possible buffer overflow
    06a7c295473b drm/rockchip: vop2: Add missing call to crtc reset helper
    dbb193beab88 drm/rockchip: vop2: Don't crash for invalid duplicate_state
    ef76ecd31a81 drm/rockchip: vop: Fix call to crtc reset helper
    bf50a93fdca8 drm/rockchip: vop: Fix reset of state in duplicate state crtc funcs
    8b27fbec3dec drm: bridge: samsung-dsim: Fix waiting for empty cmd transfer FIFO on older Exynos
    7da5a7173ddc drm: bridge: for GENERIC_PHY_MIPI_DPHY also select GENERIC_PHY
    1d714586b36d drm: bridge: samsung-dsim: Initialize ULPS EXIT for i.MX8M DSIM
    97c8e2a7bc1f spi: omap2-mcspi: Fix hardcoded reference clock
    9f236f9f4d0d spi: omap2-mcspi: switch to use modern name
    3c266e619ac8 spi: omap2-mcspi: remove redundant dev_err_probe()
    332973079a2f platform/chrome: cros_ec_lpc: Separate host command and irq disable
    19e557524ded hte: tegra: Fix missing error code in tegra_hte_test_probe()
    2c7c5602622e hwmon: (sch5627) Disallow write access if virtual registers are locked
    0a31b778eed7 hwmon: (sch5627) Use bit macros when accessing the control register
    3c3c2d34a4d5 Revert "hwmon: (sch56xx-common) Add automatic module loading on supported devices"
    e323a3990f65 Revert "hwmon: (sch56xx-common) Add DMI override table"
    4833a85169a6 hwmon: (coretemp) Fix potentially truncated sysfs attribute name
    f62b89698478 hwmon: (axi-fan-control) Fix possible NULL pointer dereference
    6d9ce15c5fa1 regulator: qcom-rpmh: Fix smps4 regulator for pm8550ve
    36d85fa7ae0d platform/x86: wmi: Fix opening of char device
    7298b80337aa platform/x86: wmi: Fix probe failure when failing to register WMI devices
    e6fed83e33af clk: mediatek: fix double free in mtk_clk_register_pllfh()
    63d552f9dae8 clk: qcom: ipq5332: drop the CLK_SET_RATE_PARENT flag from GPLL clocks
    6f6ea5133aba clk: qcom: ipq9574: drop the CLK_SET_RATE_PARENT flag from GPLL clocks
    3731eb54fbef clk: qcom: apss-ipq-pll: Fix 'l' value for ipq5332_pll_config
    5b6384ed71dc clk: qcom: apss-ipq-pll: Use stromer plus ops for stromer plus pll
    3015361a505d clk: qcom: clk-alpha-pll: introduce stromer plus ops
    ddaada8cc4d2 clk: qcom: config IPQ_APSS_6018 should depend on QCOM_SMEM
    e61934720af4 clk: mediatek: clk-mt2701: Add check for mtk_alloc_clk_data
    1d89430fc315 clk: mediatek: clk-mt7629: Add check for mtk_alloc_clk_data
    b20cfe007a46 clk: mediatek: clk-mt7629-eth: Add check for mtk_alloc_clk_data
    be3f12f16038 clk: mediatek: clk-mt6797: Add check for mtk_alloc_clk_data
    a90239551abc clk: mediatek: clk-mt6779: Add check for mtk_alloc_clk_data
    10cc81124407 clk: mediatek: clk-mt6765: Add check for mtk_alloc_clk_data
    a9e4a47f89d9 clk: npcm7xx: Fix incorrect kfree
    ba88f032ff9f clk: ti: fix double free in of_ti_divider_clk_setup()
    67ee360e138c clk: keystone: pll: fix a couple NULL vs IS_ERR() checks
    2e4db0148cb2 clk: ralink: mtmips: quiet unused variable warning
    99bb148bd565 spi: nxp-fspi: use the correct ioremap function
    da164c3c4a2f clk: linux/clk-provider.h: fix kernel-doc warnings and typos
    55de4ff94fb4 clk: renesas: rzg2l: Fix computation formula
    7fdb4ef9812a clk: renesas: rzg2l: Use FIELD_GET() for PLL register fields
    4be4c8e224f9 clk: renesas: rzg2l: Trust value returned by hardware
    5cb18d032293 clk: renesas: rzg2l: Lock around writes to mux register
    8afb9e94e3a9 clk: renesas: rzg2l: Wait for status bit of SD mux before continuing
    40d3370bf2c0 clk: renesas: rcar-gen3: Extend SDnH divider table
    cebb0fe4aa9a clk: imx: imx8qxp: Fix elcdif_pll clock
    b2931c28e1f5 clk: imx: imx8mq: correct error handling path
    fbbcc60999c0 clk: imx: Select MXC_CLK for CLK_IMX8QXP
    3d0eb456567e regulator: mt6358: Fail probe on unknown chip ID
    a3c73486e80e clk: qcom: gcc-sm8150: Fix gcc_sdcc2_apps_clk_src
    efa39c1e151e clk: qcom: mmcc-msm8998: Fix the SMMU GDSC
    08f003231c36 clk: qcom: mmcc-msm8998: Don't check halt bit on some branch clks
    22de7cb08bc6 clk: qcom: clk-rcg2: Fix clock rate overflow for high parent frequencies
    db96de8d8d4a clk: qcom: gcc-msm8996: Remove RPM bus clocks
    577165aa4989 clk: qcom: ipq5332: Drop set rate parent from gpll0 dependent clocks
    4eb8065494ca spi: tegra: Fix missing IRQ check in tegra_slink_probe()
    80a5d81d4cd2 regmap: debugfs: Fix a erroneous check after snprintf()
    a043d6210114 ipvlan: properly track tx_errors
    1589a9ab2566 net: add DEV_STATS_READ() helper
    d2683d7e949b virtio_net: use u64_stats_t infra to avoid data-races
    1c3b6106b64f ipv6: avoid atomic fragment on GSO packets
    cd524da2cb0a mptcp: properly account fastopen data
    729c4521d976 ACPI: sysfs: Fix create_pnp_modalias() and create_of_modalias()
    978f0f776d68 bpf: Fix unnecessary -EBUSY from htab_lock_bucket
    49e30526fa4d Bluetooth: hci_sync: Fix Opcode prints in bt_dev_dbg/err
    e9f708beada5 Bluetooth: Make handle of hci_conn be unique
    cfe86064f3b2 Bluetooth: ISO: Pass BIG encryption info through QoS
    c03a10bd5b6c Bluetooth: ISO: Use defer setup to separate PA sync and BIG sync
    2dae48035862 wifi: iwlwifi: empty overflow queue during flush
    23afa6598cf9 wifi: iwlwifi: mvm: update IGTK in mvmvif upon D3 resume
    e8e2baaee4cb wifi: iwlwifi: pcie: synchronize IRQs before NAPI
    3cccddd70eb0 wifi: iwlwifi: mvm: fix netif csum flags
    e03348361533 wifi: iwlwifi: increase number of RX buffers for EHT devices
    b78cbb0236cf wifi: iwlwifi: mvm: remove TDLS stations from FW
    9c3bd60f393b wifi: iwlwifi: mvm: fix iwl_mvm_mac_flush_sta()
    dbe89643a5cf wifi: iwlwifi: mvm: change iwl_mvm_flush_sta() API
    8ddf2212cfa5 wifi: iwlwifi: mvm: Don't always bind/link the P2P Device interface
    6ff7022af4f9 wifi: iwlwifi: mvm: Fix key flags for IGTK on AP interface
    67abefa1b6a2 wifi: iwlwifi: mvm: Correctly set link configuration
    85998fb855d5 wifi: iwlwifi: yoyo: swap cdb and jacket bits values
    a989fe88b4da wifi: mac80211: Fix setting vif links
    fb506ef6073c wifi: mac80211: don't recreate driver link debugfs in reconfig
    8bb8769a5be4 wifi: iwlwifi: mvm: use correct sta ID for IGTK/BIGTK
    02b4f94db6a9 wifi: iwlwifi: mvm: fix removing pasn station for responder
    eec6e3a038f2 wifi: iwlwifi: mvm: update station's MFP flag after association
    a37178ca64e5 tcp: fix cookie_init_timestamp() overflows
    5a8444edba46 chtls: fix tp->rcv_tstamp initialization
    3ea25904699d thermal: core: Don't update trip points inside the hysteresis range
    25fb2d77d864 net: skb_find_text: Ignore patterns extending past 'to'
    ddd13ab729e8 selftests: netfilter: test for sctp collision processing in nf_conntrack
    36b6a910966a bpf: Fix missed rcu read lock in bpf_task_under_cgroup()
    0e26bd87a123 thermal/drivers/mediatek: Fix probe for THERMAL_V2
    8c38926925e6 r8169: fix rare issue with broken rx after link-down on RTL8125
    0f6b3be28c4d thermal: core: prevent potential string overflow
    1a33a7eed322 wifi: rtw88: Remove duplicate NULL check before calling usb_kill/free_urb()
    6809ededee0c netfilter: nf_tables: Drop pointless memset when dumping rules
    564f5b55c491 wifi: wfx: fix case where rates are out of order
    adf59b43d1c1 PM / devfreq: rockchip-dfi: Make pmu regmap mandatory
    53c468008a7c can: dev: can_put_echo_skb(): don't crash kernel if can_priv::echo_skb is accessed out of bounds
    b20ffe03852c can: dev: can_restart(): fix race condition between controller restart and netif_carrier_on()
    e999bb83bc24 can: dev: can_restart(): don't crash kernel if carrier is OK
    aecdee9ea305 wifi: ath11k: fix Tx power value during active CAC
    6c8a21833542 can: etas_es58x: add missing a blank line after declaration
    a7c770dad30d can: etas_es58x: rework the version check logic to silence -Wformat-truncation
    6fefd3a91f9d ACPI: video: Add acpi_backlight=vendor quirk for Toshiba Portégé R100
    3c243765ecff ACPI: property: Allow _DSD buffer data only for byte accessors
    dc40d464a6e2 wifi: rtlwifi: fix EDCA limit set by BT coexistence
    033ea0297afa tcp_metrics: do not create an entry from tcp_init_metrics()
    9b248b297c5d tcp_metrics: properly set tp->snd_ssthresh in tcp_init_metrics()
    f49ce3b36f19 tcp_metrics: add missing barriers on delete
    1946b7ee4639 wifi: ath: dfs_pattern_detector: Fix a memory initialization issue
    0137d53ad903 wifi: mt76: mt7915: fix beamforming availability check
    c8cbbafb9257 wifi: mt76: fix per-band IEEE80211_CONF_MONITOR flag comparison
    a3974410431a wifi: mt76: get rid of false alamrs of tx emission issues
    53680becbf98 wifi: mt76: fix potential memory leak of beacon commands
    0e39acefbd81 wifi: mt76: update beacon size limitation
    9876a27f8bab wifi: mt76: mt7996: fix TWT command format
    03b551ea5793 wifi: mt76: mt7996: fix rx rate report for CBW320-2
    919eb49073ad wifi: mt76: mt7996: fix wmm queue mapping
    85670c859798 wifi: mt76: mt7996: fix beamformee ss subfield in EHT PHY cap
    c3bcca36485f wifi: mt76: mt7996: fix beamform mcu cmd configuration
    0f646b7673c5 wifi: mt76: mt7996: set correct wcid in txp
    c2deba4c5d44 wifi: mt76: remove unused error path in mt76_connac_tx_complete_skb
    d8633bde468c wifi: mt76: connac: move connac3 definitions in mt76_connac3_mac.h
    c67c80221728 wifi: mt76: mt7603: improve stuck beacon handling
    f65f47ebd64a wifi: mt76: mt7603: improve watchdog reset reliablity
    33f73d154e4e wifi: mt76: mt7603: rework/fix rx pse hang check
    9c6b20fd5e8d cpufreq: tegra194: fix warning due to missing opp_put
    e6db756dea7e PM: sleep: Fix symbol export for _SIMPLE_ variants of _PM_OPS()
    57ec37162d91 wifi: mac80211: fix check for unusable RX result
    5a9f55efa933 wifi: ath11k: fix boot failure with one MSI vector
    c58a1ed71752 wifi: ath12k: fix DMA unmap warning on NULL DMA address
    002835b8594c wifi: rtw88: debug: Fix the NULL vs IS_ERR() bug for debugfs_create_file()
    c4d57007947b net: ethernet: mtk_wed: fix EXT_INT_STATUS_RX_FBUF definitions for MT7986 SoC
    2996a509c0c9 net: spider_net: Use size_add() in call to struct_size()
    26ff419dfd91 tipc: Use size_add() in calls to struct_size()
    7c13d9cce81b tls: Use size_add() in call to struct_size()
    d648260e44a2 mlxsw: Use size_mul() in call to struct_size()
    3f7955a902d8 gve: Use size_add() in call to struct_size()
    1e5788c94e97 bpf: Fix kfunc callback register type handling
    71b468c11ac2 tcp: call tcp_try_undo_recovery when an RTOd TFO SYNACK is ACKed
    861279e5fce0 selftests/bpf: Skip module_fentry_shadow test when bpf_testmod is not available
    91df7ecb5e7d udplite: fix various data-races
    ab764daadadd udplite: remove UDPLITE_BIT
    645d838018f7 udp: annotate data-races around udp->encap_type
    b92fd3e60d7d udp: lockless UDP_ENCAP_L2TPINUDP / UDP_GRO
    f3c11d077a5f udp: move udp->accept_udp_{l4|fraglist} to udp->udp_flags
    f835f0c6252c udp: add missing WRITE_ONCE() around up->encap_rcv
    71e5417cee0f udp: move udp->gro_enabled to udp->udp_flags
    d18aa214b26a udp: move udp->no_check6_rx to udp->udp_flags
    06073e04aeec udp: move udp->no_check6_tx to udp->udp_flags
    f0fe1abb2826 udp: introduce udp->udp_flags
    c7072b00bd09 wifi: cfg80211: fix kernel-doc for wiphy_delayed_work_flush()
    028480eaf2a1 bpf, x64: Fix tailcall infinite loop
    8d650d035ac7 bpf, x86: allow function arguments up to 12 for TRACING
    3953ef4ca975 bpf, x86: save/restore regs with BPF_DW size
    dbb56575b86f selftests/bpf: Correct map_fd to data_fd in tailcalls
    dadda161609c iavf: Fix promiscuous mode configuration flow messages
    e381bf9edc9b i40e: fix potential memory leaks in i40e_remove()
    446d03186fe9 wifi: iwlwifi: don't use an uninitialized variable
    6313926b3e32 wifi: iwlwifi: honor the enable_ini value
    ebda7f6fe90a wifi: mac80211: fix # of MSDU in A-MSDU calculation
    fc658d36928d wifi: cfg80211: fix off-by-one in element defrag
    13455e5b9864 wifi: mac80211: fix RCU usage warning in mesh fast-xmit
    0d7d812fcfde wifi: mac80211: move sched-scan stop work to wiphy work
    f293f4ebcbdc wifi: mac80211: move offchannel works to wiphy work
    63aa1a0fa677 wifi: mac80211: move scan work to wiphy work
    8eb0012a0936 wifi: mac80211: move radar detect work to wiphy work
    a591a106f36c wifi: cfg80211: add flush functions for wiphy work
    364816d0c5d2 wifi: ath12k: fix undefined behavior with __fls in dp
    982ea0aa2bc5 irqchip/sifive-plic: Fix syscore registration for multi-socket systems
    a979a1cc9aea genirq/matrix: Exclude managed interrupts in irq_matrix_allocated()
    4410c1bc4868 string: Adjust strtomem() logic to allow for smaller sources
    728835dc03a3 PCI/MSI: Provide stubs for IMS functions
    9e1d81681317 selftests/x86/lam: Zero out buffer for readlink()
    414d48289cd0 perf: Optimize perf_cgroup_switch()
    1c426da79f9f pstore/platform: Add check for kstrdup
    d15950c49046 x86/nmi: Fix out-of-order NMI nesting checks & false positive warning
    d3dd62fcfa6b drivers/clocksource/timer-ti-dm: Don't call clk_get_rate() in stop function
    8152efcae888 srcu: Fix callbacks acceleration mishandling
    b427ae0ccf13 x86/apic: Fake primary thread mask for XEN/PV
    efd6e0851071 cpu/SMT: Make SMT control more robust against enumeration failures
    15141adf85b1 cpu/SMT: Create topology_smt_thread_allowed()
    2909a6404460 cpu/hotplug: Remove dependancy against cpu_primary_thread_mask
    147a1ba15c5f x86/boot: Fix incorrect startup_gdt_descr.size
    c87f1c452ca1 x86/sev-es: Allow copy_from_kernel_nofault() in earlier boot
    b776e9161ab6 ACPI/NUMA: Apply SRAT proximity domain to entire CFMWS window
    9011702db2c7 x86/numa: Introduce numa_fill_memblks()
    5c758ec2f5b1 futex: Don't include process MM in futex key on no-MMU
    9c39fa2992c3 x86/srso: Fix unret validation dependencies
    e310a2eb785f x86/srso: Fix vulnerability reporting for missing microcode
    1f7f6ef03896 x86/srso: Print mitigation for retbleed IBPB case
    68f9ff154168 x86/srso: Fix SBPB enablement for (possible) future fixed HW
    6ef3d8bed0cb writeback, cgroup: switch inodes with dirty timestamps to release dying cgwbs
    e1d6675d4baf vfs: fix readahead(2) on block devices
    3aa811a186df nfsd: Handle EOPENSTALE correctly in the filecache
    ef90e6ef5cb4 sched: Fix stop_one_cpu_nowait() vs hotplug
    761c20be2c45 objtool: Propagate early errors
    311485482fa4 sched/uclamp: Ignore (util == 0) optimization in feec() when p_util_max = 0
    f4988493495f sched/uclamp: Set max_spare_cap_cpu even if max_spare_cap is 0
    126e7873d4e7 iov_iter, x86: Be consistent about the __user tag on copy_mc_to_user()
    1ba876f33d96 sched/fair: Fix cfs_rq_is_decayed() on !SMP
    107688f52ae3 sched/topology: Fix sched_numa_find_nth_cpu() in non-NUMA case
    e213ce7956cd sched/topology: Fix sched_numa_find_nth_cpu() in CPU-less case
    5efa13258d8f numa: Generalize numa_map_to_online_node()
    ef041fcee0bf hwmon: (nct6775) Fix incorrect variable reuse in fan_div calculation

(From OE-Core rev: 33a9b4a6d292a92443046fec141cb8a6ab2c6084)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d4fc2c7ff53db1b914b9830a71f8fab5e2a27254)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Bruce Ashfield
1b4fc88a69 linux-yocto/6.5: update to v6.5.11
Updating  to the latest korg -stable release that comprises
the following commits:

    799441832db1 Linux 6.5.11
    dd1756d79179 ASoC: SOF: sof-pci-dev: Fix community key quirk detection
    aab16960e6e7 ALSA: hda: intel-dsp-config: Fix JSL Chromebook quirk detection
    575d3966a7da serial: core: Fix runtime PM handling for pending tx
    9f625a9ec6ad misc: pci_endpoint_test: Add deviceID for J721S2 PCIe EP device support
    fe3545fb7c39 dt-bindings: serial: rs485: Add rs485-rts-active-high
    71a913eb5331 tty: 8250: Add Brainboxes Oxford Semiconductor-based quirks
    7ffbf5db6963 tty: 8250: Add support for Intashield IX cards
    8435b1f55760 tty: 8250: Add support for additional Brainboxes PX cards
    21b8147a36f8 tty: 8250: Fix up PX-803/PX-857
    98f984ff81de tty: 8250: Fix port count of PX-257
    256a534427e9 tty: 8250: Add support for Intashield IS-100
    933dde5b2082 tty: 8250: Add support for Brainboxes UP cards
    a4a09f0ed3cd tty: 8250: Add support for additional Brainboxes UC cards
    ca7f138b2c52 tty: 8250: Remove UC-257 and UC-431
    19d34b73234a tty: n_gsm: fix race condition in status line change on dead connections
    fd277724946d Bluetooth: hci_bcm4377: Mark bcm4378/bcm4387 as BROKEN_LE_CODED
    885108988763 usb: raw-gadget: properly handle interrupted requests
    9ee038590d80 usb: typec: tcpm: Fix NULL pointer dereference in tcpm_pd_svdm()
    de5ac4d46304 usb: typec: tcpm: Add additional checks for contaminant
    80105fc04b44 usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility
    c99f302ea679 PCI: Prevent xHCI driver from claiming AMD VanGogh USB3 DRD device
    52d89332fbc6 ALSA: usb-audio: add quirk flag to enable native DSD for McIntosh devices
    c75a5e421b07 mmap: fix error paths with dup_anon_vma()
    578c20ab383f mmap: fix vma_iterator in error path of vma_merge()
    cd91606eff46 perf evlist: Avoid frequency mode for the dummy event
    65d457433a08 power: supply: core: Use blocking_notifier_call_chain to avoid RCU complaint
    a58f5fabcab0 rust: types: make `Opaque` be `!Unpin`
    7fba72536eb5 rust: make `UnsafeCell` the outer type in `Opaque`
    07256dc046b1 drm/amd/display: Don't use fsleep for PSR exit waits
    4ec5def87694 ceph_wait_on_conflict_unlink(): grab reference before dropping ->d_lock
    fd652af1e1f9 io_uring: kiocb_done() should *not* trust ->ki_pos if ->{read,write}_iter() failed
    fd318cc5b221 powerpc/mm: Fix boot crash with FLATMEM
    c1d14ab7d666 r8152: Check for unplug in r8153b_ups_en() / r8153c_ups_en()
    b233d39f7e15 r8152: Check for unplug in rtl_phy_patch_request()
    19471af243b2 net: chelsio: cxgb4: add an error code check in t4_load_phy_fw
    17002b8f2606 riscv: dts: thead: set dma-noncoherent to soc bus
    9f0400d31e56 drm/amdgpu: Reserve fences for VM update
    6ca3c25f5472 platform/mellanox: mlxbf-tmfifo: Fix a warning message
    6cca6f997088 netfilter: nf_tables: audit log object reset once per table
    99d311781fe5 LoongArch: Disable WUC for pgprot_writecombine() like ioremap_wc()
    6b43fea5f245 LoongArch: Replace kmap_atomic() with kmap_local_page() in copy_user_highpage()
    c86a4fbc2d5a LoongArch: Export symbol invalid_pud_table for modules building
    74f9c03ecf79 LoongArch: Use SYM_CODE_* to annotate exception handlers
    19fe554e5fcf gpu/drm: Eliminate DRM_SCHED_PRIORITY_UNSET
    4ca54e8b459d drm/amdgpu: Unset context priority is now invalid
    4debab37b1bc ASoC: da7219: Correct the process of setting up Gnd switch in AAD
    22da32b45717 scsi: mpt3sas: Fix in error path
    8377f82beacf fbdev: uvesafb: Call cn_del_callback() at the end of uvesafb_exit()
    0a997e6eeee8 fbdev: omapfb: fix some error codes
    93ff3297b04a drm/ttm: Reorder sys manager cleanup step
    0074d0980bf8 s390/kasan: handle DCSS mapping in memory holes
    652d60ecb7a5 ASoC: codecs: tas2780: Fix log of failed reset via I2C.
    4dd62532e05c ASoC: rt5650: fix the wrong result of key button
    ce5329ee79e5 efi: fix memory leak in krealloc failure handling
    c76be4af694e x86/efistub: Don't try to print after ExitBootService()
    5c4e4f31643d net/mlx5: Bridge, fix peer entry ageing in LAG mode
    ead8d9a6b6ff netfilter: nfnetlink_log: silence bogus compiler warning
    988ed1c96c42 ASoC: soc-dapm: Add helper for comparing widget name
    c68a8c5b50b9 spi: npcm-fiu: Fix UMA reads when dummy.nbytes == 0
    6777f23bca89 fs/ntfs3: Avoid possible memory leak
    b9ec0e799a2d fs/ntfs3: Fix directory element type detection
    0030ccd87a87 fs/ntfs3: Fix NULL pointer dereference on error in attr_allocate_frame()
    3228a2e0e5a7 fs/ntfs3: Fix possible NULL-ptr-deref in ni_readpage_cmpr()
    d408008a881a fs/ntfs3: Do not allow to change label if volume is read-only
    da05aa786c20 fs/ntfs3: Add more info into /proc/fs/ntfs3/<dev>/volinfo
    31baaf864b39 fs/ntfs3: Fix alternative boot searching
    1d7dd485108d fs/ntfs3: Add more attributes checks in mi_enum_attr()
    36ffca949ab2 fs/ntfs3: Use kvmalloc instead of kmalloc(... __GFP_NOWARN)
    28ece3bd8596 fs/ntfs3: Write immediately updated ntfs state
    8d3d7dbdbddd fs/ntfs3: Add ckeck in ni_update_parent()
    78b4576f0e38 fbdev: atyfb: only use ioremap_uc() on i386 and ia64
    83a28f46ed3c Input: synaptics-rmi4 - handle reset delay when using SMBus trsnsport
    a18a7cc55c5b media: i2c: ov8858: Don't set fwnode in the driver
    d4c3cb925e65 powerpc/85xx: Fix math emulation exception
    0cae483a9c8e ata: pata_parport: fit3: implement IDE command set registers
    e2fa6f732a73 ata: pata_parport: add custom version of wait_after_reset
    142ac0fda553 dmaengine: ste_dma40: Fix PM disable depth imbalance in d40_probe
    5976e4ed1405 irqchip/stm32-exti: add missing DT IRQ flag translation
    b65f1eec2d8e irqchip/riscv-intc: Mark all INTC nodes as initialized
    4b0dfa2fc745 can: flexcan: remove the auto stop mode for IMX93
    4bd493ce8d74 arm64: dts: imx93: add the Flex-CAN stop mode by GPR
    92705546718b net: sched: cls_u32: Fix allocation size in u32_init()
    6f9195596a6f ASoC: tlv320adc3xxx: BUG: Correct micbias setting
    31af9e3be3cd ASoC: core: Do not call link_exit() on uninitialized rtd objects
    0716f52fa334 ASoC: fsl-asoc-card: use integer type for fll_id and pll_id
    ac947c0992ef coresight: tmc-etr: Disable warnings for allocation failures
    4dfa1e33d481 ASoC: simple-card: fixup asoc_simple_probe() error handling
    8555438a0d87 ASoC: Intel: sof_sdw: add support for SKU 0B14

(From OE-Core rev: fb7733d173258bb951aa924946266bab309362b1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0f56f12e7353f97855befb765ca8c0117736cb96)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Bruce Ashfield
a62bcec004 linux-yocto/6.5: cfg: split runtime and symbol debug
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: debug: move PREEMPT_DEBUG to a runtime debug fragment
    Date: Thu, 9 Nov 2023 12:08:31 -0500

    For tools like spdx and debuggers to work with the kernel, we
    require extra information. That is provided by the DEBUG_INFO
    flags.

    In that same fragment, some runtime debugging is being enabled
    and that adds signficant overhead to the kernel.

    Let's start a new runtime debug fragment with DEBUG_PREEMPT
    and locking. We can add more to this in the future.

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 0bbd2a89f971efe2ef2d59e7f8919da2e52a7f2d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8cd829de8e8770aa4a46e984f6ef2cab3194fd29)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Bruce Ashfield
960bed420b linux-yocto/6.5: update to v6.5.10
Updating  to the latest korg -stable release that comprises
the following commits:

    43a868577dfc Linux 6.5.10
    062c1ba88b4f accel/ivpu/37xx: Fix missing VPUIP interrupts
    cdb4daffc2d4 mm/damon/sysfs: check DAMOS regions update progress from before_terminate()
    a5c9f6289625 platform/x86: Add s2idle quirk for more Lenovo laptops
    adebf494e425 clk: stm32: Fix a signedness issue in clk_stm32_composite_determine_rate()
    302479e2d4c4 clk: socfpga: gate: Account for the divider in determine_rate
    5193aec42c45 clk: Sanitize possible_parent_show to Handle Return Value of of_clk_get_parent_name
    d1e039180f81 sparc32: fix a braino in fault handling in csum_and_copy_..._user()
    516177805997 perf/core: Fix potential NULL deref
    25de47d0d6e7 x86/cpu: Add model number for Intel Arrow Lake mobile processor
    3256ad9bb4ce x86/i8259: Skip probing when ACPI/MADT advertises PCAT compatibility
    7f864ab94da3 x86/tsc: Defer marking TSC unstable to a worker
    cfa5aa4a5ea2 nvmem: imx: correct nregs for i.MX6UL
    4f6c3da9a978 nvmem: imx: correct nregs for i.MX6SLL
    3e325ac1eec9 nvmem: imx: correct nregs for i.MX6ULL
    bc0991e8e1fb misc: fastrpc: Unmap only if buffer is unmapped from DSP
    8e4afa8598d9 misc: fastrpc: Clean buffers on remote invocation failures
    c2400bfd8ce4 misc: fastrpc: Free DMA handles for RPC calls with no arguments
    0351f86266f6 misc: fastrpc: Reset metadata buffer to avoid incorrect free
    96790d33261c tracing/kprobes: Fix the description of variable length arguments
    63de22fdf851 tracing/kprobes: Fix symbol counting logic by looking at modules as well
    001b2dc822d3 i2c: aspeed: Fix i2c bus hang in slave read
    20062e7a248f i2c: stm32f7: Fix PEC handling in case of SMBUS transfers
    e505ca5d9ac0 i2c: muxes: i2c-demux-pinctrl: Use of_get_i2c_adapter_by_node()
    135e2858ab78 i2c: muxes: i2c-mux-gpmux: Use of_get_i2c_adapter_by_node()
    2f7671a14960 i2c: muxes: i2c-mux-pinctrl: Use of_get_i2c_adapter_by_node()
    5f6dc4a12d79 iio: adc: xilinx-xadc: Correct temperature offset/scale for UltraScale
    f763aa29992d iio: adc: xilinx-xadc: Don't clobber preset voltage/temperature thresholds
    f2bd3c005aba iio: exynos-adc: request second interupt only when touchscreen mode is used
    0a9bb3fa6870 iio: afe: rescale: Accept only offset channels
    56e08ccc9697 io_uring/fdinfo: lock SQ thread while retrieving thread cpu/pid
    1c43576ac2d1 kasan: print the original fault addr when access invalid shadow
    6cf937305199 blk-throttle: check for overflow in calculate_bytes_allowed
    c031d9a8383d scsi: sd: Introduce manage_shutdown device flag
    927c770488fe iavf: in iavf_down, disable queues when removing the driver
    de306715bc3f drm/i915/mcr: Hold GT forcewake during steering operations
    a90e92e77bb6 drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO
    180069f6b8e8 net/sched: act_ct: additional checks for outdated flows
    533c24b368d7 netfilter: flowtable: GC pushes back packets to classic path
    36cf7d1d79ec i40e: Fix wrong check for I40E_TXR_FLAGS_WB_ON_ITR
    4c898bdfc6a1 drm/i915/perf: Determine context valid in OA reports
    9ba154363a09 gtp: fix fragmentation needed check with gso
    62376a558db3 gtp: uapi: fix GTPA_MAX
    450d6bf74c28 net/handshake: fix file ref count in handshake_nl_accept_doit()
    8279cd3af8bf wifi: mac80211: don't drop all unprotected public action frames
    943431ee2a17 wifi: cfg80211: fix assoc response warning on failed links
    989ac939b1a5 wifi: cfg80211: pass correct pointer to rdev_inform_bss()
    9617c77f0c0e tcp: fix wrong RTO timeout when received SACK reneging
    a22e19386109 r8152: Release firmware if we have an error in probe
    0fd9553632fd r8152: Cancel hw_phy_work if we have an error in probe
    56e8946e1a25 r8152: Run the unload routine if we have errors during probe
    90b49a273de0 r8152: Increase USB control msg timeout to 5000ms as per spec
    c11f5c496f65 net: usb: smsc95xx: Fix uninit-value access in smsc95xx_read_reg
    0d3295a43c63 net: ieee802154: adf7242: Fix some potential buffer overflow in adf7242_stats_show()
    8e0e94bf5b4a net: ethernet: adi: adin1110: Fix uninitialized variable
    fdba00877119 igc: Fix ambiguity in the ethtool advertising
    cf6fd6e0a831 neighbour: fix various data-races
    5f9d1995d040 net: do not leave an empty skb in write queue
    7462118b2083 igb: Fix potential memory leak in igb_add_ethtool_nfc_entry
    fd9d5ad3c865 treewide: Spelling fix in comment
    7e5beb46db3a i40e: Fix I40E_FLAG_VF_VLAN_PRUNING value
    f927602db213 iavf: initialize waitqueues before starting watchdog_task
    bcbf3f442903 r8169: fix the KCSAN reported data race in rtl_rx while reading desc->opts1
    03599d8d353a r8169: fix the KCSAN reported data-race in rtl_tx while reading TxDescArray[entry].opts1
    23473ffd3aec r8169: fix the KCSAN reported data-race in rtl_tx() while reading tp->cur_tx
    3dacf771d6e4 clk: ti: Fix missing omap5 mcbsp functional clock and aliases
    202f0a4266ca clk: ti: Fix missing omap4 mcbsp functional clock and aliases
    7e6cde9455e1 firmware/imx-dsp: Fix use_after_free in imx_dsp_setup_channels()
    ec4a1eed8259 ARM: OMAP: timer32K: fix all kernel-doc warnings
    0bc72b967d82 btrfs: fix unwritten extent buffer after snapshotting a new subvolume
    ca9cd8fb3454 btrfs: remove v0 extent handling
    1df7ca358099 drm/dp_mst: Fix NULL deref in get_mst_branch_device_by_guid_helper()
    ed93977857fd drm/amd: Disable ASPM for VI w/ all Intel systems
    5692e4e09f0a drm/i915/pmu: Check if pmu is closed before stopping event
    7c05a73c3893 accel/ivpu: Don't enter d0i3 during FLR
    4bb5ed32bf06 ARM: dts: rockchip: Fix timer clocks for RK3128
    6d6e82fb8a94 ARM: dts: rockchip: Add missing quirk for RK3128's dma engine
    835fdd9a36cc ARM: dts: rockchip: Add missing arm timer interrupt for RK3128
    568192da05cb ARM: dts: rockchip: Fix i2c0 register address for RK3128
    f4b8ef292ec6 ARM: OMAP1: ams-delta: Fix MODEM initialization failure
    0a411c59897e vdpa/mlx5: Fix double release of debugfs entry
    37509b77aeeb vdpa_sim_blk: Fix the potential leak of mgmt_dev
    a3e7e0de21cf nfsd: lock_rename() needs both directories to live on the same fs
    11bc9f5c70bb maple_tree: add GFP_KERNEL to allocations in mas_expected_entries()
    257931b5d8b1 hugetlbfs: extend hugetlb_vma_lock to private VMAs
    a6d2f04abe6a mm/mempolicy: fix set_mempolicy_home_node() previous VMA pointer
    c0ade01d5369 selftests/mm: include mman header to access MREMAP_DONTUNMAP identifier
    941f6af9946e mm/migrate: fix do_pages_move for compat pointers
    5d6ea592222a mm/page_alloc: correct start page when guard page debug is enabled
    92c5ddea6a6c hugetlbfs: clear resv_map pointer if mmap fails
    e3f64e0bb2fa mm: fix vm_brk_flags() to not bail out while holding lock
    5ee66af50c41 i40e: sync next_to_clean and next_to_process for programming status desc
    6ba04d5dfd00 arm64: dts: rockchip: Fix i2s0 pin conflict on ROCK Pi 4 boards
    7bc99864cb91 arm64: dts: rockchip: Add i2s0-2ch-bus-bclk-off pins to RK3399
    7c5934f90db6 arm64: dts: qcom: sa8775p: correct PMIC GPIO label in gpio-ranges
    7f5d458012fa arm64: dts: rockchip: set codec system-clock-fixed on px30-ringneck-haikou
    51b3ef53fa5d arm64: dts: rockchip: use codec as clock master on px30-ringneck-haikou
    aa7df1844910 arm64: dts: qcom: msm8996-xiaomi: fix missing clock populate
    d8b34f309f36 arm64: dts: qcom: apq8096-db820c: fix missing clock populate
    368b3c788e99 vhost: Allow null msg.size on VHOST_IOTLB_INVALIDATE
    e83bce65ae80 vsock/virtio: initialize the_virtio_vsock before using VQs
    7efb5418f8cb virtio_pci: fix the common cfg map size
    91dacc7d5dbd virtio-crypto: handle config changed by work queue
    5f8c38e9538f virtio-mmio: fix memory leak of vm_dev
    84a50412e433 virtio_balloon: Fix endless deflation and inflation on arm64
    436be190fbf8 smb: client: prevent new fids from being removed by laundromat
    f806b7e98cb9 smb: client: make laundromat a delayed worker
    b8c0ab226fee smb: client: do not start laundromat thread on nohandlecache
    b483b64677a1 smb3: do not start laundromat thread when dir leases disabled
    3027d3064c71 smb3: allow controlling maximum number of cached directories
    9cb2ea5d7d2a smb3: allow controlling length of time directory entries are cached with dir leases
    c3b054a86347 vdpa/mlx5: Fix firmware error on creation of 1k VQs

(From OE-Core rev: 77e9d783948949a6e7d19f750c07a8162d720223)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ddbba0d5a997d428a3c63580f845c0d581cac460)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Bruce Ashfield
6d7d4ccc05 linux-yocto/6.5: cfg: restore CONFIG_DEVMEM
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: C. Andy Martin
    Email: cam@myfastmail.com
    Subject: security.cfg: restore strict-only /dev/mem access
    Date: Fri, 27 Oct 2023 11:22:06 -0400

    CONFIG_DEVMEM was mistakenly not enabled, which defeats
    CONFIG_STRICT_DEVMEM and friends, as it completely removes all
    /dev/mem support.

    Signed-off-by: C. Andy Martin <cam@myfastmail.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 98d448d05a3f4166569159756f8bfaac4ce358ab)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c459be32000d703aad179a4bf5ef2479813f0404)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Bruce Ashfield
44d37517ed linux-yocto/6.1: update to v6.1.65
Updating  to the latest korg -stable release that comprises
the following commits:

    c6114c845984 Linux 6.1.65
    66ecd1cd8b0c io_uring: fix off-by one bvec index
    812171018e47 USB: dwc3: qcom: fix wakeup after probe deferral
    72ef87bb8e5d USB: dwc3: qcom: fix software node leak on probe errors
    fc7b2fe26769 usb: dwc3: set the dma max_seg_size
    92b9eca53de8 usb: dwc3: Fix default mode initialization
    451c5a61722d USB: dwc2: write HCINT with INTMASK applied
    d9be7a129778 usb: typec: tcpm: Skip hard reset when in error recovery
    c15cb712da41 USB: serial: option: don't claim interface 4 for ZTE MF290
    5a657b34fe83 USB: serial: option: fix FM101R-GL defines
    4fccb016ffcd USB: serial: option: add Fibocom L7xx modules
    f70b0b6fd8c6 usb: cdnsp: Fix deadlock issue during using NCM gadget
    f9ba5dd0d9c9 bcache: fixup lock c->root error
    c736af32a82b bcache: fixup init dirty data errors
    c37aca3dd513 bcache: prevent potential division by zero error
    366f3648f10e bcache: check return value from btree_node_alloc_replacement()
    4241b51f3ef8 dm-delay: fix a race between delay_presuspend and delay_bio
    c4d395751079 hv_netvsc: Mark VF as slave before exposing it to user-mode
    5dd83db613be hv_netvsc: Fix race of register_netdevice_notifier and VF register
    e8ef65c17460 hv_netvsc: fix race of netvsc and VF register_netdevice
    043c8e0306e2 USB: serial: option: add Luat Air72*U series products
    dc96fde8fcb2 s390/dasd: protect device queue against concurrent access
    b964a0a3910b io_uring/fs: consider link->flags when getting path for LINKAT
    12f497158900 bcache: fixup multi-threaded bch_sectors_dirty_init() wake-up race
    fa9bacc1d5d6 md: fix bi_status reporting in md_end_clone_io
    415f644b1f59 bcache: replace a mistaken IS_ERR() by IS_ERR_OR_NULL() in btree_gc_coalesce()
    354d162ba527 swiotlb-xen: provide the "max_mapping_size" method
    05591c0d1761 ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CVA
    1ed904f424d4 arm64: dts: imx8mn-var-som: add 20ms delay to ethernet regulator enable
    5d9ddbf4b5e7 NFSD: Fix checksum mismatches in the duplicate reply cache
    b597f3c85d2e NFSD: Fix "start of NFS reply" pointer passed to nfsd_cache_update()
    d7eb37615b93 ext4: make sure allocate pending entry not fail
    8384d8c5cc39 ext4: fix slab-use-after-free in ext4_es_insert_extent()
    9164978bce49 ext4: using nofail preallocation in ext4_es_insert_extent()
    614b383d0158 ext4: using nofail preallocation in ext4_es_insert_delayed_block()
    51cef2a5c6f9 ext4: using nofail preallocation in ext4_es_remove_extent()
    f1c236936674 ext4: use pre-allocated es in __es_remove_extent()
    ce581f8631a4 ext4: use pre-allocated es in __es_insert_extent()
    594a5f00e50c ext4: factor out __es_alloc_extent() and __es_free_extent()
    9381ff651224 ext4: add a new helper to check if es must be kept
    3a14f4fd7bda media: qcom: camss: Fix genpd cleanup
    df5bb7b408cc media: qcom: camss: Fix V4L2 async notifier error path
    fdfcdf969719 media: qcom: Initialise V4L2 async notifier later
    153a4396c304 media: camss: Convert to platform remove callback returning void
    4ae3c85e7369 media: camss: Split power domain management
    8bdcaa7c03f6 MIPS: KVM: Fix a build warning about variable set but not used
    e9c3d6b09c21 cifs: fix leak of iface for primary channel
    b24d42b52bd1 cifs: account for primary channel in the interface list
    548893404c44 cifs: distribute channels across interfaces based on speed
    5607a415d49c cifs: print last update time for interface list
    f4dff371119b smb3: allow dumping session and tcon id to improve stats analysis and debugging
    fbc666a9ac5a cifs: minor cleanup of some headers
    c2d336140a10 lockdep: Fix block chain corruption
    e9611e840431 USB: dwc3: qcom: fix ACPI platform device leak
    eaa315288b32 USB: dwc3: qcom: fix resource leaks on probe deferral
    0e485f12ebb7 nvmet: nul-terminate the NQNs passed in the connect command
    573fa2b70808 i40e: Fix adding unsupported cloud filters
    f7f3e69cedb9 i40e: use ERR_PTR error print in i40e messages
    27f5dd22af56 arm64: mm: Fix "rodata=on" when CONFIG_RODATA_FULL_DEFAULT_ENABLED=y
    558b8ee45f7f mm,kfence: decouple kfence from page granularity mapping judgement
    48b3ee0134db afs: Fix file locking on R/O volumes to operate in local mode
    f9cf17836ec3 afs: Return ENOENT if no cell DNS record can be found
    8025fd0706c8 net: axienet: Fix check for partial TX checksum
    3481ff38118c amd-xgbe: propagate the correct speed and duplex status
    73d114dd5703 amd-xgbe: handle the corner-case during tx completion
    4bcc07bb360e amd-xgbe: handle corner-case during sfp hotplug
    76b088b63958 octeontx2-pf: Fix ntuple rule creation to direct packet to VF with higher Rx queue than its PF
    97703eb199a3 arm/xen: fix xen_vcpu_info allocation alignment
    94a0ae698b4d net/smc: avoid data corruption caused by decline
    a573b334be26 net: usb: ax88179_178a: fix failed operations during ax88179_reset
    e784313dd00a ipv4: Correct/silence an endian warning in __ip_do_redirect
    377c4c7e97c6 HID: fix HID device resource race between HID core and debugging support
    8e9a64996528 drm/rockchip: vop: Fix color for RGB888/BGR888 format on VOP full
    84a6e475451d drm/i915: do not clean GT table on error path
    84c9d30dbc0e ata: pata_isapnp: Add missing error check for devm_ioport_map()
    cfbdb367277e octeontx2-pf: Fix memory leak during interface down
    4206f46d3f04 wireguard: use DEV_STATS_INC()
    7dfa5147444f drm/panel: simple: Fix Innolux G101ICE-L01 timings
    7f5eae8585c8 drm/panel: simple: Fix Innolux G101ICE-L01 bus flags
    39f11604e55d drm/panel: auo,b101uan08.3: Fine tune the panel power sequence
    84b232a9c81b drm/panel: boe-tv101wum-nl6: Fine tune the panel power sequence
    d2b3bc8c7f63 afs: Make error on cell lookup failure consistent with OpenAFS
    790ea5bc4022 afs: Fix afs_server_list to be cleaned up with RCU
    6ac30d748bb0 Linux 6.1.64
    04ff8a5107a5 RISC-V: drop error print from riscv_hartid_to_cpuid()
    9e1e0887ea21 cxl/port: Fix NULL pointer access in devm_cxl_add_port()
    c88cfbb18a5e mmc: sdhci-pci-gli: GL9755: Mask the replay timer timeout of AER
    2132941b453f Input: xpad - add VID for Turtle Beach controllers
    2fa74d29fc18 tracing: Have trace_event_file have ref counters
    6460508dce00 powerpc/powernv: Fix fortify source warnings in opal-prd.c
    4c55be085534 drm/amd/display: Change the DMCUB mailbox memory location from FB to inbox
    68d774eb10e2 drm/amd/display: Enable fast plane updates on DCN3.2 and above
    fb5c134ca589 drm/amd/display: fix a NULL pointer dereference in amdgpu_dm_i2c_xfer()
    51ffa1a3792e drm/amdgpu: lower CS errors to debug severity
    c52aac5884bc drm/amdgpu: fix error handling in amdgpu_bo_list_get()
    2ab6c1237bd4 drm/amdgpu: don't use ATRM for external devices
    965dce07a4fc drm/amdgpu: don't use pci_is_thunderbolt_attached()
    8e54a91d3e66 drm/amdgpu/smu13: drop compute workload workaround
    454d0cdd7c12 drm/amd/pm: Fix error of MACO flag setting code
    07e94f204f38 drm/i915: Fix potential spectre vulnerability
    9457636a4926 drm/i915: Bump GLK CDCLK frequency when driving multiple pipes
    e973f40de161 drm/amd/pm: Handle non-terminated overdrive commands.
    dc4542861ec8 ext4: properly sync file size update after O_SYNC direct IO
    e1d0f68bc07f ext4: add missed brelse in update_backups
    1793dc461e5a ext4: remove gdb backup copy for meta bg in setup_new_flex_group_blocks
    80ddcf21e7e0 ext4: correct the start block of counting reserved clusters
    ec4ba3d62f0f ext4: correct return value of ext4_convert_meta_bg
    32b9fb9a67ec ext4: mark buffer new if it is unwritten to avoid stale data exposure
    f0cc1368fafd ext4: correct offset of gdb backup in non meta_bg group to update_backups
    af075d06b34f ext4: apply umask if ACL support is disabled
    e795a56654fd Revert "net: r8169: Disable multicast filter for RTL8168H and RTL8107E"
    eb2f435be2c4 media: qcom: camss: Fix csid-gen2 for test pattern generator
    eeab07ddd020 media: qcom: camss: Fix invalid clock enable bit disjunction
    18a06f2eeb84 media: qcom: camss: Fix missing vfe_lite clocks check
    ddc424aedbd3 media: qcom: camss: Fix VFE-480 vfe_disable_output()
    0f3e5f93fe77 media: qcom: camss: Fix VFE-17x vfe_disable_output()
    04ef31a3e38a media: qcom: camss: Fix vfe_get() error jump
    3166c3af55fe media: qcom: camss: Fix pm_domain_on sequence in probe
    6dcb2605c284 mmc: sdhci-pci-gli: GL9750: Mask the replay timer timeout of AER
    f7164cb0371f r8169: add handling DASH when DASH is disabled
    862565f32494 r8169: fix network lost after resume on DASH systems
    9e9e2107ae36 mptcp: fix setsockopt(IP_TOS) subflow locking
    dba6f08cef19 mptcp: add validity check for sending RM_ADDR
    70ff9b65a728 mptcp: deal with large GSO size
    16fcda24b175 mm: kmem: drop __GFP_NOFAIL when allocating objcg vectors
    a7fd03355027 mm: fix for negative counter: nr_file_hugepages
    2594bdaa16b4 mmc: sdhci-pci-gli: A workaround to allow GL9750 to enter ASPM L1.2
    97fb6013f318 riscv: kprobes: allow writing to x0
    645257ad8d30 riscv: correct pt_level name via pgtable_l5/4_enabled
    fb1b16f04135 riscv: mm: Update the comment of CONFIG_PAGE_OFFSET
    9f74b261e4e2 LoongArch: Mark __percpu functions as always inline
    1bb61fb7908c nfsd: fix file memleak on client_opens_release
    a5d4be493afc dm-verity: don't use blocking calls from tasklets
    002d2473ddec drm/mediatek/dp: fix memory leak on ->get_edid callback error path
    5e9fcba176f9 drm/mediatek/dp: fix memory leak on ->get_edid callback audio detection
    e08232647386 media: ccs: Correctly initialise try compose rectangle
    424fc4638119 media: venus: hfi: add checks to handle capabilities from firmware
    9ebb3c14ec95 media: venus: hfi: fix the check to handle session buffer requirement
    a3e0b55deaf7 media: venus: hfi_parser: Add check to keep the number of codecs within range
    997639c100fa media: sharp: fix sharp encoding
    41c269083c4d media: lirc: drop trailing space from scancode transmit
    526dd7540a09 f2fs: avoid format-overflow warning
    6122b72ce54a f2fs: do not return EFSCORRUPTED, but try to run online repair
    e6fa9ac60fae i2c: i801: fix potential race in i801_block_transaction_byte_by_byte
    f5617a21c71c net: phylink: initialize carrier state at creation
    105d29fa8dba net: dsa: lan9303: consequently nested-lock physical MDIO
    eef592e71ae1 net: ethtool: Fix documentation of ethtool_sprintf()
    57e35d922996 s390/ap: fix AP bus crash on early config change callback invocation
    75d5c85cf402 i2c: designware: Disable TX_EMPTY irq while waiting for block length byte
    ba1a9eef3e53 sbsa_gwdt: Calculate timeout with 64-bit math
    cfcb1e7c17c3 lsm: fix default return value for inode_getsecctx
    7a048a90ac3e lsm: fix default return value for vm_enough_memory
    b3fd9db79e30 Revert "i2c: pxa: move to generic GPIO recovery"
    677fc3780fa4 Revert ncsi: Propagate carrier gain/loss events to the NCSI controller
    31f6ff62dfc0 cxl/region: Fix x1 root-decoder granularity calculations
    683b6a7324c6 tools/testing/cxl: Define a fixed volatile configuration to parse
    8cdc6b8b816d cxl/mem: Move devm_cxl_add_endpoint() from cxl_core to cxl_mem
    8fce427169ec cxl: Unify debug messages when calling devm_cxl_add_port()
    e841a59ac1d8 i3c: master: svc: fix random hot join failure since timeout error
    a807a44189d1 i3c: master: svc: add NACK check after start byte sent
    90db4c1d5eba cxl/region: Do not try to cleanup after cxl_region_setup_targets() fails
    c415f113d90e cxl/region: Move region-position validation to a helper
    008b08ab0773 cxl/region: Cleanup target list on attach error
    93d242f63ed3 cxl/region: Validate region mode vs decoder mode
    3b70d45c7ea8 drm/amd/display: enable dsc_clk even if dsc_pg disabled
    1d1cc275d1d7 Bluetooth: btusb: Add 0bda:b85b for Fn-Link RTL8852BE
    6c6a39080bd2 Bluetooth: btusb: Add RTW8852BE device 13d3:3570 to device tables
    ba9302fd936c bluetooth: Add device 13d3:3571 to device tables
    fc3423d55c86 bluetooth: Add device 0bda:887b to device tables
    f1c7f81e973f Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x0cb8:0xc559
    1f026218f8a3 clk: visconti: Fix undefined behavior bug in struct visconti_pll_provider
    b2a28287209a clk: visconti: remove unused visconti_pll_provider::regmap
    e785584e0a0b cpufreq: stats: Fix buffer overflow detection in trans_stats()
    c2d14682b36d pmdomain: imx: Make imx pgc power domain also set the fwnode
    8bd370cc3cd6 pmdomain: bcm: bcm2835-power: check if the ASB register is equal to enable
    68620ef460df ALSA: hda/realtek: Add quirks for HP Laptops
    4d50004416df ALSA: hda/realtek: Enable Mute LED on HP 255 G10
    4645d3bcd5ff ALSA: hda/realtek - Enable internal speaker of ASUS K6500ZC
    eaa4e4ba7ace ALSA: hda/realtek - Add Dell ALC295 to pin fall back table
    0fcc2cf28f6c ALSA: hda/realtek: Enable Mute LED on HP 255 G8
    fa7c9cc3cb31 ALSA: info: Fix potential deadlock at disconnection
    a0d43e0f7ce4 btrfs: zoned: wait for data BG to be finished on direct IO allocation
    9ad4c7f065bf xfs: recovery should not clear di_flushiter unconditionally
    209379924a85 cifs: do not reset chan_max if multichannel is not supported at mount
    c9569bfd2868 cifs: force interface update before a fresh session setup
    5bdf34ca3242 cifs: reconnect helper should set reconnect for the right channel
    9eb44db68c5b smb: client: fix potential deadlock when releasing mids
    558817597d5f smb: client: fix use-after-free bug in cifs_debug_data_proc_show()
    49d0ff613f4d smb3: fix caching of ctime on setxattr
    34828baf81ef smb3: fix touch -h of symlink
    9d96ac07aee2 smb3: fix creating FIFOs when mounting with "sfu" mount option
    5691e1569569 fs: add ctime accessors infrastructure
    b50ca24c3ec1 xhci: Enable RPM on controllers that support low-power states
    72a90e7eb4a1 parisc/power: Fix power soft-off when running on qemu
    40b6914f4278 parisc/pgtable: Do not drop upper 5 address bits of physical address
    1651b334f1f6 parisc: Prevent booting 64-bit kernels on PA1.x machines
    3ddb2fa5ec1c i3c: master: svc: fix SDA keep low when polling IBIWON timeout happen
    1ea1fb221662 i3c: master: svc: fix check wrong status register in irq handler
    65d9f61324fc i3c: master: svc: fix ibi may not return mandatory data byte
    e32e9cba564e i3c: master: svc: fix wrong data return when IBI happen during start frame
    3a8e03f133c0 i3c: master: svc: fix race condition in ibi work thread
    de6ca501addc i3c: master: cdns: Fix reading status register
    3b93096d29c5 mtd: cfi_cmdset_0001: Byte swap OTP info
    aee642ae995e mm/memory_hotplug: use pfn math in place of direct struct page manipulation
    5a2768b9de0c mm/cma: use nth_page() in place of direct struct page manipulation
    20412ca356e5 s390/cmma: fix detection of DAT pages
    7fc465d2653a dmaengine: stm32-mdma: correct desc prep when channel running
    55d699e2d2ef mcb: fix error handling for different scenarios when parsing
    afcde812ddf5 driver core: Release all resources during unbind before updating device links
    f7ab9dee2200 tracing: Have the user copy of synthetic event address use correct context
    185f3617adc8 i2c: core: Run atomic i2c xfer when !preemptible
    59cb785919fd kernel/reboot: emergency_restart: Set correct system_state
    4f3135e2dd5b quota: explicitly forbid quota files from being encrypted
    ed3cc4f3cac4 jbd2: fix potential data lost in recovering journal raced with synchronizing fs bdev
    e166cc2bf51f ASoC: codecs: wsa-macro: fix uninitialized stack variables with name prefix
    479a120a043f hid: lenovo: Resend all settings on reset_resume for compact keyboards
    9ea5df7290e5 selftests/resctrl: Reduce failures due to outliers in MBA/MBM tests
    72f5a918b450 selftests/resctrl: Move _GNU_SOURCE define into Makefile
    e6526e403aaf selftests/resctrl: Remove duplicate feature check from CMT test
    3f100cc63a0c netfilter: nf_tables: split async and sync catchall in two functions
    13e2d49647a7 netfilter: nf_tables: remove catchall element in GC sync path
    143f450c6cb2 ima: detect changes to the backing overlay file
    2c63b9d7f7c8 ima: annotate iint mutex to avoid lockdep false positive warnings
    db98de0809f1 mfd: qcom-spmi-pmic: Fix revid implementation
    5231eb119079 mfd: qcom-spmi-pmic: Fix reference leaks in revid helper
    4d259683bc1c arm64: dts: qcom: ipq6018: Fix tcsr_mutex register size
    c754a6f5c3c7 ACPI: FPDT: properly handle invalid FPDT subtables
    95e747c3c60d firmware: qcom_scm: use 64-bit calling convention only when client is 64-bit
    cd222fc61e12 arm64: dts: qcom: ipq8074: Fix hwlock index for SMEM
    e866ef947a65 btrfs: don't arbitrarily slow down delalloc if we're committing
    ddf42b7c8d81 rcu: kmemleak: Ignore kmemleak false positives when RCU-freeing objects
    d15029481813 PM: hibernate: Clean up sync_read handling in snapshot_write_next()
    567c6f64950e PM: hibernate: Use __get_safe_page() rather than touching the list
    2c9222b7dc58 arm64: dts: qcom: ipq6018: Fix hwlock index for SMEM
    8d837850d3ec rcu/tree: Defer setting of jiffies during stall reset
    6aa3cab6be11 svcrdma: Drop connection after an RDMA Read error
    4b0d6ddb6466 wifi: wilc1000: use vmm_table as array in wilc struct
    efd8e6d19c14 PCI: exynos: Don't discard .remove() callback
    75bf9a8b0e89 PCI: kirin: Don't discard .remove() callback
    e02b9c6a832e PCI/ASPM: Fix L1 substate handling in aspm_attr_store_common()
    51dcd20a4a25 mmc: Add quirk MMC_QUIRK_BROKEN_CACHE_FLUSH for Micron eMMC Q2J54A
    07d425242e4f mmc: sdhci_am654: fix start loop index for TAP value parsing
    4542aa756914 mmc: vub300: fix an error code
    8387c94d73ec ksmbd: fix slab out of bounds write in smb_inherit_dacl()
    482aaa72f950 ksmbd: handle malformed smb1 message
    8e76941a1672 clk: qcom: ipq6018: drop the CLK_SET_RATE_PARENT flag from PLL clocks
    877080a34901 clk: qcom: ipq8074: drop the CLK_SET_RATE_PARENT flag from PLL clocks
    3291d3ecf331 clk: socfpga: Fix undefined behavior bug in struct stratix10_clock_data
    ea2c6e85b6b0 parisc/power: Add power soft-off when running on qemu
    783645be98c8 parisc/pdc: Add width field to struct pdc_model
    ef0224ee5399 arm64: Restrict CPU_BIG_ENDIAN to GNU as or LLVM IAS 15.x or newer
    938c4c731803 PCI: keystone: Don't discard .probe() callback
    b7d27cbfef5c PCI: keystone: Don't discard .remove() callback
    fe0b2a20f780 KEYS: trusted: Rollback init_trusted() consistently
    454ad98f31f0 KEYS: trusted: tee: Refactor register SHM usage
    3ef9944681eb genirq/generic_chip: Make irq_remove_generic_chip() irqdomain aware
    17381882fcce mmc: meson-gx: Remove setting of CMD_CFG_ERROR
    0cf7577b6b31 wifi: ath11k: fix gtk offload status event locking
    e3199b3fac65 wifi: ath11k: fix htt pktlog locking
    ca420ac4f945 wifi: ath11k: fix dfs radar event locking
    f0ea9e472611 wifi: ath11k: fix temperature event locking
    164fa9a0b1e9 regmap: Ensure range selector registers are updated after cache sync
    e10facbd25a6 ACPI: resource: Do IRQ override on TongFang GMxXGxx
    08a98c345f62 mm/damon/sysfs: check error from damon_sysfs_update_target()
    b0fc14428ca2 mm/damon: implement a function for max nr_accesses safe calculation
    834a800c58ea mm/damon/ops-common: avoid divide-by-zero during region hotness calculation
    2b38f0dbe8ba mm/damon/lru_sort: avoid divide-by-zero in hot threshold calculation
    cf2641099c02 watchdog: move softlockup_panic back to early_param
    f0f3328af912 mm/damon/sysfs: update monitoring target regions for online input commit
    9275f65d7729 mm/damon/sysfs: remove requested targets when online-commit inputs
    4e0fbf318803 PCI/sysfs: Protect driver's D3cold preference from user space
    1a2c7a2f3594 hvc/xen: fix event channel handling for secondary consoles
    b772e415e168 hvc/xen: fix error path in xen_hvc_init() to always register frontend driver
    74db59e63bd8 hvc/xen: fix console unplug
    e5b0e2308088 tty: serial: meson: fix hard LOCKUP on crtscts mode
    5e3b2141c759 tty/sysrq: replace smp_processor_id() with get_cpu()
    5b2352c64c48 proc: sysctl: prevent aliased sysctls from getting passed to init
    d91fd028c9f6 audit: don't WARN_ON_ONCE(!current->mm) in audit_exe_compare()
    38968c63e98e audit: don't take task_lock() in audit_exe_compare() code path
    43cea54109e1 KVM: x86: Clear bit12 of ICR after APIC-write VM-exit
    27976fa91754 KVM: x86: Ignore MSR_AMD64_TW_CFG access
    7e218114a219 KVM: x86: hyper-v: Don't auto-enable stimer on write from user-space
    41689ef19b7e x86/cpu/hygon: Fix the CPU topology evaluation for real
    f0732c646a8e crypto: x86/sha - load modules based on CPU features
    1fc94de1c1a8 scsi: qla2xxx: Fix system crash due to bad pointer access
    b16ea57d6c0f scsi: megaraid_sas: Increase register read retry rount from 3 to 30 for selected registers
    bb5e307366ef scsi: mpt3sas: Fix loop logic
    dd56d432445e bpf: Fix precision tracking for BPF_ALU | BPF_TO_BE | BPF_END
    947635fa174b bpf: Fix check_stack_write_fixed_off() to correctly spill imm
    3bdbe399b82f randstruct: Fix gcc-plugin performance mode to stay in group
    bee4f891fe1f powerpc/perf: Fix disabling BHRB and instruction sampling
    4cb064f6174a perf intel-pt: Fix async branch flags
    a1d8f675ea58 media: venus: hfi: add checks to perform sanity on queue pointers
    55db76caa782 i915/perf: Fix NULL deref bugs with drm_dbg() calls
    d1a04a5219e8 cifs: fix check of rc in function generate_smb3signingkey
    17cfba4aeb2d cifs: spnego: add ';' in HOST_KEY_LEN
    4b91ba060f2e tools/power/turbostat: Enable the C-state Pre-wake printing
    c5fcba7ff98b tools/power/turbostat: Fix a knl bug
    ca56cdfab3a9 macvlan: Don't propagate promisc change to lower dev in passthru
    f9b592a9e606 net/mlx5e: Check return value of snprintf writing to fw_version buffer for representors
    0ab53cd69ffc net/mlx5e: Check return value of snprintf writing to fw_version buffer
    7f2feab70152 net/mlx5e: Reduce the size of icosq_str
    e2d93cfd1b4f net/mlx5e: Fix pedit endianness
    991ba648983b net/mlx5e: fix double free of encap_header in update funcs
    e8ae37f86368 net/mlx5e: fix double free of encap_header
    7414a28de1b3 net: stmmac: avoid rx queue overrun
    49fb68040326 net: stmmac: fix rx budget limit check
    18a169810cff netfilter: nf_tables: fix pointer math issue in nft_byteorder_eval()
    6a15d971040e netfilter: nf_conntrack_bridge: initialize err to 0
    d179189eec42 af_unix: fix use-after-free in unix_stream_read_actor()
    14b11892a6da net: ethernet: cortina: Fix MTU max setting
    1a1efaed5fc2 net: ethernet: cortina: Handle large frames
    4794b6b16a90 net: ethernet: cortina: Fix max RX frame define
    19554aa901b5 bonding: stop the device in bond_setup_by_slave()
    f84846731b93 ptp: annotate data-race around q->head and q->tail
    ceae93d76a51 xen/events: fix delayed eoi list handling
    ab3e13b35c1a ppp: limit MRU to 64K
    00768b3e90e6 net: mvneta: fix calls to page_pool_get_stats
    1e83edbc422b tipc: Fix kernel-infoleak due to uninitialized TLV value
    a28ec8322dd3 net: hns3: fix VF wrong speed and duplex issue
    55d82e092c68 net: hns3: fix VF reset fail issue
    f47c6fba7293 net: hns3: fix variable may not initialized problem in hns3_init_mac_addr()
    07f5b8c47152 net: hns3: fix out-of-bounds access may occur when coalesce info is read via debugfs
    83a177b942fa net: hns3: fix incorrect capability bit display for copper port
    5dc440293db7 net: hns3: add barrier in vf mailbox reply process
    61c5ba5042b3 net: hns3: fix add VLAN fail issue
    76bd42849ce4 tty: Fix uninit-value access in ppp_sync_receive()
    732a67ca4368 ipvlan: add ipvlan_route_v6_outbound() helper
    12af02d24a49 net: set SOCK_RCU_FREE before inserting socket into hashtable
    c0f8b8fb7df9 vhost-vdpa: fix use after free in vhost_vdpa_probe()
    58278cc71d34 gfs2: Silence "suspicious RCU usage in gfs2_permission" warning
    7749fd2dbef7 SUNRPC: Fix RPC client cleaned up the freed pipefs dentries
    af0095a559f4 NFSv4.1: fix SP4_MACH_CRED protection for pnfs IO
    19d7dbf71ecc SUNRPC: Add an IS_ERR() check back to where it was
    c65b915641d8 NFSv4.1: fix handling NFS4ERR_DELAY when testing for session trunking
    5ee813da0c18 mtd: rawnand: meson: check return value of devm_kasprintf()
    b2a9ba69dfd5 mtd: rawnand: intel: check return value of devm_kasprintf()
    8d02b6fb3c67 SUNRPC: ECONNRESET might require a rebind
    11f6aadd1f59 sched/core: Optimize in_task() and in_interrupt() a bit
    3a6ad749e9ef wifi: iwlwifi: Use FW rate for non-data frames
    2fa178e2cd5f mtd: rawnand: tegra: add missing check for platform_get_irq()
    1fb3a9c59e7f pwm: Fix double shift bug
    6586b5f8e456 drm/amdgpu: fix software pci_unplug on some chips
    8a1552e908d6 ALSA: hda/realtek: Add quirk for ASUS UX7602ZM
    07ab6615a9d2 drm/qxl: prevent memory leak
    09297e3ffc1d ASoC: ti: omap-mcbsp: Fix runtime PM underflow warnings
    aff8be2cad74 i2c: dev: copy userspace array safely
    72d02adae320 kgdb: Flush console before entering kgdb on panic
    8a06894666e0 drm/amd/display: Avoid NULL dereference of timing generator
    b083aaf5db2e media: imon: fix access to invalid resource for the second interface
    65335aef1ab6 media: ccs: Fix driver quirk struct documentation
    b8dcbbd0c4bf media: cobalt: Use FIELD_GET() to extract Link Width
    e2ccedd4d182 gfs2: fix an oops in gfs2_permission
    53fc16c1ad84 gfs2: ignore negated quota changes
    329a8d1d60ba media: vivid: avoid integer overflow
    a647f27a7426 media: gspca: cpia1: shift-out-of-bounds in set_flicker
    e64d23dc6581 i3c: master: mipi-i3c-hci: Fix a kernel panic for accessing DAT_data.
    472bd4787406 virtio-blk: fix implicit overflow on virtio_max_dma_size
    32b17bc21f8e i2c: sun6i-p2wi: Prevent potential division by zero
    0b5e729d4e35 i2c: fix memleak in i2c_new_client_device()
    8be39f66915b i3c: mipi-i3c-hci: Fix out of bounds access in hci_dma_irq_handler
    07c11a5249cb 9p: v9fs_listxattr: fix %s null argument warning
    3851d844d790 9p/trans_fd: Annotate data-racy writes to file::f_flags
    c7b0ce54b11d usb: gadget: f_ncm: Always set current gadget in ncm_bind()
    ff9500758381 f2fs: fix error handling of __get_node_page
    a82bd79cbfe9 soundwire: dmi-quirks: update HP Omen match
    7932afa9bb61 usb: dwc3: core: configure TX/RX threshold for DWC3_IP
    7cebc86481bf tty: vcc: Add check for kstrdup() in vcc_probe()
    d6957635de8f thunderbolt: Apply USB 3.x bandwidth quirk only in software connection manager
    b80aaff5f781 iio: adc: stm32-adc: harden against NULL pointer deref in stm32_adc_probe()
    c92de3bf6ccf mfd: intel-lpss: Add Intel Lunar Lake-M PCI IDs
    b469227b1d1e exfat: support handle zero-size directory
    24e222a54e4c HID: Add quirk for Dell Pro Wireless Keyboard and Mouse KM5221W
    4ee3b3a0ff02 crypto: hisilicon/qm - prevent soft lockup in receive loop
    a70cb0d59d91 ASoC: Intel: soc-acpi-cht: Add Lenovo Yoga Tab 3 Pro YT3-X90 quirk
    cbf304de78c0 PCI: Use FIELD_GET() in Sapphire RX 5600 XT Pulse quirk
    52cd51ba5769 misc: pci_endpoint_test: Add Device ID for R-Car S4-8 PCIe controller
    6f9557a5c971 PCI: Disable ATS for specific Intel IPU E2000 devices
    161767bb7c5d PCI: Extract ATS disabling to a helper function
    6b4608458205 PCI: Use FIELD_GET() to extract Link Width
    442fd24d7b6b scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()
    dabc0ee84d0d PCI: Do error check on own line to split long "if" conditions
    146badf18e2c atm: iphase: Do PCI error checks on own line
    1a7c3d2e1dfa PCI: mvebu: Use FIELD_PREP() with Link Width
    aac90c719781 PCI: tegra194: Use FIELD_GET()/FIELD_PREP() with Link Width fields
    43b91df291c8 ALSA: hda: Fix possible null-ptr-deref when assigning a stream
    fa7abd3c5cd4 ARM: 9320/1: fix stack depot IRQ stack filter
    6e2076cad887 HID: lenovo: Detect quirk-free fw on cptkbd and stop applying workaround
    8c68af2af697 jfs: fix array-index-out-of-bounds in diAlloc
    a50b796d3671 jfs: fix array-index-out-of-bounds in dbFindLeaf
    5013f8269887 fs/jfs: Add validity check for db_maxag and db_agpref
    0cb567e72733 fs/jfs: Add check for negative db_l2nbperpage
    88984ec47927 scsi: ibmvfc: Remove BUG_ON in the case of an empty event pool
    33331b265aac scsi: hisi_sas: Set debugfs_dir pointer to NULL after removing debugfs
    f1521fe0b411 RDMA/hfi1: Use FIELD_GET() to extract Link Width
    af493dde68e8 ASoC: SOF: ipc4: handle EXCEPTION_CAUGHT notification from firmware
    c55fc098fd9d crypto: pcrypt - Fix hungtask for PADATA_RESET
    62c65e799fb4 ASoC: SOF: Pass PCI SSID to machine driver
    14107cbeb5f7 ASoC: soc-card: Add storage for PCI SSID
    0aaf8077564e selftests/efivarfs: create-read: fix a resource leak
    c68535657f3c arm64: dts: ls208xa: use a pseudo-bus to constrain usb dma size
    6c1b3d89a2dd drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL
    2806f8803792 drm/amdkfd: Fix shift out-of-bounds issue
    7017e835007c drm/panel: st7703: Pick different reset sequence
    33fb1a555354 drm/amdgpu/vkms: fix a possible null pointer dereference
    16fa59e273f8 drm/radeon: fix a possible null pointer dereference
    d0bc9ab0a161 drm/panel/panel-tpo-tpg110: fix a possible null pointer dereference
    79813cd59398 drm/panel: fix a possible null pointer dereference
    9b70fc7d70e8 drm/amdgpu: Fix potential null pointer derefernce
    d0725232da77 drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tonga
    fc9ac0e8e0bc drm/amd: Fix UBSAN array-index-out-of-bounds for SMU7
    09b900fc2cb1 drm/msm/dp: skip validity check for DP CTS EDID checksum
    412ce8966934 drm: vmwgfx_surface.c: copy user-array safely
    0f5f56745188 drm_lease.c: copy user-array safely
    6995df256e4f kernel: watch_queue: copy user-array safely
    8332523b13db kernel: kexec: copy user-array safely
    2fabc3289ba1 string.h: add array-wrappers for (v)memdup_user()
    24faa2740b3f drm/amd/display: use full update for clip size increase of large plane source
    09d4f579d300 drm/amd: Update `update_pcie_parameters` functions to use uint8_t arguments
    50f35a907c4f drm/amdkfd: Fix a race condition of vram buffer unref in svm code
    5b978a8ce497 drm/amdgpu: not to save bo in the case of RAS err_event_athub
    0c8eda600ed8 drm/komeda: drop all currently held locks if deadlock happens
    4048cf4615b6 drm/gma500: Fix call trace when psb_gem_mm_init() fails
    a57a54a8bc21 platform/x86: thinkpad_acpi: Add battery quirk for Thinkpad X120e
    6edd5ea5040b platform/chrome: kunit: initialize lock for fake ec_dev
    c90c7bf7b1b3 tsnep: Fix tsnep_request_irq() format-overflow warning
    70997012d8dd ACPI: EC: Add quirk for HP 250 G7 Notebook PC
    87624b1f9b78 Bluetooth: Fix double free in hci_conn_cleanup
    a556f2ef556a Bluetooth: btusb: Add date->evt_skb is NULL check
    0a40c609e2a3 bpf: Ensure proper register state printing for cond jumps
    8093dd759ee2 vsock: read from socket's error queue
    459970363e7c wifi: ath10k: Don't touch the CE interrupt registers after power up
    1c6a6c926abf net: annotate data-races around sk->sk_dst_pending_confirm
    e7960d2a09d4 net: annotate data-races around sk->sk_tx_queue_mapping
    46537b45972e wifi: ath10k: fix clang-specific fortify warning
    de979982ebfb wifi: ath9k: fix clang-specific fortify warnings
    aa42a7cb9264 bpf: Detect IP == ksym.end as part of BPF program
    57e44ff9c2c9 atl1c: Work around the DMA RX overflow issue
    2be24c47ac19 wifi: mac80211: don't return unset power in ieee80211_get_tx_power()
    9c2e4a81d3e7 wifi: mac80211_hwsim: fix clang-specific fortify warning
    d0fc4cb9d23b wifi: plfxlc: fix clang-specific fortify warning
    b5046b253236 x86/mm: Drop the 4 MB restriction on minimal NUMA node memory size
    2652d199dd72 workqueue: Provide one lock class key per work_on_cpu() callsite
    3410b7023547 cpu/hotplug: Don't offline the last non-isolated CPU
    b7441453ff96 smp,csd: Throw an error if a CSD lock is stuck for too long
    6680d55aba60 clocksource/drivers/timer-atmel-tcb: Fix initialization on SAM9 hardware
    ff8370a0d8cb clocksource/drivers/timer-imx-gpt: Fix potential memory leak
    9f4c391dc2bc selftests/lkdtm: Disable CONFIG_UBSAN_TRAP in test config
    e9a27fdce56b srcu: Fix srcu_struct node grpmask overflow on 64-bit systems
    9ce4e87a8efd perf/core: Bail out early if the request AUX area is out of bound
    784d01f9bbc2 lib/generic-radix-tree.c: Don't overflow in peek()
    c56df79d6867 locking/ww_mutex/test: Fix potential workqueue corruption
    69e434a1cb21 Linux 6.1.63
    830c11c9c085 virtio/vsock: fix header length on skb merging
    cd12535b97dd virtio/vsock: Fix uninit-value in virtio_transport_recv_pkt()
    a6650e78c428 virtio/vsock: fix leaks due to missing skb owner
    bb1c9a5907d2 vsock/loopback: use only sk_buff_head.lock to protect the packet queue
    1e5f00e9dbdb virtio/vsock: don't drop skbuff on copy failure
    883a3db2212c virtio/vsock: remove redundant 'skb_pull()' call
    5852a2b573f7 virtio/vsock: don't use skbuff state to account credit
    25bc87768cef wifi: cfg80211: fix kernel-doc for wiphy_delayed_work_flush()
    fc3a19543e32 btrfs: use u64 for buffer sizes in the tree search ioctls
    c606c43ab6a7 Revert "mmc: core: Capture correct oemid-bits for eMMC cards"
    acca43d813bb x86/amd_nb: Use Family 19h Models 60h-7Fh Function 4 IDs
    129debbb4178 io_uring/net: ensure socket is marked connected on connect retry
    b80b85f4945d tracing/kprobes: Fix the order of argument descriptions
    28e7153418b1 fbdev: fsl-diu-fb: mark wr_reg_wa() static
    7bc7b82fb219 fbdev: imsttfb: fix a resource leak in probe
    985845828220 fbdev: imsttfb: Fix error path of imsttfb_probe()
    6d53668c438b spi: spi-zynq-qspi: add spi-mem to driver kconfig dependencies
    b4843bf39d9f ASoC: dapm: fix clock get name
    f5350c6f7887 ASoC: hdmi-codec: register hpd callback on component probe
    acc36089bc36 ASoC: mediatek: mt8186_mt6366_rt1019_rt5682s: trivial: fix error messages
    3bbf06efb8ed drm/syncobj: fix DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE
    3df98bd31966 RISC-V: Don't fail in riscv_of_parent_hartid() for disabled HARTs
    587e6308d69b netfilter: nat: fix ipv6 nat redirect with mapped and scoped addresses
    8fa280d1a9f4 netfilter: nft_redir: use `struct nf_nat_range2` throughout and deduplicate eval call-backs
    d85670128f24 netfilter: xt_recent: fix (increase) ipv6 literal buffer length
    7ee2070589d2 i2c: iproc: handle invalid slave state
    b5974b0c893c r8169: respect userspace disabling IFF_MULTICAST
    1fecefb0920c vsock/virtio: remove socket from connected/bound list on shutdown
    baddcc2c7157 virtio/vsock: replace virtio_vsock_pkt with sk_buff
    46c541fa6680 blk-core: use pr_warn_ratelimited() in bio_check_ro()
    4e9b3ec84dc9 nbd: fix uaf in nbd_open
    b0310063d4b2 tg3: power down device only on SYSTEM_POWER_OFF
    2dbafb0081d7 nvme: fix error-handling for io_uring nvme-passthrough
    f4277cb5626b net/smc: put sk reference if close work was canceled
    2d563aa75226 net/smc: allow cdc msg send rather than drop it with NULL sndbuf_desc
    9d976cd3e320 net/smc: fix dangling sock under state SMC_APPFINCLOSEWAIT
    4a12fb7d1af6 octeontx2-pf: Free pending and dropped SQEs
    a1e8e68204c8 octeontx2-pf: qos send queues management
    479d344a929b octeontx2-pf: Rename tot_tx_queues to non_qos_queues
    f9c2807e2a7d selftests: pmtu.sh: fix result checking
    490dfbf65191 net: stmmac: xgmac: Enable support for multiple Flexible PPS outputs
    0b8ffe3cb0b7 Fix termination state for idr_for_each_entry_ul()
    7f4a2c296774 net: r8169: Disable multicast filter for RTL8168H and RTL8107E
    db68ac51fe86 dccp/tcp: Call security_inet_conn_request() after setting IPv6 addresses.
    414d36c1178e dccp: Call security_inet_conn_request() after setting IPv4 addresses.
    e129327d80a7 net: page_pool: add missing free_percpu when page_pool_init fail
    a95acc2099b6 octeontx2-pf: Fix holes in error code
    00376cc74347 octeontx2-pf: Fix error codes
    612c22e92848 inet: shrink struct flowi_common
    89d92e4fc5c6 bpf: Check map->usercnt after timer->timer is assigned
    4c731e98fe4d tipc: Change nla_policy for bearer-related names to NLA_NUL_STRING
    6086258bd5ea hsr: Prevent use after free in prp_create_tagged_frame()
    f980e9a57dfb llc: verify mac len before reading mac header
    8803da01fe1b watchdog: ixp4xx: Make sure restart always works
    7082b1fb5321 Input: synaptics-rmi4 - fix use after free in rmi_unregister_function()
    f8225c3c6555 pwm: brcmstb: Utilize appropriate clock APIs in suspend/resume
    679d2ab67e09 pwm: sti: Reduce number of allocations and drop usage of chip_data
    713629765f25 regmap: prevent noinc writes from clobbering cache
    7ec7b7d3f2b8 media: cec: meson: always include meson sub-directory in Makefile
    103c66dcf54e media: dvb-usb-v2: af9035: fix missing unlock
    39c2ec94a829 media: cadence: csi2rx: Unregister v4l2 async notifier
    76d12296ee58 media: cedrus: Fix clock/reset sequence
    a254ee1ddc59 media: vidtv: mux: Add check and kfree for kstrdup
    5c26aae37239 media: vidtv: psi: Add check for kstrdup
    e7c96f4605d9 media: s3c-camif: Avoid inappropriate kfree()
    1620531a3dac media: mtk-jpegenc: Fix bug in JPEG encode quality selection
    b75fb8a2ee1e media: amphion: handle firmware debug message
    20568d06f606 media: bttv: fix use after free error due to btv->timeout timer
    825a7a6a3a5e media: ov5640: Fix a memory leak when ov5640_probe fails
    ba305517a1de media: i2c: max9286: Fix some redundant of_node_put() calls
    a7a8c49dc670 media: ov5640: fix vblank unchange issue when work at dvp mode
    9b1c0aca7fbf media: ov5640: Drop dead code using frame_interval
    6380621de364 media: verisilicon: Do not enable G2 postproc downscale if source is narrower than destination
    64f55cebb433 media: hantro: Check whether reset op is defined before use
    f258fd94abcd pcmcia: ds: fix possible name leak in error path in pcmcia_device_add()
    7c9947693b5e pcmcia: ds: fix refcount leak in pcmcia_device_add()
    fbdf451e7683 pcmcia: cs: fix possible hung task and memory leak pccardd()
    f9e17bce0aec rtc: pcf85363: fix wrong mask/val parameters in regmap_update_bits call
    b4dda701d057 virt: sevguest: Fix passing a stack buffer as a scatterlist target
    d889b7bc12b5 x86/sev: Change snp_guest_issue_request()'s fw_err argument
    a5b03f56d38d crypto: ccp - Name -1 return value as SEV_RET_NO_FW_CALL
    7c7371b41a14 cxl/mem: Fix shutdown order
    174ae0a3b89e i3c: Fix potential refcount leak in i3c_master_register_new_i3c_devs
    b9793c9c0338 9p/net: fix possible memory leak in p9_check_errors()
    8b184ebff60b perf hist: Add missing puts to hist__account_cycles
    8e1f41a853d9 perf machine: Avoid out of bounds LBR memory read
    209f4a67d8b7 usb: host: xhci-plat: fix possible kernel oops while resuming
    071666451e59 xhci: Loosen RPM as default policy to cover for AMD xHC 1.1
    abdd1f47efae powerpc/pseries: fix potential memory leak in init_cpu_associativity()
    257517c00b57 powerpc/imc-pmu: Use the correct spinlock initializer.
    8409ee076d0a powerpc/vas: Limit open window failure messages in log bufffer
    0f8dabe79a98 powerpc/xive: Fix endian conversion size
    b4bc030af7d6 powerpc/40x: Remove stale PTE_ATOMIC_UPDATES macro
    a204f9f3cb66 modpost: fix ishtp MODULE_DEVICE_TABLE built on big-endian host
    339148f78641 modpost: fix tee MODULE_DEVICE_TABLE built on big-endian host
    9d4f7441cddd powerpc: Only define __parse_fpscr() when required
    4a43be67d635 interconnect: qcom: sm8350: Set ACV enable_mask
    bfc019c7134a interconnect: qcom: sm8350: Retire DEFINE_QBCM
    ccbd1281a2d1 interconnect: qcom: sm8150: Set ACV enable_mask
    d7e501045ef4 interconnect: qcom: sm8150: Retire DEFINE_QBCM
    386a4d6f83fd interconnect: qcom: sm8150: Drop IP0 interconnects
    8979ed70da2f interconnect: move ignore_list out of of_count_icc_providers()
    bf7039825f04 interconnect: qcom: sm6350: Set ACV enable_mask
    d39e3249c04c interconnect: qcom: sm6350: Retire DEFINE_QBCM
    639ee7fbc095 interconnect: qcom: sdm845: Set ACV enable_mask
    808588804587 interconnect: qcom: sdm845: Retire DEFINE_QBCM
    e82d634fdb0d interconnect: qcom: sc8280xp: Set ACV enable_mask
    50e4e1ad3532 interconnect: qcom: sc8180x: Set ACV enable_mask
    673ced6e0178 interconnect: qcom: sc7280: Set ACV enable_mask
    8fe916ff8a84 interconnect: qcom: sc7180: Set ACV enable_mask
    3f884277f995 interconnect: qcom: sc7180: Retire DEFINE_QBCM
    695b3cfe1c28 f2fs: fix to initialize map.m_pblk in f2fs_precache_extents()
    7b863b8bcd67 dmaengine: pxa_dma: Remove an erroneous BUG_ON() in pxad_free_desc()
    2ed67a40ddb6 USB: usbip: fix stub_dev hub disconnect
    dae6fd974773 tools: iio: iio_generic_buffer ensure alignment
    06a1286345ac misc: st_core: Do not call kfree_skb() under spin_lock_irqsave()
    fc968818d547 dmaengine: ti: edma: handle irq_of_parse_and_map() errors
    03984e24db85 usb: chipidea: Simplify Tegra DMA alignment code
    c9095c743bf6 usb: chipidea: Fix DMA overwrite for Tegra
    6b21a2272885 usb: dwc2: fix possible NULL pointer dereference caused by driver concurrency
    0806a6afe155 dmaengine: idxd: Register dsa_bus_type before registering idxd sub-drivers
    1e03a2695995 perf record: Fix BTF type checks in the off-cpu profiling
    1c4eb1bc39d3 pinctrl: renesas: rzg2l: Make reverse order of enable() for disable()
    cd7d804f52c6 livepatch: Fix missing newline character in klp_resolve_symbols()
    f1cda3c5dd4d tty: tty_jobctrl: fix pid memleak in disassociate_ctty()
    fb4251dab3d1 f2fs: compress: fix to avoid redundant compress extension
    9375ea7f2690 f2fs: compress: fix to avoid use-after-free on dic
    071bbc5a669b f2fs: compress: fix deadloop in f2fs_write_cache_pages()
    ec67c83dd59b f2fs: convert f2fs_write_cache_pages() to use filemap_get_folios_tag()
    599befdd7996 filemap: add filemap_get_folios_tag()
    855516cb6e74 perf kwork: Set ordered_events to true in 'struct perf_tool'
    231665cc6ff7 perf kwork: Add the supported subcommands to the document
    16e02976cf37 perf kwork: Fix incorrect and missing free atom in work_push_atom()
    e27c2668ac8a iio: frequency: adf4350: Use device managed functions and fix power down issue.
    550711e007bb perf stat: Fix aggr mode initialization
    6cb0495d3623 apparmor: fix invalid reference on profile->disconnected
    cef064fddee8 apparmor: test: make static symbols visible during kunit testing
    cfce1e26b4c9 kunit: add macro to allow conditionally exposing static symbols to tests
    1d47d1abb4f3 leds: trigger: ledtrig-cpu:: Fix 'output may be truncated' issue for 'cpu'
    4198a7a6efa0 leds: pwm: Don't disable the PWM when the LED should be off
    63cdeb20ee3b leds: turris-omnia: Do not use SMBUS calls
    7d0e60e4ff84 leds: turris-omnia: Drop unnecessary mutex locking
    ce58f479b531 mfd: arizona-spi: Set pdata.hpdet_channel for ACPI enumerated devs
    26b534a3f0f4 dt-bindings: mfd: mt6397: Split out compatible for MediaTek MT6366 PMIC
    90155dfd990d dt-bindings: mfd: mt6397: Add binding for MT6357
    9ac0c0536572 mfd: dln2: Fix double put in dln2_probe
    ee6b91411d3f mfd: core: Ensure disabled devices are skipped without aborting
    f1ed6c4e59f9 mfd: core: Un-constify mfd_cell.of_reg
    437f033e30c8 IB/mlx5: Fix init stage error handling to avoid double free of same QP and UAF
    ad52f21e3dec ASoC: ams-delta.c: use component after check
    3dd998f78cb5 crypto: qat - fix deadlock in backlog processing
    c7c26d0ef5d2 padata: Fix refcnt handling in padata_free_shell()
    980a7fd5e57e ASoC: Intel: Skylake: Fix mem leak when parsing UUIDs fails
    9ee89579e69d HID: logitech-hidpp: Move get_wireless_feature_index() check to hidpp_connect_event()
    cf47abd7d8a1 HID: logitech-hidpp: Revert "Don't restart communication if not necessary"
    8eb1f933ccde HID: logitech-hidpp: Don't restart IO, instead defer hid_connect() only
    7f2ed86dde19 HID: logitech-hidpp: Remove HIDPP_QUIRK_NO_HIDINPUT quirk
    b1736354a7b9 Revert "HID: logitech-hidpp: add a module parameter to keep firmware gestures"
    693baca82d20 sh: bios: Revive earlyprintk support
    35ac8075aea2 hid: cp2112: Fix IRQ shutdown stopping polling for all IRQs on chip
    8a716eb7f8f5 HID: cp2112: Make irq_chip immutable
    cce6785b8401 RDMA/hfi1: Workaround truncation compilation error
    7a22e6fa51c5 scsi: ufs: core: Leave space for '\0' in utf8 desc string
    f9f4a6bdf934 ASoC: fsl: Fix PM disable depth imbalance in fsl_easrc_probe
    002bd3c874da ASoC: SOF: core: Ensure sof_ops_free() is still called when probe never ran.
    fe6efb2d1864 RDMA/hns: The UD mode can only be configured with DCQCN
    1a6806f27e9e RDMA/hns: Add check for SL
    d3a8efb9de59 RDMA/hns: Fix signed-unsigned mixed comparisons
    1000adbac3b2 RDMA/hns: Fix uninitialized ucmd in hns_roce_create_qp_common()
    7c09504c371d RDMA/hns: Fix printing level of asynchronous events
    3d559a5d5db3 IB/mlx5: Fix rdma counter binding for RAW QP
    c0f4144d0dec ASoC: fsl: mpc5200_dma.c: Fix warning of Function parameter or member not described
    4f13eab0e8a1 ext4: move 'ix' sanity check to corrent position
    242ba2e20baf ARM: 9321/1: memset: cast the constant byte to unsigned char
    0a7f9238f3f8 crypto: hisilicon/qm - fix PF queue parameter issue
    07eb93dbe1a7 crypto: hisilicon/qm - split a debugfs.c from qm
    2cec6774fd1e crypto: hisilicon/qm - modify the process of regs dfx
    56785a3a08e5 crypto: hisilicon/qm - delete redundant null assignment operations
    bafb12b629b7 hid: cp2112: Fix duplicate workqueue initialization
    aa804deca1c3 PCI: vmd: Correct PCI Header Type Register's multi-function check
    ed7f07ef84c4 crypto: qat - increase size of buffers
    17c890a887c1 crypto: caam/jr - fix Chacha20 + Poly1305 self test failure
    9857f811e5cd crypto: caam/qi2 - fix Chacha20 + Poly1305 self test failure
    f23859748e3d nd_btt: Make BTT lanes preemptible
    93aa88170cf3 libnvdimm/of_pmem: Use devm_kstrdup instead of kstrdup and check its return value
    4795de8c046e scsi: ibmvfc: Fix erroneous use of rtas_busy_delay with hcall return code
    dc44e3fdb091 crypto: qat - fix unregistration of crypto algorithms
    5e989aeb4022 crypto: qat - extend buffer list interface
    443bde2a4ca6 crypto: qat - generalize crypto request buffers
    380f0a1de227 crypto: qat - change bufferlist logic interface
    2ad909a408d1 crypto: qat - rename bufferlist functions
    61c57bb98680 crypto: qat - relocate bufferlist logic
    e3294cccd818 crypto: qat - ignore subsequent state up commands
    bb55130d024a RDMA/core: Use size_{add,sub,mul}() in calls to struct_size()
    e39b84448ff9 hwrng: geode - fix accessing registers
    3c5c7f926a4b hwrng: bcm2835 - Fix hwrng throughput regression
    0c824b77ad48 crypto: hisilicon/hpre - Fix a erroneous check after snprintf()
    12d2087a7dd9 KEYS: Include linux/errno.h in linux/verification.h
    44dcf6d33e9e ALSA: hda: cs35l41: Undo runtime PM changes at driver exit time
    2d81896fe161 ALSA: hda: cs35l41: Fix unbalanced pm_runtime_get()
    06421269133f ASoC: cs35l41: Undo runtime PM changes at driver exit time
    ab3aa429c8df ASoC: cs35l41: Verify PM runtime resume errors in IRQ handler
    f20c4b0c015c module/decompress: use vmalloc() for gzip decompression workspace
    c8a235583304 selftests/resctrl: Ensure the benchmark commands fits to its array
    02c167c93fe2 selftests/pidfd: Fix ksft print formats
    6b7feafde79c arm64: tegra: Use correct interrupts for Tegra234 TKE
    87367bc3d9b0 arm64: dts: imx8mn: Add sound-dai-cells to micfil node
    fef0af22503f arm64: dts: imx8mm: Add sound-dai-cells to micfil node
    fafaf5a2f313 arm64: dts: imx8qm-ss-img: Fix jpegenc compatible entry
    37658e518958 clk: scmi: Free scmi_clk allocated when the clocks with invalid info are skipped
    db6db0af76f5 ARM: dts: am3517-evm: Fix LED3/4 pinmux
    d43c3e49744c firmware: arm_ffa: Allow the FF-A drivers to use 32bit mode of messaging
    5429ecbb1b8b firmware: arm_ffa: Assign the missing IDR allocation ID to the FFA device
    e0cf8e811f72 arm64: dts: ti: k3-am62a7-sk: Drop i2c-1 to 100Khz
    eccde2dbd93d firmware: ti_sci: Mark driver as non removable
    7efb91501ba2 kunit: Fix missed memory release in kunit_free_suite_set()
    f0ef883cae30 soc: qcom: llcc: Handle a second device without data corruption
    4653225f41ab ARM: dts: qcom: mdm9615: populate vsdcc fixed regulator
    d97268ce08c3 arm64: dts: qcom: apq8016-sbc: Add missing ADV7533 regulators
    7867e1d92622 ARM64: dts: marvell: cn9310: Use appropriate label for spi1 pins
    945f2e4f13f3 arm64: dts: qcom: sdm845-mtp: fix WiFi configuration
    89465723e0f6 arm64: dts: qcom: sm8350: fix pinctrl for UART18
    1a404795c401 arm64: dts: qcom: sm8150: add ref clock to PCIe PHYs
    cd952d43c00d arm64: dts: qcom: sc7280: Add missing LMH interrupts
    03a0a34f04a4 arm64: dts: qcom: msm8992-libra: drop duplicated reserved memory
    4109f7d1a852 arm64: dts: qcom: msm8916: Fix iommu local address range
    389a4aa5e327 arm64: dts: qcom: sc7280: link usb3_phy_wrapper_gcc_usb30_pipe_clk
    426d3c7c72a2 arm64: dts: qcom: sdm845: cheza doesn't support LMh node
    e65c1aa21ba1 ARM: dts: renesas: blanche: Fix typo in GP_11_2 pin name
    b660420f449d perf: hisi: Fix use-after-free when register pmu fails
    104fa6426a8f drivers/perf: hisi_pcie: Check the type first in pmu::event_init()
    c6e00bc30ea1 perf/arm-cmn: Fix DTC domain detection
    28fa550a49e8 perf/arm-cmn: Revamp model detection
    4589403a343b drivers/perf: hisi: use cpuhp_state_remove_instance_nocalls() for hisi_hns3_pmu uninit process
    1e88414e64a2 drm: mediatek: mtk_dsi: Fix NO_EOT_PACKET settings/handling
    025d2ac470a9 clocksource/drivers/arm_arch_timer: limit XGene-1 workaround
    96c3a1830434 drm/msm/dsi: free TX buffer in unbind
    8b072ab6c445 drm/msm/dsi: use msm_gem_kernel_put to free TX buffer
    5671bed3c0c8 xen-pciback: Consider INTx disabled when MSI/MSI-X is enabled
    934747e2f807 xenbus: fix error exit in xenbus_init()
    ace6403e7854 drm/rockchip: Fix type promotion bug in rockchip_gem_iommu_map()
    2836c72e8d60 arm64/arm: xen: enlighten: Fix KPTI checks
    008b2a93c5d7 drm/bridge: lt9611uxc: fix the race in the error path
    af19ebfc6a17 gpu: host1x: Correct allocated size for contexts
    9da019345405 drm/rockchip: cdn-dp: Fix some error handling paths in cdn_dp_probe()
    8045808be1c2 drm/mediatek: Fix iommu fault during crtc enabling
    5d30fedc20ad drm/mediatek: Fix iommu fault by swapping FBs after updating plane state
    32b15fef33e8 io_uring/kbuf: Allow the full buffer id space for provided buffers
    60db638be5f4 io_uring/kbuf: Fix check of BID wrapping in provided buffers
    03e334565d2d drm/amd/display: Bail from dm_check_crtc_cursor if no relevant change
    a99afba394a9 drm/amd/display: Refactor dm_get_plane_scale helper
    896066202757 drm/amd/display: Check all enabled planes in dm_check_crtc_cursor
    9eae81af9243 drm/amdkfd: fix some race conditions in vram buffer alloc/free of svm code
    78e998884d5d drm/bridge: tc358768: Fix tc358768_ns_to_cnt()
    9dbfdf5dcc38 drm/bridge: tc358768: Clean up clock period code
    3ed322a852ed drm/bridge: tc358768: Rename dsibclk to hsbyteclk
    14d546d067fb drm/bridge: tc358768: Use dev for dbg prints, not priv->dev
    4a1c4eff6545 drm/bridge: tc358768: Print logical values, not raw register values
    fb82b3b4acdd drm/bridge: tc358768: Use struct videomode
    e87a3c24ce5a drm/bridge: tc358768: remove unused variable
    1942dc48f482 drm/bridge: tc358768: Fix bit updates
    2fab90bcde42 drm/bridge: tc358768: Fix use of uninitialized variable
    3c0b681ba44b drm/bridge: lt8912b: Add missing drm_bridge_attach call
    5a521f6b68ec drm/bridge: lt8912b: Manually disable HPD only if it was enabled
    7bf0cb8f4028 drm/bridge: lt8912b: Fix crash on bridge detach
    2cfa9dc32c9e drm/bridge: lt8912b: Fix bridge_detach
    45350e5471dc drm/bridge: lt8912b: Add hot plug detection
    2c80c4f0d284 drm: bridge: it66121: Fix invalid connector dereference
    341e79f8aec6 drm/radeon: possible buffer overflow
    2d68194e1a01 drm/rockchip: vop2: Add missing call to crtc reset helper
    bc05621888d9 drm/rockchip: vop2: Don't crash for invalid duplicate_state
    b248ccaabfc1 drm/rockchip: vop: Fix call to crtc reset helper
    ffebe76e5049 drm/rockchip: vop: Fix reset of state in duplicate state crtc funcs
    4d37df40b103 hte: tegra: Fix missing error code in tegra_hte_test_probe()
    a671a41d60d3 hwmon: (sch5627) Disallow write access if virtual registers are locked
    4a3031298295 hwmon: (sch5627) Use bit macros when accessing the control register
    3385632de8ce Revert "hwmon: (sch56xx-common) Add automatic module loading on supported devices"
    581255403a64 Revert "hwmon: (sch56xx-common) Add DMI override table"
    dd06f92fd811 hwmon: (coretemp) Fix potentially truncated sysfs attribute name
    33de53a27060 hwmon: (axi-fan-control) Fix possible NULL pointer dereference
    44a96796d258 platform/x86: wmi: Fix opening of char device
    ae28868bbaec platform/x86: wmi: Fix probe failure when failing to register WMI devices
    7b8d88df171a clk: qcom: config IPQ_APSS_6018 should depend on QCOM_SMEM
    2a18dd653284 clk: mediatek: clk-mt2701: Add check for mtk_alloc_clk_data
    a836efc21ef0 clk: mediatek: clk-mt7629: Add check for mtk_alloc_clk_data
    a540ca0aeae8 clk: mediatek: clk-mt7629-eth: Add check for mtk_alloc_clk_data
    357df1c2f6ac clk: mediatek: clk-mt6797: Add check for mtk_alloc_clk_data
    df1c4a9efa3f clk: mediatek: clk-mt6779: Add check for mtk_alloc_clk_data
    dd1f30d68fa9 clk: mediatek: clk-mt6765: Add check for mtk_alloc_clk_data
    7d022726e384 clk: npcm7xx: Fix incorrect kfree
    cc1c2772c1e1 clk: ti: fix double free in of_ti_divider_clk_setup()
    e4df931fb424 clk: ti: change ti_clk_register[_omap_hw]() API
    cb6c38995f9c clk: keystone: pll: fix a couple NULL vs IS_ERR() checks
    0a3761410965 spi: nxp-fspi: use the correct ioremap function
    cdaa544dc473 clk: linux/clk-provider.h: fix kernel-doc warnings and typos
    a0b3b2cc2d73 clk: renesas: rzg2l: Fix computation formula
    e1809bb19a67 clk: renesas: rzg2l: Use FIELD_GET() for PLL register fields
    e6070f0cdad6 clk: renesas: rzg2l: Trust value returned by hardware
    c823ffba5d00 clk: renesas: rzg2l: Lock around writes to mux register
    77e233880234 clk: renesas: rzg2l: Wait for status bit of SD mux before continuing
    f26a440d0ec1 clk: renesas: rcar-gen3: Extend SDnH divider table
    d72c586809e0 clk: imx: imx8qxp: Fix elcdif_pll clock
    2c2f1fb3f857 clk: imx: imx8mq: correct error handling path
    0e2b08824072 clk: imx: Select MXC_CLK for CLK_IMX8QXP
    5b8d3ea0939c regulator: mt6358: Fail probe on unknown chip ID
    8d20252d96bd clk: qcom: gcc-sm8150: Fix gcc_sdcc2_apps_clk_src
    a588f440c47f clk: qcom: mmcc-msm8998: Fix the SMMU GDSC
    d2ffd85ee356 clk: qcom: mmcc-msm8998: Don't check halt bit on some branch clks
    06a7365e2bd8 clk: qcom: clk-rcg2: Fix clock rate overflow for high parent frequencies
    101c2d257c1f clk: qcom: gcc-msm8996: Remove RPM bus clocks
    5c25f89c00b9 spi: tegra: Fix missing IRQ check in tegra_slink_probe()
    51d4d3cd1836 regmap: debugfs: Fix a erroneous check after snprintf()
    30e77e3ee989 ipvlan: properly track tx_errors
    4836b94e5e38 net: add DEV_STATS_READ() helper
    fae5cc598ee6 ipv6: avoid atomic fragment on GSO packets
    35aff5362693 ACPI: sysfs: Fix create_pnp_modalias() and create_of_modalias()
    1ca7bc1b085f bpf: Fix unnecessary -EBUSY from htab_lock_bucket
    4bb26ec7ed76 Bluetooth: hci_sync: Fix Opcode prints in bt_dev_dbg/err
    6f505a013c85 wifi: iwlwifi: empty overflow queue during flush
    e2be4ab86a4a wifi: iwlwifi: pcie: synchronize IRQs before NAPI
    c56aed37b671 wifi: iwlwifi: call napi_synchronize() before freeing rx/tx queues
    6d88d4b1bb42 tcp: fix cookie_init_timestamp() overflows
    72c23b307173 chtls: fix tp->rcv_tstamp initialization
    2acedc5372ed net: skb_find_text: Ignore patterns extending past 'to'
    d860416236bd selftests: netfilter: test for sctp collision processing in nf_conntrack
    aa0a050c6569 r8169: fix rare issue with broken rx after link-down on RTL8125
    4789d93f94d9 r8169: use tp_to_dev instead of open code
    77ff34a56b69 thermal: core: prevent potential string overflow
    9709c6d7594d netfilter: nf_tables: Drop pointless memset when dumping rules
    100a75d56b0d wifi: wfx: fix case where rates are out of order
    f64a559f2d19 PM / devfreq: rockchip-dfi: Make pmu regmap mandatory
    0d30931f1fa0 can: dev: can_put_echo_skb(): don't crash kernel if can_priv::echo_skb is accessed out of bounds
    76378a8bae09 can: dev: can_restart(): fix race condition between controller restart and netif_carrier_on()
    614d615d495e can: dev: can_restart(): don't crash kernel if carrier is OK
    d5342dafca3c wifi: ath11k: fix Tx power value during active CAC
    8a777b28d7d0 ACPI: video: Add acpi_backlight=vendor quirk for Toshiba Portégé R100
    396ec51b138e ACPI: property: Allow _DSD buffer data only for byte accessors
    75de6a664183 wifi: rtlwifi: fix EDCA limit set by BT coexistence
    14a7e73b28eb tcp_metrics: do not create an entry from tcp_init_metrics()
    52ec0669f457 tcp_metrics: properly set tp->snd_ssthresh in tcp_init_metrics()
    e850efcf2bb0 tcp_metrics: add missing barriers on delete
    586ce1064f66 wifi: ath: dfs_pattern_detector: Fix a memory initialization issue
    ebca9ae926df wifi: mt76: mt7915: fix beamforming availability check
    2b12aebbd324 wifi: mt76: mt7603: improve stuck beacon handling
    c2fd48179cf2 wifi: mt76: mt7603: improve watchdog reset reliablity
    e3c46ce78ddf wifi: mt76: mt7603: rework/fix rx pse hang check
    e01b3400d641 wifi: ath11k: fix boot failure with one MSI vector
    26e301a70d93 wifi: rtw88: debug: Fix the NULL vs IS_ERR() bug for debugfs_create_file()
    365fe12f4529 net: ethernet: mtk_wed: fix EXT_INT_STATUS_RX_FBUF definitions for MT7986 SoC
    d97463c1f390 net: spider_net: Use size_add() in call to struct_size()
    254187a64a30 tipc: Use size_add() in calls to struct_size()
    065cb7ae3f15 tls: Use size_add() in call to struct_size()
    8ae187386420 tls: Only use data field in crypto completion function
    65e65a8b2de4 mlxsw: Use size_mul() in call to struct_size()
    a764c22bbc85 gve: Use size_add() in call to struct_size()
    5dd1344de3e6 tcp: call tcp_try_undo_recovery when an RTOd TFO SYNACK is ACKed
    a08ff0544b92 udp: add missing WRITE_ONCE() around up->encap_rcv
    ec18d7507f9d selftests/bpf: Correct map_fd to data_fd in tailcalls
    3e1d754b5ddf iavf: Fix promiscuous mode configuration flow messages
    42b452960a13 i40e: fix potential memory leaks in i40e_remove()
    36f0004fe5bd wifi: iwlwifi: honor the enable_ini value
    9c6269f5d11f wifi: mac80211: fix # of MSDU in A-MSDU calculation
    cee323e56c13 wifi: mac80211: move sched-scan stop work to wiphy work
    0568d1e8899e wifi: mac80211: move offchannel works to wiphy work
    ef413615197c wifi: mac80211: move scan work to wiphy work
    09915293c302 wifi: mac80211: move radar detect work to wiphy work
    697fb94e3e8d wifi: cfg80211: add flush functions for wiphy work
    36aa50d5782b genirq/matrix: Exclude managed interrupts in irq_matrix_allocated()
    4f834ad0341c string: Adjust strtomem() logic to allow for smaller sources
    63f637309baa pstore/platform: Add check for kstrdup
    0a1dab4a8e3d drivers/clocksource/timer-ti-dm: Don't call clk_get_rate() in stop function
    dbb558160323 x86/boot: Fix incorrect startup_gdt_descr.size
    21c5c3f95f25 x86/sev-es: Allow copy_from_kernel_nofault() in earlier boot
    7807c269cbf4 ACPI/NUMA: Apply SRAT proximity domain to entire CFMWS window
    bf178c8b9c8e x86/numa: Introduce numa_fill_memblks()
    dce53a017ca2 futex: Don't include process MM in futex key on no-MMU
    3c1a20c122bc x86/srso: Fix SBPB enablement for (possible) future fixed HW
    2351c03529b2 writeback, cgroup: switch inodes with dirty timestamps to release dying cgwbs
    bc8e02850a59 vfs: fix readahead(2) on block devices
    8620933c3c53 sched: Fix stop_one_cpu_nowait() vs hotplug
    21f99a5adbc5 objtool: Propagate early errors
    df870d47d2af sched/uclamp: Ignore (util == 0) optimization in feec() when p_util_max = 0
    d77530a1d47f sched/uclamp: Set max_spare_cap_cpu even if max_spare_cap is 0
    b7839197719f iov_iter, x86: Be consistent about the __user tag on copy_mc_to_user()
    42bed989f0ef sched/fair: Fix cfs_rq_is_decayed() on !SMP
    71e3e7830b3e hwmon: (nct6775) Fix incorrect variable reuse in fan_div calculation

(From OE-Core rev: 53c369947d0354639cebccafb3b2ec42dadb70a7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f9150ef12b283860e72fed59a1cc82721516c555)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Bruce Ashfield
03ee5fe827 linux-yocto/6.1: update to v6.1.62
Updating  to the latest korg -stable release that comprises
the following commits:

    fb2635ac69ab Linux 6.1.62
    585da49ad62c ASoC: SOF: sof-pci-dev: Fix community key quirk detection
    c1c15b09f456 ALSA: hda: intel-dsp-config: Fix JSL Chromebook quirk detection
    5c59879031ea misc: pci_endpoint_test: Add deviceID for J721S2 PCIe EP device support
    6bebd303ad7e tty: 8250: Add Brainboxes Oxford Semiconductor-based quirks
    3017a17ad6b9 tty: 8250: Add support for Intashield IX cards
    c3444894e855 tty: 8250: Add support for additional Brainboxes PX cards
    31ebf431ed02 tty: 8250: Fix up PX-803/PX-857
    bfe9bde05fcd tty: 8250: Fix port count of PX-257
    b75ee2d9d792 tty: 8250: Add support for Intashield IS-100
    cdd260b220d9 tty: 8250: Add support for Brainboxes UP cards
    8af676c69815 tty: 8250: Add support for additional Brainboxes UC cards
    abcb12f3192d tty: 8250: Remove UC-257 and UC-431
    df6cfab66ff2 tty: n_gsm: fix race condition in status line change on dead connections
    23107989be8e usb: raw-gadget: properly handle interrupted requests
    e7a802447c49 usb: typec: tcpm: Fix NULL pointer dereference in tcpm_pd_svdm()
    6f17be270003 usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility
    b25a2f247083 PCI: Prevent xHCI driver from claiming AMD VanGogh USB3 DRD device
    977ae4dbe231 ALSA: usb-audio: add quirk flag to enable native DSD for McIntosh devices
    9411dbe2c66c mmap: fix error paths with dup_anon_vma()
    21ca008c53a5 mm/mempolicy: fix set_mempolicy_home_node() previous VMA pointer
    7ab62e3415fb x86: KVM: SVM: always update the x2avic msr interception
    e83359126567 perf evlist: Avoid frequency mode for the dummy event
    b3eed1111048 power: supply: core: Use blocking_notifier_call_chain to avoid RCU complaint
    803cc77a3acc ceph_wait_on_conflict_unlink(): grab reference before dropping ->d_lock
    9eab5008db6c io_uring: kiocb_done() should *not* trust ->ki_pos if ->{read,write}_iter() failed
    ed0ba37e7b9b powerpc/mm: Fix boot crash with FLATMEM
    31ae7876da36 r8152: Check for unplug in r8153b_ups_en() / r8153c_ups_en()
    f90656fbf618 r8152: Check for unplug in rtl_phy_patch_request()
    98567c9d849b net: chelsio: cxgb4: add an error code check in t4_load_phy_fw
    ff86d69b2e50 drm/amdgpu: Reserve fences for VM update
    8e4a77ba25ec platform/mellanox: mlxbf-tmfifo: Fix a warning message
    0f2840dabfea netfilter: nf_tables: audit log object reset once per table
    ec80ad4585d7 LoongArch: Replace kmap_atomic() with kmap_local_page() in copy_user_highpage()
    afe80b58eea3 LoongArch: Export symbol invalid_pud_table for modules building
    9f9b2ec53aca gpu/drm: Eliminate DRM_SCHED_PRIORITY_UNSET
    cafa191b27dd drm/amdgpu: Unset context priority is now invalid
    0eb733b53ebf scsi: mpt3sas: Fix in error path
    4e000daf394a fbdev: uvesafb: Call cn_del_callback() at the end of uvesafb_exit()
    50736464a75a fbdev: omapfb: fix some error codes
    6a87b333ba47 drm/ttm: Reorder sys manager cleanup step
    9951b2309ea7 ASoC: codecs: tas2780: Fix log of failed reset via I2C.
    b7ed4aa0c2e6 ASoC: rt5650: fix the wrong result of key button
    8e1a6594d782 efi: fix memory leak in krealloc failure handling
    678edd2dfd55 netfilter: nfnetlink_log: silence bogus compiler warning
    c6f6a505277f spi: npcm-fiu: Fix UMA reads when dummy.nbytes == 0
    6a7a2d5a0864 fs/ntfs3: Avoid possible memory leak
    84aabd18c8d7 fs/ntfs3: Fix directory element type detection
    3bff4bb7f9c7 fs/ntfs3: Fix NULL pointer dereference on error in attr_allocate_frame()
    c8cbae3cbbc4 fs/ntfs3: Fix possible NULL-ptr-deref in ni_readpage_cmpr()
    6fe32f79abea fs/ntfs3: Use kvmalloc instead of kmalloc(... __GFP_NOWARN)
    92f9c7c7ddbf fs/ntfs3: Write immediately updated ntfs state
    fc91bb3e1b2b fs/ntfs3: Add ckeck in ni_update_parent()
    768e857ac3e0 fbdev: atyfb: only use ioremap_uc() on i386 and ia64
    dd6d75eb00ee Input: synaptics-rmi4 - handle reset delay when using SMBus trsnsport
    c64c237275b4 powerpc/85xx: Fix math emulation exception
    96c7aac8d804 dmaengine: ste_dma40: Fix PM disable depth imbalance in d40_probe
    9ef4697548c2 irqchip/stm32-exti: add missing DT IRQ flag translation
    7378415da048 irqchip/riscv-intc: Mark all INTC nodes as initialized
    d3204c0fdd33 net: sched: cls_u32: Fix allocation size in u32_init()
    f15dbcda2ce8 ASoC: tlv320adc3xxx: BUG: Correct micbias setting
    30ed99860437 coresight: tmc-etr: Disable warnings for allocation failures
    6618e7a740de ASoC: simple-card: fixup asoc_simple_probe() error handling

(From OE-Core rev: b249fcda04a9f6ccf3d2f798c5a860ba024a9368)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 611da3dcd87a595be77f72bea3d2637d5d869ae5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Bruce Ashfield
f05236437b linux-yocto/6.1: update to v6.1.61
Updating  to the latest korg -stable release that comprises
the following commits:

    4a61839152cc Linux 6.1.61
    5926b0886d0c objtool/x86: add missing embedded_insn check
    2afa9f7eb15c ext4: avoid overlapping preallocations due to overflow
    fcefddf3a151 ext4: fix BUG in ext4_mb_new_inode_pa() due to overflow
    495c4c58d684 ext4: add two helper functions extent_logical_end() and pa_logical_end()
    d022e4ea9c2f platform/x86: Add s2idle quirk for more Lenovo laptops
    48ebeab0eda1 clk: Sanitize possible_parent_show to Handle Return Value of of_clk_get_parent_name
    65e5a9890e03 sparc32: fix a braino in fault handling in csum_and_copy_..._user()
    8b8cde8ebb87 perf/core: Fix potential NULL deref
    5e232f2205f2 x86/cpu: Add model number for Intel Arrow Lake mobile processor
    63cc3d5d343d x86/i8259: Skip probing when ACPI/MADT advertises PCAT compatibility
    37495846b1ef nvmem: imx: correct nregs for i.MX6UL
    116671d25915 nvmem: imx: correct nregs for i.MX6SLL
    b90b8633ef62 nvmem: imx: correct nregs for i.MX6ULL
    cc87c73eac2d misc: fastrpc: Unmap only if buffer is unmapped from DSP
    38c5faf2a984 misc: fastrpc: Clean buffers on remote invocation failures
    7737e9384e2d misc: fastrpc: Free DMA handles for RPC calls with no arguments
    1e8851b51300 misc: fastrpc: Reset metadata buffer to avoid incorrect free
    5a35fc1c0091 tracing/kprobes: Fix the description of variable length arguments
    91b95e3b4ac8 i2c: aspeed: Fix i2c bus hang in slave read
    11602cadc9b4 i2c: stm32f7: Fix PEC handling in case of SMBUS transfers
    ff0312a156cf i2c: muxes: i2c-demux-pinctrl: Use of_get_i2c_adapter_by_node()
    f9a7b3b33c84 i2c: muxes: i2c-mux-gpmux: Use of_get_i2c_adapter_by_node()
    48a365ae4f31 i2c: muxes: i2c-mux-pinctrl: Use of_get_i2c_adapter_by_node()
    6ec84059b5e1 iio: adc: xilinx-xadc: Correct temperature offset/scale for UltraScale
    e26fd381bf11 iio: adc: xilinx-xadc: Don't clobber preset voltage/temperature thresholds
    cb01837e0f7a iio: exynos-adc: request second interupt only when touchscreen mode is used
    7a641bc52f00 iio: afe: rescale: Accept only offset channels
    9236d2ea6465 io_uring/fdinfo: lock SQ thread while retrieving thread cpu/pid
    1684909df3f4 kasan: print the original fault addr when access invalid shadow
    6a5b845b57b1 blk-throttle: check for overflow in calculate_bytes_allowed
    bb20a245df9c scsi: sd: Introduce manage_shutdown device flag
    93fa5786f972 iavf: in iavf_down, disable queues when removing the driver
    f7f660df65a1 drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO
    cb115b6688b6 i40e: Fix wrong check for I40E_TXR_FLAGS_WB_ON_ITR
    144f93c62239 gtp: fix fragmentation needed check with gso
    039a050740fc gtp: uapi: fix GTPA_MAX
    664a358b7966 tcp: fix wrong RTO timeout when received SACK reneging
    5b100bb0449c r8152: Release firmware if we have an error in probe
    ecb51a434e3d r8152: Cancel hw_phy_work if we have an error in probe
    87376143df3f r8152: Run the unload routine if we have errors during probe
    ee73f937c5e9 r8152: Increase USB control msg timeout to 5000ms as per spec
    9eb275fec602 net: usb: smsc95xx: Fix uninit-value access in smsc95xx_read_reg
    7c799bc32232 net: ieee802154: adf7242: Fix some potential buffer overflow in adf7242_stats_show()
    55b01c5a847e net: ethernet: adi: adin1110: Fix uninitialized variable
    9d2b588fae86 igc: Fix ambiguity in the ethtool advertising
    fa28949c72db neighbour: fix various data-races
    c166dd51b628 igb: Fix potential memory leak in igb_add_ethtool_nfc_entry
    9a194064fab6 treewide: Spelling fix in comment
    b1ad0a147d08 i40e: Fix I40E_FLAG_VF_VLAN_PRUNING value
    d8ac13acfbf7 iavf: initialize waitqueues before starting watchdog_task
    66e879507b12 r8169: fix the KCSAN reported data race in rtl_rx while reading desc->opts1
    d10140916e6f r8169: fix the KCSAN reported data-race in rtl_tx while reading TxDescArray[entry].opts1
    4138a02c8953 r8169: fix the KCSAN reported data-race in rtl_tx() while reading tp->cur_tx
    29f365f4c3b8 clk: ti: Fix missing omap5 mcbsp functional clock and aliases
    2ba943c6d9eb clk: ti: Fix missing omap4 mcbsp functional clock and aliases
    8d8346ed3968 firmware/imx-dsp: Fix use_after_free in imx_dsp_setup_channels()
    df4169fc9b8a ARM: OMAP: timer32K: fix all kernel-doc warnings
    6c668e2f338b drm/dp_mst: Fix NULL deref in get_mst_branch_device_by_guid_helper()
    024251bab25d drm/amd: Disable ASPM for VI w/ all Intel systems
    eded5f5261b8 drm/i915/pmu: Check if pmu is closed before stopping event
    4f46c177c03d nfsd: lock_rename() needs both directories to live on the same fs
    3262ff5826e1 maple_tree: add GFP_KERNEL to allocations in mas_expected_entries()
    b1b2750de123 hugetlbfs: extend hugetlb_vma_lock to private VMAs
    c9b066f6920d mm/migrate: fix do_pages_move for compat pointers
    a6fbf025e3cf mm/page_alloc: correct start page when guard page debug is enabled
    0aa7b24c068c hugetlbfs: clear resv_map pointer if mmap fails
    38d0d1c44255 mm: fix vm_brk_flags() to not bail out while holding lock
    38930ec7670a arm64: dts: rockchip: Fix i2s0 pin conflict on ROCK Pi 4 boards
    9d72254c2b7a arm64: dts: rockchip: Add i2s0-2ch-bus-bclk-off pins to RK3399
    08e6b680f264 vhost: Allow null msg.size on VHOST_IOTLB_INVALIDATE
    1f14ded0f165 vsock/virtio: initialize the_virtio_vsock before using VQs
    534487cc3eb8 virtio_pci: fix the common cfg map size
    86f467d3582e virtio-crypto: handle config changed by work queue
    a9d4a1ea6709 virtio-mmio: fix memory leak of vm_dev
    19b30a879065 virtio_balloon: Fix endless deflation and inflation on arm64
    bede8b4b5175 mcb-lpc: Reallocate memory region to avoid memory overlapping
    c9efc3efe450 mcb: Return actual parsed size when reading chameleon table
    e58ab834e48f pinctrl: qcom: lpass-lpi: fix concurrent register updates
    018b11ecba76 ASoC: codecs: wcd938x: fix runtime PM imbalance on remove
    508c3353fed8 ASoC: codecs: wcd938x: fix regulator leaks on probe errors
    877fc75d2cf7 ASoC: codecs: wcd938x: Simplify with dev_err_probe
    629ba75200a1 ASoC: codecs: wcd938x: Convert to platform remove callback returning void
    1fae817d3ecb mmc: core: Fix error propagation for some ioctl commands
    719c01f28130 mmc: block: ioctl: do write error check for spi
    651e66d20b59 mmc: core: Align to common busy polling behaviour for mmc ioctls
    d3466ce4f42e KVM: x86/pmu: Truncate counter value to allowed width on write

(From OE-Core rev: 954ab141b047e532c01cfb18276602662b9ac6d3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8b5ec2f683f71f3e708d1c6401ebe07eec1986c7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Bruce Ashfield
07719f4afa linux-yocto/6.1: cfg: restore CONFIG_DEVMEM
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: C. Andy Martin
    Email: cam@myfastmail.com
    Subject: security.cfg: restore strict-only /dev/mem access
    Date: Fri, 27 Oct 2023 11:22:06 -0400

    CONFIG_DEVMEM was mistakenly not enabled, which defeats
    CONFIG_STRICT_DEVMEM and friends, as it completely removes all
    /dev/mem support.

    Signed-off-by: C. Andy Martin <cam@myfastmail.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 5567b76143d5b6c49c97aa90e518a3c1129b2b5f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dfc0cc113eabb1160b6bfd630fa75c6a3cb9c7a5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Bruce Ashfield
e96278affc kernel-yocto: improve metadata patching
The ability to patch the kernel-yocto metadata was added to support
debug and easier test cycles on kernel-cache provided fragments. As
such, it was very simple and has limited functionality.

That being said, it is an available feature and can be improved to
handle patches that fail to apply.

The main kernel patching is already handled by the kern-tools, so
we extend the patching of the meta-data to same tools and inherit
more functinality from the scripts.

[YOCTO #15266]

(From OE-Core rev: 98d981ba1bf903da441df22f298633bedbd718da)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e867addd6c2f508f7a95e72222e750d37f3d19d8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Bruce Ashfield
306e77e3a9 kern-tools: update SRCREV to include SECURITY.md file
To be compliant with the recent security policy, bumping
the SRCREV to pickup the SECUIRTY.md of the kern-tools
repository. It's contents are repeated below:

   How to Report a Potential Vulnerability?
   ========================================

   If you would like to report a public issue (for example, one with a released
   CVE number), please report it using the [https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Security
   Security Bugzilla].  If you have a patch ready, submit it following the same procedure as any
   other patch as described in README.md.

   If you are dealing with a not-yet released or urgent issue, please send a
   message to security AT yoctoproject DOT org, including as many details as
   possible: the layer or software module affected, the recipe and its version,
   and any example code, if available.

   Branches maintained with security fixes
   ---------------------------------------

   See [https://wiki.yoctoproject.org/wiki/Stable_Release_and_LTS Stable release and LTS]
   for detailed info regarding the policies and maintenance of Stable branches.

   The [https://wiki.yoctoproject.org/wiki/Releases Release page] contains a list of all
   releases of the Yocto Project. Versions in grey are no longer actively maintained with
   security patches, but well-tested patches may still be accepted for them for
   significant issues.

(From OE-Core rev: 2da5d792eefee1f32b0432ae429fc8e4c0d19956)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fbdfc28b290ea3ed2dc3dbbaf461adc2839eb8f2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Bruce Ashfield
a59dc45a40 kern-tools: bump SRCREV for queue processing changes
Bumping the SRCREV to pickup a new option to the patch and
merge queue handling scripts.

The new option '--prev' allows us to change the behaviour
of a subsequent runs to retry a failed patch, versus skipping
it.

(From OE-Core rev: 5a57d0e451dc24e7ec4effa41c32812f1c5edc89)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 231256485ae528773a4da9fad8bf4baff26fc0d2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Bruce Ashfield
a36f2c0391 kern-tools: make lower context patches reproducible
It could be argued that it should be an error to have a
reduced context patch now that we've had many years to
ensure that our kernel path queues are clean.

But there are still some supported scenarios where a
patch is on multiple branches and reduced context makes
sense.

Applying the following patch to make sure these are
reproducible like the primary mode of application.

   kgit-s2q: use additional git-am options with reduced context as well

(From OE-Core rev: 7412f49779896cac68da25455c26c9e16c3460d2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a76a31419e8f3c612699bc45dfc7637d6d542c08)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Bruce Ashfield
5173c3d0aa linux-yocto/6.5: update to v6.5.9
Updating  to the latest korg -stable release that comprises
the following commits:

    d0e42510ae83 Linux 6.5.9
    f879295c92b1 selftests: mptcp: join: correctly check for no RST
    85577dd61990 mptcp: avoid sending RST when closing the initial subflow
    1978b69212ed Bluetooth: hci_sock: Correctly bounds check and pad HCI_MON_NEW_INDEX name
    2a3c9d689d6b kbuild: remove old Rust docs output path
    8436370b5a79 docs: rust: update Rust docs output path
    479935768842 net: rfkill: reduce data->mtx scope in rfkill_fop_open
    2ca5210807f1 Bluetooth: hci_sock: fix slab oob read in create_monitor_event
    5a7b9ca3ec2c net: move altnames together with the netdevice
    b583bfcc5a36 efi/unaccepted: Fix soft lockups caused by parallel memory acceptance
    1a19b7394a6c phy: qcom-qmp-combo: initialize PCS_USB registers
    5389ae6d399d phy: qcom-qmp-combo: Square out 8550 POWER_STATE_CONFIG1
    43196ab56d1a phy: qcom-qmp-usb: split PCS_USB init table for sc8280xp and sa8775p
    ddf000488df4 phy: qcom-qmp-usb: initialize PCS_USB registers
    2a90676f997a phy: mapphone-mdm6600: Fix pinctrl_pm handling for sleep pins
    da02a53bd04a phy: mapphone-mdm6600: Fix runtime PM for remove
    9f35d798d13d phy: mapphone-mdm6600: Fix runtime disable on probe
    69cd19101248 rust: docs: fix logo replacement
    43f4e8e32b97 docs: Move rustdoc output, cross-reference it
    362a407559f5 powerpc/qspinlock: Fix stale propagated yield_cpu
    164e66ef89d1 powerpc/mm: Allow ARCH_FORCE_MAX_ORDER up to 12
    fefac8c4686f drm/amdgpu: Fix possible null pointer dereference
    935df6cfa78a drm/i915/cx0: Only clear/set the Pipe Reset bit of the PHY Lanes Owned
    fa8361159a12 drm/bridge: ti-sn65dsi86: Associate DSI device lifetime with auxiliary device
    f5d03923f8bd ASoC: cs42l42: Fix missing include of gpio/consumer.h
    2756d8399ea4 ASoC: pxa: fix a memory leak in probe()
    8247e4d5cba5 ASoC: cs35l56: Fix illegal use of init_completion()
    9955bc6e6be9 gpio: vf610: mask the gpio irq in system suspend and support wakeup
    96964c192aa2 gpio: vf610: set value before the direction to avoid a glitch
    204c78f852e6 gpiolib: acpi: Add missing memset(0) to acpi_get_gpiod_from_data()
    0236504746dd rust: error: fix the description for `ECHILD`
    56d2f7796ab8 platform/x86: asus-wmi: Map 0x2a code, Ignore 0x2b and 0x2c events
    119a52c632d7 platform/x86: asus-wmi: Only map brightness codes when using asus-wmi backlight control
    7422c4a4cbd9 platform/x86: asus-wmi: Change ASUS_WMI_BRN_DOWN code from 0x20 to 0x2e
    a3939c1a96eb platform/x86: msi-ec: Fix the 3rd config
    61ab10af6843 platform/x86: intel-uncore-freq: Conditionally create attribute for read frequency
    18e77f174fc9 platform/surface: platform_profile: Propagate error if profile registration fails
    183aff269bfe s390/cio: fix a memleak in css_alloc_subchannel
    6ccb89a7010e apple-gmux: Hard Code max brightness for MMIO gmux
    efea19a2889c KEYS: asymmetric: Fix sign/verify on pkcs1pad without a hash
    3e25a4bc5023 selftests/ftrace: Add new test case which checks non unique symbol
    d78936d7da27 tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols
    9a7f36028015 s390/pci: fix iommu bitmap allocation
    20f925d38e1e perf: Disallow mis-matched inherited group reads
    12614cd08c2c thunderbolt: Call tb_switch_put() once DisplayPort bandwidth request is finished
    7cb7903eb22e USB: serial: option: add Fibocom to DELL custom modem FM101R-GL
    d617569fc517 USB: serial: option: add entry for Sierra EM9191 with new firmware
    0b53c322db2f USB: serial: option: add Telit LE910C4-WWX 0x1035 composition
    06a2165f1d36 nvme-rdma: do not try to stop unallocated queues
    7d3641c2ed7a nvmet-auth: complete a request only after freeing the dhchap pointers
    f660a391e54c nvme-auth: use chap->s2 to indicate bidirectional authentication
    38f5ff32ccda nvme-pci: add BOGUS_NID for Intel 0a54 device
    2194ee65b29d nvme: sanitize metadata bounce buffer for reads
    16b99c6d6f34 nfs42: client needs to strip file mode's suid/sgid bit after ALLOCATE op
    8183b745d8cd NFS: Fix potential oops in nfs_inode_remove_request()
    4538b3bdcdef fanotify: limit reporting of event with non-decodeable file handles
    62b7f49d3a78 Revert "accel/ivpu: Use cached buffers for FW loading"
    7d6179ce5b4a perf dlfilter: Fix use of addr_location__exit() in dlfilter__object_code()
    b2c39ae29f2b ACPI: bus: Move acpi_arm_init() to the place of after acpi_ghes_init()
    14189248711e ACPI: irq: Fix incorrect return value in acpi_register_gsi()
    dba32abd641d NFSv4.1: fixup use EXCHGID4_FLAG_USE_PNFS_DS for DS server
    2f1c0be27909 pNFS/flexfiles: Check the layout validity in ff_layout_mirror_prepare_stats
    0026f4f9657d pNFS: Fix a hang in nfs4_evict_inode()
    1e8fa3dd1ddb Revert "pinctrl: avoid unsafe code pattern in find_pinctrl()"
    914f9b0cbefa pinctrl: qcom: lpass-lpi: fix concurrent register updates
    1e3d8720507e mmc: core: Capture correct oemid-bits for eMMC cards
    67a5bfcf83dc mmc: core: sdio: hold retuning if sdio in 1-bit mode
    1226f14ae02c mmc: core: Fix error propagation for some ioctl commands
    3d83022bf9b9 mmc: mtk-sd: Use readl_poll_timeout_atomic in msdc_reset_hw
    14eb82d52117 mmc: sdhci-pci-gli: fix LPM negotiation so x86/S0ix SoCs can suspend
    b6aa73574dd4 dt-bindings: mmc: sdhci-msm: correct minimum number of clocks
    81f0c091c37a mtd: physmap-core: Restore map_rom fallback
    73df8fcfe785 mtd: spinand: micron: correct bitmask for ecc status
    13d605fb6b2b mtd: rawnand: Ensure the nand chip supports cached reads
    2cdca57606b1 mtd: rawnand: arasan: Ensure program page operations are successful
    d20ec8d2f31c mtd: rawnand: marvell: Ensure program page operations are successful
    6225891e7960 mtd: rawnand: pl353: Ensure program page operations are successful
    42a17fc11578 mtd: rawnand: qcom: Unmap the right resource upon probe failure
    6f3e86a85ab2 tcp_bpf: properly release resources on error paths
    057fabf0ba77 Bluetooth: hci_event: Fix using memcmp when comparing keys
    30fa7600e058 tcp: allow again tcp_disconnect() when threads are waiting
    3d45ae77292e net/tls: split tls_rx_reader_lock
    cb9a6db7a58f net/mlx5e: Fix VF representors reporting zero counters to "ip -s" command
    150de4a3f0c6 net/mlx5e: Don't offload internal port if filter device is out device
    8b7f7beba354 net/mlx5e: Take RTNL lock before triggering netdev notifiers
    f2997256d0d8 net/mlx5e: XDP, Fix XDP_REDIRECT mpwqe page fragment leaks on shutdown
    7bef60897d24 net/mlx5e: RX, Fix page_pool allocation failure recovery for legacy rq
    d630fe115ef9 net/mlx5e: RX, Fix page_pool allocation failure recovery for striding rq
    f0fbcbb70472 net/mlx5: Handle fw tracer change ownership event based on MTRC
    dc426bd9d813 net/mlx5: E-switch, register event handler before arming the event
    36eee433e85e Bluetooth: hci_sync: always check if connection is alive before deleting
    3b9e2e14ba36 Bluetooth: hci_sync: delete CIS in BT_OPEN/CONNECT/BOUND when aborting
    8f3a578a9fef Bluetooth: ISO: Fix invalid context error
    98c78aef17bc Bluetooth: hci_sync: Introduce PTR_UINT/UINT_PTR macros
    d924ba62fe86 Bluetooth: hci_sync: Fix not handling ISO_LINK in hci_abort_conn_sync
    054dfb821c6e io-wq: fully initialize wqe before calling cpuhp_state_add_instance_nocalls()
    c63d66006bdc cpufreq: schedutil: Update next_freq when cpufreq_limits change
    7bfc1d3e3d93 platform/x86: touchscreen_dmi: Add info for the Positivo C4128B
    ef8073649841 HID: Add quirk to ignore the touchscreen battery on HP ENVY 15-eu0556ng
    8db5b5641edb HID: nintendo: reinitialize USB Pro Controller after resuming from suspend
    37640aaacb3f HID: multitouch: Add required quirk for Synaptics 0xcd7e device
    ae02f63718e6 drm/amd/pm: add unique_id for gc 11.0.3
    ac0893f7a48a platform/x86: touchscreen_dmi: Add info for the BUSH Bush Windows tablet
    3149ea595239 btrfs: error out when reallocating block for defrag using a stale transaction
    71e385e8e042 btrfs: error when COWing block from a root that is being deleted
    55a0567f6461 btrfs: error out when COWing block using a stale transaction
    1472a1d9c294 btrfs: fix some -Wmaybe-uninitialized warnings in ioctl.c
    9c91266a003b drm: panel-orientation-quirks: Add quirk for One Mix 2S
    0fd1a377b08e ipv4/fib: send notify when delete source address routes
    7a0ed30fbb66 sky2: Make sure there is at least one frag_addr available
    c2d0245661f6 nfs: decrement nrequests counter before releasing the req
    a6e63b482084 SUNRPC/TLS: Lock the lower_xprt during the tls handshake
    e039d9b24920 SUNRPC: Fail quickly when server does not recognize TLS
    20eb79ccdaa3 regulator/core: Revert "fix kobject release warning and memory leak in regulator_register()"
    42dc95950d7d wifi: cfg80211: avoid leaking stack data into trace
    4d5ea9a1b21d wifi: mac80211: allow transmitting EAPOL frames with tainted key
    96b83be278ee wifi: mac80211: work around Cisco AP 9115 VHT MPDU length
    670894d8905a wifi: cfg80211: Fix 6GHz scan configuration
    5558f4312dca Bluetooth: hci_core: Fix build warnings
    c4ac1d80eaa6 Bluetooth: Avoid redundant authentication
    6dd41ebf7c9e Bluetooth: btusb: add shutdown function for QCA6174
    b095011d0dad HID: holtek: fix slab-out-of-bounds Write in holtek_kbd_input_event
    b404427a7be2 HID: logitech-hidpp: Add Bluetooth ID for the Logitech M720 Triathlon mouse
    47a066e866aa rfkill: sync before userspace visibility/changes
    f19e6337aa9b wifi: iwlwifi: Ensure ack flag is properly cleared.
    22d405f5c1e6 wifi: cfg80211: validate AP phy operation before starting it
    84a89ef8acf3 wifi: mwifiex: Sanity check tlv_len and tlv_bitmap_len
    26feeeb70477 tracing: relax trace_event_eval_update() execution with cond_resched()
    72ec64ea0e12 ata: libata-eh: Fix compilation warning in ata_eh_link_report()
    5bd7eba2174c ata: libata-core: Fix compilation warning in ata_dev_config_ncq()
    21a696f3a91d gpio: timberdale: Fix potential deadlock on &tgpio->lock
    6d3ab53ab7f9 accel/ivpu: Don't flood dmesg with VPU ready message
    90647d0da861 overlayfs: set ctime when setting mtime and atime
    2bc65f2ef8da i2c: mux: Avoid potential false error message in i2c_mux_add_adapter
    c3d5ec9fe0ee btrfs: initialize start_slot in btrfs_log_prealloc_extents
    43cd1b16afbe btrfs: return -EUCLEAN for delayed tree ref with a ref count not equals to 1
    417753a1af5b btrfs: prevent transaction block reserve underflow when starting transaction
    e2829b94c62f btrfs: fix race when refilling delayed refs block reserve
    982142576477 fs-writeback: do not requeue a clean inode having skipped pages
    98e737c3e86c arm64: dts: mediatek: Fix "mediatek,merge-mute" and "mediatek,merge-fifo-en" types
    245cade8fc9a ARM: dts: ti: omap: Fix noisy serial with overrun-throttle-ms for mapphone
    94de81b46a83 pwr-mlxbf: extend Kconfig to include gpio-mlxbf3 dependency
    6ebc25a77ed5 iio: light: vcnl4000: Don't power on/off chip in config
    f7a69786fe5e net: check for altname conflicts when changing netdev's netns
    95e76a1f9988 net: fix ifname in netlink ntf during netns move
    d1d14bcc14bc net: avoid UAF on deleted altname
    f3036796e67d net: mdio-mux: fix C45 access returning -EIO after API change
    f53e11725233 net: more strict VIRTIO_NET_HDR_GSO_UDP_L4 validation
    bd076ba9d762 net: pktgen: Fix interface flags printing
    34f15aeeec57 net: phy: bcm7xxx: Add missing 16nm EPHY statistics
    d8bc92ce877b selftests: openvswitch: Add version check for pyroute2
    eeaa4fcd1f72 netfilter: nf_tables: revert do not remove elements if set backend implements .abort
    2ec18541f390 netfilter: nf_tables: do not remove elements if set backend implements .abort
    d6ba6de49c2d nf_tables: fix NULL pointer dereference in nft_inner_init()
    8a544721329e nf_tables: fix NULL pointer dereference in nft_expr_inner_parse()
    60a203111170 netfilter: nf_tables: do not refresh timeout when resetting element
    bfc88a6ce66e netlink: Correct offload_xstats size
    0317bd5e189f netfilter: nft_set_rbtree: .deactivate fails if element has expired
    6d466bfe7bf3 selftests: netfilter: Run nft_audit.sh in its own netns
    79fbd1c110b3 selftests: openvswitch: Fix the ct_tuple for v4
    7b624e1f9d20 selftests: openvswitch: Catch cases where the tests are killed
    4efeda952519 neighbor: tracing: Move pin6 inside CONFIG_IPV6=y section
    a851f8c93533 net/sched: sch_hfsc: upgrade 'rt' to 'sc' when it becomes a inner curve
    9e8ada3bf27e bonding: Return pointer to data after pull on skb
    b72539b62d24 net: dsa: bcm_sf2: Fix possible memory leak in bcm_sf2_mdio_register()
    bcfb10a8d722 i40e: prevent crash on probe if hw registers have invalid values
    3bbb112aa138 octeon_ep: update BQL sent bytes before ringing doorbell
    48984949e51d net: usb: smsc95xx: Fix an error code in smsc95xx_reset()
    394c8055fd0e ipv4: fib: annotate races around nh->nh_saddr_genid and nh->nh_saddr
    dd6a8651b98f gve: Do not fully free QPL pages on prefill errors
    e6386242b4cd tun: prevent negative ifindex
    50969e0e05d1 docs: fix info about representor identification
    5b62f58c8288 tcp: Fix listen() warning with v4-mapped-v6 address.
    5019131495d5 tcp: tsq: relax tcp_small_queue_check() when rtx queue contains a single skb
    f74b518c4bb7 tcp: fix excessive TLP and RACK timeouts from HZ rounding
    db4cf95a7636 net: rfkill: gpio: prevent value glitch during probe
    c5b46524c367 net: ipv6: fix return value check in esp_remove_trailer
    10b650138379 net: ipv4: fix return value check in esp_remove_trailer
    89ffd5e26ec3 wifi: cfg80211: use system_unbound_wq for wiphy work
    c91f8adb7414 fprobe: Fix to ensure the number of active retprobes is not zero
    e0cc481c1fa0 net: xfrm: skip policies marked as dead while reinserting policies
    071bba39638f xfrm: interface: use DEV_STATS_INC()
    abfe309fc6dc xfrm: fix a data-race in xfrm_gen_index()
    71998cd436fd xfrm6: fix inet6_dev refcount underflow problem
    de0bfd6026c8 xfrm: fix a data-race in xfrm_lookup_with_ifid()
    40aa935e9e6b qed: fix LL2 RX buffer allocation
    27e7ea6c3ad8 ASoC: codecs: wcd938x: fix runtime PM imbalance on remove
    f0c191c0977a ASoC: codecs: wcd938x: fix regulator leaks on probe errors
    3d4a0f272ff2 ASoC: codecs: wcd938x: fix resource leaks on bind errors
    6165999b6f65 ASoC: codecs: wcd938x: fix unbind tear down order
    2324407dbdfa ASoC: codecs: wcd938x: drop bogus bind error handling
    ea75399184ec ASoC: codecs: wcd938x-sdw: fix runtime PM imbalance on probe errors
    fe672874b968 ASoC: codecs: wcd938x-sdw: fix use after free on driver unbind
    15d4d00e27df ALSA: hda/relatek: Enable Mute LED on HP Laptop 15s-fq5xxx
    302a721307ad ALSA: hda/realtek: Add quirk for ASUS ROG GU603ZV
    56d5acef3b3c ALSA: hda/realtek - Fixed ASUS platform headset Mic issue
    ac1084e2b0b4 drm/edid: add 8 bpc quirk to the BenQ GW2765
    6eb4a83e612a drm/nouveau/disp: fix DP capable DSM connectors
    aa01884d6501 drm/mediatek: Correctly free sg_table in gem prime vmap
    2c9e90773fab drm/i915: Retry gtt fault when out of fence registers
    675f0e9bb716 nvmet-tcp: Fix a possible UAF in queue intialization setup
    7053f66e945d io_uring: fix crash with IORING_SETUP_NO_MMAP and invalid SQ ring address
    55b97a33e5aa netfilter: nft_payload: fix wrong mac header matching
    fd9c3d0fb488 Revert "net: wwan: iosm: enable runtime pm support for 7560"
    9312862d7d03 fs/ntfs3: fix deadlock in mark_as_free_ex
    93600a9e5d24 fs/ntfs3: Fix shift-out-of-bounds in ntfs_fill_super
    15db99c9c7c7 fs/ntfs3: fix panic about slab-out-of-bounds caused by ntfs_list_ea()
    ebcabbe6e00f fs/ntfs3: Fix possible null-pointer dereference in hdr_find_e()
    a1f9acb20402 fs/ntfs3: Fix OOB read in ntfs_init_from_boot
    40cadbcba00c mm: slab: Do not create kmalloc caches smaller than arch_slab_minalign()
    a9feea2fee9c selftests: mptcp: join: no RST when rm subflow/addr
    f080044ecc35 mptcp: more conservative check for zero probes
    b454bd5583a7 tcp: check mptcp-level constraints for backlog coalescing
    6952b951ac9b audit,io_uring: io_uring openat triggers audit reference count underflow
    a672863f5645 x86: KVM: SVM: refresh AVIC inhibition in svm_leave_nested()
    7996dc48ba78 x86: KVM: SVM: add support for Invalid IPI Vector interception
    94805f9d3a3f x86: KVM: SVM: always update the x2avic msr interception
    3365b42624bf KVM: x86: Constrain guest-supported xfeatures only at KVM_GET_XSAVE{2}
    3de2cf8d8287 KVM: x86/pmu: Truncate counter value to allowed width on write
    4d16224bcc3b x86/fpu: Allow caller to constrain xfeatures when copying to uabi buffer
    11b975cb82cc x86/sev: Check for user-space IOIO pointing to kernel space
    dcb55b683118 x86/sev: Check IOBM for IOIO exceptions from user-space
    f44a58134e6a x86/sev: Disable MMIO emulation from user mode
    ecaf25786553 KVM: x86: Mask LVTPC when handling a PMI
    9379a0ef1852 regmap: fix NULL deref on lookup
    bb6cacc439dd nfc: nci: fix possible NULL pointer dereference in send_acknowledge()
    e7acd6209f21 btrfs: fix stripe length calculation for non-zoned data chunk allocation
    c60f54a8868d net/smc: return the right falback reason when prefix checks fail
    74dcd829d94f ice: reset first in crash dump kernels
    9e1dd9401dff ice: Fix safe mode when DDP is missing
    df23c09a7441 ice: fix over-shifted variable
    06a5e7bf1cab Bluetooth: hci_conn: Fix modifying handle while aborting
    5b7a24872c2a Bluetooth: avoid memcmp() out of bounds warning
    75d889f69238 Bluetooth: hci_event: Fix coding style
    c4fb6456420a Bluetooth: vhci: Fix race when opening vhci device
    746dbb0fc639 Bluetooth: Fix a refcnt underflow problem for hci_conn
    2f6495fe89e8 Bluetooth: Reject connection with the device which has same BD_ADDR
    0d04728e2743 Bluetooth: hci_event: Ignore NULL link key

(From OE-Core rev: fecf482f619a4ae0aec37fb34000062d47cbb01e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6470f4c09ccc3e8a692cbaada0b60c0d61845ecc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Bruce Ashfield
dc9e96a194 linux-yocto/6.5: update to v6.5.8
Updating  to the latest korg -stable release that comprises
the following commits:

    8bbe7c640d76 Linux 6.5.8
    46fd4e1547f9 ALSA: hda/realtek - Fixed two speaker platform
    ae0c44ce454d ovl: fix regression in showing lowerdir mount option
    a8187a9ca253 ovl: make use of ->layers safe in rcu pathwalk
    58240ade86f2 ovl: fix regression in parsing of mount options with escaped comma
    cd86498418ed fs: factor out vfs_parse_monolithic_sep() helper
    87be623442a8 fs: Fix kernel-doc warnings
    9baee1becd64 powerpc/64e: Fix wrong test in __ptep_test_and_clear_young()
    909c0bfa08d5 powerpc/8xx: Fix pte_access_permitted() for PAGE_NONE
    7b126f4402c2 dmaengine: mediatek: Fix deadlock caused by synchronize_irq()
    c6695a0ad6fb dmaengine: idxd: use spin_lock_irqsave before wait_event_lock_irq
    0c1773bf8f38 Revert "x86/smp: Put CPUs into INIT on shutdown if possible"
    a9b0e9e65106 usb: misc: onboard_hub: add support for Microchip USB2412 USB 2.0 hub
    91a9aaad5d8c usb: typec: qcom: Update the logic of regulator enable and disable
    f0c0314aac42 usb: cdnsp: Fixes issue with dequeuing not queued requests
    4bf1a9d20c65 usb: gadget: ncm: Handle decoding of multiple NTB's in unwrap call
    098bc0565250 usb: gadget: udc-xilinx: replace memcpy with memcpy_toio
    3039b7d5ebb7 usb: typec: ucsi: Clear EVENT_PENDING bit if ucsi_send_command fails
    522b7d736575 usb: typec: altmodes/displayport: Signal hpd low when exiting mode
    d386632939e0 usb: typec: ucsi: Fix missing link removal
    d68c74f3b2db RISC-V: Fix wrong use of CONFIG_HAVE_SOFTIRQ_ON_OWN_STACK
    3431cfe773ac riscv: Remove duplicate objcopy flag
    fdd3ceb0001d coresight: Fix run time warnings while reusing ETR buffer
    8c4f6d1a8e4d counter: microchip-tcb-capture: Fix the use of internal GCLK logic
    837b24646cfd counter: chrdev: fix getting array extensions
    6a4a432e616f riscv: Only consider swbp/ss handlers for correct privileged mode
    27f69c85f445 scsi: ufs: core: Correct clear TM error log
    d2180b58a8a1 pinctrl: avoid unsafe code pattern in find_pinctrl()
    a473943294f1 dma-buf: add dma_fence_timestamp helper
    da9de0b714d5 cgroup: Remove duplicates in cgroup v1 tasks file
    c3239301ef7a usb: typec: ucsi: Use GET_CAPABILITY attributes data to set power supply scope
    92437349c0f0 power: supply: qcom_battmgr: fix enable request endianness
    fbda26ff92e0 power: supply: qcom_battmgr: fix battery_id type
    704e0e2a0c60 can: sja1000: Always restart the Tx queue after an overrun
    fc9ea80fa4e9 nfp: flower: avoid rmmod nfp crash issues
    f7c949fa298f block: Don't invalidate pagecache for invalid falloc modes
    2405f64a95a7 mctp: perform route lookups under a RCU read-side lock
    1c95574350cd tee: amdtee: fix use-after-free vulnerability in amdtee_close_session
    b8f18fa39cec Input: goodix - ensure int GPIO is in input for gpio_count == 1 && gpio_int_idx == 0 case
    eb2b6503a6ff Input: xpad - add HyperX Clutch Gladiate Support
    8a2c1970a178 Input: i8042 - add Fujitsu Lifebook E5411 to i8042 quirk table
    9832f2274abe Input: xpad - add PXN V900 support
    eb12a7d348ed Input: psmouse - fix fast_reconnect function for PS/2 mode
    e528b1b9d607 Input: powermate - fix use-after-free in powermate_config_complete
    093f82c2b56b ceph: fix type promotion bug on 32bit systems
    afe8dcef4b7a ceph: fix incorrect revoked caps assert in ceph_fill_file_size()
    707ee6525987 libceph: use kernel_connect()
    70f6756ad96d powerpc/47x: Fix 47x syscall return crash
    e28ca99f2f9c powerpc/pseries: Fix STK_PARAM access in the hcall tracing code
    b6ab7f19a44f thunderbolt: Restart XDomain discovery handshake after failure
    9828a7fa65a6 thunderbolt: Correct TMU mode initialization from hardware
    7525edf6aca5 thunderbolt: Check that lane 1 is in CL0 before enabling lane bonding
    5e9e8b6448f4 thunderbolt: Workaround an IOMMU fault on certain systems with Intel Maple Ridge
    3953f7ca6521 mcb: remove is_added flag from mcb_device struct
    cd287cc208df x86/alternatives: Disable KASAN in apply_alternatives()
    12f8e4d71d99 x86/cpu: Fix AMD erratum #1485 on Zen4-based CPUs
    f71edacbd4f9 perf/x86/lbr: Filter vsyscall addresses
    f40723f20839 ksmbd: not allow to open file if delelete on close bit is set
    77d616b2b4ed binder: fix memory leaks of spam and pending work
    8459746f889d serial: core: Fix checks for tx runtime PM state
    02c7efd75c61 serial: 8250_omap: Fix errors with no_console_suspend
    031ddb94d4ef serial: Reduce spinlocked portion of uart_rs485_config()
    a20d0faed2f4 ACPI: EC: Add quirk for the HP Pavilion Gaming 15-dk1xxx
    351a16dff55b ACPI: resource: Add TongFang GM6BGEQ, GM6BG5Q and GM6BG0Q to irq1_edge_low_force_override[]
    e7a8ce872214 ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CBA
    1474b39f9617 drm/vmwgfx: Keep a gem reference to user bos in surfaces
    65059dc00a79 drm/amd/display: Don't set dpms_off for seamless boot
    ea7596e54ba9 drm/amdgpu: add missing NULL check
    d8bb7861a764 drm/atomic-helper: relax unregistered connector check
    7e34cec74ee1 drm/tiny: correctly print `struct resource *` on error
    8abd2793db0f drm: Do not overrun array in drm_gem_get_pages()
    5ecce079d8ef arm64: dts: mediatek: mt8195-demo: update and reorder reserved memory regions
    b2b2706b149d arm64: dts: mediatek: mt8195-demo: fix the memory size to 8GB
    a4442f43569c media: subdev: Don't report V4L2_SUBDEV_CAP_STREAMS when the streams API is disabled
    bcf670d1f6b3 iio: addac: Kconfig: update ad74413r selections
    5ad7badddf52 iio: adc: ad7192: Correct reference voltage
    96e1752330df iio: pressure: ms5611: ms5611_prom_is_valid false negative bug
    a934a1a2b5ac iio: pressure: dps310: Adjust Timeout Settings
    727115b7c668 iio: admv1013: add mixer_vgate corner cases
    197f50f9699d iio: dac: ad3552r: Correct device IDs
    7488449fce1b iio: adc: imx8qxp: Fix address for command buffer registers
    833423930050 iio: cros_ec: fix an use-after-free in cros_ec_sensors_push_data()
    8a80ebbdc490 iio: imu: bno055: Fix missing Kconfig dependencies
    a130c5dacfe4 iio: pressure: bmp280: Fix NULL pointer exception
    4c7f9ce4e1ed usb: musb: Modify the "HWVers" register address
    9f13422e080b usb: musb: Get the musb_qh poniter after musb_giveback
    136f69a04e71 usb: hub: Guard against accesses to uninitialized BOS descriptors
    d33756339fe2 usb: cdns3: Modify the return value of cdns_set_active () to void when CONFIG_PM_SLEEP is disabled
    c39cb50e1b8a usb: dwc3: Soft reset phy on probe for host
    92d68868386d net: usb: dm9601: fix uninitialized variable use in dm9601_mdio_read
    41d00825cbff xhci: Preserve RsvdP bits in ERSTBA register correctly
    c247dfde7e40 xhci: Clear EHB bit only at end of interrupt handler
    c4ea3c85a64a xhci: track port suspend state correctly in unsuccessful resume cases
    acf5731ea0de usb: xhci: xhci-ring: Use sysdev for mapping bounce buffer
    86b3ba53b81d dmaengine: stm32-mdma: set in_flight_bytes in case CRQA flag is set
    70641b112b5b dmaengine: stm32-mdma: use Link Address Register to compute residue
    02544433d143 dmaengine: stm32-dma: fix residue in case of MDMA chaining
    fa03b3920caa dmaengine: stm32-dma: fix stm32_dma_prep_slave_sg in case of MDMA chaining
    f862dcfa849f dmaengine: stm32-mdma: abort resume if no ongoing transfer
    56f16bda27aa ovl: temporarily disable appending lowedirs
    8eaa7650056d riscv: signal: fix sigaltstack frame size checking
    c24f3b78692d workqueue: Override implicit ordered attribute in workqueue_apply_unbound_cpumask()
    63ca6c516fe6 rswitch: Fix imbalance phy_power_off() calling
    8911d3485cec rswitch: Fix renesas_eth_sw_remove() implementation
    7164d177bd16 octeontx2-pf: Fix page pool frag allocation warning
    6584eba7688d nfc: nci: assert requested protocol is valid
    843e69515b04 af_packet: Fix fortified memcpy() without flex array.
    84a6f89acb77 pinctrl: renesas: rzn1: Enable missing PINMUX
    e8dc72cb8312 net: tcp: fix crashes trying to free half-baked MTU probes
    806f8e051903 net/smc: Fix pos miscalculation in statistics
    d1af8a39cf83 net: nfc: fix races in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn()
    cf5b41a81fee s390/bpf: Fix unwinding past the trampoline
    beb59c1a3296 s390/bpf: Fix clobbering the caller's backchain in the trampoline
    96217b5df8ae net/mlx5e: Again mutually exclude RX-FCS and RX-port-timestamp
    915a812423ed net/smc: Fix dependency of SMC on ISM
    9c22611716b1 ixgbe: fix crash with empty VF macvlan list
    78004df64a76 drm/panel: boe-tv101wum-nl6: Completely pull GPW to VGL before TP term
    946b595277a7 net/mlx5e: macsec: use update_pn flag instead of PN comparation
    5bf8bd49315a net: phy: mscc: macsec: reject PN update requests
    f74aa471ee76 net: macsec: indicate next pn update when offloading
    e0a9630ad1d5 octeontx2-pf: mcs: update PN only when update_pn is true
    90baaf9ced76 net: refine debug info in skb_checksum_help()
    7067ebaf98a2 bpf: Fix verifier log for async callback return values
    67394149d7c4 drm/vmwgfx: fix typo of sizeof argument
    50c28a3bfe6e xdp: Fix zero-size allocation warning in xskq_create()
    5b01f4c71a03 riscv, bpf: Track both a0 (RISC-V ABI) and a5 (BPF) return values
    7f6ef07f8ab5 riscv, bpf: Sign-extend return values
    82d52f300e48 xen-netback: use default TX queue size for vifs
    a0cde56933f2 mlxsw: fix mlxsw_sp2_nve_vxlan_learning_set() return type
    becf5c147198 ieee802154: ca8210: Fix a potential UAF in ca8210_probe
    105abd68ad8f ravb: Fix use-after-free issue in ravb_tx_timeout_work()
    b3b8f0ea74cf ravb: Fix up dma_free_coherent() call in ravb_remove()
    f776656844b1 devlink: Hold devlink lock on health reporter dump get
    6dd5b1a37a73 arm64: dts: mediatek: mt8195: Set DSU PMU status to fail
    340e23477773 arm64: dts: mediatek: fix t-phy unit name
    2463f7061ce6 can: sun4i_can: Only show Kconfig if ARCH_SUNXI is set
    ed545e8ccc85 can: isotp: isotp_sendmsg(): fix TX state detection and wait behavior
    96c8f1141055 net: dsa: qca8k: fix potential MDIO bus conflict when accessing internal PHYs via management frames
    9515695b6a9d net: dsa: qca8k: fix regmap bulk read/write methods on big endian systems
    c2d7c79898b4 phy: lynx-28g: serialize concurrent phy_set_mode_ext() calls to shared registers
    1c68986b6950 phy: lynx-28g: lock PHY while performing CDR lock workaround
    3dea2f73f171 phy: lynx-28g: cancel the CDR check work item on the remove path
    ca98df1efda0 drm/msm/dpu: fail dpu_plane_atomic_check() based on mdp clk limits
    91f31c14f299 drm/msm/dp: Add newlines to debug printks
    4c90ae0ef321 drm/msm/dpu: change _dpu_plane_calc_bw() to use u64 to avoid overflow
    06b722ee3141 drm/msm/dsi: fix irq_of_parse_and_map() error checking
    66b54db0e8a4 drm/msm/dsi: skip the wait for video mode done if not applicable
    b945326b569f drm/msm/dp: do not reinitialize phy unless retry during link training
    098c06b6903c pinctrl: starfive: jh7110: Fix failure to set irq after CONFIG_PM is enabled
    c9d7cac0fd27 pinctrl: nuvoton: wpcm450: fix out of bounds write
    44ec7bd0bd83 ALSA: hda/realtek - ALC287 merge RTK codec with CS CS35L41 AMP
    4654dd54a0fa ALSA: hda/realtek - ALC287 I2S speaker platform support
    92e54a0648dd ALSA: hda/realtek: Add quirk for mute LEDs on HP ENVY x360 15-eu0xxx
    b94e563ae542 ALSA: hda/realtek: Add quirk for HP Victus 16-d1xxx to enable mute LED
    8cdbfcefbb37 ASoC: Intel: soc-acpi: Add entry for sof_es8336 in MTL match table.
    a2511b24670a ASoC: Intel: sof_sdw: add support for SKU 0B14
    3aa5bd4b8a2e ASoC: fsl_sai: Don't disable bitclock for i.MX8MP
    0cee8c73ea35 ASoC: Intel: soc-acpi: Add entry for HDMI_In capture support in MTL match table
    934c889a945b ASoC: Intel: soc-acpi: fix Dell SKU 0B34
    838cf77c7449 ASoC: simple-card-utils: fixup simple_util_startup() error handling
    ba1e7575a0bb ASoC: SOF: amd: fix for firmware reload failure after playback
    8380e411ab73 ALSA: hda/realtek: Change model for Intel RVP board
    9da0985b9f57 ALSA: hda: cs35l41: Cleanup and fix double free in firmware request
    235805a7a788 ALSA: usb-audio: Fix microphone sound on Nexigo webcam.
    f64401dec39c ALSA: usb-audio: Fix microphone sound on Opencomm2 Headset
    8a8ca58b89d5 KEYS: trusted: Remove redundant static calls usage
    b50b1d7e76aa irqchip: renesas-rzg2l: Fix logic to clear TINT interrupt source
    380aa2dfb419 dt-bindings: interrupt-controller: renesas,rzg2l-irqc: Update description for '#interrupt-cells' property
    862e2b015bbd arm64: dts: qcom: sm8150: extend the size of the PDC resource
    2f89f1515e13 net: prevent address rewrite in kernel_bind()
    bbbf096ea227 ata: libata-scsi: Disable scsi device manage_system_start_stop
    567558b4350e ASoC: hdmi-codec: Fix broken channel map reporting
    a70aec77d89b ASoC: amd: yc: Fix non-functional mic on Lenovo 82YM
    59073dfbc666 dm crypt: Fix reqsize in crypt_iv_eboiv_gen
    2a1ddddba654 quota: Fix slow quotaoff
    f7b2c7d9831a HID: logitech-hidpp: Fix kernel crash on receiver USB disconnect
    705c1eb72b74 ata: pata_parport: implement set_devctl
    cbb170a68ca4 ata: pata_parport: fix pata_parport_devchk
    e958cc021262 scsi: Do not rescan devices with a suspended queue
    4e76d4585daf drm/amd/display: apply edge-case DISPCLK WDIVIDER changes to master OTG pipes only
    f4b4b7448ccc drm/amd/display: implement pipe type definition and adding accessors
    50f84c0b1e2c media: dt-bindings: imx7-csi: Make power-domains not required for imx8mq
    fe76d3e58a81 platform/x86: hp-wmi:: Mark driver struct with __refdata to prevent section mismatch warning
    c8647e25346e drm/amdgpu: Fix a memory leak
    fdae43a5b6ce cpuidle, ACPI: Evaluate LPI arch_flags for broadcast timer
    1d61ce0a321f drm/i915: Register engines early to avoid type confusion
    c6e3023579de platform/x86: think-lmi: Fix reference leak
    1cd61412f98d perf/arm-cmn: Fix the unhandled overflow status of counter 4 to 7
    7e879676635c RDMA/cxgb4: Check skb value for failure to allocate
    9dcc8f4dbe14 net: stmmac: remove unneeded stmmac_poll_controller

(From OE-Core rev: 3b37a26de851557db4e2705163f5316ed5a4ab36)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 76b9b8fde13c5345f0b4735c230f1f19133bf337)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Bruce Ashfield
68cbaa6bbf linux-yocto/6.1: update to v6.1.60
Updating  to the latest korg -stable release that comprises
the following commits:

    32c9cdbe383c Linux 6.1.60
    7f5bb254be8d selftests: mptcp: join: no RST when rm subflow/addr
    0e0123e0e53d selftests: mptcp: join: correctly check for no RST
    300447c5722a mptcp: avoid sending RST when closing the initial subflow
    c04f416730ac Bluetooth: hci_sock: Correctly bounds check and pad HCI_MON_NEW_INDEX name
    a429d65428d5 Bluetooth: hci_sock: fix slab oob read in create_monitor_event
    46de539282f2 net: move altnames together with the netdevice
    c1d531aa095b phy: mapphone-mdm6600: Fix pinctrl_pm handling for sleep pins
    13a45130bb17 phy: mapphone-mdm6600: Fix runtime PM for remove
    7fcce3258b6e phy: mapphone-mdm6600: Fix runtime disable on probe
    4eac2cf444af gpio: vf610: mask the gpio irq in system suspend and support wakeup
    9b0f8a9dfdac gpio: vf610: make irq_chip immutable
    1f38ead73f25 tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols
    e9b4b7256736 kallsyms: Add helper kallsyms_on_each_match_symbol()
    da359f699f59 kallsyms: Reduce the memory occupied by kallsyms_seqs_of_names[]
    3918cada8f1b serial: 8250: omap: convert to modern PM ops
    70a841eb4f99 serial: 8250: omap: Move uart_write() inside PM section
    6df4c9dee011 drm/bridge: ti-sn65dsi86: Associate DSI device lifetime with auxiliary device
    3d57f6ac641c ASoC: pxa: fix a memory leak in probe()
    14a1a7beb3d3 gpio: vf610: set value before the direction to avoid a glitch
    7ec224d98070 platform/x86: asus-wmi: Map 0x2a code, Ignore 0x2b and 0x2c events
    baf191abecf7 platform/x86: asus-wmi: Only map brightness codes when using asus-wmi backlight control
    4186c79c130d platform/x86: asus-wmi: Change ASUS_WMI_BRN_DOWN code from 0x20 to 0x2e
    52d54f1d4e03 platform/x86: intel-uncore-freq: Conditionally create attribute for read frequency
    8a4b575d00ef platform/surface: platform_profile: Propagate error if profile registration fails
    fec769b9fd25 s390/cio: fix a memleak in css_alloc_subchannel
    7241c2627c14 selftests/ftrace: Add new test case which checks non unique symbol
    324c31b0e0d7 s390/pci: fix iommu bitmap allocation
    f6952655a612 perf: Disallow mis-matched inherited group reads
    908c62800584 USB: serial: option: add Fibocom to DELL custom modem FM101R-GL
    acced163ab6a USB: serial: option: add entry for Sierra EM9191 with new firmware
    1dce40c9e6d8 USB: serial: option: add Telit LE910C4-WWX 0x1035 composition
    59aa39697fc2 HID: input: map battery system charging
    ea0e0473093f KVM: x86/mmu: Stop zapping invalidated TDP MMU roots asynchronously
    3519cee444bc nvme-rdma: do not try to stop unallocated queues
    bec9cb90fee1 nvmet-auth: complete a request only after freeing the dhchap pointers
    0ec655ad659d nvme-pci: add BOGUS_NID for Intel 0a54 device
    2c0b40c310a5 nvme: sanitize metadata bounce buffer for reads
    a54974b0076f nfs42: client needs to strip file mode's suid/sgid bit after ALLOCATE op
    8d69b47443e8 ACPI: irq: Fix incorrect return value in acpi_register_gsi()
    c462bf4ef88a NFSv4.1: fixup use EXCHGID4_FLAG_USE_PNFS_DS for DS server
    ab65424d618b pNFS/flexfiles: Check the layout validity in ff_layout_mirror_prepare_stats
    730bbbbe16b7 pNFS: Fix a hang in nfs4_evict_inode()
    fbd8b28fe4a2 Revert "pinctrl: avoid unsafe code pattern in find_pinctrl()"
    c4b7b119c56c mmc: core: Capture correct oemid-bits for eMMC cards
    85664ad23f8b mmc: core: sdio: hold retuning if sdio in 1-bit mode
    aaa476a7ad50 mmc: mtk-sd: Use readl_poll_timeout_atomic in msdc_reset_hw
    43f588b82070 mmc: sdhci-pci-gli: fix LPM negotiation so x86/S0ix SoCs can suspend
    55c2428658ec dt-bindings: mmc: sdhci-msm: correct minimum number of clocks
    73915d26b474 mtd: physmap-core: Restore map_rom fallback
    578687563e71 mtd: spinand: micron: correct bitmask for ecc status
    8b2b755a1a52 mtd: rawnand: arasan: Ensure program page operations are successful
    58277212f576 mtd: rawnand: marvell: Ensure program page operations are successful
    250feed792f8 mtd: rawnand: pl353: Ensure program page operations are successful
    58454486132c mtd: rawnand: qcom: Unmap the right resource upon probe failure
    a7f5558ec2db net/smc: fix smc clc failed issue when netdevice not in init_net
    2efcdbef13c9 tcp_bpf: properly release resources on error paths
    c3e70048ac25 selftests: openvswitch: Add version check for pyroute2
    a1a9e57037e0 Bluetooth: hci_event: Fix using memcmp when comparing keys
    758610516f0b ice: Remove redundant pci_enable_pcie_error_reporting()
    ec9bc89a0188 tcp: allow again tcp_disconnect() when threads are waiting
    9dc02f41d54e net/tls: split tls_rx_reader_lock
    76f96854aa25 net/mlx5e: Don't offload internal port if filter device is out device
    107ff0034bbc net/mlx5: Handle fw tracer change ownership event based on MTRC
    0aa1e83a20f1 net/mlx5: E-switch, register event handler before arming the event
    c21bff1c99b6 xfrm6: fix inet6_dev refcount underflow problem
    d91723f6ca3c net: xfrm: skip policies marked as dead while reinserting policies
    df2cc87f2c38 fprobe: Fix to ensure the number of active retprobes is not zero
    f177a579d2e8 fprobe: Add nr_maxactive to specify rethook_node pool size
    0806cb1e6c63 fprobe: Pass entry_data to handlers
    bacf8c749add cpufreq: schedutil: Update next_freq when cpufreq_limits change
    62733bbae12c platform/x86: touchscreen_dmi: Add info for the Positivo C4128B
    60dc7e39dff8 HID: nintendo: reinitialize USB Pro Controller after resuming from suspend
    ef8cdee81ef5 HID: multitouch: Add required quirk for Synaptics 0xcd7e device
    2a2df4f74f37 drm/amd/pm: add unique_id for gc 11.0.3
    1869638a1444 btrfs: error out when reallocating block for defrag using a stale transaction
    f174c8d2c634 btrfs: error when COWing block from a root that is being deleted
    c833f1e28d13 btrfs: error out when COWing block using a stale transaction
    9d99acb6a162 btrfs: fix some -Wmaybe-uninitialized warnings in ioctl.c
    c3657e5fa7b6 drm: panel-orientation-quirks: Add quirk for One Mix 2S
    ffbb01fe9a15 ipv4/fib: send notify when delete source address routes
    52080d6edc9a sky2: Make sure there is at least one frag_addr available
    d63d39e7f95e regulator/core: Revert "fix kobject release warning and memory leak in regulator_register()"
    2353f6476233 wifi: cfg80211: avoid leaking stack data into trace
    2fd88f5632e1 wifi: mac80211: allow transmitting EAPOL frames with tainted key
    9285fea3a22e wifi: mac80211: work around Cisco AP 9115 VHT MPDU length
    dbbb6090c9b2 wifi: cfg80211: Fix 6GHz scan configuration
    a55d53ad5c86 Bluetooth: hci_core: Fix build warnings
    aad0760c2607 Bluetooth: Avoid redundant authentication
    7045675fc916 Bluetooth: btusb: add shutdown function for QCA6174
    7d823a1071c6 HID: holtek: fix slab-out-of-bounds Write in holtek_kbd_input_event
    f45752f1eb91 HID: logitech-hidpp: Add Bluetooth ID for the Logitech M720 Triathlon mouse
    e045b6a92129 wifi: iwlwifi: Ensure ack flag is properly cleared.
    eb7ae9ed63c6 wifi: mwifiex: Sanity check tlv_len and tlv_bitmap_len
    b812b3169628 tracing: relax trace_event_eval_update() execution with cond_resched()
    1c859abdd7de ata: libata-eh: Fix compilation warning in ata_eh_link_report()
    e4ce5ce29a1c ata: libata-core: Fix compilation warning in ata_dev_config_ncq()
    5075570a3ede gpio: timberdale: Fix potential deadlock on &tgpio->lock
    d0dab9dd327a overlayfs: set ctime when setting mtime and atime
    6133f63d4d87 i2c: mux: Avoid potential false error message in i2c_mux_add_adapter
    febcad3d32ab btrfs: initialize start_slot in btrfs_log_prealloc_extents
    563853bf3b84 btrfs: return -EUCLEAN for delayed tree ref with a ref count not equals to 1
    8a4e34fe1baa btrfs: prevent transaction block reserve underflow when starting transaction
    c194e184a899 fs-writeback: do not requeue a clean inode having skipped pages
    a7354d90642d ARM: dts: ti: omap: Fix noisy serial with overrun-throttle-ms for mapphone
    1c972cb674e3 pwr-mlxbf: extend Kconfig to include gpio-mlxbf3 dependency
    82a93c65a4e0 iio: adc: ad7192: Correct reference voltage
    ee1d783be55d iio: adc: ad7192: Simplify using devm_regulator_get_enable()
    3b02dbd1cd54 iio: cros_ec: fix an use-after-free in cros_ec_sensors_push_data()
    7bca0af538a4 iio: core: introduce iio_device_{claim|release}_buffer_mode() APIs
    681c8a2c238b serial: 8250_omap: Fix errors with no_console_suspend
    9424a0a45691 serial: 8250: omap: Fix imprecise external abort for omap_8250_pm()
    7067c3cf0823 serial: Reduce spinlocked portion of uart_rs485_config()
    147156b19cd0 serial: Rename uart_change_speed() to uart_change_line_settings()
    e4df8000bdd3 serial: Move uart_change_speed() earlier
    4d382ba65ddb usb: misc: onboard_hub: add support for Microchip USB2412 USB 2.0 hub
    8e939c21f60f usb: misc: onboard_usb_hub: add Genesys Logic GL3523 hub support
    a46907e1f6b6 usb: misc: onboard_usb_hub: add Genesys Logic GL852G hub support
    a2431e7e8bdd usb: misc: onboard_usb_hub: add Genesys Logic GL850G hub support
    5e7275e43292 selftests/mm: fix awk usage in charge_reserved_hugetlb.sh and hugetlb_reparenting_test.sh that may cause error
    673edcffa096 net: check for altname conflicts when changing netdev's netns
    9307f5f59a4a net: fix ifname in netlink ntf during netns move
    b92433493bcc net: avoid UAF on deleted altname
    1cf912054a08 net: pktgen: Fix interface flags printing
    2fb84f52142d net: phy: bcm7xxx: Add missing 16nm EPHY statistics
    e1512ff1ecb8 netfilter: nf_tables: revert do not remove elements if set backend implements .abort
    c2eaa8319f99 netfilter: nf_tables: do not remove elements if set backend implements .abort
    0e8cdddf010b netlink: Correct offload_xstats size
    0697918ec0c0 netfilter: nft_set_rbtree: .deactivate fails if element has expired
    d9d289b78c51 selftests: netfilter: Run nft_audit.sh in its own netns
    0bb15735121d selftests: openvswitch: Catch cases where the tests are killed
    e0914e5a05dd neighbor: tracing: Move pin6 inside CONFIG_IPV6=y section
    d80bc191420a net/sched: sch_hfsc: upgrade 'rt' to 'sc' when it becomes a inner curve
    ec7393fe63cb bonding: Return pointer to data after pull on skb
    3065fabd17c5 net: dsa: bcm_sf2: Fix possible memory leak in bcm_sf2_mdio_register()
    9c3d276fa866 i40e: prevent crash on probe if hw registers have invalid values
    f0ab9b0922fc octeon_ep: update BQL sent bytes before ringing doorbell
    1a68d440112a net: usb: smsc95xx: Fix an error code in smsc95xx_reset()
    2c6451d665fb ipv4: fib: annotate races around nh->nh_saddr_genid and nh->nh_saddr
    9570bee67850 tun: prevent negative ifindex
    8b9c79c0ecd2 tcp: Fix listen() warning with v4-mapped-v6 address.
    f534a513e8c3 tcp: tsq: relax tcp_small_queue_check() when rtx queue contains a single skb
    4e1f3457e9af tcp: fix excessive TLP and RACK timeouts from HZ rounding
    df5ee37bf29d net: rfkill: gpio: prevent value glitch during probe
    2a6fc637c625 net: ipv6: fix return value check in esp_remove_trailer
    55d794cef353 net: ipv4: fix return value check in esp_remove_trailer
    49b9165ead33 wifi: cfg80211: use system_unbound_wq for wiphy work
    405dbaf04981 xfrm: interface: use DEV_STATS_INC()
    b372db2b8d18 xfrm: fix a data-race in xfrm_gen_index()
    3065fa2cdd7a xfrm: fix a data-race in xfrm_lookup_with_ifid()
    2c7ec9e9ea70 qed: fix LL2 RX buffer allocation
    cc87f4db1417 ASoC: codecs: wcd938x: fix resource leaks on bind errors
    8092aed62375 ASoC: codecs: wcd938x: fix unbind tear down order
    b2974b20e40d ASoC: codecs: wcd938x: drop bogus bind error handling
    569afdedde68 ASoC: codecs: wcd938x-sdw: fix runtime PM imbalance on probe errors
    0d912daab475 ASoC: codecs: wcd938x-sdw: fix use after free on driver unbind
    d496b6638c20 ALSA: hda/relatek: Enable Mute LED on HP Laptop 15s-fq5xxx
    086babbbf8e0 ALSA: hda/realtek: Add quirk for ASUS ROG GU603ZV
    bcf883e244dd ALSA: hda/realtek - Fixed ASUS platform headset Mic issue
    a9519099e323 drm/mediatek: Correctly free sg_table in gem prime vmap
    add2eeda1d6e drm/i915: Retry gtt fault when out of fence registers
    f691ec5a5482 nvmet-tcp: Fix a possible UAF in queue intialization setup
    02322c5177e8 netfilter: nft_payload: fix wrong mac header matching
    36a315c923e0 fs/ntfs3: fix deadlock in mark_as_free_ex
    c1f2638e315b fs/ntfs3: fix panic about slab-out-of-bounds caused by ntfs_list_ea()
    fb80a28fef2b fs/ntfs3: Fix possible null-pointer dereference in hdr_find_e()
    d4ae85b883f3 mptcp: more conservative check for zero probes
    80990979a946 tcp: check mptcp-level constraints for backlog coalescing
    f7e65c03d5bf audit,io_uring: io_uring openat triggers audit reference count underflow
    a556a0df8df0 x86: KVM: SVM: refresh AVIC inhibition in svm_leave_nested()
    54f030271d6b x86: KVM: SVM: add support for Invalid IPI Vector interception
    482565df3508 KVM: x86: Constrain guest-supported xfeatures only at KVM_GET_XSAVE{2}
    20695711e298 x86/fpu: Allow caller to constrain xfeatures when copying to uabi buffer
    57d0639f60f1 x86/sev: Check for user-space IOIO pointing to kernel space
    def94eb9a804 x86/sev: Check IOBM for IOIO exceptions from user-space
    95ff590b8027 x86/sev: Disable MMIO emulation from user mode
    19ffa9b2515a KVM: x86: Mask LVTPC when handling a PMI
    d11cfd1f30d6 regmap: fix NULL deref on lookup
    d7dbdbe3800a nfc: nci: fix possible NULL pointer dereference in send_acknowledge()
    fb8e1608b0e5 btrfs: fix stripe length calculation for non-zoned data chunk allocation
    753ef5ef4c3b net/smc: return the right falback reason when prefix checks fail
    d994502fdc66 ice: reset first in crash dump kernels
    0f8d381adaa9 ice: fix over-shifted variable
    bbc5c96f8214 Bluetooth: avoid memcmp() out of bounds warning
    feffabdd0ace Bluetooth: hci_event: Fix coding style
    99ccf8d79bdd Bluetooth: vhci: Fix race when opening vhci device
    25e5d2883002 Bluetooth: Fix a refcnt underflow problem for hci_conn
    faa6366605d6 Bluetooth: Reject connection with the device which has same BD_ADDR
    8d76a44d2615 Bluetooth: hci_event: Ignore NULL link key
    84523aeeeaf9 igc: Fix race condition in PTP tx code
    ff996d61ddde igc: Add condition for qbv_config_change_errors counter
    cd7b19dc5f3c igc: Add qbv_config_change_errors counter
    88421f474136 igc: Remove reset adapter task for i226 during disable tsn config
    3c3418a58655 igc: enable Qbv configuration for 2nd GCL
    8420fe4dd2d9 igc: remove I226 Qbv BaseTime restriction
    db4677b35047 lib/Kconfig.debug: do not enable DEBUG_PREEMPT by default

(From OE-Core rev: 8c769074d7303d96fbba6f09e5e9da7d0678daed)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4ed9491931f90072f054db59e77472c1bc6a8ff4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Bruce Ashfield
2aee74f610 linux-yocto/6.1: update to v6.1.59
Updating  to the latest korg -stable release that comprises
the following commits:

    7d24402875c7 Linux 6.1.59
    eb26fa974c77 ALSA: hda/realtek - Fixed two speaker platform
    54357fcafa73 powerpc/64e: Fix wrong test in __ptep_test_and_clear_young()
    0afcc9d4a16d powerpc/8xx: Fix pte_access_permitted() for PAGE_NONE
    9a995e11b23f dmaengine: mediatek: Fix deadlock caused by synchronize_irq()
    01b19fc6621d dmaengine: idxd: use spin_lock_irqsave before wait_event_lock_irq
    5b784489c815 x86/alternatives: Disable KASAN in apply_alternatives()
    033c0d5101e5 usb: cdnsp: Fixes issue with dequeuing not queued requests
    49fbc18378ae usb: gadget: ncm: Handle decoding of multiple NTB's in unwrap call
    e5588fb39152 usb: gadget: udc-xilinx: replace memcpy with memcpy_toio
    71d323072af7 usb: typec: ucsi: Clear EVENT_PENDING bit if ucsi_send_command fails
    4d85f1ce6ca4 usb: typec: altmodes/displayport: Signal hpd low when exiting mode
    bc6725085925 counter: microchip-tcb-capture: Fix the use of internal GCLK logic
    0e3953b57735 counter: chrdev: fix getting array extensions
    9f6b391b0486 scsi: ufs: core: Correct clear TM error log
    97306abdeaca pinctrl: avoid unsafe code pattern in find_pinctrl()
    d67b5a2b97b6 dma-buf: add dma_fence_timestamp helper
    cb8f1dd1b73c cgroup: Remove duplicates in cgroup v1 tasks file
    57e7696b7852 usb: typec: ucsi: Use GET_CAPABILITY attributes data to set power supply scope
    062f16c4dd69 nfp: flower: avoid rmmod nfp crash issues
    1db0724a01b5 mctp: perform route lookups under a RCU read-side lock
    60c3e7a00db9 tee: amdtee: fix use-after-free vulnerability in amdtee_close_session
    862aa9818153 Input: goodix - ensure int GPIO is in input for gpio_count == 1 && gpio_int_idx == 0 case
    fbfb99ac5d4a Input: i8042 - add Fujitsu Lifebook E5411 to i8042 quirk table
    9c6a11a05bc7 Input: xpad - add PXN V900 support
    211f71c1c0a7 Input: psmouse - fix fast_reconnect function for PS/2 mode
    2efe67c581a2 Input: powermate - fix use-after-free in powermate_config_complete
    4d6c1845cba2 ceph: fix type promotion bug on 32bit systems
    9f43481c0d85 ceph: fix incorrect revoked caps assert in ceph_fill_file_size()
    086d885c200d libceph: use kernel_connect()
    8ac2689502f9 powerpc/47x: Fix 47x syscall return crash
    434e3522b9bd thunderbolt: Restart XDomain discovery handshake after failure
    5d206a77d48a thunderbolt: Check that lane 1 is in CL0 before enabling lane bonding
    0cf7ee2cc6e6 thunderbolt: Workaround an IOMMU fault on certain systems with Intel Maple Ridge
    23122e0c0e5d mcb: remove is_added flag from mcb_device struct
    125f495fa66a x86/cpu: Fix AMD erratum #1485 on Zen4-based CPUs
    386398949765 perf/x86/lbr: Filter vsyscall addresses
    55b51187d257 ksmbd: not allow to open file if delelete on close bit is set
    ac2d5e70fbb1 ACPI: EC: Add quirk for the HP Pavilion Gaming 15-dk1xxx
    7aac2f2c0036 ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CBA
    f0410917561c drm/amd/display: Don't set dpms_off for seamless boot
    a61d905a8687 drm/amdgpu: add missing NULL check
    0fb82afee55f drm/atomic-helper: relax unregistered connector check
    5bab10496324 arm64: dts: mediatek: mt8195-demo: update and reorder reserved memory regions
    f17e00fb0c9f arm64: dts: mediatek: mt8195-demo: fix the memory size to 8GB
    ff42d244b372 iio: addac: Kconfig: update ad74413r selections
    7d4ff34b6c33 iio: pressure: ms5611: ms5611_prom_is_valid false negative bug
    b166ce527540 iio: pressure: dps310: Adjust Timeout Settings
    e93a7677f0ba iio: admv1013: add mixer_vgate corner cases
    8ab33ae244a9 iio: dac: ad3552r: Correct device IDs
    a6bd5e165382 iio: adc: imx8qxp: Fix address for command buffer registers
    92426b1f5f89 iio: imu: bno055: Fix missing Kconfig dependencies
    187939163b97 iio: pressure: bmp280: Fix NULL pointer exception
    88a204cc0c3d usb: musb: Modify the "HWVers" register address
    fecb419c62c6 usb: musb: Get the musb_qh poniter after musb_giveback
    fb9895ab9533 usb: hub: Guard against accesses to uninitialized BOS descriptors
    1edbf4b2850e usb: cdns3: Modify the return value of cdns_set_active () to void when CONFIG_PM_SLEEP is disabled
    357191036889 usb: dwc3: Soft reset phy on probe for host
    ea9ae69b0e11 net: usb: dm9601: fix uninitialized variable use in dm9601_mdio_read
    c5bfe67d9fa1 usb: xhci: xhci-ring: Use sysdev for mapping bounce buffer
    f049b10affc5 dmaengine: stm32-mdma: set in_flight_bytes in case CRQA flag is set
    721dbbabf14b dmaengine: stm32-mdma: use Link Address Register to compute residue
    fe15819408bc dmaengine: stm32-dma: fix residue in case of MDMA chaining
    1e3b981a25db dmaengine: stm32-dma: fix stm32_dma_prep_slave_sg in case of MDMA chaining
    8e7dfe9c2ac8 dmaengine: stm32-mdma: abort resume if no ongoing transfer
    0796c534242d tcp: enforce receive buffer memory limits by allowing the tcp window to shrink
    55027c1d99db workqueue: Override implicit ordered attribute in workqueue_apply_unbound_cpumask()
    853dda54ba59 nfc: nci: assert requested protocol is valid
    684accd26dff pinctrl: renesas: rzn1: Enable missing PINMUX
    f05befe5c441 net/smc: Fix pos miscalculation in statistics
    e4f2611f07c8 net: nfc: fix races in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn()
    ab8075d3a4a8 net/mlx5e: Again mutually exclude RX-FCS and RX-port-timestamp
    04753d5ae209 ixgbe: fix crash with empty VF macvlan list
    89be6ad344f7 net/mlx5e: macsec: use update_pn flag instead of PN comparation
    a698195f3a60 net: phy: mscc: macsec: reject PN update requests
    0d86ad068c3e net: macsec: indicate next pn update when offloading
    50bce6a051e8 net: refine debug info in skb_checksum_help()
    30ca523f287e bpf: Fix verifier log for async callback return values
    e1f1e3cc5b3c drm/vmwgfx: fix typo of sizeof argument
    5bfc5a28b53f riscv, bpf: Sign-extend return values
    72ae13954633 riscv, bpf: Factor out emit_call for kernel and bpf context
    30a835460293 xen-netback: use default TX queue size for vifs
    469bef81293f mlxsw: fix mlxsw_sp2_nve_vxlan_learning_set() return type
    217efe32a452 ieee802154: ca8210: Fix a potential UAF in ca8210_probe
    6f6fa8061f75 ravb: Fix use-after-free issue in ravb_tx_timeout_work()
    3f9295ad7f94 ravb: Fix up dma_free_coherent() call in ravb_remove()
    cfe535ee694d arm64: dts: mediatek: mt8195: Set DSU PMU status to fail
    53c6dc71bf35 can: sun4i_can: Only show Kconfig if ARCH_SUNXI is set
    789d125c0ebb can: isotp: isotp_sendmsg(): fix TX state detection and wait behavior
    881050b25b1d net: dsa: qca8k: fix potential MDIO bus conflict when accessing internal PHYs via management frames
    6f901f8448c6 phy: lynx-28g: serialize concurrent phy_set_mode_ext() calls to shared registers
    e173d9a2e548 phy: lynx-28g: lock PHY while performing CDR lock workaround
    e52c81a9e370 phy: lynx-28g: cancel the CDR check work item on the remove path
    5f9d0edff203 drm/msm/dp: Add newlines to debug printks
    61b595ede9e3 drm/msm/dpu: change _dpu_plane_calc_bw() to use u64 to avoid overflow
    3979a9e572a3 drm/msm/dsi: fix irq_of_parse_and_map() error checking
    3de09684defa drm/msm/dsi: skip the wait for video mode done if not applicable
    82cb81ea9688 drm/msm/dp: do not reinitialize phy unless retry during link training
    6c18c386fd13 pinctrl: nuvoton: wpcm450: fix out of bounds write
    37157830a97f ALSA: hda/realtek - ALC287 merge RTK codec with CS CS35L41 AMP
    171b791cc231 ALSA: hda/realtek - ALC287 I2S speaker platform support
    a8b85e47e311 ALSA: hda/realtek: Add quirk for mute LEDs on HP ENVY x360 15-eu0xxx
    e225f67d49ff ALSA: hda/realtek: Add quirk for HP Victus 16-d1xxx to enable mute LED
    8f7bb2b77bc4 ASoC: fsl_sai: Don't disable bitclock for i.MX8MP
    aacc508dd37d ASoC: fsl_sai: MCLK bind with TX/RX enable bit
    8276d65cf7ad ASoC: Use of_property_read_bool() for boolean properties
    8611606c765d ASoC: Intel: soc-acpi: Add entry for sof_es8336 in MTL match table.
    4a250b349287 ASoC: Intel: sof_sdw: add support for SKU 0B14
    307bbbbb940d ASoC: Intel: soc-acpi: Add entry for HDMI_In capture support in MTL match table
    988fba279db0 ASoC: simple-card-utils: fixup simple_util_startup() error handling
    e3353ad7db52 ASoC: SOF: amd: fix for firmware reload failure after playback
    2aa53213b661 ALSA: hda/realtek: Change model for Intel RVP board
    4cb0984557b9 ALSA: usb-audio: Fix microphone sound on Nexigo webcam.
    0f44423e355e ALSA: usb-audio: Fix microphone sound on Opencomm2 Headset
    3746b878efde KEYS: trusted: Remove redundant static calls usage
    b86ac71abbc0 irqchip: renesas-rzg2l: Fix logic to clear TINT interrupt source
    d6844187507a dt-bindings: interrupt-controller: renesas,rzg2l-irqc: Update description for '#interrupt-cells' property
    f4eaaa30d007 arm64: dts: qcom: sm8150: extend the size of the PDC resource
    020958c946c0 net: prevent address rewrite in kernel_bind()
    8fcdf7da9d4b ata: libata-scsi: Disable scsi device manage_system_start_stop
    abc918831a08 ASoC: amd: yc: Fix non-functional mic on Lenovo 82YM
    12a820a9923c quota: Fix slow quotaoff
    fd72ac9556a4 HID: logitech-hidpp: Fix kernel crash on receiver USB disconnect
    87aa3ca49746 scsi: Do not rescan devices with a suspended queue
    342f321af833 platform/x86: hp-wmi:: Mark driver struct with __refdata to prevent section mismatch warning
    af21c9119a37 platform/x86: think-lmi: Fix reference leak
    1c8f6c7b8375 perf/arm-cmn: Fix the unhandled overflow status of counter 4 to 7
    3aade96e0c93 RDMA/cxgb4: Check skb value for failure to allocate
    f175665385fe drm/i915: Don't set PIPE_CONTROL_FLUSH_L3 for aux inval
    f2060a3a5961 mptcp: fix delegated action races
    b67d7b1bfc46 net: mana: Fix TX CQE error handling
    adc4d740ad9e Linux 6.1.58
    38fd36728f40 lib/test_meminit: fix off-by-one error in test_pages()
    ff74bdc83847 Revert "NFS: Fix error handling for O_DIRECT write scheduling"
    b0cee281c433 Revert "NFS: Fix O_DIRECT locking issues"
    ebf5841ac1ed Revert "NFS: More O_DIRECT accounting fixes for error paths"
    506cf335d95a Revert "NFS: Use the correct commit info in nfs_join_page_group()"
    e8db8b55815d Revert "NFS: More fixes for nfs_direct_write_reschedule_io()"

(From OE-Core rev: 9bfdc8fdd0a2901e29eedc90b425a59794f9a7a4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dfe38212221373737ac8a8a243976bd627524eea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Wang Mingyu
d34067581f xserver-xorg: upgrade 21.1.8 -> 21.1.9
Changelog:
===========
-present: Send a PresentConfigureNotify event for destroyed windows
-Switch to libbsd-overlay
-Xi/randr: fix handling of PropModeAppend/Prepend
-mi: reset the PointerWindows reference on screen switch

(From OE-Core rev: 84236ab1d21b4df62d8ba074fe9f4ac4719a7333)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 82e87caedf84dcf5a933dbfc92718ac1cdd29734)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Wang Mingyu
51a049a282 glib-2.0: upgrade 2.78.0 -> 2.78.1
Changelog:
=========
* Fix truncating files when "g_file_set_contents_full()" is called without
  "G_FILE_SET_CONTENTS_CONSISTENT"

* Fix "-Dlibelf=disabled" on Linux

* Bugs fixed:
  - #3105 NetworkManager 1.44.0 crashes repeatedly with glib 2.78.0
  - #3111 gsubprocess-testprog.c: build error with cygwin (sys/ptrace.h: No such
    file or directory)
  - #3116 gio clears modification time in microseconds when setting with
    "set_modification_date_time"
  - #3120 Build of glib 2.78.0 ignores -Dlibelf=disabled
  - #3128 glib-2.78.0 fails at gio/tests/gsubprocess.p/gsubprocess.c.o
  - #3130 Segfault when creating GIO GPropertyAction without properties
  - #3144 "g_file_set_contents_full()" doesn't truncate the file (without
    "G_FILE_SET_CONTENTS_CONSISTENT")
  - !3576 guniprop.c: Avoid creating (temporarily) out-of-bounds pointers
  - !3579 Fixes for integer cast warnings when targeting CHERI
  - !3580 Fix test_find_program on FreeBSD
  - !3589 gconstructor.h: Ensure [c|d]tor prototypes are present for MSVC
  - !3594 Fix gutils-user-database test on macOS
  - !3596 Add value annotation to G_TYPE_FUNDAMENTAL_MAX
  - !3601 meson: Fix Windows build with PCRE2 as sibling subproject
  - !3604 Backport !3589 "gconstructor.h: Ensure [c|d]tor prototypes are present
    for MSVC" to glib-2-78
  - !3608 Backport !3587 "glocalfileinfo: Preserve microseconds for
    access/modify times" to glib-2-78
  - !3609 Backport !3607 "Make sure the "GTask" is freed on a graceful
    disconnect" to glib-2-78
  - !3614 Backport !3582 "Buffer needs to be aligned correctly to receive
    linux_dirent64." to glib-2-78
  - !3616 Backport !3590 "gtestutils.h: Fix warning with -Wsign-conversion
    caused by g_assert_cmpint" to glib-2-78
  - !3619 Backport !3617 "tests: Drop unnecessary include from gsubprocess-
    testprog.c" to glib-2-78
  - !3622 Backport !3621 "wakeup: do single read when using eventfd()" to
    glib-2-78
  - !3625 Backport !3624 "wakeup: Fix g_wakeup_acknowledge if signal comes in"
    to glib-2-78
  - !3644 Backport !3633 "Use g_task_return in task threads" to glib-2-78
  - !3649 Backport !3648 "build: Fix -Dlibelf=disabled on Linux" to glib-2-78
  - !3659 Backport !3650 "gfileutils: Add a missing ftruncate() call when
    writing files" to glib-2-78

(From OE-Core rev: ca5ec3ed5c528f36204b0f6b95bef896f8858176)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2a2df44ef1b413f1ae268a69e36ca796fc8c9d0b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Wang Mingyu
b714245cc2 msmtp: upgrade 1.8.24 -> 1.8.25
This is a bug fix release:

Generation of Message-ID headers was improved to avoid problems with rspamd assigning SPAM points
Documentation of ignored options was fixed
The combination of envelope from addresses with wildcards and automatic account selection was fixed (thanks to Jonathan Wakely)
Translations were updated, including a new Romanian translation (thanks again to everyone at translationproject.org)

(From OE-Core rev: 8eeee56a576dffb7f9bac9131563b555d30ada42)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 58fe8184f7ea475ad1be754e0de9a76cd4cd7c2e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Wang Mingyu
99c43cf1a0 libnsl2: upgrade 2.0.0 -> 2.0.1
Changelog:
===========
* Remove unused internal symbols from libnsl.map
* Remove NIS+ from documentation

(From OE-Core rev: 32a6640fb99cdccb4a74e3ea8baa03272f827fb6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 1c85811d3a31cd290c7cbc939663cd68d69d9146)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Wang Mingyu
a820a8a34a libnewt: upgrade 0.52.23 -> 0.52.24
Changelog:
===========
- add support for python3.13
- fix compiler warnings

(From OE-Core rev: da5850d11abe2e523b72500fbd304d5db041a9f1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 3d97fe3848d68159c4b7119b0906c8388ce54a9a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Tim Orling
1dfa7cf067 vim: upgrade 9.0.2068 -> 9.0.2130
https://github.com/vim/vim/compare/v9.0.2068...v9.0.2130

CVE: CVE-2023-48231
CVE: CVE-2023-48232
CVE: CVE-2023-48233
CVE: CVE-2023-48234
CVE: CVE-2023-48235
CVE: CVE-2023-48236
CVE: CVE-2023-48237

(From OE-Core rev: 75b48593f8e1ad9efc14842bf29a68daa7b02472)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 5978d565a9e700485fc563dfe2e3c0045dd74b59)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Lee Chee Yang
508acf3ab7 migration-guides: add release notes for 4.3.1
(From yocto-docs rev: 405b1e55eef16965c14ad0434b0e88ac165df0b3)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Vyacheslav Yurkov
bdfac04a9f lib/oe/path: Deploy files can start only with a dot
There might be only hidden files deployed. In that case we don't need a
generic wildcard present in copy command, otherwise it fails with:

Exception: subprocess.CalledProcessError: Command 'cp -afl --preserve=xattr ./.??* ./* <BUILDDIR>/tmp/deploy/images/qemux86-64' returned non-zero exit status 1.

Subprocess output:
cp: cannot stat './*': No such file or directory

(From OE-Core rev: c45f3e00189e034157996b88103a83efec3e0cf6)

Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@wika.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f92c751281609ea6bd6b838307de4bc70bf26ab9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Jermain Horsman
b680a95e6b lib/oe/buildcfg.py: Remove unused parameter
Several functions included the 'd' parameter but never used it,
additionally the value passed is always None.

(From OE-Core rev: ea871e7920726c7b2e57161092e21c62e6a5d91e)

Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9e03ce0426576ebef3739dc1dfec4f7cd73ae094)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Jermain Horsman
38e5d2ac60 lib/oe/buildcfg.py: Include missing import
get_layer_revisions() uses the os.path module but it is not included
in the imports.

(From OE-Core rev: a888d56d46b01d6126179e3f38e3c1739c38d45c)

Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 4339ef5b46c39cce402d1cc3526b39702837b839)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Chen Qi
394a53b2a1 systemd: fix DynamicUser issue
The DynamicUser needs libnss-systemd to be installed to function
well. The tweaks to nsswitch.conf should be conditional on PACKAGECONFIG
values.

(From OE-Core rev: 5420215a3415f08c1d961fca2e3d8258f82fb7f1)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ba3a78c08cb0ce08afde049610d3172b9e3b0695)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
William Lyu
cb7590123a openssl: improve handshake test error reporting
Fixes [YOCTO #15225]

Yocto Bug #15255 is not reproducible. To obtain more useful information
for debugging, the OpenSSL test code is improved so that more detailed
state information in the handshake loop is printed when an error occurs.

(From OE-Core rev: c176229ced6b710b6c44d1090e9e7347d98e4be4)

Signed-off-by: William Lyu <William.Lyu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 5bf9a70f580357badd01f39822998985654b0bfc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Randy MacLeod
7ba45d212e strace: backport fix for so_peerpidfd-test
Backport the fix for the so_peerpidfd-test:
   44cf51a38 tests: fix so_peerpidfd test
and drop the patch that skipped that test.

(From OE-Core rev: 40127d0427d02d0c44d17b9959c5eae4d91d3f10)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 0a52da6530ebba08f9a3b30d5098b0c3ef1730d7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Tim Orling
16bb0a1ced lsb-release: use https for UPSTREAM_CHECK_URI
http:// results in 301 Moved Permanently and redirects to https://

Also drop SRC_URI[md5sum].

(From OE-Core rev: 2060e7ba146a1e87d402af9557cdd5ce959a7bf6)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 4bb3e1dd642802a16ac9526df4098d6dcb97a795)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Dmitry Baryshkov
e8810de8cb linux-firmware: package Robotics RB5 sensors DSP firmware
Add package with sensors DSP firmware for Qualcomm Robotics RB5
platform.

(From OE-Core rev: 3c33f44d7f4a13bb5ae734bc38de894f0acae783)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 195df10fcbfa1ef7e073d3332943458064519ae0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Dmitry Baryshkov
45a9376b9a linux-firmware: package Qualcomm Venus 6.0 firmware
Package firmware for the Qualcomm video encoder / decoder (venus) core,
version 6.0

(From OE-Core rev: 247d5b997b4d8a3c72f2004c1df069f7f88fed38)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 51a64bd01adf3a81086e6368af01abaf4081a515)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Dmitry Baryshkov
f71917facf linux-firmware: package firmware for Qualcomm QCM2290 / QRB4210
Package firmware files for the Qualcomm QCM2290 and QRB4210 platforms.

(From OE-Core rev: 11d1f62d4ccf0239e62fb4f8e9a71ba442cf410d)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit bc4170ca691df3eefa39fffd31c280b3ead111a9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Dmitry Baryshkov
3252a1a24b linux-firmware: package firmware for Qualcomm Adreno a702
Separate firmware for the Quacomm Adreno A702 GPU, found on Qualcomm
QCM2290 / QRB2210 platforms.

(From OE-Core rev: a0569427f1c5d0e002d9659d5b102525247bf5e9)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ad24c24dc534b2da7dbd858e1436f8c0d1e86809)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Dmitry Baryshkov
155f74e0e3 linux-firmware: add audio topology symlink to the X13's audio package
Add new symlink required for the sound driver to find the audio topology
to the linux-firmware--qcom-sc8280xp-lenovo-x13s-audio package.

(From OE-Core rev: 49c756b5752d1e0c9957deb336c86a5fb8fc8abd)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 313135eaa236872e4aa5f698515a3363eb75601f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Dmitry Baryshkov
07bebb424a linux-firmware: add notice file to sdm845 modem firmware
Follow the upstream change (which moved wlanmdsp and notice files from
ath10k to sdm845 dir) and include notice file into the sdm845 modem
firmware package.

(From OE-Core rev: c7ece930e7232a4b76e793850ab7502020edc24b)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit e03d1b9cc06ae23a8abc8a30b1c09bd997465400)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Dmitry Baryshkov
60e44e2786 linux-firmware: add missing depenencies on license packages
Several Adreno packages lack dependency on the package with the license
file. Add corresponding RDEPENDS.

Fixes: bf00a042d2fa ("linux-firmware: split platform-specific Adreno shaders to separate packages")
(From OE-Core rev: fe05fc9be2b8a58c721df2da602fa4465e07947d)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9b9f7fef59cca72c3cd0aedd040a15e77ad5a2b2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Dmitry Baryshkov
2e9e5874c8 linux-firmware: upgrade 20230804 -> 20231030
License-Update: additional firmwares

(From OE-Core rev: 4027a2961d023c3788ec6d08b8f55b2b64bbc005)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7c725d1f2ed9a271d39d899ac2534558c2d103fc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Bastian Krause
fa5c988242 linux-firmware: add new fw file to ${PN}-rtl8821
Extend the linux-firmware-rtl8821 package with rtw8821 firmware files for
Realtek RTL8821 variants.

(From OE-Core rev: 753a56079375b542e0e22a5bfb76804aa975eeb3)

Signed-off-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 23c945938f8d8bcf5fbd6d9b840ec319aaa40c62)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Fahad Arslan
30775beff8 linux-firmware: create separate packages
This is in continuation of earlier commit:
3ddddfc14f
linux-firmware: create separate package for cirrus and cnm firmwares

And creates separate sub packages for firmwares corresponding to following list of
licenses:
LICENSE.amphion_vpu
LICENCE.cw1200
LICENSE.ice_enhanced
LICENCE.mediatek
LICENCE.microchip
LICENCE.moxa
LICENSE.nxp_mc_firmware
LICENCE.OLPC
LICENCE.phanfw
LICENCE.qla2xxx
LICENCE.ti-keystone
LICENCE.wl1251
LICENCE.xc4000
LICENCE.xc5000
LICENCE.xc5000c

(From OE-Core rev: ce54c12a7a098d91244a99949e0e0772641c99b7)

Signed-off-by: Fahad Arslan <fahad.arslan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit c110e5708465a6becc611acf97f166302a17ebdf)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Ross Burton
bbacbb58e6 xwayland: upgrade to 23.2.2
e4487cae1 Bump version to 23.2.2
1e8478455 Xi/randr: fix handling of PropModeAppend/Prepend (CVE-2023-5367)
829a99117 Switch to libbsd-overlay
4f8a851b6 xwayland: Cancel the EI disconnect timer when freed
cc79b2a83 glamor: xv: Fix invalid accessing of plane attributes for NV12
07c18c90e xwayland: Give up on EI on setup failure
10353a01a xwayland: Add an option to enable EI portal support
4f8e209d2 xwayland/glamor/gbm: Set GBM_BO_USE_LINEAR if only LINEAR modifier is supported
c9a842e60 xwayland/present: Handle NULL window_priv in xwl_present_cleanup
2bd43be92 glamor: fixes GL_INVALID_ENUM errors on ES if there is no quads

( cherry-pick from commit 7d0fc94d09db76d4c4d6ca9d2da1b30768f68c9e )

(From OE-Core rev: afaca63391f3d0318dd9ad79512d8a792e4052a6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Richard Purdie
c3b03830ca qemu: Upgrade 8.1.0 -> 8.1.2
Drop three backport patches as they're applied upstream.

( cherry-pick from commit 7480ff9064a74858e83e0ae275dbdb78dd6fc2a4 )

(From OE-Core rev: 3ab0c546f656a86dfbf716bb8f4d1d8b27f16692)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Khem Raj
795f82f534 python3-urllib3: Upgrade to 2.0.7
Addresses CVE-2023-45803 [1]

[1] 4e98d57809

( cherry-pick from commit befec4d3591bb0dce0e256cf338eb541b2a56b98 )

(From OE-Core rev: 99885e0914365f9c4bbb5584e9ab3d244dc58499)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Wang Mingyu
28664b526d libjpeg-turbo: upgrade 3.0.0 -> 3.0.1
Changelog:
=============
1. The x86-64 SIMD functions now use a standard stack frame, prologue, and
epilogue so that debuggers and profilers can reliably capture backtraces from
within the functions.

2. Fixed two minor issues in the interblock smoothing algorithm that caused
mathematical (but not necessarily perceptible) edge block errors when
decompressing progressive JPEG images exactly two MCU blocks in width or that
use vertical chrominance subsampling.

3. Fixed a regression introduced by 3.0 beta2[6] that, in rare cases, caused
the C Huffman encoder (which is not used by default on x86 and Arm CPUs) to
generate incorrect results if the Neon SIMD extensions were explicitly disabled
at build time (by setting the 'WITH_SIMD' CMake variable to '0') in an AArch64
build of libjpeg-turbo.

(From OE-Core rev: c86d9c34aea1e735c9c828029ce0ae1501928e4c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f1d2ffb6c7282751919a7057ffc445db71866f96)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Wang Mingyu
8dedcabdb5 harfbuzz: upgrade 8.2.1 -> 8.2.2
Changelog:
===========
- Fix regression from 8.1.0 in shaping fonts with duplicate feature tags.
- Fix regression from 8.2.0 in parsing CSS-style feature strings.
- Variable fonts instanciation now handles more tables.
- Various CMake build improvements.
- various fixes to build without errors with gcc 4.9.2.

(From OE-Core rev: d33248db045b6959c641630dda1aa35aaf702648)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7380afcb41db7b1a93c716af567d4a30a71dddcd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Wang Mingyu
834f988885 enchant2: upgrade 2.6.1 -> 2.6.2
Changelog:
===========
Documents exclude files: each personal word list is paired with
an exclude file that contains words the user considers invalid.

(From OE-Core rev: 9da704f23bc9538c6fa6fb075fe2c28e7751c8a4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f0877cebd2c990d9d98fc348032742c2d9fb4254)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Wang Mingyu
14c2c0d84b base-passwd: upgrade 3.6.1 -> 3.6.2
base-passwd (3.6.2)

  [ Peter Kjellerstedt ]
  * Make it possible to configure whether to use SELinux or not.

  [ Gioele Barabucci ]
  * d/postinst: Remove code for upgrades from outdated version 3.2.2.
  * d/control: Remove unused w3m build dependency (closes: #1051810).
  * Support <nodoc> build profile (closes: #1051809).

  [ Colin Watson ]
  * Debconf translations:
    - Romanian (thanks, Remus-Gabriel Chelu; closes: #1031149).
    - Swedish (thanks, Peter Kvillegård; closes: #1050440).
  * Explicitly build-depend on docbook, since otherwise the build fails if
    docbook-xml happens to be installed before installing build-dependencies
    (closes: #1033422).

  [ Samuel Thibault ]
  * Fix non-Linux builds (closes: #1054098).

0006-Make-it-possible-to-configure-whether-to-use-SELinux.patch
removed since it's included in 3.6.2

(From OE-Core rev: 9dc8a4b219cd8763299ca465e82bd4a5b495ea14)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f318a13e8b6ce3ded313fa17ab80b35b936205fb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Vijay Anusuri
b5c29b2a94 avahi: backport Debian patches to fix multiple CVE's
import patches from ubuntu to fix
 CVE-2023-1981
 CVE-2023-38469
 CVE-2023-38470
 CVE-2023-38471
 CVE-2023-38472
 CVE-2023-38473

Upstream-Status: Backport [import from ubuntu https://git.launchpad.net/ubuntu/+source/avahi/tree/debian/patches?h=ubuntu/jammy-security
Upstream commit
a2696da2f2
&
a337a1ba7d
&
c6cab87df2
&
94cb648911
&
20dec84b24
&
894f085f40
&
b675f70739
&
b024ae5749
&
b448c9f771]

(From OE-Core rev: a9203c46cd64c3ec5e5b00e381bbac85733f85df)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Steve Sakoman
bf9f2f6f60 build-appliance-image: Update to nanbield head revision
(From OE-Core rev: cce77e8e79c860f4ef0ac4a86b9375bf87507360)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 08:31:43 -10:00
Steve Sakoman
3bcf525a68 poky.conf: bump version for 4.3.1 release
(From meta-yocto rev: 7324ba75c9ca2cb90704296e3882ad9f46497f61)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Lee Chee Yang
2b90e1725c release-notes-4.3: add Repositories / Downloads section
Add Repositories/Downloads Section for 4.3 release notes.

(From yocto-docs rev: 6b98a6164263298648e89b5a5ae1260a58f1bb35)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Michael Halstead
b23377f070 docs: add support for nanbield (4.3) release
This adds support for the Nanbield (4.3) release and update the
current dev branch to Scarthgap.

(From yocto-docs rev: b66ba1c2d117033493f3ec25ebcf121cde200286)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Ross Burton
9c1fb1c9ef oeqa/selftest/debuginfod: improve selftest
This test was occasionally failing for no obvious reason, so refactor
and improve:

- While waiting for the daemon, check that it is still running and
  explicitly timeout after 10s when making the HTTP call.

- While waiting for the daemon to be ready, log the current state of the
  daemon so we can tell if we're timing out as it is still scanning.

- This was in fact the cause of the intermittant failures, because the
  TMPDIR is reused between tests and may contain a large number of
  packages. Do the tests in an isolated TMPDIR to hopefully mitigate this
  issue and increase the timeout to two minutes.

- Decorate the test using runqemu as such so that can be skipped in
  environments without runqemu

- Add a second test that doesn't use runqemu or images, which is faster
  but less realistic.

(From OE-Core rev: 99590fac1bfb5474f5bf0e02d3888b518af9fb3e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 88b660aaae2527736b6eccec4c952eee969e20a2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Archana Polampalli
6a35bdf571 vim: Upgrade 9.0.2048 -> 9.0.2068
This includes CVE fix for CVE-2023-46246.
9198c1f2b (tag: v9.0.2068) patch 9.0.2068: [security] overflow in :history

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-46246

(From OE-Core rev: 55dba750cb37fdf09b9b8b768c5ebea86c769248)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 63bc72ccb63d2f8eb591d7cc481657a538f0fd42)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Steve Sakoman
08bf0e6743 vim: use upstream generated .po files
A previous commit attempted to fix reproducibility errors by forcing
regeneration of .po files. Unfortunately this triggered a different
type of reproducibility issue.

Work around this by adjusting the timestamps of the troublesome .po
files so they are not regenerated and we use the shipped upstream
versions of the files.

The shipped version of ru.cp1251.po doesn't seem to have been created
with the vim tooling and specifies CP1251 instead of cp1251, fix that.

(From OE-Core rev: 14629902c9bb8ac155cf1077377589ab086c5020)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 13d9551ba626f001c71bf908df16caf1d739cf13)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Richard Purdie
899eeaf3fb vim: Improve locale handling
When making checkouts from git, the timestamps can vary and occasionally two files
can end up with the same stamp. This triggers make to regenerate ru.cp1251.po from
ru.po for example. If it isn't regenerated, the output isn't quite the same leading
to reproducibility issues (CP1251 vs cp1251).

Since we added all locales to buildtools tarball now, we can drop the locale
restrictions too. We need to generate a native binary for the sjis conversion
tool so also tweak that.

(From OE-Core rev: fdbdfd90f114ace6891f08625fd3fa8e66959ff7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 042c1a501b1dae5ddb31307b461be02c3591c589)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
1ce41a86e3 patchtest: rework license checksum tests
Remove the pretest_lic_files_chksum_modified_not_mentioned test entirely
and use pyparsing in test_lic_files_chksum_modified_not_mentioned to
scan the patches for lines starting with either "+LIC_FILES_CHKSUM" or
"-LIC_FILES_CHKSUM".  If either is found but no "License-Update" tag is
present in the commit, fail the test.

(From OE-Core rev: d1871afcec769b6503852adf6217460897ecf301)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 8e1bda0eb225ada22fdf5990edfec512be1d6629)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
bee889b6a1 patchtest-send-results: fix sender parsing
Not all mbox 'from' fields will contain angle brackets, so the
re.findall invocation used for getting a reply_address may fail. Use a
simpler reference to the field to get the sender's email address.

(From OE-Core rev: 78e76e2e4f71485a632f1c1ae83032e0e9341a9e)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 86e9afe09a346586114133f5a7470304d2ed733f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
d171bc2f28 patchtest: remove test for CVE tag in mbox
After patchtest went live it was determined that testing for a CVE tag
in the mbox commit message is unnecessary, since it will already be in
the shortlog and in any carried patches. Remove the test and the
associated selftest files so that its absence isn't flagged in future
test results.

(From OE-Core rev: bf9671896eb60880b5dad36c2706855932ce091f)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 54690f18f04a2ab993a85d551ce4f8d0fa56618a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
52e8e9e2b6 patchtest: make pylint tests compatible with 3.x
pylint 3.x has removed epylint, which is now a separate module. To avoid
adding another recipe or using outdated modules, modify the
test_python_pylint tests so that they use the standard pylint API.

(From OE-Core rev: 8b3c6837fe2367fa7aa20b2ee5be554be98f2acd)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 72be3d6a116febf46130cccbe12afe5ad93779b5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
d1c1d93077 patchtest-send-results: add In-Reply-To
Rework the script for sending results to use send_raw_email and specify
the 'In-Reply-To' field so that patchtest replies to the emails, rather
than sending them standalone to the submitter and mailing list.

(From OE-Core rev: b15537e2e13fd932e16fef5f7a25a3ab2130a19e)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0c45c92e7f26aea4edf2cfa577b7ba51384e59d3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
44dd3383c7 patchtest-send-results: send results to submitter
Modify patchtest-send-results so that it extracts the submitter's email
address and responds to them with the patch testresults. Also make a
minor adjustment to the suggestions provided with each email and include
a link to the Patchtest wiki page for additional clarification on
specific failures.

(From OE-Core rev: fe9ec57a07f4e341505030fdf49a5827f01a626f)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 64ed88e32cf9e04772319ff6e66c602d1cff4fd7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
cce3cab334 patchtest: shorten test result outputs
Some test result lines in TestMbox and TestPatch are still too long to
avoid being flagged by the mailer script. Clean them up by removing
redundant information, so that they are all under the length limit of
220 characters.

(From OE-Core rev: c543469e2da32a474a60a497b5d51fd9fc43dbb4)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c10d0bb542b23fbdc14d76dfa8e5885aa4d33083)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
9f4d69790c patchtest: reduce checksum test output length
The test_lic_files_chksum_modified_not_mentioned test in TestMetadata is
outputting very long lines that fail the maximum length check when
sending email results, preventing the actual errors from being
displayed. Reduce the length of the failure message by rewording and
removing redundant information.

(From OE-Core rev: e3c680bab99f7e5f0cb7874ada0297b5fac66702)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2e2625735181160e9760a6f3af4955bda2ea6d4d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
f575a3bdd5 patchtest: simplify test directory structure
Consolidate the various mbox tests into a new TestMbox class, metadata
tests into TestMetadata, and patch tests into TestPatch. Also update the
selftest filenames to match the changes. The test contents are not
significantly changed (other than to reference the new class names).
While this doesn't improve overall readability, it does result in more
obvious categorization, and more importantly reduces the number of calls
to setup tinfoil in the tests, resulting in a roughly 25% reduction in
runtime.

Before:

[tgamblin@megalith poky]$ time ./meta/lib/patchtest/selftest/selftest
XPASS: PatchSignedOffBy.test_signed_off_by_presence (file: PatchSignedOffBy.test_signed_off_by_presence.pass)
XFAIL: Shortlog.test_shortlog_format (file: Shortlog.test_shortlog_format.fail)
XFAIL: MboxFormat.test_mbox_format (file: MboxFormat.test_mbox_format.1.fail)
XPASS: Shortlog.test_shortlog_length (file: Shortlog.test_shortlog_length.pass)
XFAIL: CommitMessage.test_commit_message_presence (file: CommitMessage.test_commit_message_presence.fail)
XFAIL: SrcUri.test_src_uri_left_files (file: SrcUri.test_src_uri_left_files.fail)
XPASS: Author.test_author_valid (file: Author.test_author_valid.1.pass)
XFAIL: LicFilesChkSum.test_lic_files_chksum_modified_not_mentioned (file: LicFilesChkSum.test_lic_files_chksum_modified_not_mentioned.fail)
XPASS: CVE.test_cve_tag_format (file: CVE.test_cve_tag_format.pass)
XPASS: CVE.test_cve_presence_in_commit_message (file: CVE.test_cve_presence_in_commit_message.pass)
XFAIL: CVE.test_cve_tag_format (file: CVE.test_cve_tag_format.fail)
XFAIL: Author.test_author_valid (file: Author.test_author_valid.1.fail)
XFAIL: LicFilesChkSum.test_lic_files_chksum_presence (file: LicFilesChkSum.test_lic_files_chksum_presence.fail)
XSKIP: Merge.test_series_merge_on_head (file: Merge.test_series_merge_on_head.2.skip)
XPASS: MboxFormat.test_mbox_format (file: MboxFormat.test_mbox_format.pass)
XFAIL: SignedOffBy.test_signed_off_by_presence (file: SignedOffBy.test_signed_off_by_presence.1.fail)
XPASS: Shortlog.test_shortlog_format (file: Shortlog.test_shortlog_format.pass)
XFAIL: SignedOffBy.test_signed_off_by_presence (file: SignedOffBy.test_signed_off_by_presence.2.fail)
XFAIL: MboxFormat.test_mbox_format (file: MboxFormat.test_mbox_format.2.fail)
XFAIL: Summary.test_summary_presence (file: Summary.test_summary_presence.fail)
XPASS: Author.test_author_valid (file: Author.test_author_valid.2.pass)
XSKIP: Merge.test_series_merge_on_head (file: Merge.test_series_merge_on_head.1.skip)
XPASS: Bugzilla.test_bugzilla_entry_format (file: Bugzilla.test_bugzilla_entry_format.pass)
XFAIL: CVE.test_cve_presence_in_commit_message (file: CVE.test_cve_presence_in_commit_message.fail)
XPASS: SignedOffBy.test_signed_off_by_presence (file: SignedOffBy.test_signed_off_by_presence.pass)
XPASS: LicFilesChkSum.test_lic_files_chksum_presence (file: LicFilesChkSum.test_lic_files_chksum_presence.pass)
XPASS: CommitMessage.test_commit_message_presence (file: CommitMessage.test_commit_message_presence.pass)
XPASS: Summary.test_summary_presence (file: Summary.test_summary_presence.pass)
XPASS: LicFilesChkSum.test_lic_files_chksum_modified_not_mentioned (file: LicFilesChkSum.test_lic_files_chksum_modified_not_mentioned.pass)
XFAIL: Shortlog.test_shortlog_length (file: Shortlog.test_shortlog_length.fail)
XFAIL: PatchSignedOffBy.test_signed_off_by_presence (file: PatchSignedOffBy.test_signed_off_by_presence.fail)
XFAIL: Bugzilla.test_bugzilla_entry_format (file: Bugzilla.test_bugzilla_entry_format.fail)
XPASS: SrcUri.test_src_uri_left_files (file: SrcUri.test_src_uri_left_files.pass)
XFAIL: Author.test_author_valid (file: Author.test_author_valid.2.fail)
============================================================================
Testsuite summary for patchtest
============================================================================
============================================================================

real    24m14.386s
user    1m13.599s
sys     0m21.477s

After:

[tgamblin@megalith poky]$ time ./meta/lib/patchtest/selftest/selftest
XFAIL: TestMbox.test_bugzilla_entry_format (file: TestMbox.test_bugzilla_entry_format.fail)
XPASS: TestMetadata.test_summary_presence (file: TestMetadata.test_summary_presence.pass)
XFAIL: TestMbox.test_mbox_format (file: TestMbox.test_mbox_format.1.fail)
XFAIL: TestMetadata.test_src_uri_left_files (file: TestMetadata.test_src_uri_left_files.fail)
XSKIP: TestMbox.test_series_merge_on_head (file: TestMbox.test_series_merge_on_head.2.skip)
XPASS: TestMbox.test_commit_message_presence (file: TestMbox.test_commit_message_presence.pass)
XFAIL: TestMbox.test_commit_message_presence (file: TestMbox.test_commit_message_presence.fail)
XPASS: TestMbox.test_signed_off_by_presence (file: TestMbox.test_signed_off_by_presence.pass)
XFAIL: TestPatch.test_cve_tag_format (file: TestPatch.test_cve_tag_format.fail)
XFAIL: TestMbox.test_author_valid (file: TestMbox.test_author_valid.1.fail)
XFAIL: TestMbox.test_shortlog_length (file: TestMbox.test_shortlog_length.fail)
XPASS: TestMbox.test_mbox_format (file: TestMbox.test_mbox_format.pass)
XFAIL: TestPatch.test_signed_off_by_presence (file: TestPatch.test_signed_off_by_presence.fail)
XFAIL: TestMbox.test_shortlog_format (file: TestMbox.test_shortlog_format.fail)
XFAIL: TestMbox.test_mbox_format (file: TestMbox.test_mbox_format.2.fail)
XPASS: TestPatch.test_cve_tag_format (file: TestPatch.test_cve_tag_format.pass)
XSKIP: TestMbox.test_series_merge_on_head (file: TestMbox.test_series_merge_on_head.1.skip)
XPASS: TestMbox.test_author_valid (file: TestMbox.test_author_valid.2.pass)
XPASS: TestMetadata.test_lic_files_chksum_modified_not_mentioned (file: TestMetadata.test_lic_files_chksum_modified_not_mentioned.pass)
XPASS: TestMbox.test_bugzilla_entry_format (file: TestMbox.test_bugzilla_entry_format.pass)
XPASS: TestMetadata.test_src_uri_left_files (file: TestMetadata.test_src_uri_left_files.pass)
XPASS: TestMetadata.test_lic_files_chksum_presence (file: TestMetadata.test_lic_files_chksum_presence.pass)
XPASS: TestMbox.test_cve_presence_in_commit_message (file: TestMbox.test_cve_presence_in_commit_message.pass)
XFAIL: TestMbox.test_signed_off_by_presence (file: TestMbox.test_signed_off_by_presence.2.fail)
XFAIL: TestMbox.test_author_valid (file: TestMbox.test_author_valid.2.fail)
XFAIL: TestMetadata.test_lic_files_chksum_presence (file: TestMetadata.test_lic_files_chksum_presence.fail)
XPASS: TestMbox.test_shortlog_format (file: TestMbox.test_shortlog_format.pass)
XPASS: TestMbox.test_author_valid (file: TestMbox.test_author_valid.1.pass)
XPASS: TestPatch.test_signed_off_by_presence (file: TestPatch.test_signed_off_by_presence.pass)
XFAIL: TestMetadata.test_lic_files_chksum_modified_not_mentioned (file: TestMetadata.test_lic_files_chksum_modified_not_mentioned.fail)
XPASS: TestMbox.test_shortlog_length (file: TestMbox.test_shortlog_length.pass)
XFAIL: TestMbox.test_signed_off_by_presence (file: TestMbox.test_signed_off_by_presence.1.fail)
XFAIL: TestMbox.test_cve_presence_in_commit_message (file: TestMbox.test_cve_presence_in_commit_message.fail)
XFAIL: TestMetadata.test_summary_presence (file: TestMetadata.test_summary_presence.fail)
============================================================================
Testsuite summary for patchtest
============================================================================
============================================================================
real    18m39.749s
user    0m41.857s
sys     0m14.708s

(From OE-Core rev: 497e128546b37d6cf5fb86188fff4c7a22526ec8)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f788592da2fd0e21638ce2c3326675a060ba51cf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
5f1c17d70c patchtest/selftest: add XSKIP, update test files
Since we are skipping the merge test, two of the selftests now report
SKIP instead of XPASS/XFAIL as expected. Adjust the two files to have
the right endings for XSKIP, and add the category so that it can be used
for more extensive testing in the future.

(From OE-Core rev: a354265065516ec634042ea8210f97aaba7ff43c)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3331f53c0be2575784a042bb2401eeba4f2a5a3e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
3f4011aba4 patchtest-send-results: check max line length, simplify responses
Check that the maximum line length of the testresult file is less than
220 characters, to help guard against malicious changes being sent in
email responses. If any line exceeds this length, replace the normal
testresults used in the response with a line stating that tests failed,
but the results could not be processed. Also clean up the respone
substrings slightly to go along with the change.

(From OE-Core rev: 8e7e39134df926203b7bdfad22916e0d5da0589d)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b0d53cf587dc9afb97f00c1089e45b758e96dd7c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
48537fb77b patchtest: disable merge test
Disable the merge-on-head test until patchtest properly handles merging
of series subsets and accounts for patches that are rapidly merged (i.e.
before patchtest is run).

(From OE-Core rev: 97c1d8aa7318e36a037aa6c8b721fb75608a92a7)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e561c614dc72b7f8bf5e09a09bbe6ebc3cf500bb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
174a642755 patchtest-send-results: improve subject line
Pull the actual email's subject line from the .mbox file and use that in
patchtest's test results response, so that it's clearer which patch it
is replying to.

(From OE-Core rev: 86d00a1b5233250fbea32113ad9c43bd78778406)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 98ca0b151517b3544454fd5c1656a2de631c4897)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
2a89e081ca patchtest: fix lic_files_chksum test regex
the test_lic_files_chksum_modified_not_mentioned test in patchtest
wasn't picking up on 'License-Update:' tags correctly. Use pyparsing's
AtLineStart class to simplify the regex setup and search.

(From OE-Core rev: 978c819c33c0552750f5383f0ed761d505b4bdf5)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dc9126e45e74b915faaf296037e7ece41785bf4a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
7dd1867c77 patchtest: skip merge test if not targeting master
Avoid testing mergeability of a patch when not targeting master, so that
patches tested via other means (e.g. maintainer branches and AB runs)
don't get unnecessarily reviewed an extra time.

(From OE-Core rev: 127fa20bd1d628548f7f4ba087b3ca105e705098)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e6cf23e353f48c57249681bd0b12bd8494d4959a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
5972abb328 patchtest: test regardless of mergeability
(From OE-Core rev: 06d2066a5061d23a316f65cfc731ce44b576b2bf)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dc089073eb120de76c8907e476c341ed3e97c164)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Ross Burton
a7a7320737 patchtest: remove unused imports
(From OE-Core rev: 673d1b51b5183a81d1daaa7a48250aa938679883)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit be8429d986335aae65c2426862b97836ba46e42a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Alejandro Hernandez Samaniego
4f6d210ee0 baremetal-helloworld: Pull in fix for race condition on x86-64
It was previously discovered that there was a race condition during the Makefile
execution between the assemble and compile targets, the previous fix attempted
to serialize the build targets, but the fix was missing for x86-64.

Pull in latest commit from upstream to fix this issue on x86-64.

[YOCTO #15146]

(From OE-Core rev: 2b236342971cc7a349f6724874a02af8952d378a)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e7e1631a1efbcf421de801e94734f67f25668540)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Rouven Czerwinski
d5f021238c glib-2.0: Remove unnecessary assignement
FILES:${PN}-utils is += extended and than replaced completely later,
remove the first extension.

(From OE-Core rev: da90f904c47250fbb71f03a3ce961a23dba47a80)

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d9d61c5217938749e3edc5f8a5c987f46bbab3d7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Richard Purdie
2db7c24bd8 base: Ensure recipes using mercurial-native have certificates
If you try and fetch using mercurial-native, you see certificate errors since
it is configured to find ones in the sysroot, not the system. Add the missing
dependency so that mercurial recipes using the native tool work.

Found trying to make mirroring for old meta-oe stable branches work.

(From OE-Core rev: c48206dd82a2faab477002b1ac04d835920755d0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fc567e35b374f8b08975602609ee71e64357fb3d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Xiangyu Chen
c7f18e6c43 linux-yocto: make sure the pahole-native available before do_kernel_configme
When using debug-btf.scc in a clean workspace, the CONFIG_MODULE_ALLOW_BTF_MISMATCH cannot
apply to kernel until clean the kernel code(bitbake linux-yocto -c cleanall) and rebuild.

After tracking the code, some options depend on CONFIG_PAHOLE_VERSION, it was generated by
scripts/pahole-version.sh in kernel, but during do_kernel_configme step, the pahole-native
is not available in sysroot-native, so need to wait pahole-native install to sysroot-native
before do_kernel_configme.

(From OE-Core rev: f9d434902df4ac0c17a94a977c045c4face65414)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 217a4db53edbd88001f6390bbff39e5dd3d137af)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Julien Stephan
83a2a6a65e oeqa/selftest/devtool: abort if a local workspace already exist
if user run devtool selftests with a local workspacelayer
the tests fail with various error such as:

- devtool.DevtoolAddTests.test_devtool_add just hangs
- devtool.DevtoolModifyTests.* fail with the following error:

 ERROR: Found duplicated BBFILE_COLLECTIONS 'workspacelayer', check bblayers.conf or layer.conf to fix it.
 Found duplicated BBFILE_COLLECTIONS 'workspacelayer', check bblayers.conf or layer.conf to fix it.

Check if a workspacelayer exists, warn the user and abort the tests

(From OE-Core rev: b8756f6e20d15f1cc724784d8ceb45a969ec7f81)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a74962cfb0485f6f2b9e2b751c33c8eafca8705a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Dmitry Baryshkov
6d424e1d02 kernel-arch: drop CCACHE from KERNEL_STRIP definition
Building linux-yocto with ccache enabled results in the 'command not
found' error, because kernel-yocto.bbclass passes the KERNEL_STRIP
as a single value, whic is then interpreted as a command name.

ERROR: Fatal errors occurred in subprocesses:
[Errno 2] No such file or directory: 'ccache aarch64-linaro-linux-strip': Traceback (most recent call last):
  File "/home/lumag/Projects/RPB/build-rpb/conf/../../layers/openembedded-core/meta/lib/oe/utils.py", line 288, in run
    ret = self._target(*self._args, **self._kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Fixes: 03973c8c1c93 ("kernel: Add kernel specific STRIP variable")
(From OE-Core rev: 595b2a89d1af01645cea5d4163b100d59c951db6)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 41f019afc41f800b622c46a6d7cf1beffc97716a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Khem Raj
7e5b4743f4 kernel.bbclass: Use strip utility used for kernel build in do_package
os.environ does not pass this down to runstrip() function and in
strip_execs() its using STRIP bitbake variable to find the strip utility
to use. Since there might be a trailing whitespace in KERNEL_STRIP
remove that otherwise python is not able to launch it.
e.g.

FileNotFoundError: [Errno 2] No such file or directory: 'riscv64-yoe-linux-strip '

This is more evident when STRIP and KERNEL_STRIP are different utilities
e.g. when using clang as default toolchain but using gcc+binutils only for
kernel build.

(From OE-Core rev: e0bd7ce93a75c7ddb6b1c572453c37407e7e32da)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 77497dbdca92ab4d6386a071bc281c42a7e8a14b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Peter Kjellerstedt
cae5e1ee3d bb-matrix-plot.sh: Show underscores correctly in labels
Underscores previously caused the next character in the label to be
printed using subscript due to the enhanced string support in gnuplot.

(From OE-Core rev: a8039d601187b28d9cec4402c9e0bd72b2805eb2)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 282b48f90f77e0766993018d22fe03dd303febdc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
luca fancellu
20a4de703c oeqa/ssh: Handle SSHCall timeout error code
The current code in ssh.py is terminating the ssh process that
does not finish its computation in a given timeout (when timeout
is passed), the SSHCall function is returning the process error
code.

The Openssl ssh before version 8.6_p1 is returning 0 when it is
terminated, from commit 8a9520836e71830f4fccca066dba73fea3d16bda
onwards (version >= 8.6_p1) ssh is returning 255 instead.

So for version of ssh older than 8.6_p1 when the SSHCall time out,
the return code will be 0, meaning success, which is wrong.

Fix this issue checking if the process has timeout (hence it's been
terminated) and checking if the returned code is 0, in that case
set it to 255 to advertise that an error occurred.

Add a test case excercising the timeout in the SSHTest, test_ssh
test function.

(From OE-Core rev: 82215c855ee39b4e39f24113241a7fb3f20f9531)

Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 948fecca1db4c7a30fcca5fcf5eef95cd12efb00)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Max Krummenacher
2dec4dcecf Revert "bin_package.bbclass: Inhibit the default dependencies"
This reverts commit d1d09bd4d7be88f0e341d5fccbfbefeb98d4b727.

The commit not only removes the dependencies on the cross compiler
but also does not depend on e.g. virtual/${TARGET_PREFIX}compilerlibs
and virtual/libc which in turn makes the file-rdeps qa check fail
if installing binaries linked against e.g. libc or libstdc++.

(From OE-Core rev: 47b436c42ba1ef3b24e8fe48c7ea274b1a53a60e)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ababf6ceebe360c5f59a57428566c27b7a97a9e6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
William Lyu
423af114ee perl: fix intermittent test failure
Fixes [YOCTO #15136]

This fix addresses the intermittent failure of the Perl ptest
t/op/sigsystem.t.

(From OE-Core rev: a9c39c67e8421103f14302f6cf7aa2bf6a940cba)

Signed-off-by: William Lyu <William.Lyu@windriver.com>
Signed-off-by: Randy MacLeod <randy.macleod@windriver.com>
Reported-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 8c1ee92efa107ed055f1737640a027fa89077494)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Joshua Watt
45736b12e1 goarch: Move Go architecture mapping to a library
Other spaces uses the Go architecture definitions as their own (for
example, container arches are defined to be Go arches). To make it
easier for other places to use this mapping, move the code that does the
translation of OpenEmbedded arches to Go arches to a library.

(From OE-Core rev: 5e0267aeb7d9f575f270f6856a67ac62ce8a0f71)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3e86f72fc2e1cc2e5ea4b4499722d736941167ce)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Peter Marko
006a8f1891 openssl: Upgrade 3.1.3 -> 3.1.4
https://github.com/openssl/openssl/blob/openssl-3.1/NEWS.md#major-changes-between-openssl-313-and-openssl-314-24-oct-2023

Major changes between OpenSSL 3.1.3 and OpenSSL 3.1.4 [24 Oct 2023]
* Mitigate incorrect resize handling for symmetric cipher keys and IVs. (CVE-2023-5363)

(From OE-Core rev: de390034aecb23226a532dad56c821b4edee35bb)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 104ba16de434a08b0c8ba4208be187f0ad1a2cf8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Khem Raj
051a926579 llvm: Upgrade to 17.0.3
Brings following fixes

* 888437e1b600 [asan] Ensure __asan_register_elf_globals is called in COMDAT asan.module_ctor (#67745)
* 2e00f4ca4e91 [clang-format][doc] Update the Linux kernel coding style URL
* aeb83c3783a6 [clang-format] Fix a serious bug in git-clang-format (#65723)
* 268faa377aee [LSan] Mark create_thread_leak.cpp as UNSUPPORTED: darwin.
* 491a91e8eea2 [PowerPC] Use zext instead of anyext in custom and combine (#68784)
* 8ce6b65c89ad [PowerPC] Add test for #68783 (NFC)
* 7a23a5d43c67 [clang-format] Fix a bug in RemoveParentheses: ReturnStatement (#67911)
* be4016e52779 [X86] Fix logic for optimizing movmsk(bitcast(shuffle(x))); PR67287
* 496b174053bd [X86] Add tests for incorrectly optimizing out shuffle used in `movmsk`; PR67287
* f50c6382c716 [clang] [MinGW] Explicitly always pass the -fno-use-init-array (#68571)
* d10b731adcc8 [LVI][CVP] Treat undef like a full range (#68190)
* 37b79e779f44 [X86] combineConcatVectorOps - only concatenate single-use subops
* 5a13ce2d6020 Bump version to 17.0.3
* e7b3b94cf500 [clang] Correct behavior of `LLVM_UNREACHABLE_OPTIMIZE=OFF` for `Release` builds (#68284)
* f0a687d821c1 [LLD] [COFF] Fix handling of comdat .drectve sections (#68116)
* 8a8ade49ff49 workflows/release-binaries: Use more cores to avoid the 6 hour timeout (#67874)
* 1090b91a2840 [AArch64] Disable loop alignment for Windows targets (#67894)
* 69c8c96691c7 [Sema] Use underlying type of scoped enum for -Wformat diagnostics (#67378)
* b2417f51dbbd (tag: llvmorg-17.0.2) Fix release/export.sh to export runtimes tarball, too (#67404)
* 23988a1d82d5 [libc++] Fix `std::pair`'s  pair-like constructor's incorrect assumption (#66585)
* 33e14ecd6aac [CodeGen] Don't treat thread local globals as large data (#67764)
* 03f797b51df6 [workflow] Fix abi checker in llvm-tests. Same fix as in 99fb0af80d16b0ff886f032441392219e1cac452 (#67957)
* f6cf58eed973 [clang] [MinGW] Tolerate mingw specific linker options during compilation (#67891)
* b338a2830a2c [LLD] [COFF] Restore the current dir as the first entry in the search path (#67857)
* 6a5be8e95b43 [LLD] [COFF] Clarify -print-search-path for the empty string element (#67856)
* 71be0aafe357 [NFC] clang-format lld/COFF/Driver.cpp and lld/Common/Filesystem.cpp
* 0a2d7dae6ef2 [compiler-rt] Reinstate removal of CRT choice flags from CMAKE_*_FLAGS* (#67935)
* 098e653a5bed [MemCpyOpt] Merge alias metadatas when replacing arguments (#67539)
* 78d201ebc3e2 [MemCpyOpt] Add test for #67539 (NFC)
* e718f3240a57 [DependencyScanningFilesystem] Make sure the local/shared cache filename lookups use only absolute paths (#66122)
* 45066b9fbc7b [Sema] Fix fixit cast printing inside macros (#66853)
* 87ec1f460d0e Work around two more instances of __noinline__ conflicts. (#66138)
* 9da5b7a93bca [lldb] Fix building LLDB standlone without framework
* c056d720b534 [lldb][NFCI] Change logic to find clang resource dir in standalone builds
* cb23434f9e63 [XCOFF] Do not generate the special .ref for zero-length sections (#66805)
* 1b55dc9d94c3 Fix buildbot failure caused by D157623
* 28d81a2bfa0a [lld][COFF] Remove incorrect flag from EHcont table
* b7eba056b93c workflows/release-tasks: Setup FileCheck and not for release-lit (#66799)
* 9678f11b057c [StackColoring] Handle fixed object index
* 49e9ee190080 [StackColoring] Handle SEH catch object stack slots conservatively
* 17123a60b87c [X86] Add test for #66984 (NFC)
* 2839aa915066 [SimpleLoopUnswitch] Fix exponential unswitch
* 773f136d6faa [SimpleLoopUnswitch] Fix reversed branch during condition injection
* 4362f3e4cf48 [clang] Include `expected-no-diagnostics` in newly-added test (NFC)
* 5f1fcc43e592 [clang] Bail out when handling union access with virtual inheritance
* 178cf5bc8732 [clang][Diagnostics] Fix wrong line number display (#65238)
* 25a150b830f6 Revert "[InlineCost] Check for conflicting target attributes early"

(From OE-Core rev: 2c161d842af31b4194d54409bba46cdcc33c1e16)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 8cfb833b66e514ea911aa4fbdc72592a06233f68)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Wang Mingyu
bb64157bff libsdl2: upgrade 2.28.3 -> 2.28.4
This is a stable bugfix release, with the following changes:

Enable clipping for zero sized rectangles in the SDL renderer
Notify X11 clipboard managers when the clipboard changes
Fixed sensor timestamps for third-party PS5 controllers
Added detection for Logitech and Simagic racing wheels

(From OE-Core rev: 3923426c799f8772fb84303000d04ac3d968e84f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit f47de111cd66c3f9a5a6d5589e1fd034027a0a75)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Wang Mingyu
7180db61b6 ell: upgrade 0.58 -> 0.59
Changelog:
 Fix issue with symbol visibility.

(From OE-Core rev: daebf66af566e56bb9f4cb6c0e23330221e3ebbc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 14eba663b56f8f3b9c3aff5661cbe2aa7befe86e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Alex Stewart
5c3f9cf00e libsndfile1: fix CVE-2022-33065
(From OE-Core rev: 84ea91d63147c19ebf5909f7e9f377ddb1a52a7b)

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f34991c7eeb91702a44ac8b4a190fcb45dac57cb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Richard Purdie
2e9c2a2381 layer.conf: Switch layer to nanbield series only
(From OE-Core rev: 28e6fde4627ffd053dde8a8d44441a40dafd545c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-09 17:09:49 +00:00
Michael Opdenacker
90e004cfe2 migration-guides: fix empty sections
(From yocto-docs rev: 897d5017eae6b3af2d5d489fc4e0915d9ce21458)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Michael Opdenacker
2ef3fd8c21 ref-manual: classes: explain cml1 class name
(From yocto-docs rev: 0ee4b7417087c105a4419b316c6b2c195c343f82)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Paul Eggleton
a5a10bfec7 migration-4.3: additional migration items
Add the following:

* Removed recipes
* One removed class
* Output file name changes
* Versioning changes
* tunctl removal

(From yocto-docs rev: 72114088bc9be184aab7b55087ea97a32a65cd6d)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Paul Eggleton
8292c949a0 migration-4.3: adjustments to existing text
* Reword the layername side-effects commentary to be a bit more readable
* Extend edgerouter removal description
* Correct capitalisation of systemd
* For QEMU_USE_SLIRP, specify what to use instead, and adjust the
  following list item to use the same style
* Extend statement on -crossssdk / MLPREFIX change to indicate what
  needs to be done

(From yocto-docs rev: bfc49b59b6cd905cef0294792f05661b36181a6e)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Paul Eggleton
25716e9d99 migration-4.3: remove some unnecessary items
Remove some items from the 4.3 migration guide:

* The PERLVERSION and PERLARCH items are already mentioned under the
  removed variables section
* The jsDelivr item is interesting, but it isn't a backwards
  compatibility issue that the user would need to take action to
  resolve, and we already cover it in the release notes.

(From yocto-docs rev: c72d190cd8ccc471a0b93b90b272c95cd57ef3dc)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Paul Eggleton
44ff7e1340 release-notes-4.3: feature additions
Some additional feature items from combing through commits (not 100%
complete yet.)

(From yocto-docs rev: 05c13cf0964a892a38531e3cfac68687278ee601)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Paul Eggleton
fcbe7a5caa release-notes-4.3: move new classes to Rust section
These are both Rust-related, let's move them the Rust section since they
are more notable there.

(From yocto-docs rev: 0510136abf8868d510125bae7f4096342bb94ec0)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Paul Eggleton
f0d9d84a74 release-notes-4.3: remove the Distribution section
This section doesn't make a lot of sense to separate out. The SPDX
change is now no longer Poky-specific, and the poky-altcfg usrmerge
change is not really notable given that poky-altcfg is not widely used
outside of our testing and also itself selects systemd as INIT_MANAGER
and thus requires usrmerge anyway (as noted elsewhere).

(From yocto-docs rev: 234379c81db810c1fc3b860d51a59c200e97b2ca)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Paul Eggleton
1ae470c15a release-notes-4.3: add CVEs, recipe upgrades, license changes, contributors
Add the list of CVE fixes, recipe upgrades (from commits since layer
index version comparison not currently working), license changes and
contributor list.

(From yocto-docs rev: 32bc3d603894ddefb4766fdf4e10442f1aa75216)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Paul Eggleton
f662f8e57a release-notes-4.3: tweaks to existing text
A few grammar tweaks.

(From yocto-docs rev: a3e1258be27a08147b062603bd1b6526b26e9516)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Paul Eggleton
9536ba3c6c release-notes-4.3: fix some typos
(From yocto-docs rev: 3c98d2a1bc023aed75261ed7f4e18977b587d2f0)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Paul Eggleton
20b23e1fba ref-manual: remove semicolons from *PROCESS_COMMAND variables
In nanbield these are no longer needed - spaces are sufficient.
The code still handles any semicolons (replacing them with spaces before
interpreting the value), but let's avoid people adding them from now on
in case we decide to change that in future.

(From yocto-docs rev: 2947f6309f86cdf5322a39d4420e77431a8e3572)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Paul Eggleton
98ab1b436a ref-manual: update SDK_NAME variable documentation
Update for changes in nanbield. Note that I am documenting what is set
by poky.conf here (since this is Yocto Project documentation), which is
slightly different from what is done in meta/conf/bitbake.conf.

(From yocto-docs rev: 9764cb9e19788eb1caea0d2e95fbe7a5c19887d4)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Paul Eggleton
abc2b81652 Remove references to apm in MACHINE_FEATURES
apm is no longer supported in nanbield.

(From yocto-docs rev: fa07d34db3b5ba670ed2dc1228ffb3c0c09b3c08)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Michael Opdenacker
73d64902fd bsp-guide: bsp.rst: update beaglebone example
(From yocto-docs rev: 8fb31b507c37d2c11e9dc98559bd7d145e1dce04)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
BELHADJ SALEM Talel
c329d14347 overview-manual: concepts: Add Bitbake Tasks Map
Create a Map to detail how BitBake handles a recipe's tasks
and its compile/runtime dependencies along with detailed comments.

(From yocto-docs rev: 7f0ab56aa302babab6c9d600a8d8a91708cf75f7)

Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Marta Rybczynska
3151b63cb6 dev-manual: extend the description of CVE patch preparation
Extend the description on how to prepare a patch for a CVE issue.
Add a more illustrative and current example of how to modify
the patch file. Add an example of how to use CVE_STATUS.

(From yocto-docs rev: f982f6be6b52ba0915b2e6f712270dec5dde64fc)

Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Ross Burton
aebf95e7c7 migration-guides: git recipes reword
(From yocto-docs rev: 9ef7cfd47a53ed45f3d0db8534a42cefbfdf63b3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Ross Burton
a24c6cad13 migration-guides: packaging changes
(From yocto-docs rev: 7558c99f50f4d96e12299a5b3c1059a71281a475)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Ross Burton
7116cd7350 migration-guides: add BitBake changes
(From yocto-docs rev: c719d78cc9d7fb5092d2f5d0285b3eea9ad8acfe)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Ross Burton
cf0b21e7de migration-guides: add utility notes
(From yocto-docs rev: ba0dcf57944058d9d5f2f791d463c72098c49561)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Ross Burton
ad3e54bd5f migration-guides: add testing notes
(From yocto-docs rev: cd71d0406c96b44cc872f9eb4c8604bcdd62fed6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Ross Burton
ff26beb48f migration-guides: enabling SPDX only for Poky, not a global default
(From yocto-docs rev: fae0b4af717602d04e06d8619389d6b50e0e8e2d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Ross Burton
7be7f0f852 migration-guides: remove SERIAL_CONSOLES_CHECK
(From yocto-docs rev: 364f8c17ba380107b2d837e17403307c3e04477c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Ross Burton
52fa1a3c52 migration-guides: add kernel notes
(From yocto-docs rev: 45b67c5a37d560738037478b28cb7eb3d2f8e966)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Ross Burton
14d33f1d2e migration-guides: mention CDN
(From yocto-docs rev: b7efe7984f9bd62891dc72a6763a6a5935454fdf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Ross Burton
45830dcc7f migration-guides: mention LLVM 17
(From yocto-docs rev: 64099ca9b89dd74df7b3a6a287b95a5a317cf916)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Ross Burton
dfb846621d migration-guides: remove non-notable change
(From yocto-docs rev: 7e6276993fa3ce9c87e4d7945f140f381a99a902)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Ross Burton
0ffe438e8f migration-guides: QEMU_USE_SLIRP variable removed
(From yocto-docs rev: f50e9fe501ccafd18ed2d8a9e505be503a721846)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Ross Burton
b14a3e31ee migration-guides: edgerouter machine removed
(From yocto-docs rev: e2f7b7feea061ee584c554b64efd583a70debcac)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Ross Burton
6010b8e8e8 migration-guides: add debian 12 to newly supported distros
(From yocto-docs rev: cccc13437d6172e6b0134288aa67972b001e8d28)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Michael Opdenacker
eeab4261db migration-guides: further updates for release 4.3
(From yocto-docs rev: fcd7490afba8e70740a2d4c17f759bf3e330e88a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Michael Opdenacker
4eabedf187 ref-manual: variables: remove SERIAL_CONSOLES_CHECK
No longer in use in Poky (dropped in Nanbield through
multiple commits)

(From yocto-docs rev: e5d39e85a0db27bfc857fae9649f799179888eee)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Michael Opdenacker
a9003d3a83 ref-manual: variables: add RECIPE_MAINTAINER
(From yocto-docs rev: 30e41530402a4f9c37f77e89bae7469b68aad901)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Michael Opdenacker
0565bd0379 ref-manual: variables: mention new CDN for SSTATE_MIRRORS
(From yocto-docs rev: 4ef0c24b206d71c348ff657a2ab83ab857539fb6)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Michael Opdenacker
7b8ce9b979 ref-manual: document cargo_c class
(From yocto-docs rev: 74fc6a70d4636b37fe4eab290ea974e0f1531dbf)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 22:52:32 +00:00
Ross Burton
96290c8b1c cve-check: don't warn if a patch is remote
We don't make do_cve_check depend on do_unpack because that would be a
waste of time 99% of the time.  The compromise here is that we can't
scan remote patches for issues, but this isn't a problem so downgrade
the warning to a note.

Also move the check for CVEs in the filename before the local file check
so that even with remote patches, we still check for CVE references in
the name.

(From OE-Core rev: 201f0e1d55ca2fa6ab948a82d94e52c6a77ca7d2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-03 13:49:23 +00:00
Ross Burton
5cdac8795d cve-check: slightly more verbose warning when adding the same package twice
Occasionally the cve-check tool will warn that it is adding the same
package twice.  Knowing what this package is might be the first step
towards understanding where this message comes from.

(From OE-Core rev: 699863be46fab91d5729fce1dc5b795761247f98)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-03 13:49:23 +00:00
Ross Burton
7b119ca128 cve-check: sort the package list in the JSON report
The JSON report generated by the cve-check class is basically a huge
list of packages.  This list of packages is, however, unsorted.

To make things easier for people comparing the JSON, or more
specifically for git when archiving the JSON over time in a git
repository, we can sort the list by package name.

(From OE-Core rev: f3d9dd947e678078b57b4b607e231b702c26dd4a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-03 13:49:23 +00:00
Ross Burton
3892744324 pixman: ignore CVE-2023-37769
This issue relates to a floating point exception in stress-test, which
is an unlikely security exploit at the best of times, but the test is
not installed so isn't relevant.

(From OE-Core rev: a36d62a06be6cce1a438f8f2178eb60aad6b7267)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-03 13:49:23 +00:00
Ross Burton
1ab33843ef zlib: ignore CVE-2023-45853
This CVE relates to a bug in the minizip tool, but we don't build that.

(From OE-Core rev: 5b06913e5883c35390c87f6660a0578c73ff4ddd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-03 13:49:23 +00:00
Ross Burton
0542c12e89 libxml2: ignore disputed CVE-2023-45322
This CVE is a use-after-free which theoretically can be an exploit
vector, but this UAF only occurs when malloc() fails.  As it's
unlikely that the user can orchestrate malloc() failures at just the
place to break on _this_ malloc and not others it is disputed that this
is actually a security issue.

The underlying bug has been fixed, and will be incorporated into the
next release.

(From OE-Core rev: 8c70e7cecb1beb30a5be4ea9bbc89c2f2e11853b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-03 13:49:23 +00:00
Ross Burton
372c596db1 linux-yocto: update CVE exclusions
(From OE-Core rev: d401ed0666a3bcb10b013f38e1a528dca62a9c0d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-03 13:49:23 +00:00
Lee Chee Yang
d3724f0d04 documentation.conf: drop SERIAL_CONSOLES_CHECK
remove obsolete SERIAL_CONSOLES_CHECK.

(From OE-Core rev: 5ec0371e2837428cb1596b5f40f5653de8b64526)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-03 09:35:39 +00:00
Lee Chee Yang
7888592393 machine: drop obsolete SERIAL_CONSOLES_CHECK
(From meta-yocto rev: 715de050774907dd5596d826929b6588593a91ae)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-02 11:20:25 +00:00
Michael Opdenacker
bc00caadc9 ref-manual: document MESON_TARGET
(From yocto-docs rev: 8109eeb5b7a4e5b2f50047e049ce0295bdc94856)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-31 13:12:06 +00:00
Michael Opdenacker
6fb4c79030 manuals: improve description of CVE_STATUS and CVE_STATUS_GROUPS
- Mention CVE_STATUS_GROUPS in the development manual
  (otherwise only present in the reference manual, but with
  no reference to it)

- In the reference manual description of CVE_STATUS,
  link back to the development manual, to provide context.

(From yocto-docs rev: cfef5fe41b6c819e783c88829448ae38141650a5)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-31 13:12:06 +00:00
Michael Opdenacker
1e1d892699 migration-guides: further updates for 4.3
(From yocto-docs rev: 3a4d172f0d5668f3c6527bd80d1dad7831e72e89)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-31 13:12:06 +00:00
Michael Opdenacker
b6948e5524 ref-manual: document KERNEL_STRIP
(From yocto-docs rev: 0e1861dcb8819b86aba6a3e024efb8bfe4c300ad)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-31 13:12:06 +00:00
Michael Opdenacker
779e407a80 migration-guides: mention runqemu change in serial port management
Plus a minor whitespace fix change

(From yocto-docs rev: 6f7e1b935168464b4682a8687aa6d031a1a9fb73)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-31 13:12:06 +00:00
Michael Opdenacker
b910386c6a migration-guides: updates for 4.3
(From yocto-docs rev: a2d79ed745df6fe243e6c5e1001d406001c0d3a7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-31 13:12:06 +00:00
Michael Opdenacker
148c203bd1 ref-manual: variables: document OEQA_REPRODUCIBLE_TEST_PACKAGE
Introduced by
https://git.yoctoproject.org/poky/commit/?id=88abdec715ed0c1f613c9b5132cd45db741d5c65

(From yocto-docs rev: 2e64352653cd7e89a2b08d84d6f7a1e039d4346a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-31 13:12:06 +00:00
Michael Opdenacker
8a032f4dbd ref-manual: document KERNEL_LOCALVERSION
Introduced by
https://git.yoctoproject.org/poky/commit/?id=66ed174ccdf7a89cb998f503cc6b631e2d1adcc0

(From yocto-docs rev: 4bdd4976667b802895b13541b77191a65335a175)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-31 13:12:06 +00:00
Michael Opdenacker
724a10232c test-manual: reproducible-builds: stop mentioning LTO bug
Now that https://bugzilla.yoctoproject.org/show_bug.cgi?id=14481
is closed.

(From yocto-docs rev: de23d389f3fe7c2e18325cf29361d90b9bb19ead)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-31 13:12:06 +00:00
Marta Rybczynska
e7ab20fda4 dev-manual: add security team processes
Add the initial version of the section on vulnerability reports,
operations of the Security Team with a
transcription of https://wiki.yoctoproject.org/wiki/Security_private_reporting

(From yocto-docs rev: 2b86ac95c557f1e57176cceff428eb63e56c6328)

Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-31 13:12:06 +00:00
Eero Aaltonen
35394fc7e9 ref-manual: add systemd-resolved to distro features
systemd-resolved is a distro feature added in poky commit
6f30e3586e

(From yocto-docs rev: 2adb9c0a37f7bdbb293e78d71c872ca3bd9c06c4)

Signed-off-by: Eero Aaltonen <eero.aaltonen@vaisala.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-31 13:12:06 +00:00
Michael Opdenacker
2e0b3adf18 manuals: correct "yocto-linux" by "linux-yocto"
(From yocto-docs rev: 1fc5046100f27126711df0513d1ad87a9a54f55a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-31 13:12:06 +00:00
Marta Rybczynska
fb6d870a75 bitbake: SECURITY.md: add file
Add a SECURITY.md file with hints for security researchers and other
parties who might report potential security vulnerabilities.

(Bitbake rev: 936fcec41efacc4ce988c81882a9ae6403702bea)

Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-24 12:52:39 +01:00
BELHADJ SALEM Talel
0ddd876f9f ref-manual: variables: add example for SYSROOT_DIRS variable
(From yocto-docs rev: 65b62118da6f355e56c489c6be08ba9ea94b9f04)

Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-20 15:07:07 +01:00
BELHADJ SALEM Talel
cfa4458422 ref-manual: variables: add TOOLCHAIN_OPTIONS variable
(From yocto-docs rev: 6f7bd97a6d3d6d8cfd149a7e07df35da4141e650)

Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-20 15:07:07 +01:00
BELHADJ SALEM Talel
f20b3d92eb ref-manual: variables: add RECIPE_SYSROOT and RECIPE_SYSROOT_NATIVE
(From yocto-docs rev: 8aa25e2a668d35bab2f79457248abcde92dc92aa)

Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-20 15:07:07 +01:00
Michael Opdenacker
d0d66f5337 dev-manual: start.rst: remove obsolete reference
Remove a reference to a web resource which is clearly marked as obsolete.
Replace the unnecessarily verbose note by just links to the mentioned tools.

[YOCTO #15233]

(From yocto-docs rev: 3f979f5d2446d57d75f0c4ad2199510d533880e8)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-20 15:07:07 +01:00
Michael Opdenacker
e704b9b4bc brief-yoctoprojectqs: use new CDN mirror for sstate
Recommended instead of the Yocto Project mirror, because expected
to be faster. Make sure you only set one such mirror.

(From yocto-docs rev: 5a2d09501ab807a0f61c10533f3bd81894f6f20e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: richard.purdie@linuxfoundation.org
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-20 15:07:07 +01:00
Jérémy Rosen
f35420ba71 ref-manual: Add documentation for the unimplemented-ptest QA warning
(From yocto-docs rev: d90106ff2d905e457659acdb65a91ce5dcfdd05e)

Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-20 15:07:07 +01:00
Trevor Gamblin
fc0e384d19 contributor-guide: clarify patchtest usage
- Make it clear that patchtest only supports openembedded-core for now
- Add a short list of instructions for installing Python module
  dependencies on the host
- Add a step to add meta-selftest with bitbake layers so that all tests
  can run

(From yocto-docs rev: bcd58d68e72226be1930593f5f7fb37de15b7913)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-20 15:07:07 +01:00
Trevor Gamblin
e3cfbe2d78 contributor-guide: add patchtest section
(From yocto-docs rev: 236cd04d62bdf653aae9b41d32d9f87848a34339)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-20 15:07:07 +01:00
BELHADJ SALEM Talel
d9e40c6025 dev-manual: layers: Add notes about layer.conf
As discussed before with Richard Purdie, the code supports this but the documentation does not.
Developers in general will not notice this or focus on it because they do not mess with the
layer.conf template file, but in my opinion I think more details can help.

(From yocto-docs rev: 15fc103d4ddd14698c8e75cc654ac157ca1ad740)

Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-20 15:07:07 +01:00
Quentin Schulz
55d6a19062 ref-manual: variables: provide no-match example for COMPATIBLE_MACHINE
COMPATIBLE_MACHINE is used to forbid the use of a recipe or its packages
for a specific set of machines.

In some cases, it may make more sense to have the logic inverted and
have the recipe always forbidden except for hand-picked machines. Such
could be the case for pieces of software that only support some
architectures. In that scenario, it is sometimes a bit easier on the eye
and for maintenance to use the OVERRIDES mechanism but for that, a
default should be set.

COMPATIBLE_MACHINE:aarch64 = "^(aarch64)$"
COMPATIBLE_MACHINE:mips64 = "^(mips64)$"

wouldn't do much because if COMPATIBLE_MACHINE isn't set, the recipe is
assumed compatible and therefore, if no default is provided we enter
that case.

Hence, we need to add

COMPATIBLE_MACHINE = "^$"

as default so that it only matches the empty string, which isn't
possible for MACHINEOVERRIDES.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 52196d39bc85de267daffb0074eb59786751f57d)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-20 15:07:07 +01:00
Robert P. J. Day
f81ed4fd61 profile-manual: aesthetic cleanups
Various aesthetic cleanups of section 1 of that manual, including:

  * replace 'HOWTO' with manual
  * add more examples of sdk-related images
  * font fixes

(From yocto-docs rev: 608e93e13a8316a8d40e0675d4335084efa3736a)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-20 15:07:07 +01:00
BELHADJ SALEM Talel
273fbf4e76 ref-manual: Fix PACKAGECONFIG term and add an example
PACKAGECONFIG's first and second flag value will be added to PACKAGECONFIG_CONFARGS
and then it will be added to the appropriate variable (EXTRA_OECMAKE, or ...)
So we need to only mention PACKAGECONFIG_CONFARGS and it will lead to other variables.

I added a custom example that can help understanding very well PACKAGECONFIG.

(From yocto-docs rev: 7f26b0c0a08d6be9810128369265b0c494e7191b)

Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-20 15:07:07 +01:00
Robert P. J. Day
dde4dd6bc1 dev-manual: new-recipe.rst: add missing parenthesis to "Patching Code" section
Add missing parenthesis, and another example of a compressed patch filename.

(From yocto-docs rev: d44ccb5ed4292b0371651f38b9a0e3083f60ae87)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-20 15:07:07 +01:00
Michael Opdenacker
7e2bedcc5a bsp-guide: bsp: skip Intel machines no longer supported in Poky
(From yocto-docs rev: 0f8fe127eb9ae2f56b280a7634ea7ab9a270f382)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-20 15:07:07 +01:00
Michael Opdenacker
0df0de095a manuals: update list of supported machines
The EdgeRouter machine is no longer supported.
https://git.yoctoproject.org/poky/commit/?id=0c64d0e4317e3749f7f7ed9ecd5d08bbb0cedc9e

(From yocto-docs rev: e600522f2d2514bdd888c91043b9c59563ee7a6d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-20 15:07:07 +01:00
Michael Opdenacker
7eca8e35db sdk-manual: appendix-obtain: improve and update descriptions
- Improve text formatting
- Stop mentioning all possible values
- Update examples
- Correct descriptions

(From yocto-docs rev: f7437c2efa1014dc46481993b5e87d52dcf42b05)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-20 15:07:07 +01:00
Michael Opdenacker
115aa0a4fd dev-manual: wic: update "wic list images" output
(From yocto-docs rev: b9791285e5df4fa124230d2da4dcabb67088e23b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-20 15:07:07 +01:00
Michael Opdenacker
b21d2b401e manuals: update linux-yocto append examples
(From yocto-docs rev: 0d195d66e434ddedd33bf8db89643fa5ab192e29)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-20 15:07:07 +01:00
Arne Schwerdt
9431c9292d ref-manual: Warn about COMPATIBLE_MACHINE skipping native recipes
(From yocto-docs rev: fcc9b54cc46a0831f79a96e041cbe8deed58cf66)

Signed-off-by: Arne Schwerdt <arne.schwerdt@elbbits.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-20 15:07:07 +01:00
Richard Purdie
15b576c410 build-appliance-image: Update to nanbield head revision
(From OE-Core rev: 4c261f8cbdf0c7196a74daad041d04eb093015f3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 23:56:34 +01:00
Richard Purdie
631f5c6d4f build-appliance-image: Update to nanbield head revision
(From OE-Core rev: 6ecb3dac0b0033ae92a2727a0ae8803d52edaa64)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 23:15:04 +01:00
Richard Purdie
37e997f797 build-appliance-image: Update to nanbield head revision
(From OE-Core rev: 12fa669ea2372e759139430b23edc041e86fb543)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 17:01:41 +01:00
Bruce Ashfield
157e13d4a0 linux-yocto/6.5: serial: core: integrate upstream fixes
Integrating the following commit(s) to linux-yocto/6.5:

    14f83e409308 serial: core: test for -EINPROGRESS during tx power management validation
    1b5b735f311f serial: core: Fix checks for tx runtime PM state
    dee98a75d75c Revert "serial-core: disable power managment for serial tx"

(From OE-Core rev: 4c9a85ed1d69e55963cd77122e5c869b30f3dbe4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 17:01:04 +01:00
Bruce Ashfield
482c4d0a95 linux-yocto/6.5: config: remove VIDEO_STK1160_COMMON
Integrating the following commit(s) to linux-yocto/.:

    4531e74daf0 media/media-usb-tv.cfg: remove VIDEO_STK1160_COMMON

(From OE-Core rev: 40f2edd66afe5e5af607e110da78eb0a4a0b9cb9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 17:01:04 +01:00
Ross Burton
53c006ba1a patchtest: sort when reading patches from a directory
When reading patches from a directory it's important to sort the output
of os.listdir(), as that returns the files in an effectively random
order.  We can't test the patches apply if they're applied in the wrong
order, and typically patch filenames are prefixed with a counter to
ensure the order is correct.

(From OE-Core rev: b2bbd5b4071d913ed24a9ffe43d4a97b0db16c6c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 17:01:04 +01:00
Trevor Gamblin
a98b1229df patchtest: check for untracked changes
[YOCTO #15243]

Avoid overwriting local changes when running patchtest by checking for
anything unstaged or uncommitted in the target repo, and logging an
error if something is found. This will provide the user helpful feedback
if (for example) they forgot to commit a change for their patch under
test, and will leave the target repository in a reasonable state (rather
than a temporary branch created by patchtest).

(From OE-Core rev: 2d24ff9568d729b17cfc746d0948e63c78d9f3ae)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 17:01:04 +01:00
Khem Raj
8159c17bdd python3-urllib3: Update to 2.0.6
Only changes in this release [1] fixes CVE-2023-43804 [2] on top of 2.0.5

[1] 644124ecd0
[2] https://github.com/advisories/GHSA-v845-jxx5-vc9f

(From OE-Core rev: 2a9ae3ca372075868c046d3a3ba2ba9b483e986d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 13:06:53 +01:00
Siddharth Doshi
a0a8cec56d vim: Upgrade 9.0.2009 -> 9.0.2048
This includes CVE fix for CVE-2023-5535.

(From OE-Core rev: 9292eb70a2a0871cf235e4df0257d7028f43a278)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 13:06:52 +01:00
Marta Rybczynska
0d30313680 SECURITY.md: add file
Add a SECURITY.md file with hints for security researchers and other
parties who might report potential security vulnerabilities.

(From OE-Core rev: 4895e1892a49417fc5a806bd02c1bbac01f37253)

Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 11:31:13 +01:00
Richard Purdie
f65f100bc5 build-appliance-image: Update to master head revision
(From OE-Core rev: 4f84537670020a8d902248479efa9f062089c0d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 22:58:07 +01:00
Richard Purdie
dc262335f9 poky.conf: Bump version for 4.3 nanbield release
(From meta-yocto rev: c9f0946b6fd35ab7cb0197599a489560d129daf2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 22:57:59 +01:00
Trevor Gamblin
104decd489 patchtest/selftest: fix command arguments
Changes to patchtest's command-line arguments to work with oe-core by
default do not match the selftest script's argument list. Explicitly use
the --testdir and --repodir flags in selftest so that it is compatible
them.

(From OE-Core rev: 6cd547b24896596d4e0fe57f26f553842c5560b5)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 22:53:30 +01:00
Trevor Gamblin
b5a87b5f98 patchtest: update SPDX identifiers
Replace full license headers with SPDX identifiers and adjust all
patchtest-related code to use GPL-2.0-only.

(From OE-Core rev: 9bea6b39074296bb8d8719a3300636e316f19d1b)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 22:53:30 +01:00
Alexandre Belloni
8fa77bf2f1 strace: further clean up of ptest folders
Removing the out files removes about 350MB of data which helps staying
in the currently allocated ptest image space as we are hitting disk
space issues after enabling the parallelization of tests.

Fixes [Yocto #15220]

(From OE-Core rev: fc424293b22bd15b3b13d98f8eedda599709c930)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 22:51:33 +01:00
Alejandro Hernandez Samaniego
e1e50ebc4e qemuarmv5: Drop QB_DTB conditional for older kernels
The conditional for the DTB nomenclature hasnt changed
and the 4.7 kernel is old enough at this point, hence
this check has become unnecessary'

(From OE-Core rev: f5dee6290ca750519455e311e429951b8eb7301b)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:34 +01:00
Trevor Gamblin
26e3d58e71 patchtest: set default repo and testdir targets
Since patchtest is in oe-core, the Python os module's methods can be
used to retrieve the repository path and tests directory by default.
This reduces the number of mandatory arguments for invocation of
patchtest unless the user wants to use a custom test suite or test
patches against a different repo. The REPO and TESTDIR arguments are
likewise adjusted so that they are optional. Also, make it more obvious
what the --startdir flag is meant for on the command line by renaming it
to --testdir, and update the scripts/patchtest.README file to be
consistent with the new usage.

(From OE-Core rev: bae7421ece4806f5148f164293810b9fe75e0756)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:34 +01:00
Trevor Gamblin
6e53a778f1 patchtest: add scripts to oe-core
Add the following from the patchtest repo:

- patchtest: core patch testing tool
- patchtest-get-branch: determine the target branch of a patch
- patchtest-get-series: pull patch series from Patchwork
- patchtest-send-results: send test results to selected mailing list
- patchtest-setup-sharedir: create sharedir for use with patchtest guest
  mode
- patchtest.README: instructions for using patchtest based on the README
  in the original repository

Note that the patchtest script was modified slightly from the repo
version to retain compatibility with the oe-core changes.
patchtest-send-results and patchtest-setup-sharedir are also primarily
intended for automated testing in guest mode, but are added for
consistency.

(From OE-Core rev: cf318c3c05fc050b8c838c04f28797325c569c5c)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:34 +01:00
Trevor Gamblin
9d137188ad patchtest: add supporting modules
Add modules that support core patchtest functionality to
meta/lib/patchtest. These include classes and functions for handling
repository and patch objects, parsing the patchtest CLI arguments, and
other utilities.

(From OE-Core rev: 499cdad7a16f6cc256837069c7add294132127a4)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:34 +01:00
Trevor Gamblin
790aa2096f patchtest/requirements.txt: update
Add git-pw and boto3 to the list of requirements for patchtest.

(From OE-Core rev: f88e295cb5034950e9a0899c1dc3ca685a30a176)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:34 +01:00
Yoann Congal
07546cc63f insane: unimplemented-ptest: ignore source file errors
In some cases, pathlib.Path.glob() might throw FileNotFoundError when
file/directory disappear while it is iterating over them.

This "warning" is not important enough to crash build in this case so
just take a bb.note of the problem and move on.

(From OE-Core rev: 85ddbb67f0f6f823cac0966db78e5b74c5a54c4c)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reported-by: Mark Hatle <mark.hatle@amd.com>
Closes: https://lists.openembedded.org/g/openembedded-core/message/189254
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:34 +01:00
Yoann Congal
11bab63ca8 insane: skip unimplemented-ptest on S=WORKDIR recipes
On S=WORKDIR recipes, the unimplemented-ptest check will scan the whole
WORKDIR and "see" disappearing file and directory.

(From OE-Core rev: 9a2d2f7c2b7236667a6d80355f73db4c27e6582e)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reported-by: Mark Hatle <mark.hatle@amd.com>
Closes: https://lists.openembedded.org/g/openembedded-core/message/189254
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:34 +01:00
Lee Chee Yang
1e94086808 qemu: ignore RHEL specific CVE-2023-2680
(From OE-Core rev: 43b6d040979a766baa0fb2b1ff9125a94bb0152f)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:34 +01:00
Bruce Ashfield
34e1c00a2c linux-yocto/6.5: avoid serial port suspend issues
This is the integration of a workaround patch to avoid the serial
tx issues we are seeing on AB testing with the 6.5 kernel. Paul
Gortmaker located a 6.5 series commit that is causing tx to
intermittently stall to serial ports to stall under load.

    79a314e29b53 serial-core: disable power managment for serial tx

How to fix it properly with upstream is still and ongoing discussion.
We'll revisit and update this change once something lands in mainline.

The details of the commit are below:

    serial-core: disable power managment for serial tx

    1% of the time where the getty never appears on ttyS1 even after our
    timeout of 1000s.

    When this happens we've added code to login to the ttyS0 getty and run
    debug commands. We've been able to confirm the getty is running and the
    init system doesn't matter (happens with sysvinit and systemd). The
    most interesting debug I've seen is this:

    root@qemux86-64:~# cat /proc/tty/driver/serial
    serinfo:1.0 driver revision:
    0: uart:16550A port:000003F8 irq:4 tx:418 rx:43 RTS|CTS|DTR|DSR|CD
    1: uart:16550A port:000002F8 irq:3 tx:249 rx:0 RTS|CTS|DTR|DSR|CD
    2: uart:unknown port:000003E8 irq:4
    3: uart:unknown port:000002E8 irq:3
    root@qemux86-64:~# echo helloA > /dev/ttyS1
    root@qemux86-64:~# echo helloB > /dev/ttyS0
    helloB
    root@qemux86-64:~# cat /proc/tty/driver/serial
    serinfo:1.0 driver revision:
    0: uart:16550A port:000003F8 irq:4 tx:803 rx:121 RTS|CTS|DTR|DSR|CD
    1: uart:16550A port:000002F8 irq:3 tx:281 rx:0 RTS|CTS|DTR|DSR|CD
    2: uart:unknown port:000003E8 irq:4
    3: uart:unknown port:000002E8 irq:3

    This is being run after the getty didn't appear for 60s on ttyS1 so
    we've logged into ttyS0 and run these commands. We've seen that if it
    doesn't appear after 60s, it won't appear after 1000s either.

    The tx:249 is interesting as it should be tx:273, 273 being the number
    of bytes our successful serial getty prompt has. Once we echo something
    to the port (8 bytes), tx: jumps to 281, so it suddenly found our
    missing login prompt. This is confirmed with the data appearing on the
    port after the echo.

    I did try disabling the autosuspend code in the commit above but it
    made no difference. What does seem to help is changing the conditional
    the patch adds around start_tx() back to being under the original
    conditions. This is relatively harmless as it will just stop_tx() again
    if the xmit buffer is empty and this is a one off operation at probe
    time.
    The small overhead is much preferred to randomly failing tests.

    Discussions with upstream are being attempted:
    https://lore.kernel.org/linux-serial/c85ab969826989c27402711155ec086fd81574fb.camel@linuxfoundation.org/T/#t

(From OE-Core rev: 8715d72caa891cd29fd2198da5997d6e6b98fc98)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:34 +01:00
Chris Laplante
2460c1b3ec bitbake: codeparser: replace deprecated ast.Str and 's'
These have been deprecated since 3.8

(Bitbake rev: 5419a8473d6d4cd1d01537de68ad8d72cf5be0b2)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:33 +01:00
Alassane Yattara
e0e0a3f510 bitbake: Toaster: Fixed javascript issue on tests.browser.test_js_unit_tests
- Update /toastergui/static/js/projectpage.js to fix following
javascript issue that make fail test_js_unit_tests.
Uncaught TypeError: Cannot read properties of null (reading 'name')

Signed-off-by Alassane Yattara <alassane.yattara@savoirfairelinux.com>

(Bitbake rev: 87f5987e22b3d1c05b29a25ef354ecd63ac9e1df)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:33 +01:00
Alassane Yattara
50d88674b2 bitbake: Toaster: Bug-fix failure on tests.browser.test_layerdetails_page
Call wait_until_visible before send_keys to be sure inputs is visible otherwise
we get followings error: selenium.common.exceptions.WebDriverException -> Message: element not interactable
Signed-off-by Alassane Yattara <alassane.yattara@savoirfairelinux.com>

(Bitbake rev: 8d671e50036acb0e65c90a07f757e066c0463113)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:33 +01:00
Alassane Yattara
7774bab05f bitbake: toaster: bug-fix on tests.browser.test_most_recent_builds_states
Fixed errors that make test_most_recent_builds_states failed.
Signed-off-by Alassane Yattara <alassane.yattara@savoirfairelinux.com>

(Bitbake rev: d34d1f58bd30b998ffaef2e91f02a26ca06c2745)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:33 +01:00
Marlon Rodriguez Garcia
480aeaff08 bitbake: toaster: fixed functional test
Updated functional test file to fix url access and added waiting time after click operations
to allow following elements to be available for tests, this will needed to be revisited
when autobuilder is ready

(Bitbake rev: fa30af75b3b7d37215f2615aa4b458525fce509e)

Signed-off-by: Marlon Rodriguez Garcia <marlon.rodriguez-garcia@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:33 +01:00
Marlon Rodriguez Garcia
06f2cf81f4 bitbake: toaster: update jquery version 2.0.3 -> 3.7.1
Updated jquery version from 2.0.3 to 3.7.1
https://blog.jquery.com/2023/08/28/jquery-3-7-1-released-reliable-table-row-dimensions/

(Bitbake rev: 8490844a0304ca2af2ee6c5700790121cccf0a13)

Signed-off-by: Marlon Rodriguez Garcia <marlon.rodriguez-garcia@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:33 +01:00
Marlon Rodriguez Garcia
ae269e191b bitbake: toaster: Update bootstrap version to 3.4.1
Update bootstrap version to 3.4.1 to fix incompatibility issues and security vulnerabilities
Files base, base_specific and js-unit-test were updated to match new versions of files

(Bitbake rev: 046bbe22f7144efa02fc33fec9c933c2e97e0ba7)

Signed-off-by: Marlon Rodriguez Garcia <marlon.rodriguez-garcia@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:31 +01:00
Marlon Rodriguez Garcia
5ed3a577cc bitbake: toaster: updated bootstrap version 3.3.6 -> 3.3.7
Updated bootstrap from version 3.3.6 to 3.3.7 to fix compatibility errors
https://github.com/twbs/bootstrap/issues/16834

(Bitbake rev: 5254e826877e416364f498f8d320b99970ea162d)

Signed-off-by: Marlon Rodriguez Garcia <marlon.rodriguez-garcia@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:28 +01:00
Quentin Schulz
f82ed3a207 recipes-rt: update README to match newer override syntax
The override syntax uses colon (':') instead of underscore ('_') since
Honister (3.4), so let's update the README to use that new syntax.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From OE-Core rev: 97f0a73c0a9db5506310328cd29f165eab3c509d)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-16 11:45:28 +01:00
Khem Raj
b46037db40 gcompat: Upgrade to 1.1.0 release
License-Update: Updated copyright years and contibutors [1]

Brings following changes
* b7bfe0b Update documentation for 1.1 release
* f0de9c6 CHANGELOG: Add pthread section
* 36f21a6 pthread: add pthread_mutexattr_[get|set]kind_np
* f23fb58 stdio: Hook fopen(3) to intercept /proc/self/exe
* 158f2b5 Update CHANGELOG for 1.1
* 4a4c840 fix path-searching for execvp
* 9dbbddc sysctl: Add __getauxval alias
* fbdd06c misc: add __libc_single_threaded
* f727ab7 locale: also override __newlocale/__duplocale
* 244110e random_r: fix null dereference when passed uninitialized buf

[1] b7bfe0b08c (0398ccd0f49298b10a3d76a47800d2ebecd49859)

(From OE-Core rev: 6f123655c71992d75746e662a6b757de4a57cce7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-16 11:32:34 +01:00
Khem Raj
91e0cfe0a7 gcompat: Add fcntl64 wrapper
Needed by pvr mesa drivers

(From OE-Core rev: e6efe08c5aa419db5c865a14116d137ff37db221)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-16 11:32:34 +01:00
Richard Purdie
9dc27f922f local.conf.sample: Document new CDN mirror for sstate
We have a Content Delivery Network available for sstate, document
this in local.conf.sample.

(From meta-yocto rev: 2b2c68717e05f9e644930f576f5197d673b9cef5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-15 13:59:51 +01:00
Alberto Pianon
ef3e46afd9 bitbake: fetch2: Add API for upstream source tracing
This patch adds an API to bb.fetch2 to enable users to plug in an unpack
tracer that can trace each source file back to its corresponding
upstream source url, even when multiple upstream sources are combined
together in the same unpack directory. This may be required for software
composition analysis, license compliance, and detailed SBoM generation.

This patch provides only the needed hooks in bb.fetch2 code and a dummy
abstract class defining the API; users may load their own unpack tracer
class by setting the BB_UNPACK_TRACER_CLASS config parameter.

(Bitbake rev: 05051152cc42acc52bcf9af9a696f632fac4307f)

Signed-off-by: Alberto Pianon <alberto@pianon.eu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-15 09:12:43 +01:00
Alassane Yattara
3a09f0d184 bitbake: Update toaster-requirements to add django-log-viewer==1.1.7
Django Log Viewer allows us to read & download log files
in the admin page by using DataTables

(Bitbake rev: bc33f4275bc2dd82e308ef8da3ec93f3275e6127)

Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-15 09:12:05 +01:00
Richard Purdie
ddd38a3b15 oeqa/qemurunner: Drop newlines serial workaround
Drop the newlines serial workaround, it doesn't seem to fix things
enough of the time to be useful.

(From OE-Core rev: 6cd57b2d148c5de7839d52d8cec359e4a10e0cd6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-15 09:11:47 +01:00
Jérémy Rosen
b233e2f8c2 insane: Add a naive heuristic to detect test subdirectories
if there is a "test" or "tests" subdirectory at toplevel, this usually
means we have some unit tests available.

This test is very good at detecting handcrafted tests and I was not able
to find any false positive.

False positive can be dealt with the usual INSANE_SKIP mechanism

(From OE-Core rev: 0c91ad29f7ea313bc25481be9d40f216c0770b98)

Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-15 09:11:47 +01:00
Jérémy Rosen
f4b039cae0 insane: Detect build-system test harnesses
most build-systems have a way to implement a "make check" or equivalent
command that will run tests in the source directory.

This heuristic will detect the keywords in the build-system configuration
that activates tests.

Note that in the case of autotools, we use Makefile.in as our source
instead of Makefile.am to easily follow includes. Filenaming conventions
for autotools files are not reliable enough to do naive matching.

(From OE-Core rev: bc9013295256443e877f29b7e00605ffa5177efa)

Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-15 09:11:47 +01:00
Jérémy Rosen
18bd65d241 insane: Detect python and perl based tests
match_line_in_files will look for a regex in all files matching a glob.

we use iglob to avoid a complete, recursive scan of all source. iglob is
based on python iterators and will scan as we walk through the directories

pytest are detected by looking for "import pytest" or "from pytest" in any
python file.

perl Test:: is detetected by looking for any t/*.t in the toplevel source
directory.

(From OE-Core rev: 00d64ac38ae4af6193fae3b02375a16b1821f29e)

Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-15 09:11:47 +01:00
Jérémy Rosen
5330065f51 insane: Add unimplemented-ptest infrastructure
This infrastructure will use heuristics to detect when package sources seem
to have unit tests implemented but no ptest have been implemented in the
recipe.

No heuristics have been implemented at this point, only the infrastructure
to skip the test when ptest are implemented.

This is part of python_do_qa_patch since we need the sources in their final
state but do not need any configuration done

A missing-ptest QA test already existed but it was used for a different
purpose and overridden by ptest.bbclass. Thus, a new QA keyword was added

Note: The QA test is not enabled by default and may be enabled to hunt
down potential ptests with:
  WARN_QA += "unimplemented-ptest"

(From OE-Core rev: 282ae38543e22cbdcbf69c64eace551997927ce3)

Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-15 09:11:47 +01:00
Mickael RAMILISON
9c7148318f scripts/patchreview: Add a custom pattern for finding recipe patches
This introduces support for specifying a search pattern with the -p/--pattern
option in the patchreview.py script. This is designed to accommodate
the directory structure of meta-openembedded.

(From OE-Core rev: 599046ea9302af0cf856d3fcd827f6a2be75b7e1)

Signed-off-by: Mickael RAMILISON <mickael.ramilison@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-15 09:11:47 +01:00
Richard Purdie
988dc0dea4 linux/cve-exclusion6.1/6.5: Update to latest kernel point releases
(From OE-Core rev: f943ff80aaaf9745847da80ba98c9837fe77ca51)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-14 22:45:42 +01:00
Wang Mingyu
0559e4925e openssh: upgrade 9.4p1 -> 9.5p1
Changelog:
===========
Potentially incompatible changes
--------------------------------

 * ssh-keygen(1): generate Ed25519 keys by default. Ed25519 public keys
   are very convenient due to their small size. Ed25519 keys are
   specified in RFC 8709 and OpenSSH has supported them since version 6.5
   (January 2014).

 * sshd(8): the Subsystem directive now accurately preserves quoting of
   subsystem commands and arguments. This may change behaviour for exotic
   configurations, but the most common subsystem configuration
   (sftp-server) is unlikely to be affected.

New features
------------

 * ssh(1): add keystroke timing obfuscation to the client. This attempts
   to hide inter-keystroke timings by sending interactive traffic at
   fixed intervals (default: every 20ms) when there is only a small
   amount of data being sent. It also sends fake "chaff" keystrokes for
   a random interval after the last real keystroke. These are
   controlled by a new ssh_config ObscureKeystrokeTiming keyword.

 * ssh(1), sshd(8): Introduce a transport-level ping facility. This adds
   a pair of SSH transport protocol messages SSH2_MSG_PING/PONG to
   implement a ping capability. These messages use numbers in the "local
   extensions" number space and are advertised using a "ping@openssh.com"
   ext-info message with a string version number of "0".

 * sshd(8): allow override of Subsystem directives in sshd Match blocks.

Bugfixes
--------

 * scp(1): fix scp in SFTP mode recursive upload and download of
   directories that contain symlinks to other directories. In scp mode,
   the links would be followed, but in SFTP mode they were not. bz3611

 * ssh-keygen(1): handle cr+lf (instead of just cr) line endings in
   sshsig signature files.

 * ssh(1): interactive mode for ControlPersist sessions if they
   originally requested a tty.

 * sshd(8): make PerSourceMaxStartups first-match-wins

 * sshd(8): limit artificial login delay to a reasonable maximum (5s)
   and don't delay at all for the "none" authentication mechanism.cw
    bz3602

 * sshd(8): Log errors in kex_exchange_identification() with level
   verbose instead of error to reduce preauth log spam. All of those
   get logged with a more generic error message by sshpkt_fatal().

 * sshd(8): correct math for ClientAliveInterval that caused the probes
    to be sent less frequently than configured.

 * ssh(1): fix regression in OpenSSH 9.4 (mux.c r1.99) that caused
   multiplexed sessions to ignore SIGINT under some circumstances.

Portability
-----------

 * Avoid clang zero-call-used-regs=all bug on Apple compilers, which
   for some reason have version numbers that do not match the upstream
   clang version numbers. bz#3584

 * Fix configure test for zlib 1.3 and later/development versions. bz3604

(From OE-Core rev: 1f7a8aedecae81339d71c40f4cf7f6d1e5e4286c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-14 22:45:42 +01:00
Jon Mason
9f0177d18f linux-yocto: Update dtb path for qemuarmv5
In Linux kernel versions 6.5 and later, device tree files have been
moved under a vendor directory.  The qemuarmv5 one is now located in
"arm".  Add this to get it working again (which was already done for the
dev kernel in commit 42d5e8ef12934db65c35c1c5f0cabb5c21dbea43).

Once all kernels <v6.5 are removed, this line should probably be
relocated to the qemuarmv5 config file.

(From OE-Core rev: c84634d62ca8babf23564c8c7e37856d025e5201)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-14 22:45:42 +01:00
Jon Mason
29f2ecdd6c qemu: drop unreferenced patch
OE Commit a7176c3b2a7e2041b9be5dabb6b0f1e62f235f76 removed the reference
to this patch but did not remove the patch

(From OE-Core rev: eeb7063ea70b861269aa820d19e6804b7841149e)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-14 22:45:42 +01:00
Siddharth Doshi
c5369d6a6d vim: Upgrade 9.0.1894 -> 9.0.2009
This includes CVE fix for CVE-2023-5441.

(From OE-Core rev: 539b0c8938b7ac4338b087e04d8b8624b7546237)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-14 22:45:42 +01:00
Richard Purdie
0e351df042 reproducible: Exclude rust for now again
Unfortunately there is still an issue with rustdoc not being reproducible
so part of the problem has been fixed but not everything.

Add the exclusion back until this has been addressed to avoid autobuilder
failures and long diffoscope analysis time.

(From OE-Core rev: ab03b3416dda65e39a756c02d87492e1fe5e0fb0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-13 11:53:06 +01:00
Trevor Gamblin
fd06e4f266 patchtest: clean up test suite
Various tweaks to make the test suite cleaner and more efficient:

- Replace use of "re" module with "pyparsing" in tests (but not base.py)
- Make test_mbox_cve only check for CVE tags in the commit if the added
  patch has them
- Make test_mbox_cve SKIP instead of PASS if there's no CVE tag
- Simplify the bugzilla tag checking test now that pyparsing is used
- Modify the selftest script to correctly parse the new result output

(From OE-Core rev: 7a187c2475aa762e2bc830950f608143f2535a72)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-13 11:53:06 +01:00
Trevor Gamblin
2fdabc368a patchtest: improve test issue messages
The patchtest tests provide vague feedback to the user, and many of them
also provide redundant 'fix' strings that could easily be incorporated
into the issue messages themselves. Simplify them so that it is more
clear what the errors are and how they can be addressed. No
recommendation is given when the issue string adequately conveys the
issue, e.g. with a missing "LICENSE" entry in a newly-created recipe.

(From OE-Core rev: 0bfb3614244ec7aa79b6424bc63f9f2bccdabe98)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-13 11:53:06 +01:00
Bruce Ashfield
575b00dca5 linux-yocto/6.4: drop recipes
6.4 is EOL upstream, and we've moved to 6.5 as the default
kernel. Drop the recipes to avoid anyone using them by
mistake.

(From OE-Core rev: 109eb5e058061a53c20cc58c59ffc8c797b3c3b7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-13 11:53:06 +01:00
Bruce Ashfield
9ee4a688f8 linux-yocto/6.1: update to v6.1.57
Updating  to the latest korg -stable release that comprises
the following commits:

    082280fe94a0 Linux 6.1.57
    a4cc925e2e12 xen/events: replace evtchn_rwlock with RCU
    a4fcf8a242c6 ipv6: remove one read_lock()/read_unlock() pair in rt6_check_neigh()
    6e4c40aa270b btrfs: file_remove_privs needs an exclusive lock in direct io write
    ff81d1c77d08 netlink: remove the flex array from struct nlmsghdr
    6cd57f5c7795 btrfs: fix fscrypt name leak after failure to join log transaction
    6d05a1a7a484 btrfs: fix an error handling path in btrfs_rename()
    5aaa45025f9f vrf: Fix lockdep splat in output path
    fd32f1eee6c0 ipv6: remove nexthop_fib6_nh_bh()
    edeccce85cbe parisc: Restore __ldcw_align for PA-RISC 2.0 processors
    8226ffc759ea ksmbd: fix uaf in smb20_oplock_break_ack
    a2ca5fd3dbcc ksmbd: fix race condition between session lookup and expire
    64301a935462 x86/sev: Use the GHCB protocol when available for SNP CPUID requests
    76b6a980e85f RDMA/mlx5: Fix NULL string error
    26eb1307c704 RDMA/mlx5: Fix mutex unlocking on error flow for steering anchor creation
    5cf38e638e5d RDMA/siw: Fix connection failure handling
    2b298f918158 RDMA/srp: Do not call scsi_done() from srp_abort()
    c54204d7960f RDMA/uverbs: Fix typo of sizeof argument
    233229fa577a RDMA/cma: Fix truncation compilation warning in make_cma_ports
    39f701870114 RDMA/cma: Initialize ib_sa_multicast structure to 0 when join
    52b0bb7139c9 gpio: pxa: disable pinctrl calls for MMP_GPIO
    d09e467491b2 gpio: aspeed: fix the GPIO number passed to pinctrl_gpio_set_config()
    7e47a8419da6 IB/mlx4: Fix the size of a buffer in add_port_entries()
    315ae630502c of: dynamic: Fix potential memory leak in of_changeset_action()
    9c480fb41aa4 RDMA/core: Require admin capabilities to set system parameters
    f60287b2d240 dm zoned: free dmz->ddev array in dmz_put_zoned_devices
    485f0bac83a6 parisc: Fix crash with nr_cpus=1 option
    c9c110ce3754 smb: use kernel_connect() and kernel_bind()
    ec02b892237d intel_idle: add Emerald Rapids Xeon support
    cdcc04e844a2 HID: intel-ish-hid: ipc: Disable and reenable ACPI GPE bit
    07c6338acb15 HID: sony: remove duplicate NULL check before calling usb_free_urb()
    40d609b6ad90 netlink: annotate data-races around sk->sk_err
    0915de8c6083 netlink: Fix potential skb memleak in netlink_ack
    1a6e2da05f37 netlink: split up copies in the ack construction
    220f0f866d69 sctp: update hb timer immediately after users change hb_interval
    63cb52e75fd1 sctp: update transport state when processing a dupcook packet
    419b2c5766fa tcp: fix delayed ACKs for MSS boundary condition
    4acf07bafb58 tcp: fix quick-ack counting to count actual ACKs of new data
    143e72757a90 tipc: fix a potential deadlock on &tx->lock
    f2697457ab73 net: stmmac: dwmac-stm32: fix resume on STM32 MCU
    da7fa17bd9ac ipv4: Set offload_failed flag in fibmatch results
    56a6ea76dd9b netfilter: nf_tables: nft_set_rbtree: fix spurious insertion failure
    7ff9a9857b8b netfilter: nf_tables: Deduplicate nft_register_obj audit logs
    e1bbe4afe1a3 selftests: netfilter: Extend nft_audit.sh
    82273f15e3db selftests: netfilter: Test nf_tables audit logging
    00d35e6b1672 netfilter: handle the connecting collision properly in nf_conntrack_proto_sctp
    6e1dbbf29031 ibmveth: Remove condition to recompute TCP header checksum.
    2428c557cd62 net: ethernet: ti: am65-cpsw: Fix error code in am65_cpsw_nuss_init_tx_chns()
    7562780e32b8 net: nfc: llcp: Add lock when modifying device list
    9ffc5018020f net: usb: smsc75xx: Fix uninit-value access in __smsc75xx_read_reg
    7f042041360e ipv6: tcp: add a missing nf_reset_ct() in 3WHS handling
    a003d4994088 net: dsa: mv88e6xxx: Avoid EEPROM timeout when EEPROM is absent
    6a91ec7cfd0e ptp: ocp: Fix error handling in ptp_ocp_device_init
    f6a7182179c0 ipv4, ipv6: Fix handling of transhdrlen in __ip{,6}_append_data()
    a8ed1b2e1674 neighbour: fix data-races around n->output
    2b76aad68b30 neighbour: switch to standard rcu, instead of rcu_bh
    0526933c1005 neighbour: annotate lockless accesses to n->nud_state
    8904d8848b31 bpf: Add BPF_FIB_LOOKUP_SKIP_NEIGH for bpf_fib_lookup
    f82aac816287 net: fix possible store tearing in neigh_periodic_work()
    8ef7f9acbe8e modpost: add missing else to the "of" check
    b8f97e47b6fb bpf, sockmap: Reject sk_msg egress redirects to non-TCP sockets
    c024db960301 bpf, sockmap: Do not inc copied_seq when PEEK flag set
    46052a98854a bpf: tcp_read_skb needs to pop skb regardless of seq
    99fe9a120729 NFSv4: Fix a nfs4_state_manager() race
    23acd1784eb5 ima: rework CONFIG_IMA dependency block
    6c5d7f541693 scsi: target: core: Fix deadlock due to recursive locking
    f23c35f0686c ima: Finish deprecation of IMA_TRUSTED_KEYRING Kconfig
    937ec4434e0a regulator/core: regulator_register: set device->class earlier
    fbac416e25ef iommu/mediatek: Fix share pgtable for iova over 4GB
    183e0f9da6af perf/x86/amd: Do not WARN() on every IRQ
    2f4e16e39e4f wifi: mac80211: fix potential key use-after-free
    89192c6cbe0f regmap: rbtree: Fix wrong register marked as in-cache when creating new node
    e485a69d9b44 perf/x86/amd/core: Fix overflow reset on hotplug
    6150d4596861 wifi: mt76: mt76x02: fix MT76x0 external LNA gain handling
    b9eded289bea drivers/net: process the result of hdlc_open() and add call of hdlc_close() in uhdlc_close()
    6bfc4c7043c8 Bluetooth: ISO: Fix handling of listen for unicast
    c201d944bc38 Bluetooth: Delete unused hci_req_prepare_suspend() declaration
    b46384a681a8 regulator: mt6358: split ops for buck and linear range LDO regulators
    a01576f58b19 regulator: mt6358: Use linear voltage helpers for single range regulators
    c6ac402567e4 regulator: mt6358: Drop *_SSHUB regulators
    163042a01544 bpf: Fix tr dereferencing
    c14c7214fc68 leds: Drop BUG_ON check for LED_COLOR_ID_MULTI
    6b706286473d wifi: mwifiex: Fix oob check condition in mwifiex_process_rx_packet
    42970d32fe1e wifi: cfg80211: add missing kernel-doc for cqm_rssi_work
    c797498e860e wifi: cfg80211: fix cqm_config access race
    3fcc6d7d5f40 wifi: cfg80211: add a work abstraction with special semantics
    2ae4585f740a wifi: cfg80211: move wowlan disable under locks
    fb195ff4183a wifi: cfg80211: hold wiphy lock in auto-disconnect
    6b3223449c95 wifi: iwlwifi: mvm: Fix a memory corruption issue
    78b5c62edeea wifi: iwlwifi: dbg_ini: fix structure packing
    6a5a8f0a9740 erofs: fix memory leak of LZMA global compressed deduplication
    91aeb418b917 ubi: Refuse attaching if mtd's erasesize is 0
    f237b17611fa HID: sony: Fix a potential memory leak in sony_probe()
    6e3ae2927b43 arm64: errata: Add Cortex-A520 speculative unprivileged load workaround
    0a4ae2634801 arm64: Add Cortex-A520 CPU part definition
    d2894c4f473a drm/amd: Fix logic error in sienna_cichlid_update_pcie_parameters()
    c8bd3e12b329 drm/amd: Fix detection of _PR3 on the PCIe root port
    fc8d9630c80b net: prevent rewrite of msg_name in sock_sendmsg()
    34f9370ae444 net: replace calls to sock->ops->connect() with kernel_connect()
    2dfb5f324d79 PCI: qcom: Fix IPQ8074 enumeration
    ebf2d9a7822b md/raid5: release batch_last before waiting for another stripe_head
    c404d39e7749 wifi: mwifiex: Fix tlv_buf_left calculation
    794ae3a9f8fe Bluetooth: hci_sync: Fix handling of HCI_QUIRK_STRICT_DUPLICATE_FILTER
    626535077ba9 Bluetooth: hci_codec: Fix leaking content of local_codecs
    01afbfb39585 qed/red_ll2: Fix undefined behavior bug in struct qed_ll2_info
    454bb54b8fe8 mptcp: userspace pm allow creating id 0 subflow
    4674e9626beb net: ethernet: mediatek: disable irq before schedule napi
    3a72decd6b49 vringh: don't use vringh_kiov_advance() in vringh_iov_xfer()
    c12ef025add7 iommu/vt-d: Avoid memory allocation in iommu_suspend()
    cdf18e75850f scsi: zfcp: Fix a double put in zfcp_port_enqueue()
    ef167cc1882f i40e: fix the wrong PTP frequency calculation
    a0829d9cf22e hwmon: (nzxt-smart2) add another USB ID
    6ddb9e6b9b6a hwmon: (nzxt-smart2) Add device id
    752ec2d93e75 block: fix use-after-free of q->q_usage_counter
    77d0e7e8e582 rbd: take header_rwsem in rbd_dev_refresh() only when updating
    698039a461a3 rbd: decouple parent info read-in from updating rbd_dev
    377d26174e1d rbd: decouple header read-in from updating rbd_dev->header
    33ecf5f5a876 rbd: move rbd_dev_refresh() definition
    ff09fa5f23aa iommu/arm-smmu-v3: Avoid constructing invalid range commands
    357ba59b9d3b iommu/arm-smmu-v3: Set TTL invalidation hint better
    71472872932b drm/amd/display: Adjust the MST resume flow
    b0fe37867455 arm64: cpufeature: Fix CLRBHB and BC detection
    b6912642746d net: release reference to inet6_dev pointer
    bad004c384b7 net: change accept_ra_min_rtr_lft to affect all RA lifetimes
    ec4162bb7018 net: add sysctl accept_ra_min_rtr_lft
    9d91134c165f arm64: Avoid repeated AA64MMFR1_EL1 register read on pagefault path
    dd8c8369305d Revert "NFSv4: Retry LOCK on OLD_STATEID during delegation return"
    ef54db5b5df7 btrfs: use struct fscrypt_str instead of struct qstr
    68ad364ec8dd btrfs: setup qstr from dentrys using fscrypt helper
    1cf474cd474b btrfs: use struct qstr instead of name and namelen pairs
    87efd87d3624 ring-buffer: Fix bytes info in per_cpu buffer stats
    62eed43e0390 ring-buffer: remove obsolete comment for free_buffer_page()
    836adaddc60c mm: page_alloc: fix CMA and HIGHATOMIC landing on the wrong buddy list
    d1da921452b3 mm/page_alloc: leave IRQs enabled for per-cpu page allocations
    570786ac6f04 mm/page_alloc: always remove pages from temporary list
    939189aedfac mm: mempolicy: keep VMA walk if both MPOL_MF_STRICT and MPOL_MF_MOVE are specified
    ce9f3441fc6a mm/mempolicy: convert migrate_page_add() to migrate_folio_add()
    dc0a8466cd11 mm/mempolicy: convert queue_pages_pte_range() to queue_folios_pte_range()
    6c2c728d299f mm/mempolicy: convert queue_pages_pmd() to queue_folios_pmd()
    6d6635749d4c mm/memory: add vm_normal_folio()
    89f2ace6d016 NFSv4: Fix a state manager thread deadlock regression
    80ba4fd1ac33 NFS: rename nfs_client_kset to nfs_kset
    15ff58702361 NFS: Cleanup unused rpc_clnt variable
    2f09a09d73cb ata: libata-scsi: Fix delayed scsi_rescan_device() execution
    f2b359e3a4f3 scsi: Do not attempt to rescan suspended devices
    5d3b0fcb3ca6 scsi: core: Improve type safety of scsi_rescan_device()
    deacabef6834 scsi: sd: Do not issue commands to suspended disks on shutdown
    8de6d8449ae9 scsi: sd: Differentiate system and runtime start/stop management
    dc3354c961ba ata,scsi: do not issue START STOP UNIT on resume
    078651647064 mptcp: process pending subflow error on close
    fc8917b79069 mptcp: move __mptcp_error_report in protocol.c
    c1432ece79e6 mptcp: annotate lockless accesses to sk->sk_err
    09b6fdf7a12e mptcp: fix dangling connection hang-up
    7544918e48e6 mptcp: rename timer related helper to less confusing names
    bbdfef76096d ASoC: tegra: Fix redundant PLLA and PLLA_OUT0 updates
    5f9d73761553 ASoC: soc-utils: Export snd_soc_dai_is_dummy() symbol
    1031f68108ea spi: zynqmp-gqspi: fix clock imbalance on probe failure

(From OE-Core rev: 5e4241c9d5fee655f08e5e5ed82aa7bf24e2701a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-13 11:53:06 +01:00
Bruce Ashfield
8f05604567 linux-yocto/6.5: update to v6.5.7
Updating  to the latest korg -stable release that comprises
the following commits:

    121c6addffd7 Linux 6.5.7
    76b33722e2d2 xen/events: replace evtchn_rwlock with RCU
    2c5d952fd638 RDMA/mlx5: Remove not-used cache disable flag
    4e2d581535c3 ksmbd: fix race condition from parallel smb2 lock requests
    d5b0e9d3563e ksmbd: fix uaf in smb20_oplock_break_ack
    18ced78b0ebc ksmbd: fix race condition between session lookup and expire
    f35c0756029f x86/sev: Use the GHCB protocol when available for SNP CPUID requests
    225d28de3fc3 x86/sev: Change npages to unsigned long in snp_accept_memory()
    783142da9733 RDMA/mlx5: Fix NULL string error
    aa727bb7bd5b RDMA/mlx5: Fix mutex unlocking on error flow for steering anchor creation
    6dd42618ffdd RDMA/mlx5: Fix assigning access flags to cache mkeys
    42ec848172ef RDMA/mlx5: Fix mkey cache possible deadlock on cleanup
    eeafc50a77f6 RDMA/siw: Fix connection failure handling
    05a10b316ada RDMA/srp: Do not call scsi_done() from srp_abort()
    e2399007f48d RDMA/uverbs: Fix typo of sizeof argument
    56c479ba38d8 RDMA/bnxt_re: Fix the handling of control path response data
    13ac926cd4b8 RDMA/cma: Fix truncation compilation warning in make_cma_ports
    3769e0a2eb68 RDMA/cma: Initialize ib_sa_multicast structure to 0 when join
    4d7d35bead51 gpio: pxa: disable pinctrl calls for MMP_GPIO
    82c3535932b6 gpio: aspeed: fix the GPIO number passed to pinctrl_gpio_set_config()
    a6c281be4e90 IB/mlx4: Fix the size of a buffer in add_port_entries()
    641c751ff120 of: dynamic: Fix potential memory leak in of_changeset_action()
    d419280f5930 RDMA/core: Require admin capabilities to set system parameters
    f4a0655253e5 dm zoned: free dmz->ddev array in dmz_put_zoned_devices
    161fa3dfd5d7 parisc: Fix crash with nr_cpus=1 option
    c9969a3d310d smb: use kernel_connect() and kernel_bind()
    0779db586333 parisc: Restore __ldcw_align for PA-RISC 2.0 processors
    1c31067bbe60 net: lan743x: also select PHYLIB
    60fb3f054c99 HID: intel-ish-hid: ipc: Disable and reenable ACPI GPE bit
    77a4f974594d HID: sony: remove duplicate NULL check before calling usb_free_urb()
    e0ae4814bf7d HID: nvidia-shield: Fix a missing led_classdev_unregister() in the probe error handling path
    eba44cd30948 net: mana: Fix oversized sge0 for GSO packets
    5a98b9dd9981 net: mana: Fix the tso_bytes calculation
    d0a4acf3d4e6 netlink: annotate data-races around sk->sk_err
    cd94c38d0356 sctp: update hb timer immediately after users change hb_interval
    3af9df4a7157 sctp: update transport state when processing a dupcook packet
    e86ed5217950 tcp: fix delayed ACKs for MSS boundary condition
    155cfe05b93b tcp: fix quick-ack counting to count actual ACKs of new data
    aa1a21681b94 tipc: fix a potential deadlock on &tx->lock
    e593dfa68217 net: stmmac: dwmac-stm32: fix resume on STM32 MCU
    8a81cc801fb5 ipv4: Set offload_failed flag in fibmatch results
    ef27753052ef netfilter: nf_tables: nft_set_rbtree: fix spurious insertion failure
    5cf82197d989 netfilter: nf_tables: Deduplicate nft_register_obj audit logs
    eb8c0e75dac6 selftests: netfilter: Extend nft_audit.sh
    598f66b0324e selftests: netfilter: Test nf_tables audit logging
    f3c7e620b2af netfilter: handle the connecting collision properly in nf_conntrack_proto_sctp
    3f6a5636a966 netfilter: nft_payload: rebuild vlan header on h_proto access
    ea7594eb2d73 ibmveth: Remove condition to recompute TCP header checksum.
    4e2eb2cdfbff net: ethernet: ti: am65-cpsw: Fix error code in am65_cpsw_nuss_init_tx_chns()
    32b9e35b8857 rswitch: Fix PHY station management clock setting
    19b076e8b946 net: renesas: rswitch: Add spin lock protection for irq {un}mask
    29c16c2bf586 net: nfc: llcp: Add lock when modifying device list
    ac2c5dea3dd5 ethtool: plca: fix plca enable data type while parsing the value
    4931e80da946 net: usb: smsc75xx: Fix uninit-value access in __smsc75xx_read_reg
    ebee8434080c ipv6: tcp: add a missing nf_reset_ct() in 3WHS handling
    c7f31ffe3479 ovl: fetch inode once in ovl_dentry_revalidate_common()
    9f5f1de1a6b5 ovl: move freeing ovl_entry past rcu delay
    ee049d5e2eb6 net: dsa: mv88e6xxx: Avoid EEPROM timeout when EEPROM is absent
    7a378171fdd6 ptp: ocp: Fix error handling in ptp_ocp_device_init
    fe80658c08e3 ipv4, ipv6: Fix handling of transhdrlen in __ip{,6}_append_data()
    33b4b5b04005 neighbour: fix data-races around n->output
    a75152d23337 net: fix possible store tearing in neigh_periodic_work()
    135042be7bec net: stmmac: platform: fix the incorrect parameter
    fa5ffd507fe8 modpost: add missing else to the "of" check
    ded6e448028f bpf, sockmap: Reject sk_msg egress redirects to non-TCP sockets
    f4b72d69213b bpf, sockmap: Do not inc copied_seq when PEEK flag set
    fc5c5d7e07b2 bpf: tcp_read_skb needs to pop skb regardless of seq
    576b8329390b ice: always add legacy 32byte RXDID in supported_rxdids
    b60b508f14df NFSv4: Fix a nfs4_state_manager() race
    98bd9c02c2b5 ima: rework CONFIG_IMA dependency block
    5a44dd7b0930 scsi: target: core: Fix deadlock due to recursive locking
    3c0a2419e8be wifi: iwlwifi: mvm: Fix incorrect usage of scan API
    acf11f64c29f ima: Finish deprecation of IMA_TRUSTED_KEYRING Kconfig
    dfce40151dcf regulator/core: regulator_register: set device->class earlier
    9a7786e4aea6 wifi: mac80211: Create resources for disabled links
    cda3dc63d845 iommu/mediatek: Fix share pgtable for iova over 4GB
    c9525513cab1 perf/x86/amd: Do not WARN() on every IRQ
    65c72a720170 wifi: mac80211: fix potential key use-after-free
    bdd83fc0a5a9 regmap: rbtree: Fix wrong register marked as in-cache when creating new node
    319bee0595df rtla/timerlat: Do not stop user-space if a cpu is offline
    33699a00b89d perf/x86/amd/core: Fix overflow reset on hotplug
    0e656b05ca2b wifi: mt76: mt76x02: fix MT76x0 external LNA gain handling
    fcc632935e4f drivers/net: process the result of hdlc_open() and add call of hdlc_close() in uhdlc_close()
    7fb2ea6e0676 Bluetooth: ISO: Fix handling of listen for unicast
    d619794c30d2 Bluetooth: Fix hci_link_tx_to RCU lock usage
    377a6f42d816 Bluetooth: Delete unused hci_req_prepare_suspend() declaration
    6e1e9a9a0f44 regulator: mt6358: split ops for buck and linear range LDO regulators
    cb17c99357c7 bpf: unconditionally reset backtrack_state masks on global func exit
    d71dc1b530c4 bpf: Fix tr dereferencing
    a2235cde5599 leds: Drop BUG_ON check for LED_COLOR_ID_MULTI
    0aa14ce3cc91 s390/bpf: Let arch_prepare_bpf_trampoline return program size
    56c212bb4ede erofs: allow empty device tags in flatdev mode
    7a2ad4a8a54e HID: nvidia-shield: add LEDS_CLASS dependency
    be2ff39b1504 wifi: mwifiex: Fix oob check condition in mwifiex_process_rx_packet
    1e2c796fd992 wifi: mac80211: fix mesh id corruption on 32 bit systems
    e851875c3722 wifi: cfg80211: add missing kernel-doc for cqm_rssi_work
    0f4c9dc8c56f rtla/timerlat_aa: Fix previous IRQ delay for IRQs that happens after thread sample
    fc11bc42d0a6 rtla/timerlat_aa: Fix negative IRQ delay
    d0a2cab40448 rtla/timerlat_aa: Zero thread sum after every sample analysis
    32fb9b7d98c3 wifi: cfg80211: fix cqm_config access race
    f06cdd8d4ba5 wifi: iwlwifi: mvm: Fix a memory corruption issue
    1fb9204d193b wifi: iwlwifi: dbg_ini: fix structure packing
    2cb1b8ed662c iwlwifi: mvm: handle PS changes in vif_cfg_changed
    b57a9f34723a wifi: cfg80211/mac80211: hold link BSSes when assoc fails for MLO connection
    c955751cbf86 erofs: fix memory leak of LZMA global compressed deduplication
    87b9858e4040 ubi: Refuse attaching if mtd's erasesize is 0
    09316923e1a2 wifi: mt76: fix lock dependency problem for wed_lock
    f566efa7de1e HID: sony: Fix a potential memory leak in sony_probe()
    32b0a4ffcaea arm64: errata: Add Cortex-A520 speculative unprivileged load workaround
    58f88d8f13a9 arm64: Add Cortex-A520 CPU part definition
    4ce883abd15c drm/amd: Fix logic error in sienna_cichlid_update_pcie_parameters()
    12c92dd1d1d1 drm/amd: Fix detection of _PR3 on the PCIe root port
    2f92524f5a7f drm/i915: Don't set PIPE_CONTROL_FLUSH_L3 for aux inval
    b704bba4f720 net: prevent rewrite of msg_name in sock_sendmsg()
    750bdf036a79 btrfs: always print transaction aborted messages with an error level
    79a487128c50 io_uring: ensure io_lockdep_assert_cq_locked() handles disabled rings
    fa6a7e0d8b1d io_uring/kbuf: don't allow registered buffer rings on highmem pages
    b0d74112f533 net: replace calls to sock->ops->connect() with kernel_connect()
    044262cf6cf9 platform/x86/intel/ifs: release cpus_read_lock()
    a93a2c72167c PCI: qcom: Fix IPQ8074 enumeration
    709ec9e4dc5c PCI/PM: Mark devices disconnected if upstream PCIe link is down on resume
    bb39b7c7869d md/raid5: release batch_last before waiting for another stripe_head
    3f3164ce6396 io_uring: don't allow IORING_SETUP_NO_MMAP rings on highmem pages
    62aba312578c wifi: mwifiex: Fix tlv_buf_left calculation
    9a32009321e9 wifi: rtw88: rtw8723d: Fix MAC address offset in EEPROM
    2618f005c49a Bluetooth: hci_sync: Fix handling of HCI_QUIRK_STRICT_DUPLICATE_FILTER
    9a9c17c7c554 wifi: brcmfmac: Replace 1-element arrays with flexible arrays
    eea5a8f0c3b7 Bluetooth: hci_codec: Fix leaking content of local_codecs
    074218073f29 qed/red_ll2: Fix undefined behavior bug in struct qed_ll2_info
    0193c5360e5a mptcp: userspace pm allow creating id 0 subflow
    970ca742335d mptcp: fix delegated action races
    fc979719ed4a net: ethernet: mediatek: disable irq before schedule napi
    0bf2b9c2f354 vringh: don't use vringh_kiov_advance() in vringh_iov_xfer()
    a910e0f63047 net: mana: Fix TX CQE error handling
    496c591f0b38 iommu/vt-d: Avoid memory allocation in iommu_suspend()
    8ea106a7f311 scsi: zfcp: Fix a double put in zfcp_port_enqueue()
    577d9e66d20f iommu/apple-dart: Handle DMA_FQ domains in attach_dev()
    0477354fd24d maple_tree: add MAS_UNDERFLOW and MAS_OVERFLOW states
    807e9ed2c6b7 maple_tree: reduce resets during store setup
    9067f1271ae7 iommu/arm-smmu-v3: Avoid constructing invalid range commands
    18c940fbc7c0 net: release reference to inet6_dev pointer
    c59c9d539a44 net: change accept_ra_min_rtr_lft to affect all RA lifetimes
    b2b10fd6d417 net: add sysctl accept_ra_min_rtr_lft
    0b37467cbd2d arm64: cpufeature: Fix CLRBHB and BC detection
    a39c82f6d9cb arm64: add HWCAP for FEAT_HBC (hinted conditional branches)
    ce74aad206ea btrfs: don't clear uptodate on write errors
    1617032af6c4 btrfs: remove end_extent_writepage
    b6075e5c7d74 btrfs: remove btrfs_writepage_endio_finish_ordered
    ea07f51f62c1 ata: libata-scsi: Fix delayed scsi_rescan_device() execution
    96373a5496c1 scsi: Do not attempt to rescan suspended devices
    755b88188022 scsi: core: Improve type safety of scsi_rescan_device()
    6a38c802c17c mptcp: fix dangling connection hang-up
    23a6868ff40b mptcp: rename timer related helper to less confusing names
    84c617b8ce2a mptcp: Remove unnecessary test for __mptcp_init_sock()
    5bba01d9fa78 maple_tree: add mas_is_active() to detect in-tree walks
    457fbd6eb4e4 ASoC: tegra: Fix redundant PLLA and PLLA_OUT0 updates
    cab7a48935cf ASoC: soc-utils: Export snd_soc_dai_is_dummy() symbol

(From OE-Core rev: 3884222c767196962df05d13228e7850e060a07d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-13 11:53:06 +01:00
Bruce Ashfield
321333bb21 linux-yocto/6.5: tiny: fix arm 32 boot
Integrating the following commit(s) to linux-yocto/.:

    b8c36f31e96 qemuarma15: add ARM_PATCH_PHYS_VIRT

(From OE-Core rev: 77a22fe13f28f1e21313283752dfc4f578c75dc3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-13 11:53:06 +01:00
Bruce Ashfield
d309dfe4ce linux-yocto/6.1: tiny: fix arm 32 boot
Integrating the following commit(s) to linux-yocto/.:

    0816d0a6984 qemuarma15: add ARM_PATCH_PHYS_VIRT

(From OE-Core rev: 732d1ee4bc824cb52fab4327601efdb1558b6d9c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-13 11:53:06 +01:00
Bruce Ashfield
4b52a3f18c linux-yocto/6.5: update to v6.5.6
Updating  to the latest korg -stable release that comprises
the following commits:

    0c3f363d1c15 Linux 6.5.6
    5e286056667a ASoC: amd: yc: Fix a non-functional mic on Lenovo 82TL
    44befc89397e mm, memcg: reconsider kmem.limit_in_bytes deprecation
    471ce44a1f30 memcg: drop kmem.limit_in_bytes
    3f47b0391bae rbd: take header_rwsem in rbd_dev_refresh() only when updating
    907f4f29789e rbd: decouple parent info read-in from updating rbd_dev
    d1de64c03983 rbd: decouple header read-in from updating rbd_dev->header
    d0373eb1a755 rbd: move rbd_dev_refresh() definition
    43b63e088887 drm/meson: fix memory leak on ->hpd_notify callback
    79aec38ba852 drm/amd/display: fix the ability to use lower resolution modes on eDP
    fc69646fc8f5 drm/amdkfd: Use gpu_offset for user queue's wptr
    bc15bb91460a fs: binfmt_elf_efpic: fix personality for ELF-FDPIC
    1d6b34da02b5 power: supply: ab8500: Set typing and props
    883d5811c528 power: supply: rk817: Add missing module alias
    280fe281c89b drm/i915/gt: Fix reservation address in ggtt_reserve_guc_top
    c81803b432c6 i915: Limit the length of an sg list to the requested length
    b6bb3bcb8238 ata: libata-sata: increase PMP SRST timeout to 10s
    5514987aef4a ata: libata-core: Do not register PM operations for SAS ports
    78b7119f3bed ata: libata-core: Fix port and device removal
    dfc77502d6e7 ata: libata-core: Fix ata_port_request_pm() locking
    459ee86211d4 tracing/user_events: Align set_bit() address for all archs
    0c116005af55 fs/smb/client: Reset password pointer to NULL
    ddf013bc905e thermal: sysfs: Fix trip_point_hyst_store()
    5aaa6b31f149 net: thunderbolt: Fix TCPv6 GSO checksum calculation
    5fb40c7de8d7 bpf: Fix BTF_ID symbol generation collision in tools/
    7037b8dc206a bpf: Fix BTF_ID symbol generation collision
    f2a76aeeee1b bpf: Add override check to kprobe multi link attach
    8bcf70d787f7 media: uvcvideo: Fix OOB read
    d82b1eaf9071 btrfs: properly report 0 avail for very full file systems
    ef1054fb901a btrfs: fix race between reading a directory and adding entries to it
    73b4e302165b btrfs: set last dir index to the current last index when opening dir
    59a051389e14 btrfs: file_remove_privs needs an exclusive lock in direct io write
    7bcb92540536 btrfs: refresh dir last index during a rewinddir(3) call
    fed9f0c06f65 ring-buffer: Update "shortest_full" in polling
    01cba4eece7d ring-buffer: Fix bytes info in per_cpu buffer stats
    8067b844c920 cxl/pci: Fix appropriate checking for _OSC while handling CXL RAS registers
    560e15b9b48f cxl/port: Fix cxl_test register enumeration regression
    7bc7cbf9ef69 mm: memcontrol: fix GFP_NOFS recursion in memory.high enforcement
    eaf409c8d4b1 mm: page_alloc: fix CMA and HIGHATOMIC landing on the wrong buddy list
    51988be187b0 mm/slab_common: fix slab_caches list corruption after kmem_cache_destroy()
    4fbc764c91eb mm: mempolicy: keep VMA walk if both MPOL_MF_STRICT and MPOL_MF_MOVE are specified
    23264bdc2bad selftests/mm: fix awk usage in charge_reserved_hugetlb.sh and hugetlb_reparenting_test.sh that may cause error
    6b522001693a mm/damon/vaddr-test: fix memory leak in damon_do_test_apply_three_regions()
    2f5a4cff85fa arm64: defconfig: remove CONFIG_COMMON_CLK_NPCM8XX=y
    ee24e16620cd cxl/mbox: Fix CEL logic for poison and security commands
    3397cc43c6dd drm/tests: Fix incorrect argument in drm_test_mm_insert_range
    1bd4f97552d4 timers: Tag (hr)timer softirq as hotplug safe
    26a70537ffc0 ACPI: NFIT: Fix incorrect calculation of idt size
    532f992935e3 NFSv4: Fix a state manager thread deadlock regression
    975df6b0c34c Revert "SUNRPC dont update timeout value on connection reset"
    e8d3df1df766 sched/rt: Fix live lock between select_fallback_rq() and RT push
    9f3f2a3acdfb kernel/sched: Modify initial boot task idle setup
    fefec7fbd90a ASoC: amd: yc: Fix non-functional mic on Lenovo 82QF and 82UG
    af57b1747772 i2c: i801: unregister tco_pdev in i801_probe() error path
    a4f5f1e846d8 io_uring/fs: remove sqe->rw_flags checking from LINKAT
    47cd820721d6 ata: libata-scsi: ignore reserved bits for REPORT SUPPORTED OPERATION CODES
    2bbeebe203d2 scsi: sd: Do not issue commands to suspended disks on shutdown
    dc5ab9e18489 scsi: sd: Differentiate system and runtime start/stop management
    b1a076133d4c ata: libata-scsi: link ata port and scsi device
    2447c5b947bd LoongArch: Add support for 64_PCREL relocation type
    d5725efed545 LoongArch: Add support for 32_PCREL relocation type
    fa9874928dcb LoongArch: numa: Fix high_memory calculation
    e10bf1871b11 LoongArch: Define relocation types for ABI v2.10
    eb9681d36bbc LoongArch: Fix lockdep static memory detection
    e9b20aa75921 ALSA: hda: Disable power save for solving pop issue on Lenovo ThinkCentre M70q
    d8bbfab02d1a ALSA: rawmidi: Fix NULL dereference at proc read
    3eb82c2bd446 crypto: sm2 - Fix crash caused by uninitialized context
    28df4646ad8b nilfs2: fix potential use after free in nilfs_gccache_submit_read_data()
    3345cc5f02f1 serial: 8250_port: Check IRQ data before use
    37ee7bd247fc scsi: core: ata: Do no try to probe for CDL on old drives
    2bff660e0ff3 Revert "tty: n_gsm: fix UAF in gsm_cleanup_mux"
    f8d2e6429139 misc: rtsx: Fix some platforms can not boot and move the l1ss judgment to probe
    02447cd84afc mptcp: process pending subflow error on close
    6be989cb472e mptcp: move __mptcp_error_report in protocol.c
    2bef7c8c3950 mptcp: fix bogus receive window shrinkage with multiple subflows
    9e52fd594992 KVM: x86/mmu: Stop zapping invalidated TDP MMU roots asynchronously
    f1f5d279d7e8 KVM: x86/mmu: Do not filter address spaces in for_each_tdp_mmu_root_yield_safe()
    f654c202a318 KVM: x86/mmu: Open code leaf invalidation from mmu_notifier
    c416989d0b8e KVM: SVM: Fix TSC_AUX virtualization setup
    822425a9d40c KVM: SVM: INTERCEPT_RDTSCP is never intercepted anyway
    cf43b304b695 x86/srso: Add SRSO mitigation for Hygon processors
    1348f7f15d7c x86/sgx: Resolves SECS reclaim vs. page fault for EAUG race
    3d0d8a6ea424 spi: zynqmp-gqspi: fix clock imbalance on probe failure
    3283a1bce9bb iommu/arm-smmu-v3: Fix soft lockup triggered by arm_smmu_mm_invalidate_range
    71c7428d0dc1 ASoC: cs35l56: Call pm_runtime_dont_use_autosuspend()
    2f0d613bfca0 perf build: Define YYNOMEM as YYNOABORT for bison < 3.81
    c8745e60f29d fbdev/sh7760fb: Depend on FB=y
    19878758accf LoongArch: Set all reserved memblocks on Node#0 at initialization
    560e49419100 LoongArch: Use _UL() and _ULL()
    55aba54dea4a i2c: designware: fix __i2c_dw_disable() in case master is holding SCL low
    73ab62301400 gfs2: fix glock shrinker ref issues
    f057b2c710a0 tsnep: Fix NAPI polling with budget 0
    11a5377e0925 tsnep: Fix ethtool channels
    e36aa9fa253b tsnep: Fix NAPI scheduling
    10ee8a00cb0e net: hsr: Add __packed to struct hsr_sup_tlv.
    c656c63e6264 ncsi: Propagate carrier gain/loss events to the NCSI controller
    c91f3228fa94 powerpc/watchpoints: Annotate atomic context in more places
    3799888a6b88 powerpc/watchpoint: Disable pagefaults when getting user instruction
    98ac791d4000 powerpc/watchpoints: Disable preemption in thread_change_pc()
    633f3563b2a4 ASoC: SOF: Intel: MTL: Reduce the DSP init timeout
    f0bd27149966 NFSv4.1: fix zero value filehandle in post open getattr
    1e1f2aeb7337 media: vb2: frame_vector.c: replace WARN_ONCE with a comment
    767176f849bf ASoC: SOF: sof-audio: Fix DSP core put imbalance on widget setup failure
    dfc15af9edfd ASoC: imx-rpmsg: Set ignore_pmdown_time for dai_link
    4a8e6742b0d0 memblock tests: fix warning ‘struct seq_file’ declared inside parameter list
    b46983198d21 memblock tests: fix warning: "__ALIGN_KERNEL" redefined
    c12eda0a22ce ASoC: wm_adsp: Fix missing locking in wm_adsp_[read|write]_ctl()
    12bf8311da03 firmware: cirrus: cs_dsp: Only log list of algorithms in debug build
    682659829e96 ASoC: cs42l42: Avoid stale SoundWire ATTACH after hard reset
    a5188f7fedaf ASoC: cs42l42: Don't rely on GPIOD_OUT_LOW to set RESET initially low
    068b0f7e07bd ASoC: cs42l42: Ensure a reset pulse meets minimum pulse width.
    daac7df91691 ALSA: hda: intel-sdw-acpi: Use u8 type for link index
    df28f6bbc8aa ASoC: rt5640: Only cancel jack-detect work on suspend if active
    8db07f90f281 bpf: Clarify error expectations from bpf_clone_redirect
    1d50dcc52012 spi: intel-pci: Add support for Granite Rapids SPI serial flash
    75ebf2efb708 ASoC: fsl: imx-pcm-rpmsg: Add SNDRV_PCM_INFO_BATCH flag
    5c96cfcf7057 spi: stm32: add a delay before SPI disable
    d83f069fcbe2 spi: nxp-fspi: reset the FLSHxCR1 registers
    db7632bd3845 Add DMI ID for MSI Bravo 15 B7ED
    c2b53434df7a ata: libata-eh: do not thaw the port twice in ata_eh_reset()
    e86c64afbbec ata: libata-eh: do not clear ATA_PFLAG_EH_PENDING in ata_eh_reset()
    1aaff2ce9493 smb3: correct places where ENOTSUPP is used instead of preferred EOPNOTSUPP
    22e6d783a330 scsi: pm80xx: Avoid leaking tags when processing OPC_INB_SET_CONTROLLER_CONFIG command
    6ee6128efb3a scsi: pm80xx: Use phy-specific SAS address when sending PHY_START command
    4ce28dbbbedf riscv: errata: fix T-Head dcache.cva encoding
    b62561b266f8 nvme-pci: do not set the NUMA node of device if it has none
    9e35b16b2fa6 objtool: Fix _THIS_IP_ detection for cold functions
    109063d6b222 drm/amdgpu: Handle null atom context in VBIOS info ioctl
    bfd7ecee601d drm/amdkfd: Checkpoint and restore queues on GFX11
    ea3f2bff5ab7 drm/amdgpu: fallback to old RAS error message for aqua_vanjaram
    a663c199b4d6 drm/amdgpu/nbio4.3: set proper rmmio_remap.reg_offset for SR-IOV
    c634d78245b2 drm/amdgpu/soc21: don't remap HDP registers for SR-IOV
    c1faca7fa88c drm/amd/display: Don't check registers, if using AUX BL control
    8e47e585b630 drm/amdkfd: Update CU masking for GFX 9.4.3
    8ffd9453dc2b drm/amdkfd: Update cache info reporting for GFX v9.4.3
    830807d1fb11 drm/amdgpu: Store CU info from all XCCs for GFX v9.4.3
    652ba144b190 thermal/of: add missing of_node_put()
    99c535d97092 platform/x86: asus-wmi: Support 2023 ROG X16 tablet mode
    511784d9e480 platform/mellanox: mlxbf-bootctl: add NET dependency into Kconfig
    164eaebff0af efi/x86: Ensure that EFI_RUNTIME_MAP is enabled for kexec
    79c6bb2be2c0 ata: sata_mv: Fix incorrect string length computation in mv_dump_mem()
    812e69bfc445 net/smc: bugfix for smcr v2 server connect success statistic
    75fc9e99b3a7 ring-buffer: Do not attempt to read past "commit"
    c06f3b07566f selftests: fix dependency checker script
    806bd126ec5d btrfs: assert delayed node locked when removing delayed item
    8e35b261e381 ring-buffer: Avoid softlockup in ring_buffer_resize()
    6c9ceeaa275e selftests/ftrace: Correctly enable event in instance-event.tc
    f75e0670d511 scsi: ufs: core: Poll HCS.UCRDY before issuing a UIC command
    129dbfdd8281 scsi: ufs: core: Move __ufshcd_send_uic_cmd() outside host_lock
    01345a59c6e0 scsi: qedf: Add synchronization between I/O completions and abort
    ef26ca55348b parisc: irq: Make irq_stack_union static to avoid sparse warning
    f1fb571e9141 parisc: drivers: Fix sparse warning
    b398e1bef223 parisc: iosapic.c: Fix sparse warnings
    4f944136c63a parisc: ccio-dma: Fix sparse warnings
    503b10a1a507 parisc: sba-iommu: Fix sparse warnigs
    24aa18b6345a parisc: sba: Fix compile warning wrt list of SBA devices
    dd46b3ac7322 nvme-fc: Prevent null pointer dereference in nvme_fc_io_getuuid()
    4e149d524678 spi: sun6i: fix race between DMA RX transfer completion and RX FIFO drain
    b3c21c9c7289 spi: sun6i: reduce DMA RX transfer width to single byte
    77562272fbf3 ASoC: amd: yc: Add DMI entries to support Victus by HP Gaming Laptop 15-fb0xxx (8A3E)
    e562de67dc91 bpf: Annotate bpf_long_memcpy with data_race
    fe2b811a02c3 dma-debug: don't call __dma_entry_alloc_check_leak() under free_entries_lock
    47f82395f04a ceph: drop messages from MDS when unmounting
    65edea77d700 x86/reboot: VMCLEAR active VMCSes before emergency reboot
    8a017a273b87 NFSD: Fix zero NFSv4 READ results when RQ_SPLICE_OK is not set
    d7863b8f5a4e i2c: npcm7xx: Fix callback completion ordering
    b226972a04ff gpio: pmic-eic-sprd: Add can_sleep flag for PMIC EIC chip
    c4648be6b9b3 accel/ivpu: Use cached buffers for FW loading
    59908c76cef7 accel/ivpu: Do not use wait event interruptible
    915847cceb71 i915/guc: Get runtime pm in busyness worker only if already active
    0f61048992ce firmware: arm_ffa: Don't set the memory region attributes for MEM_LEND
    5dbead1a5af8 arm64: dts: imx: Add imx8mm-prt8mm.dtb to build
    55f82f3a1850 arm64: dts: imx8mm-evk: Fix hdmi@3d node
    5648afd7c15b soc: imx8m: Enable OCOTP clock for imx8mm before reading registers
    3cb0f98499e3 arm64: dts: imx8mp-beacon-kit: Fix audio_pll2 clock
    9d8631d09868 arm64: dts: imx8mp: Fix SDMA2/3 clocks
    b949646c3dea selftests/powerpc: Fix emit_tests to work with run_kselftest.sh
    59d64197508f powerpc/stacktrace: Fix arch_stack_walk_reliable()
    70326b46b6a0 power: supply: rk817: Fix node refcount leak
    fe25f30cc326 xtensa: boot/lib: fix function prototypes
    4d00e9ed40d4 xtensa: umulsidi3: fix conditional expression
    6a08d2ca6ca9 xtensa: boot: don't add include-dirs
    21d2beffef85 xtensa: iss/network: make functions static
    27eb66bdf50a xtensa: add default definition for XCHAL_HAVE_DIV32
    50d14cd5a67e firmware: imx-dsp: Fix an error handling path in imx_dsp_setup_channels()
    d9b092769b58 power: supply: core: fix use after free in uevent
    25ef0a06f126 power: supply: rt9467: Fix rt9467_run_aicl()
    274d39581c80 power: supply: ucs1002: fix error code in ucs1002_get_property()
    3eb2c018708a swiotlb: use the calculated number of areas
    8f66e484d4bd bus: ti-sysc: Fix SYSC_QUIRK_SWSUP_SIDLE_ACT handling for uart wake-up
    748b24475001 ARM: dts: ti: omap: motorola-mapphone: Fix abe_clkctrl warning on boot
    9b42678b1ad0 ARM: dts: ti: omap: Fix bandgap thermal cells addressing for omap3/4
    e4e01cd5219c clk: tegra: fix error return case for recalc_rate
    99b5d9adf441 clk: si521xx: Fix regmap write accessor
    b0fe3096662c clk: si521xx: Use REGCACHE_FLAT instead of NONE
    72df907bef8f clk: sprd: Fix thm_parents incorrect configuration
    3a847712a1f6 power: supply: mt6370: Fix missing error code in mt6370_chg_toggle_cfo()
    3aeffe442077 firmware: arm_scmi: Fixup perf power-cost/microwatt support
    a6575f349ffa firmware: arm_scmi: Harden perf domain info access
    4d3f6b2a2f13 bus: ti-sysc: Fix missing AM35xx SoC matching
    45071e27a00c bus: ti-sysc: Use fsleep() instead of usleep_range() in sysc_reset()
    27dc0d54b296 spi: spi-gxp: BUG: Correct spi write return value
    45e91af6a929 MIPS: Alchemy: only build mmc support helpers if au1xmmc is enabled
    52093779b183 vfio/mdev: Fix a null-ptr-deref bug for mdev_unregister_parent()
    56ad3015e39e btrfs: reset destination buffer when read_extent_buffer() gets invalid range
    aaa8ceca93fa direct_write_fallback(): on error revert the ->ki_pos update from buffered write
    82dacd0ca0d9 arm64: dts: qcom: sdm845-db845c: Mark cont splash memory region as reserved
    2b4c845a613b drm/amd/display: fix a regression in blank pixel data caused by coding mistake
    5934e2ab73f5 drm/amd/display: Update DPG test pattern programming
    4b839049cc5c ASoC: cs35l56: Disable low-power hibernation mode
    2c4cc4d787a5 drm/amdgpu: set completion status as preempted for the resubmission
    cb665adeec45 i2c: xiic: Correct return value check for xiic_reinit()
    9553546feb29 i2c: mux: gpio: Add missing fwnode_handle_put()
    8406f0fe2ebd i2c: mux: demux-pinctrl: check the return value of devm_kstrdup()
    395f07124431 gpio: tb10x: Fix an error handling path in tb10x_gpio_probe()
    76569e3819e0 cifs: Fix UAF in cifs_demultiplex_thread()
    674a8a9f7848 proc: nommu: fix empty /proc/<pid>/maps
    ffe07e1d1a97 proc: nommu: /proc/<pid>/maps: release mmap read lock
    dcdbc22ce055 cxl/region: Match auto-discovered region decoders by HPA range
    3ea4d0745dd4 igc: Expose tx-usecs coalesce setting to user
    2e800300b524 octeontx2-pf: Do xdp_do_flush() after redirects.
    e07515c57749 bnxt_en: Flush XDP for bnxt_poll_nitroa0()'s NAPI
    801cadbde2dd net: ena: Flush XDP packets on error.
    80d51aa81e26 locking/seqlock: Do the lockdep annotation before locking in do_write_seqcount_begin_nested()
    5a6ad94b6274 drm/virtio: clean out_fence on complete_submit
    eb74cf25a8c8 i915/pmu: Move execlist stats initialization to execlist specific setup
    1751e4498046 net/handshake: Fix memory leak in __sock_create() and sock_alloc_file()
    a10813260193 net: hinic: Fix warning-hinic_set_vlan_fliter() warn: variable dereferenced before check 'hwdev'
    20a93d402b6f netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP
    5e5754e9e77c netfilter: nf_tables: disable toggling dormant table state more than once
    9a226a189aa1 vxlan: Add missing entries to vxlan_get_size()
    069ac51c37a6 net: rds: Fix possible NULL-pointer dereference
    2eebf58ce030 locking/atomic: scripts: fix fallback ifdeffery
    cac50d9f5d87 team: fix null-ptr-deref when team device type is changed
    f2ef4cb4d418 net: bridge: use DEV_STATS_INC()
    5b7321f5384d net: hns3: add 5ms delay before clear firmware reset irq source
    4d22d1d8d5ad net: hns3: fix fail to delete tc flower rules during reset issue
    43302d93a495 net: hns3: only enable unicast promisc when mac table full
    07810b795ce4 net: hns3: fix GRE checksum offload issue
    8399206e694c net: hns3: add cmdq check for vf periodic service task
    e3cb8b2c391b x86/srso: Fix SBPB enablement for spec_rstack_overflow=off
    96834afc3e49 x86/srso: Don't probe microcode in a guest
    afae367e91c8 x86/srso: Set CPUID feature bits independently of bug or mitigation status
    67418b4b4f13 x86/srso: Fix srso_show_state() side effect
    fdcc085dec3c x86/asm: Fix build of UML with KASAN
    744eeabd7157 platform/x86: intel_scu_ipc: Fail IPC send if still busy
    618aa01f7ff5 platform/x86: intel_scu_ipc: Don't override scu in intel_scu_ipc_dev_simple_command()
    09e1a620f708 platform/x86: intel_scu_ipc: Check status upon timeout in ipc_wait_for_interrupt()
    341a8fd4eef4 platform/x86: intel_scu_ipc: Check status after timeout in busy_loop()
    4b53879b9f50 net: hsr: Properly parse HSRv1 supervisor frames.
    d2dfbc0e3b7a x86/mm, kexec, ima: Use memblock_free_late() from ima_free_kexec_buffer()
    1512d8f45d3c dccp: fix dccp_v4_err()/dccp_v6_err() again
    82c302f3eb99 powerpc/dexcr: Move HASHCHK trap handler
    1f55797de0ef powerpc/perf/hv-24x7: Update domain value check
    502386ae61f9 scsi: iscsi_tcp: restrict to TCP sockets
    cda20fcddf53 ipv4: fix null-deref in ipv4_link_failure
    f82def005375 igc: Fix infinite initialization loop with early XDP redirect
    04fe6c09129b ionic: fix 16bit math issue when PAGE_SIZE >= 64KB
    c3bfd4588b89 netfilter, bpf: Adjust timeouts of non-confirmed CTs in bpf_ct_insert_entry()
    eefc7f7f6a52 i40e: Fix VF VLAN offloading when port VLAN is configured
    3680526cbbee iavf: schedule a request immediately after add/delete vlan
    abab434231b5 iavf: add iavf_schedule_aq_request() helper
    867009dcfbd1 ASoC: SOF: core: Only call sof_ops_free() on remove if the probe was successful
    d4d1fdaaace7 iavf: do not process adminq tasks when __IAVF_IN_REMOVE_TASK is set
    21645c352038 octeon_ep: fix tx dma unmap len values in SG
    6a2dbdd1f0f2 ASoC: imx-audmix: Fix return error with devm_clk_get()
    62a09e61afa2 ASoC: hdaudio.c: Add missing check for devm_kstrdup
    ac451e0a4700 ALSA: seq: ump: Fix -Wformat-truncation warning
    48e105a2a1a1 net/core: Fix ETH_P_1588 flow dissector
    959a41af6a8f selftests: tls: swap the TX and RX sockets in some tests
    e4f3cc315dc2 net: microchip: sparx5: Fix possible memory leaks in vcap_api_kunit
    7e7c9e2de0d1 net: microchip: sparx5: Fix possible memory leaks in test_vcap_xn_rule_creator()
    ef75ee8184ea net: microchip: sparx5: Fix possible memory leak in vcap_api_encode_rule_test()
    af47fc1fa713 net: microchip: sparx5: Fix memory leak for vcap_api_rule_add_actionvalue_test()
    79c19b1e55ea net: microchip: sparx5: Fix memory leak for vcap_api_rule_add_keyvalue_test()
    4e579e8297a3 ASoC: SOF: ipc4-topology: fix wrong sizeof argument
    ef2b3d6e6a33 memblock tests: Fix compilation errors.
    144ed54ed6ec uapi: stddef.h: Fix __DECLARE_FLEX_ARRAY for C++
    721045f22e1a uapi: stddef.h: Fix header guard location
    cc17adeef726 Compiler Attributes: counted_by: Adjust name and identifier expansion
    1f5b5fdb6727 netfilter: nf_tables: Fix entries val in rule reset audit log
    130fa1f00cb0 netfilter: conntrack: fix extension size table
    38afb9f69871 ALSA: hda/realtek: Splitting the UX3402 into two separate models
    10e7799c43f8 selftests/bpf: fix unpriv_disabled check in test_verifier
    364f95cd7026 bpf: Fix a erroneous check after snprintf()
    1b32bfcae2db ASoC: rt5640: Fix IRQ not being free-ed for HDA jack detect mode
    9d9211b46965 ASoC: rt5640: Enable the IRQ on resume after configuring jack-detect
    55b34a5041a0 ASoC: rt5640: Do not disable/enable IRQ twice on suspend/resume
    eae3f68df4d6 ASoC: rt5640: fix typos
    b049adc8602d ASoC: rt5640: Fix sleep in atomic context
    4dcbd5acd51d ASoC: rt5640: Revert "Fix sleep in atomic context"
    0c1fb88020c8 ALSA: seq: Avoid delivery of events for disabled UMP groups
    66ea3d810245 ALSA: docs: Fix a typo of midi2_ump_probe option for snd-usb-audio
    8680cf1f96a7 bpf: Avoid dummy bpf_offload_netdev in __bpf_prog_dev_bound_init
    232f0ba4d692 bpf: Avoid deadlock when using queue and stack maps from NMI
    6c2e14525d45 netfilter: nf_tables: disallow element removal on anonymous sets
    ae57621daf86 ASoC: meson: spdifin: start hw on dai probe
    13f385f99147 netfilter: nf_tables: disallow rule removal from chain binding
    4aea243b6853 netfilter: nf_tables: fix memleak when more than 255 elements expired
    12c8124b9e21 netfilter: nft_set_hash: try later when GC hits EAGAIN on iteration
    db15e180fa4b netfilter: nft_set_pipapo: stop GC iteration if GC transaction allocation fails
    1e478aa1bfec netfilter: nft_set_pipapo: call nft_trans_gc_queue_sync() in catchall GC
    1b37e05e9b4b netfilter: nft_set_rbtree: use read spinlock to avoid datapath contention
    52bb9b7a5333 ext4: do not let fstrim block system suspend
    5b4773177e28 ext4: move setting of trimmed bit into ext4_try_to_trim_range()
    6f41e50bf16a ext4: replace the traditional ternary conditional operator with with max()/min()
    d10fd53393cc btrfs: remove BUG() after failure to insert delayed dir index item
    e6dbd0bb6946 btrfs: improve error message after failure to add delayed dir index item
    d9f5537479d4 netfs: Only call folio_start_fscache() one time for each folio
    b839de5296cc gfs2: Fix another freeze/thaw hang
    6f54da8aaee7 media: via: Use correct dependency for camera sensor drivers
    4945a4af1495 media: v4l: Use correct dependency for camera sensor drivers
    d1db10f1918d NFSv4.1: fix pnfs MDS=DS session trunking
    0317d19e26e3 NFSv4.1: use EXCHGID4_FLAG_USE_PNFS_DS for DS server
    7b5955944a94 SUNRPC: Mark the cred for revalidation if the server rejects it
    5110e5473f83 NFS/pNFS: Report EINVAL errors from connect() to the server
    8d847b5c51c1 NFS: More fixes for nfs_direct_write_reschedule_io()
    ad986ce7ef8a NFS: Use the correct commit info in nfs_join_page_group()
    0449e8f4ceff NFS: More O_DIRECT accounting fixes for error paths
    8d11e1e0aa21 NFS: Fix O_DIRECT locking issues
    2aed39c39e9e NFS: Fix error handling for O_DIRECT write scheduling

(From OE-Core rev: e1e242618d6e90a95c910a925799297ed8b3e632)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-13 11:53:06 +01:00
Bruce Ashfield
efd0f45624 linux-yocto/6.1: update to v6.1.56
Updating  to the latest korg -stable release that comprises
the following commits:

    ecda77b46871 Linux 6.1.56
    8c515d4f2d66 ASoC: amd: yc: Fix a non-functional mic on Lenovo 82TL
    a3c1da448353 mm, memcg: reconsider kmem.limit_in_bytes deprecation
    b8901b6c2e9b memcg: drop kmem.limit_in_bytes
    ee335e0094ad drm/meson: fix memory leak on ->hpd_notify callback
    b60028c81e46 drm/amdkfd: Use gpu_offset for user queue's wptr
    48a22f13fb1b fs: binfmt_elf_efpic: fix personality for ELF-FDPIC
    69e61ee8ea8a power: supply: ab8500: Set typing and props
    c038ebffbb48 power: supply: rk817: Add missing module alias
    69dd84470b4d drm/i915/gt: Fix reservation address in ggtt_reserve_guc_top
    60d2e06ad6e3 ata: libata-sata: increase PMP SRST timeout to 10s
    886f387db1e6 ata: libata-core: Do not register PM operations for SAS ports
    5cfbe6da8354 ata: libata-core: Fix port and device removal
    0b7aaf2058ba ata: libata-core: Fix ata_port_request_pm() locking
    f555a508087a fs/smb/client: Reset password pointer to NULL
    1983fd78701a net: thunderbolt: Fix TCPv6 GSO checksum calculation
    4fb56e82d939 bpf: Fix BTF_ID symbol generation collision in tools/
    4f1e3e02777b bpf: Fix BTF_ID symbol generation collision
    b1041cab4726 bpf: Add override check to kprobe multi link attach
    09635bf4cdd4 media: uvcvideo: Fix OOB read
    d6a749e4cab2 btrfs: properly report 0 avail for very full file systems
    f3ad8874541d ring-buffer: Update "shortest_full" in polling
    6bacdb914a99 mm: memcontrol: fix GFP_NOFS recursion in memory.high enforcement
    a5569bb18752 mm/slab_common: fix slab_caches list corruption after kmem_cache_destroy()
    9a4fe81a8644 mm/damon/vaddr-test: fix memory leak in damon_do_test_apply_three_regions()
    68a63a077e02 arm64: defconfig: remove CONFIG_COMMON_CLK_NPCM8XX=y
    b29756aefe03 drm/tests: Fix incorrect argument in drm_test_mm_insert_range
    a90eafbf165f timers: Tag (hr)timer softirq as hotplug safe
    f32340c70eb9 Revert "SUNRPC dont update timeout value on connection reset"
    1e4c03d530d8 netfilter: nf_tables: fix kdoc warnings after gc rework
    49903f70d728 sched/rt: Fix live lock between select_fallback_rq() and RT push
    787256ec9b44 kernel/sched: Modify initial boot task idle setup
    afa2bbd682c7 ASoC: amd: yc: Fix non-functional mic on Lenovo 82QF and 82UG
    829ff08be566 i2c: i801: unregister tco_pdev in i801_probe() error path
    75c307d9f2fb io_uring/fs: remove sqe->rw_flags checking from LINKAT
    06fba8a8dea2 ata: libata-scsi: ignore reserved bits for REPORT SUPPORTED OPERATION CODES
    476fd029e700 ata: libata-scsi: link ata port and scsi device
    490f3b805ee3 LoongArch: numa: Fix high_memory calculation
    7bc8585aa071 LoongArch: Define relocation types for ABI v2.10
    f04ded9ae268 ALSA: hda: Disable power save for solving pop issue on Lenovo ThinkCentre M70q
    9af8bb2afea3 netfilter: nf_tables: disallow rule removal from chain binding
    980663f1d189 nilfs2: fix potential use after free in nilfs_gccache_submit_read_data()
    e14f68a48fd4 serial: 8250_port: Check IRQ data before use
    c61d0b87a702 Revert "tty: n_gsm: fix UAF in gsm_cleanup_mux"
    37435ddfadc6 misc: rtsx: Fix some platforms can not boot and move the l1ss judgment to probe
    5d6613ed2b7d mptcp: fix bogus receive window shrinkage with multiple subflows
    00c27bffdba6 KVM: x86/mmu: Do not filter address spaces in for_each_tdp_mmu_root_yield_safe()
    cd41db6cb285 KVM: x86/mmu: Open code leaf invalidation from mmu_notifier
    733d7a5451fc KVM: SVM: Fix TSC_AUX virtualization setup
    e86a3a622633 KVM: SVM: INTERCEPT_RDTSCP is never intercepted anyway
    6ce2f297a716 x86/srso: Add SRSO mitigation for Hygon processors
    811ba2ef0cb6 x86/sgx: Resolves SECS reclaim vs. page fault for EAUG race
    f90f4c562003 iommu/arm-smmu-v3: Fix soft lockup triggered by arm_smmu_mm_invalidate_range
    a09446ac0414 smack: Retrieve transmuting information in smack_inode_getsecurity()
    cbb16d0f4996 smack: Record transmuting in smk_transmuted
    4b8ef68e39d2 nvme-pci: always return an ERR_PTR from nvme_pci_alloc_dev
    1d7bc76b5849 scsi: qla2xxx: Fix NULL pointer dereference in target mode
    1a51d35ba729 wifi: ath11k: Don't drop tx_status when peer cannot be found
    a60768c05b58 nvme-pci: do not set the NUMA node of device if it has none
    6b2165cae403 nvme-pci: factor out a nvme_pci_alloc_dev helper
    69bc295d0e0b nvme-pci: factor the iod mempool creation into a helper
    9ebee88a8911 perf build: Define YYNOMEM as YYNOABORT for bison < 3.81
    8e85af2c682e fbdev/sh7760fb: Depend on FB=y
    f105e893a8ed LoongArch: Set all reserved memblocks on Node#0 at initialization
    146ba159f5a6 tsnep: Fix NAPI polling with budget 0
    78ac1e7dec24 tsnep: Fix NAPI scheduling
    b09c1359e4f0 net: hsr: Add __packed to struct hsr_sup_tlv.
    97788f0757bd ncsi: Propagate carrier gain/loss events to the NCSI controller
    c93aa8cfaec4 powerpc/watchpoints: Annotate atomic context in more places
    3632e9fd82d0 powerpc/watchpoint: Disable pagefaults when getting user instruction
    16722418cbe3 powerpc/watchpoints: Disable preemption in thread_change_pc()
    ee8bbb2a31d3 ASoC: SOF: Intel: MTL: Reduce the DSP init timeout
    3608be186ae5 NFSv4.1: fix zero value filehandle in post open getattr
    e9f05ae6f636 media: vb2: frame_vector.c: replace WARN_ONCE with a comment
    28c369324922 ASoC: imx-rpmsg: Set ignore_pmdown_time for dai_link
    1c88886587d3 memblock tests: fix warning ‘struct seq_file’ declared inside parameter list
    729757fe9718 memblock tests: fix warning: "__ALIGN_KERNEL" redefined
    53618d56bfe4 firmware: cirrus: cs_dsp: Only log list of algorithms in debug build
    110e6f575028 ASoC: cs42l42: Don't rely on GPIOD_OUT_LOW to set RESET initially low
    cbc43ddd5ce2 ASoC: cs42l42: Ensure a reset pulse meets minimum pulse width.
    019f01f81887 ALSA: hda: intel-sdw-acpi: Use u8 type for link index
    92f24f98d5ff bpf: Clarify error expectations from bpf_clone_redirect
    60446b5e7486 spi: intel-pci: Add support for Granite Rapids SPI serial flash
    12716449289e ASoC: fsl: imx-pcm-rpmsg: Add SNDRV_PCM_INFO_BATCH flag
    85ca138f922c spi: stm32: add a delay before SPI disable
    84592ec591be spi: nxp-fspi: reset the FLSHxCR1 registers
    d5ae9d9f0c41 ata: libata-eh: do not clear ATA_PFLAG_EH_PENDING in ata_eh_reset()
    2132ea3f9f5a smb3: correct places where ENOTSUPP is used instead of preferred EOPNOTSUPP
    2259e1901b2d scsi: pm80xx: Avoid leaking tags when processing OPC_INB_SET_CONTROLLER_CONFIG command
    82f575a7e811 scsi: pm80xx: Use phy-specific SAS address when sending PHY_START command
    6e392ff88476 riscv: errata: fix T-Head dcache.cva encoding
    91b6845ef387 drm/amdgpu: Handle null atom context in VBIOS info ioctl
    ad3c37f90bae drm/amdgpu/nbio4.3: set proper rmmio_remap.reg_offset for SR-IOV
    cca15a827907 drm/amdgpu/soc21: don't remap HDP registers for SR-IOV
    b9971393d4c9 drm/amd/display: Don't check registers, if using AUX BL control
    49bdfc83c74a thermal/of: add missing of_node_put()
    d6a68f163246 platform/x86: asus-wmi: Support 2023 ROG X16 tablet mode
    d1f916c6eb0c platform/mellanox: mlxbf-bootctl: add NET dependency into Kconfig
    dfbcef80dda9 ata: sata_mv: Fix incorrect string length computation in mv_dump_mem()
    797d75bd575c net/smc: bugfix for smcr v2 server connect success statistic
    b08a4938229d ring-buffer: Do not attempt to read past "commit"
    baa1634bc936 selftests: fix dependency checker script
    45ad79c9cb50 btrfs: assert delayed node locked when removing delayed item
    11054f0b889f ring-buffer: Avoid softlockup in ring_buffer_resize()
    a687e817d814 selftests/ftrace: Correctly enable event in instance-event.tc
    5fb322df090e scsi: ufs: core: Poll HCS.UCRDY before issuing a UIC command
    81a6cdfcfd23 scsi: ufs: core: Move __ufshcd_send_uic_cmd() outside host_lock
    843348f9e4aa scsi: qedf: Add synchronization between I/O completions and abort
    655e9d209c06 parisc: irq: Make irq_stack_union static to avoid sparse warning
    8a2c2630e18d parisc: drivers: Fix sparse warning
    60caeaf090d5 parisc: iosapic.c: Fix sparse warnings
    632e0fcf409b parisc: sba: Fix compile warning wrt list of SBA devices
    be90c9e29dd5 nvme-fc: Prevent null pointer dereference in nvme_fc_io_getuuid()
    36b29974a7ad spi: sun6i: fix race between DMA RX transfer completion and RX FIFO drain
    e15bb292b246 spi: sun6i: reduce DMA RX transfer width to single byte
    5685f8a6fae1 bpf: Annotate bpf_long_memcpy with data_race
    be8f49029eca dma-debug: don't call __dma_entry_alloc_check_leak() under free_entries_lock
    89744b649144 ceph: drop messages from MDS when unmounting
    1375d9600c38 x86/reboot: VMCLEAR active VMCSes before emergency reboot
    85fafa7ef0ac i2c: npcm7xx: Fix callback completion ordering
    0d6c2f0942c3 gpio: pmic-eic-sprd: Add can_sleep flag for PMIC EIC chip
    e578a26084eb firmware: arm_ffa: Don't set the memory region attributes for MEM_LEND
    099cfc6e5d1b arm64: dts: imx: Add imx8mm-prt8mm.dtb to build
    328efccc7847 soc: imx8m: Enable OCOTP clock for imx8mm before reading registers
    aab681bcb13a selftests/powerpc: Fix emit_tests to work with run_kselftest.sh
    763f029f8c0f selftests/powerpc: Pass make context to children
    b9dc3d6b761d selftests/powerpc: Use CLEAN macro to fix make warning
    fe6406238d5a power: supply: rk817: Fix node refcount leak
    1005010b732b xtensa: boot/lib: fix function prototypes
    6438653ad1f2 xtensa: umulsidi3: fix conditional expression
    45661247d117 xtensa: boot: don't add include-dirs
    fca1b09645e5 xtensa: iss/network: make functions static
    b4e666fa38fd xtensa: add default definition for XCHAL_HAVE_DIV32
    7cad56459964 firmware: imx-dsp: Fix an error handling path in imx_dsp_setup_channels()
    33ed60d8b961 power: supply: ucs1002: fix error code in ucs1002_get_property()
    1ec48a9fac7d bus: ti-sysc: Fix SYSC_QUIRK_SWSUP_SIDLE_ACT handling for uart wake-up
    dd19672aaac4 ARM: dts: ti: omap: motorola-mapphone: Fix abe_clkctrl warning on boot
    fe1379c0f61d ARM: dts: Unify pinctrl-single pin group nodes for omap4
    16455bed4f86 ARM: dts: Unify pwm-omap-dmtimer node names
    4ccb05618b4d ARM: dts: ti: omap: Fix bandgap thermal cells addressing for omap3/4
    fe4da07a7f1b ARM: dts: omap: correct indentation
    ea4efaf54685 clk: tegra: fix error return case for recalc_rate
    efad31b6c062 clk: sprd: Fix thm_parents incorrect configuration
    1ea6975aa68a power: supply: mt6370: Fix missing error code in mt6370_chg_toggle_cfo()
    64adb41644fc firmware: arm_scmi: Fixup perf power-cost/microwatt support
    a135c8813815 firmware: arm_scmi: Harden perf domain info access
    3a21635aed62 bus: ti-sysc: Fix missing AM35xx SoC matching
    771eb7c3f3fb bus: ti-sysc: Use fsleep() instead of usleep_range() in sysc_reset()
    e6389d61b720 drm/bridge: ti-sn65dsi83: Do not generate HFP/HBP/HSA and EOT packet
    404b8bc41872 spi: spi-gxp: BUG: Correct spi write return value
    d3dc8acb60f8 MIPS: Alchemy: only build mmc support helpers if au1xmmc is enabled
    c01b2e0ee22e vfio/mdev: Fix a null-ptr-deref bug for mdev_unregister_parent()
    cca10592ffd5 btrfs: reset destination buffer when read_extent_buffer() gets invalid range
    cdfcaa4e8043 drm/amdkfd: Insert missing TLB flush on GFX10 and later
    9becfff9f91e drm/amdkfd: Flush TLB after unmapping for GFX v9.4.3
    52c7b41ad6ee scsi: qla2xxx: Use raw_smp_processor_id() instead of smp_processor_id()
    35c02a333d52 scsi: qla2xxx: Select qpair depending on which CPU post_cmd() gets called
    3a8ac77a70cc wifi: ath11k: Cleanup mac80211 references on failure during tx_complete
    1cccd28aa591 wifi: ath11k: fix tx status reporting in encap offload mode
    dc1ab6577475 arm64: dts: qcom: sdm845-db845c: Mark cont splash memory region as reserved
    03b808058a88 s390/pkey: fix PKEY_TYPE_EP11_AES handling in PKEY_CLR2SECK2 IOCTL
    a84ac8995ac7 f2fs: get out of a repeat loop when getting a locked data page
    8b3b859bf8be f2fs: optimize iteration over sparse directories
    3134156e3421 ARM: dts: qcom: msm8974pro-castor: correct touchscreen syna,nosleep-mode
    064f57151dff ARM: dts: qcom: msm8974pro-castor: correct touchscreen function names
    21e5e3c3f71c ARM: dts: qcom: msm8974pro-castor: correct inverted X of touchscreen
    05951f5c26b4 ARM: dts: samsung: exynos4210-i9100: Fix LCD screen's physical size
    226590fbd967 ARM: dts: BCM5301X: Extend RAM to full 256MB for Linksys EA6500 V2
    70a1df9e0b44 i2c: xiic: Correct return value check for xiic_reinit()
    fb9cfb28bdde i2c: mux: gpio: Add missing fwnode_handle_put()
    976c8c1c4073 i2c: mux: demux-pinctrl: check the return value of devm_kstrdup()
    50a096aab61f gpio: tb10x: Fix an error handling path in tb10x_gpio_probe()
    908b3b5e97d2 cifs: Fix UAF in cifs_demultiplex_thread()
    7e4f49cd2bd7 proc: nommu: fix empty /proc/<pid>/maps
    1d45e6d9951d proc: nommu: /proc/<pid>/maps: release mmap read lock
    c5c9ee388723 igc: Expose tx-usecs coalesce setting to user
    cae59ae73106 octeontx2-pf: Do xdp_do_flush() after redirects.
    98ebbdefe490 bnxt_en: Flush XDP for bnxt_poll_nitroa0()'s NAPI
    26f1829c8538 net: ena: Flush XDP packets on error.
    d64e738adc5c locking/seqlock: Do the lockdep annotation before locking in do_write_seqcount_begin_nested()
    987a7f5311ba i915/pmu: Move execlist stats initialization to execlist specific setup
    ea5a61d58886 netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP
    c4b0facd5c20 netfilter: nf_tables: disable toggling dormant table state more than once
    51fa66024a5e net: rds: Fix possible NULL-pointer dereference
    2f0acb0736ec team: fix null-ptr-deref when team device type is changed
    89f9f20b1cbd net: bridge: use DEV_STATS_INC()
    69d7eef31ee1 net: hns3: add 5ms delay before clear firmware reset irq source
    b1b85b3d767e net: hns3: fix fail to delete tc flower rules during reset issue
    d3f7af41de52 net: hns3: only enable unicast promisc when mac table full
    ed6a0b21b6ac net: hns3: fix GRE checksum offload issue
    430f18eed1c1 net: hns3: add cmdq check for vf periodic service task
    adbcec23c842 x86/srso: Fix SBPB enablement for spec_rstack_overflow=off
    755195b2d2df x86/srso: Fix srso_show_state() side effect
    7f301aa243b9 platform/x86: intel_scu_ipc: Fail IPC send if still busy
    b34121a8fec1 platform/x86: intel_scu_ipc: Don't override scu in intel_scu_ipc_dev_simple_command()
    962444595841 platform/x86: intel_scu_ipc: Check status upon timeout in ipc_wait_for_interrupt()
    98a5a7f344fa platform/x86: intel_scu_ipc: Check status after timeout in busy_loop()
    8ef5cc6b4ef0 net: hsr: Properly parse HSRv1 supervisor frames.
    eef16bfdb212 x86/mm, kexec, ima: Use memblock_free_late() from ima_free_kexec_buffer()
    73be49248a04 dccp: fix dccp_v4_err()/dccp_v6_err() again
    c2019f0a6816 powerpc/perf/hv-24x7: Update domain value check
    5734d22c9ea0 scsi: iscsi_tcp: restrict to TCP sockets
    2712545e535d ipv4: fix null-deref in ipv4_link_failure
    54228157fb57 igc: Fix infinite initialization loop with early XDP redirect
    40b5032c9951 ionic: fix 16bit math issue when PAGE_SIZE >= 64KB
    f2c6e5945da5 netfilter, bpf: Adjust timeouts of non-confirmed CTs in bpf_ct_insert_entry()
    d98bad2998fd i40e: Fix VF VLAN offloading when port VLAN is configured
    0546cd573404 iavf: schedule a request immediately after add/delete vlan
    00bbedbd7c5a iavf: add iavf_schedule_aq_request() helper
    16fd3c37d1ca ASoC: SOF: core: Only call sof_ops_free() on remove if the probe was successful
    211aac2ef6ff iavf: do not process adminq tasks when __IAVF_IN_REMOVE_TASK is set
    65976385d49f octeon_ep: fix tx dma unmap len values in SG
    66823a9025bc ASoC: imx-audmix: Fix return error with devm_clk_get()
    ee79256b1615 ASoC: hdaudio.c: Add missing check for devm_kstrdup
    488ea2a3e266 net/core: Fix ETH_P_1588 flow dissector
    bf560c8a83ca selftests: tls: swap the TX and RX sockets in some tests
    f5a75b3d31d3 netfilter: conntrack: fix extension size table
    09424e88126e ALSA: hda/realtek: Splitting the UX3402 into two separate models
    1698854b03a5 ASoC: rt5640: Fix IRQ not being free-ed for HDA jack detect mode
    293e4920f715 ASoC: rt5640: Revert "Fix sleep in atomic context"
    e388671635ac bpf: Avoid deadlock when using queue and stack maps from NMI
    1e01b127685f netfilter: nf_tables: disallow element removal on anonymous sets
    7a7fd891022a ASoC: meson: spdifin: start hw on dai probe
    7e5d732e6902 netfilter: nf_tables: fix memleak when more than 255 elements expired
    be4fbbbcd2f2 netfilter: nft_set_hash: try later when GC hits EAGAIN on iteration
    973288e9d988 netfilter: nft_set_pipapo: stop GC iteration if GC transaction allocation fails
    8c643a8e040d netfilter: nft_set_pipapo: call nft_trans_gc_queue_sync() in catchall GC
    92b4b4bde940 netfilter: nft_set_rbtree: use read spinlock to avoid datapath contention
    9a8c544158f6 netfilter: nft_set_rbtree: skip sync GC for new elements in this transaction
    a42ac74c9666 netfilter: nf_tables: defer gc run if previous batch is still pending
    620e594be334 netfilter: nf_tables: use correct lock to protect gc_list
    5d319f7a8143 netfilter: nf_tables: GC transaction race with abort path
    afa584c35065 netfilter: nf_tables: GC transaction race with netns dismantle
    41113aa5698a netfilter: nf_tables: fix GC transaction races with netns and netlink event exit path
    59ee68c437c5 netfilter: nf_tables: don't fail inserts if duplicate has expired
    0b9af4860a61 netfilter: nf_tables: remove busy mark and gc batch API
    4ead4f74b3a9 netfilter: nft_set_hash: mark set element as dead when deleting from packet path
    df650d6a4bf4 netfilter: nf_tables: adapt set backend to use GC transaction API
    ea3eb9f2192e netfilter: nf_tables: GC transaction API to avoid race with control plane
    59dab3bf0b8f netfilter: nf_tables: don't skip expired elements during walk
    6bb88a0344c0 ext4: do not let fstrim block system suspend
    b4d5db1c77fa ext4: move setting of trimmed bit into ext4_try_to_trim_range()
    1e3c25df7d40 ext4: replace the traditional ternary conditional operator with with max()/min()
    39c4a9522db0 btrfs: remove BUG() after failure to insert delayed dir index item
    0d1a761dec22 btrfs: improve error message after failure to add delayed dir index item
    dbf1a7198505 dm: fix a race condition in retrieve_deps
    df9950d37df1 netfs: Only call folio_start_fscache() one time for each folio
    2d9757480b43 media: via: Use correct dependency for camera sensor drivers
    ae68541d5285 media: v4l: Use correct dependency for camera sensor drivers
    a997d583571b NFSv4.1: fix pnfs MDS=DS session trunking
    f86a2c2ea085 NFSv4.1: use EXCHGID4_FLAG_USE_PNFS_DS for DS server
    839e07de9a0a SUNRPC: Mark the cred for revalidation if the server rejects it
    13acbca81eee NFS/pNFS: Report EINVAL errors from connect() to the server
    edd1f0614510 NFS: More fixes for nfs_direct_write_reschedule_io()
    d4729af1c73c NFS: Use the correct commit info in nfs_join_page_group()
    1f49386d6779 NFS: More O_DIRECT accounting fixes for error paths
    4d98038e5bd9 NFS: Fix O_DIRECT locking issues
    f16fd0b11f0f NFS: Fix error handling for O_DIRECT write scheduling

(From OE-Core rev: 5d66067b39e7f9d442d44d8025fe20a0fa7efba7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-13 11:53:06 +01:00
Jose Quaresma
8d0ba08aa6 go: update 1.20.9 -> 1.20.10
Upgrade to latest 1.20.x release [1]:

$ git log --oneline go1.20.9..go1.20.10
8042fd87f3 (tag: go1.20.10) [release-branch.go1.20] go1.20.10
e175f27f58 [release-branch.go1.20] net/http: regenerate h2_bundle.go

[1] https://github.com/golang/go/compare/go1.20.9...go1.20.10

Fixes CVE-2023-39325

(From OE-Core rev: 262d5386c6293dbd6b9c677fbb7ed7431651db5e)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-12 07:53:40 +01:00
Jose Quaresma
d87930ab8e go: update 1.20.8 -> 1.20.9
Upgrade to latest 1.20.x release [1]:

$ git log --oneline go1.20.8..go1.20.9
68f9a6e2ad (tag: go1.20.9) [release-branch.go1.20] go1.20.9
31d5b604ac [release-branch.go1.20] cmd/compile: use absolute file name in isCgo check
83dce45959 [release-branch.go1.20] cmd/link: suppress -bind_at_load deprecation warning for ld-prime
08c544db98 [release-branch.go1.20] cmd/link: disable DWARF by default in c-shared mode on darwin
071f03a8e5 [release-branch.go1.20] cmd/link: force old Apple linker in plugin mode

[1] https://github.com/golang/go/compare/go1.20.8...go1.20.9

(From OE-Core rev: 7962b93a53f928cd618016fa600ccefb2d57c28d)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-12 07:53:40 +01:00
Jose Quaresma
1e03705deb go: update 1.20.7 -> 1.20.8
Upgrade to latest 1.20.x release [1]:

$ git log --oneline go1.20.7..go1.20.8
d5b8518043 (tag: go1.20.8) [release-branch.go1.20] go1.20.8
2070531d2f [release-branch.go1.20] html/template: properly handle special tags within the script context
023b542edf [release-branch.go1.20] html/template: support HTML-like comments in script contexts
612da32fb5 [release-branch.go1.20] cmd/compile: in expandCalls, move all arg marshalling into call block
f0b8768dbc [release-branch.go1.20] path/filepath: don't drop .. elements when cleaning invalid Windows paths
b463668275 [release-branch.go1.20] runtime: profiling on Darwin cannot use blocking reads
974a3c9af7 [release-branch.go1.20] go/types, types2: don't panic during interface completion
14e3c7338d [release-branch.go1.20] cmd/api: rename api.go to main_test.go
095cfba86b [release-branch.go1.20] crypto/tls: add GODEBUG to control max RSA key size
1a91bb94b0 [release-branch.go1.20] cmd/go: do not index std as a module in modcache
ede3e278ae [release-branch.go1.20] net/http: permit requests with invalid Host headers
201f8b40dc [release-branch.go1.20] cmd/go: refuse to build Go 1.22 code

[1] https://github.com/golang/go/compare/go1.20.7...go1.20.8

(From OE-Core rev: 25d0870ae045a6f7845ebc905f2d6602a2ce854d)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-12 07:53:40 +01:00
Alexander Kanavin
7e3f095a82 nghttp2: update 1.56.0 -> 1.57.0
This release has a fix to mitigate CVE-2023-44487: HTTP/2 Rapid Reset:

https://nghttp2.org/blog/2023/10/10/nghttp2-v1-57-0/

(From OE-Core rev: c24b75f027f2609dac935e8981f2eb58394b1cc6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-12 07:53:40 +01:00
Jose Quaresma
ba7b606636 curl: 8.3.0 -> 8.4.0
curl and libcurl 8.4.0

 Public curl releases:         252
 Command line options:         258
 curl_easy_setopt() options:   303
 Public functions in libcurl:  93
 Contributors:                 2995

This release includes the following changes:

 o curl: add support for the IPFS protocols via HTTP gateway [46]
 o curl_multi_get_handles: get easy handles from a multi handle [20]
 o mingw: delete support for legacy mingw.org toolchain [45]

This release includes the following bugfixes:

 o acinclude.m4: Document proper system truststore on FreeBSD [83]
 o appveyor: fix yamlint issues, indent [67]
 o appveyor: rewrite batch in PowerShell + CI improvements [109]
 o autotools: adjust `CURL_CA_PATH` value to CMake [53]
 o autotools: restore `HAVE_IOCTL_*` detections [111]
 o base64: also build for curl [78]
 o bufq: remove Curl_bufq_skip_and_shift (unused) [47]
 o build: delete checks for C89 standard headers [65]
 o build: do not publish `HAVE_BORINGSSL`, `HAVE_AWSLC` macros [114]
 o cf-socket: simulate slow/blocked receives in debug [120]
 o cmake, configure: also link with CoreServices [32]
 o cmake: add check for suseconds_t [91]
 o cmake: add feature checks for `memrchr` and `getifaddrs` [57]
 o cmake: add missing checks [86]
 o cmake: delete old `HAVE_LDAP_URL_PARSE` logic [105]
 o cmake: detect `HAVE_CLOCK_GETTIME_MONOTONIC_RAW` [75]
 o cmake: detect `HAVE_GETADDRINFO_THREADSAFE` [76]
 o cmake: detect `sys/wait.h` and `netinet/udp.h` [61]
 o cmake: detect TLS-SRP in OpenSSL/wolfSSL/GnuTLS [93]
 o cmake: disable unity mode with Windows Unicode + TrackMemory [108]
 o cmake: fix `HAVE_LDAP_SSL`, `HAVE_LDAP_URL_PARSE` on non-Windows [110]
 o cmake: fix `HAVE_WRITABLE_ARGV` detection [77]
 o cmake: fix duplicate symbols when linking tests [73]
 o cmake: fix missing `zlib.h` when compiling `libcurltool` [72]
 o cmake: fix stderr initialization in unity builds [71]
 o cmake: fix the help text to the static build option in CMakeLists.txt [10]
 o cmake: fix unity builds for more build combinations [96]
 o cmake: fix unity symbol collisions in h2 builds [48]
 o cmake: fix unity with Windows Unicode + TrackMemory [107]
 o cmake: improve OpenLDAP builds [92]
 o cmake: lib `CURL_STATICLIB` fixes (Windows) [74]
 o cmake: move global headers to specific checks [58]
 o cmake: pre-cache `HAVE_BASENAME` for mingw-w64 and MSVC [85]
 o cmake: pre-cache `HAVE_POLL_FINE` on Windows [36]
 o cmake: tidy-up `NOT_NEED_LBER_H` detection
 o cmake: validate `CURL_DEFAULT_SSL_BACKEND` config value [50]
 o configure: check for the capath by default [63]
 o configure: remove unused checks [87]
 o configure: replace adhoc domain with `localhost` in tests [79]
 o configure: sort AC_CHECK_FUNCS
 o connect: expire the timeout when trying next [54]
 o connect: only start the happy eyeballs timer when needed [95]
 o cookie: do not store the expire or max-age strings [16]
 o cookie: remove unnecessary struct fields [17]
 o cookie: set ->running in cookie_init even if data is NULL [5]
 o create-dirs.d: clarify it also uses --output-dirs [66]
 o curl.h: mark CURLSSLBACKEND_NSS as deprecated since 8.3.0 [18]
 o curl_easy_pause.3: mention h2/h3 buffering [113]
 o curl_easy_pause.3: mention it works within callbacks [112]
 o curl_easy_pause: set "in callback" true on exit if true [100]
 o CURLOPT_DEBUGFUNCTION.3: warn about internal handles [122]
 o docs/libcurl/opts/Makefile.inc: add missing manpage files
 o docs: adapt SEE ALSO sections to new requirements [52]
 o docs: explain how PINNEDPUBLICKEY is independent of VERIFYPEER [68]
 o docs: replace made up domains with example.com [82]
 o docs: update curl man page references [89]
 o docs: use CURLSSLBACKEND_NONE [19]
 o doh: inherit DEBUGFUNCTION/DATA [12]
 o escape: replace Curl_isunreserved with ISUNRESERVED [2]
 o FAQ: How do I upgrade curl.exe in Windows? [84]
 o GHA/linux: run singleuse to detect single-use global functions [35]
 o GHA: add workflow to compare configure vs cmake outputs [102]
 o h2-proxy: remove left-over mistake in drain_tunnel() [7]
 o h2: testcase and fix for pausing h2 streams [49]
 o h3: add support for ngtcp2 with AWS-LC builds [103]
 o http2: refused stream handling for retry [121]
 o http: fix CURL_DISABLE_BEARER_AUTH breakage [28]
 o http: h1/h2 proxy unification [21]
 o http: remove wrong comment for http_should_fail [55]
 o http: use per-request counter to check too large headers [6]
 o http_aws_sigv4: fix sorting with empty parts [13]
 o idn: fix WinIDN null ptr deref on bad host [90]
 o idn: if idn2_check_version returns NULL, return error [27]
 o inet_ntop: add typecast to silence Coverity [51]
 o lib: disambiguate Curl_client_write flag semantics [24]
 o lib: enable hmac for digest as well [26]
 o lib: failf/infof compiler warnings [8]
 o lib: let the max filesize option stop too big transfers too [44]
 o lib: move handling of `data->req.writer_stack` into Curl_client_write() [97]
 o lib: provide and use Curl_hexencode [62]
 o lib: remove TIME_WITH_SYS_TIME [88]
 o lib: use wrapper for curl_mime_data fseek callback [30]
 o libssh2: fix error message on failed pubkey-from-file [22]
 o libssh: cap SFTP packet size sent [14]
 o Makefile.mk: always set `CURL_STATICLIB` for lib (Windows) [42]
 o MANUAL.md: change domain to example.com [11]
 o misc: better random strings [15]
 o MQTT: improve receive of ACKs [125]
 o multi: do CURLM_CALL_MULTI_PERFORM at two more places [99]
 o multi: fix small timeouts [70]
 o multi: remove Curl_multi_dump [37]
 o multi: round the timeout up to prevent early wakeups [98]
 o multi: set CURLM_CALL_MULTI_PERFORM after switch to DOING_MORE [115]
 o openssl: improve ssl shutdown handling [69]
 o openssl: use X509_ALGOR_get0 instead of reaching into X509_ALGOR [104]
 o pytest: exclude test_03_goaway in CI runs due to timing dependency [23]
 o quic: set ciphers/curves the same way regular TLS does [43]
 o quiche: fix build error with --with-ca-fallback [1]
 o RELEASE-PROCEDURE.md: updated coming release dates
 o runtests: display the test status if tests appear hung [81]
 o runtests: eliminate a warning on old perl versions
 o socks: return error if hostname too long for remote resolve [118]
 o src/mkhelp: make generated code pass `checksrc` [59]
 o test1056: disable on Windows
 o test1474: disable test on NetBSD, OpenBSD and Solaris 10 [31]
 o test1592: greatly increase the maximum test timeout
 o test1903: actually verify the cookies after the test [116]
 o test1906: set a lower timeout since it's hit on Windows [117]
 o test2600: remove special case handling for USE_ALARM_TIMEOUT [3]
 o test650: fix an end tag typo
 o test661: return from test early in case of curl error
 o test: add missing <feature>s
 o tests: close the shell used to start sshd [41]
 o tests: fix a race condition in ftp server disconnect [101]
 o tests: fix compiler warnings [38]
 o tests: Fix zombie processes left behind by FTP tests. [80]
 o tests: improve SLOWDOWN test reliability by reducing sent data
 o tests: increase lib571 timeout from 3s to 30s [106]
 o tests: log the test result code after each libtest
 o tests: propagate errors in libtests
 o tests: set --expect100-timeout to improve test reliability
 o tests: show which curl tool `runtests.pl` is using [60]
 o tests: stop overriding the lock timeout
 o tftpd: always use curl's own tftp.h [25]
 o tool: use our own stderr variable [94]
 o tool_cb_wrt: fix debug assertion [4]
 o tool_getparam: accept variable expansion on file names too [123]
 o tool_setopt: remove unused function tool_setopt_flags [56]
 o upload-file.d: describe the file name slash/backslash handling [9]
 o url: fall back to http/https proxy env-variable if ws/wss not set [119]
 o url: fix netrc info message [39]
 o warnless: remove unused functions [33]
 o wolfssh: do cleanup in Curl_ssh_cleanup [40]
 o wolfssl: allow capath with CURLOPT_CAINFO_BLOB [29]
 o wolfssl: if CURLOPT_CAINFO_BLOB is set, ignore the CA files [34]
 o wolfssl: ignore errors in CA path [64]

(From OE-Core rev: aeab27305b3f207530ad1c749f6668c0df6cbed1)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-12 07:53:40 +01:00
Ross Burton
d44333b92c oeqa/runtime/_qemutiny: rewrite test to be functional
The _qemutiny is a small test case that was explicitly designed to do a
minimal level of testing for poky-tiny images.  These typically don't
have SSH servers so we need to assume that qemu is being used and access
the serial console directly.

(From OE-Core rev: 2245b2754d6f4798127ce85a2ab7cb48f458c1f7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-11 09:43:45 +01:00
Ross Burton
3044b4e3f8 busybox-inittab: fix console handling
A testing failure meant that the inittab changes made in 6c65544 didn't
actually work.

A copy-paste problems meant that start_getty was being invoked instead
of getty, but start_getty is sysvinit-inittab-specific. Revert this
inittab to calling getty directly.

Remove the terminal type, this wasn't specified in the original inittab.

Busybox's init has non-standard behaviour for the inittab's ID field.
With SysV this is a four-character identifier and nothing more, but with
busybox init this is the controlling terminal (minus /dev).  If the
terminal doesn't exist then busybox doesn't gracefully handle the
failure but instead repeatedly fails to spawn.

As getty will immediately issue a setsid() this isn't needed for getty
entries, so the ID can be empty and ttyrun does the terminal detection.

(From OE-Core rev: 71202782a06ed1f0a17e00072b74b21195f2f5f9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-11 09:43:45 +01:00
Ross Burton
096df641d2 meta/conf/machine: remove SERIAL_CONSOLES_CHECK
There's no need for this variable anymore, as all consoles listed in
SERIAL_CONSOLES are checked for their existence before a getty is
started.

(From OE-Core rev: 8a1060952f8b6956acf747f3853401ac8a981fc3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-11 09:43:45 +01:00
Ross Burton
947f7d7b8c oeqa/selftest: don't skip test_read_only_image on qemuarm64
There's no need to skip this test anymore, as skipping on qemuarm64 was
a proxy for "uses SERIAL_CONSOLES_CHECK" which no longer exists.

[ YOCTO #14962 ]

(From OE-Core rev: 1b8b1cb74c8f5f387a14d86f03f37f68c07dd9aa)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-11 09:43:45 +01:00
Alexis Lothoré
3c53168682 oeqa/utils/gitarchive: ensure tag matches regex before getting its fields
Whenever we ask gitarchive to retrieve test results for specific revisions,
we first do a "large" search in get_tags, which uses glob patterns with git
ls-remote, and then we filter received tags with a regex to parse the tags
fields.
Currently gitarchive assumes that all tags returned by get_tags will match
the regex. This assumption is wrong (for example searching "master-next" in
get_tags may return some tags like "abelloni/master-next), and leads then
to exception when we try to retrieve tags fields:
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/a-full/build/scripts/resulttool", line 78, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/pokybuild/yocto-worker/a-full/build/scripts/resulttool", line 72, in main
    ret = args.func(args, logger)
          ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pokybuild/yocto-worker/a-full/build/scripts/lib/resulttool/regression.py", line 315, in regression_git
    revs2 = gitarchive.get_test_revs(logger, repo, tag_name, branch=args.branch2)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pokybuild/yocto-worker/a-full/build/meta/lib/oeqa/utils/gitarchive.py", line 246, in get_test_revs
    fields, runs = get_test_runs(log, repo, tag_name, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pokybuild/yocto-worker/a-full/build/meta/lib/oeqa/utils/gitarchive.py", line 238, in get_test_runs
    groups = m.groupdict()

Fix this exception by merely skipping those additionals tags which won't
match the regex

(From OE-Core rev: 8b5ace47372e958db9e4abb23378947fb02f6fc2)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-11 09:43:45 +01:00
Alexis Lothoré
800665612a oeqa/utils/gitarchive: fix tag pattern searching
Whenever we ask gitarchive to search for tags, we can provide it with a
pattern (containing glob patterns). However, when searching for example for
tags matching branch master-next, it can find more tags which does not
correspond exactly to branch master-next (e.g. abelloni/master-next tags
will match).

Prevent those additional tags from being fetched by gitarchive by using a
more specific pattern: prefix user-provided pattern with "refs/tags"

(From OE-Core rev: c24b7ea28021da48aa8f3498a9b899f595efde56)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-11 09:43:45 +01:00
Richard Purdie
4411460016 oeqa/qemurunner: Ensure we retry after BrokenPipeError
If the BrokenPipeError occurs when writing to the serial port to wake it
up, defer the write and try again (which will happen on the 5s timeout
of the select call). Why it should return ESHUTDOWN and then work later
I'm not sure but it does appear to make it work. For now we need 'working'
QA tests whilst the issue is debugged.

(From OE-Core rev: ea9e6ba0ab31a0b20012c283aa768496a50b527a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-11 09:39:46 +01:00
Sundeep KOKKONDA
b36cbd3f2b rust: reproducibility issue fix
The '--remap-path-prefix' option removes all references to build directory
structure in the debug information within the compiled output for Cargo
dependencies and the project's binary.

However, some references to build directories remains in the final binary
in .rustc section in the form of compressed metadata and this makes the
build output dependent on the folder structure of the computer it's compiled on.

So, for reproducible builds, use the configuration option
'remap-debuginfo = true' along with the '--remap-path-prefix'.

[YOCTO# 14875]

(From OE-Core rev: 6ae62259afbbe861ed74211dab18a27b8c8d8b7a)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-11 09:36:53 +01:00
André Draszik
c2e094ddfd wic: fix a typo in help output
(From OE-Core rev: 1c35beb935d42e200370b54f9aa3848b940966dd)

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-10 12:56:39 +01:00
Richard Purdie
1d33140e36 poky/poky-tiny: Switch to the 6.5 kernel
6.4 is EOL so switch to the 6.5 kernel.

(From meta-yocto rev: 2b6624b894c8a458be7d4b13b1691a89ead44120)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-10 09:53:48 +01:00
Richard Purdie
c0af426af8 oeqa/qemurunner: Add extra logging when console doesn't appear
If the console doesn't appear, breifly sleep and try an extra read. This
is a useful debugging trick which we may as well preserve in the code. We're
already failing at this point so extra data is useful.

This means if we perturb things on the other port, we may gain useful logging
insight.

(From OE-Core rev: be3724854947ded160789d0353b7efb8c593040f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-10 09:53:32 +01:00
Richard Purdie
44b4c74cad runqemu/qemurunner: Use nodelay with tcp serial connections
This disables Nagle's algorithm for our tcp serial connections which may
be causing data transfer issues.

(From OE-Core rev: f8eff4c427881a98333fdf7c42f66ed6603e4f03)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-10 09:53:32 +01:00
Richard Purdie
ef7e7b446a oeqa/qemurunner: Add newlines serial workaround
We're struggling with the 6.5 kernel as the serial port getty doesn't appears sometimes
leading to failures in CI. Add a workaround of sending some newlines as a way of
unblocking the kernel/release issues whilst we try and work out how to get to the bottom
of the issue.

(From OE-Core rev: 0a65f0d272895ba13c8c133ee71f3605d765a8a7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-10 09:53:32 +01:00
Richard Purdie
36d6275314 qemux86/qemuarm: Drop kernel version overrides
Drop the version overrides for the kernel for the x86 and arm machines
so we can go back to following the distro versions. The reasons for
these versions is mostly historical at this point as the issues were
resolved.

(From OE-Core rev: 298fa078fab58b64246376ffd70ad6a0c7589876)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-10 09:53:32 +01:00
Julien Stephan
4f2f3c12a9 oeqa/selftest/bblock: add self test for bblock tool
it implements various combination of locking single/multiple recipe(s)/task(s)

it also tests that locked sig are architecture dependant

(From OE-Core rev: 7047a067548acd592a834d4315579fb606b4b9d7)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-09 15:58:47 +01:00
Julien Stephan
91db19fc36 scripts/bblock: add a script to lock/unlock recipes
bblock script allows to lock/unlock recipes to latest task signatures.
The idea is to prevent some recipes to be rebuilt during development.
For example when working on rust recipe, one may not want rust-native to be
rebuilt.

This tool can be used, with proper environment set up, using the following
command:

bblock <recipe_name>

See help for more details

if a <recipe_name>'s task signature change, this task will not be built again and
sstate cache will be used.

[YOCTO #13425]

(From OE-Core rev: 2d9ab0cfd7f3cacc347954676f1323342a6b286f)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-09 15:58:47 +01:00
Julien Stephan
043ca5f64d sstatesig: add a new info level for SIGGEN_LOCKEDSIGS_TASKSIG_CHECK
as of now, SIGGEN_LOCKEDSIGS_TASKSIG_CHECK can take 2 values: "warn" and
"error", displaying respectively a warning or a fatal error message
only when a task is locked and the task signature is different from
the locked one.

The "info" level is introduced to add a "note" message to remind the
user that a recipe is locked even if the signature is equivalent to the
locked one.

The "warn" and "error" level display the warn/error message for each
task having a mismatch of the signature. Doing this with the "info"
level would result in very verbose output if there are several tasks
locked, so the info level will only print once the list of recipes that
have locked signature.

(From OE-Core rev: 840402181d36ca3f60119984478979afb5bb3bbf)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-09 15:58:47 +01:00
Julien Stephan
96f6271d0a bitbake.conf: include bblock.conf
include conf/bblock.conf. This file is generated by the bblock tool. It
locks some package tasks by fixing their signatures. See bblock -h for
more details

(From OE-Core rev: fb85282476f9dee2b0364c305ca75b096a76b1ae)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-09 15:58:47 +01:00
Lee Chee Yang
4e2d3a9876 migration-guides: add release notes for 4.0.13
(From yocto-docs rev: ceb1812e63b9fac062f886c2a1dde23137c0e1ed)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-09 15:52:17 +01:00
Joshua Watt
9f64aa4afc overview: Add note about non-reproducibility side effects
Adds an additional note about some of the side effects that can occur if
recipes are not reproducible and hash equivalence is enabled.

(From yocto-docs rev: 1ccc8eefe21bc432c903bb245bd0dab06e67cc14)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-09 15:52:17 +01:00
Trevor Gamblin
ced8fd6ea9 dev-manual: fix testimage usage instructions
The proper way to inherit the testimage class is now

IMAGE_CLASSES += "testimage"

so change lines with 'INHERIT += "testimage"' to match. This makes the
dev-manual consistent with the migration guide, which already specifies
that the old way causes an error.

(From yocto-docs rev: 2a3e2c6e48be6f7ec2b3ff0817144dd1036961ba)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-09 15:52:17 +01:00
Michael Opdenacker
a5896803e7 ref-manual: releases.svg: Scarthgap is now version 5.0
According to https://wiki.yoctoproject.org/wiki/Releases

(From yocto-docs rev: 88348eb6eaa589a735b35b8ee726b9523f46e54f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-09 15:52:16 +01:00
Mikko Rapeli
3cba2dfd43 openssh: drop sudo from ptest dependencies
The tests don't actually need sudo on core-image-ptest-openssh.
Based on logs seen in
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15178 it seems
that socket errors from sudo are creeping into stderr which are failing
the banner ptest from openssh. Removing sudo should help removing
the stderr messages and possibly cure the banner test failures.

(From OE-Core rev: 47e754f483b674b207bfddcc8d4c5d9a3008e102)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-09 15:51:13 +01:00
Randy MacLeod
64457d23ca strace: skip so_peerpidfd test
The so_peerpidfd test is failing in every linux-yocto-6.5 ptest run
due to a difference of square brackets in part of the log file.

Skip the failing test until the difference is understood and fixed.

(From OE-Core rev: d7c9afbef0b440f5dbd16b3e8a3cb1ac5c513836)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-09 15:51:13 +01:00
Richard Purdie
d87e41f3e3 cryptodev: Update to latest git for 6.5 kernel fixes
Update to pull in recent git changes which allow cryptodev to work
with 6.5 kernels.

(From OE-Core rev: cbc2e92ff3bbf1921f6a56dfe024dfbf82178dc0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-09 15:51:13 +01:00
Ross Burton
cedd01f57e busybox: use ttyrun to run getty only if the terminal exists
Wrap calls to start_getty with ttyrun, so that getty isn't started if
the device doesn't exist.  As we know start_getty is only called when
the device exists we can remove the partial workaround for this problem
in that scripts too.

This neatly obsoletes SERIAL_CONSOLES_CHECK, whose sole purpose was to
check what terminals are present at boot and rewrite inittab.  Notably,
this meant that SERIAL_CONSOLES_CHECK made using a read-only rootfs
impossible.

(From OE-Core rev: 950ecaabc04836efc346be0ac7e0331e2378872b)

(From OE-Core rev: 6c655441ff5cd0d8877891ff37f8cfa983363a2a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-09 15:51:13 +01:00
Ross Burton
42d35e89a3 sysvinit-inittab: use ttyrun to run getty only if the terminal exists
Wrap calls to start_getty with ttyrun, so that getty isn't started if
the device doesn't exist.  As we know start_getty is only called when
the device exists we can remove the partial workaround for this problem
in that scripts too.

This neatly obsoletes SERIAL_CONSOLES_CHECK, whose sole purpose was to
check what terminals are present at boot and rewrite inittab.  Notably,
this meant that SERIAL_CONSOLES_CHECK made using a read-only rootfs
impossible.

(From OE-Core rev: f4fd17d5a5e4eaa31995d3ca52c871cfbdc0df68)

(From OE-Core rev: 8e48297621311116d3edd7e3aa0de1b8ef2431b1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-09 15:51:13 +01:00
Ross Burton
b3fa551d64 ttyrun: add new recipe
ttyrun is a small tool from IBM's s390-tools package to run a command
if the specified TTY is present, and hang if not.

This is useful so that you can list all of the potential terminals in
inittab and not have getty quiting instantly when a device isn't
present, resulting in the "respawning too fast" errors.

Note that DISTRELEASE has to be set as otherwise "build$(DATE)" is used,
which is non-reproducible.

(From OE-Core rev: 41a8a2e0817c7f73d3a4514fd158141ee5627ad8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-09 15:51:13 +01:00
Ross Burton
18a8d773c5 sysvinit-initab: rewrite loop to generate inittab
Instead of one-letter variables and arcane sed expressions, use English
words and 'cut'.

(From OE-Core rev: de9833792dd0cfac6f17d5c733c263b976e89cf6)

(From OE-Core rev: c79f6e66283e506453d1643259d18e2d13eb10ea)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-09 15:51:13 +01:00
Ross Burton
a4857688c3 qemuboot: reduce default size of software I/O translation buffer
With 6.5+ (specifically, if DMA_BOUNCE_UNALIGNED_KMALLOC is set) the
SWIOTLB is used, and it defaults to 64MB. This is too much when there's
only 256MB of RAM, so request 0 slabs and lets the kernel round up to
the appropriate minimum (1MB on aarch64, typically). In virtual hardware
there's very little need for these bounce buffers, so the 64MB would be
mostly wasted.

(From OE-Core rev: 369e768d87b80be9efe76937bfafeddabc35f559)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-09 15:51:13 +01:00
Peter Kjellerstedt
68b54a02d5 cmake.bbclass: Add *.cmake to CONFIGURE_FILES
This makes do_configure depend on changes to any cmake file when
externalsrc is active.

(From OE-Core rev: dae2757bf0fea6ae821a28bd6ea9d0232694c177)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-09 15:51:13 +01:00
Joshua Watt
55af1bad8c bitbake: bitbake-hashclient: Add clean-unused subcommand
Adds a subcommand to clean unused outhash entries from the server based
on age

(Bitbake rev: 29c310be2c00d0e192923a4b90c60771ef0c620c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-09 15:48:44 +01:00
Joshua Watt
b026e816f7 bitbake: hashserv: Add API to clean unused entries
Adds an API to remove unused entries in the outhash database based on
age and if they are referenced by any unihash

(Bitbake rev: a169ac523d166c6cbba918b152a76782176c3e88)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-09 15:48:44 +01:00
Joshua Watt
cc218dd108 bitbake: hashserv: Extend get_outhash API to optionally include unihash
Extends the get_outhash API with a flag indicating whether to include
the unihash in the output. This is means that the query doesn't require
the unihash entry to be present to return a result

(Bitbake rev: b8d6abfeb4a0765727a62b3d8d83276335c7c7d6)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-09 15:48:44 +01:00
Joshua Watt
840d60de78 bitbake: bitbake-hashclient: Add remove subcommand
Adds a subcommand to invoke the remove API on the server

(Bitbake rev: a778b99e6a2a1a1e1b7eb26d48313fadcd34de54)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-09 15:48:44 +01:00
Joshua Watt
61f5c32308 bitbake: hashserv: Add remove API
Adds a `remove` API to the client and server that can be used to remove
hash equivalence entries that match a particular critera

(Bitbake rev: 861d068b3a9fb5e91a01dbec54996a5a6f93ef29)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-09 15:48:44 +01:00
Marcus Flyckt
561c63e947 devtool/upgrade: check all git config locations
Fixes [YOCTO #15222]

In some situations its more practical to keep git configuration
at `/etc/gitconfig` instead of `$HOME/.gitconfig` (e.g., when mounting
git configuration into a docker container).

This change makes `devtool upgrade` consider any available
git configuration instead of only checking `--global`.

(From OE-Core rev: 30a9f7de45050c8bac49d4b37419cc2e067a75fa)

Signed-off-by: Marcus Flyckt <marcus.flyckt@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-08 13:05:25 +01:00
Mikko Rapeli
23a50c8cca qemurunner.py: detect login prompt without without utf-8 conversion
In case utf-8 conversion of the serial console data is flaky
due to bad characters in the stream.

(From OE-Core rev: 3f4921ced1e2aae546ff7cef232eec3e214c28be)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-08 13:05:25 +01:00
Martijn de Gouw
0fb1ff0ffb busybox: Set PATH in syslog initscript
This script is not always called with /sbin and /usr/sbin in the PATH
already, for example when called via ssh. Explicitly set PATH to make
sure it includes /sbin and /usr/sbin since that's where start-stop-daemon
is located.

(From OE-Core rev: fa53f898eaba15dff030f9eadf86e5bca7d954fa)

Signed-off-by: Martijn de Gouw <martijn.de.gouw@prodrive-technologies.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-06 11:51:11 +01:00
Yogita Urade
ba7ac22f2e qemu: fix CVE-2023-42467
QEMU through 8.0.0 could trigger a division by zero in scsi_disk_reset
in hw/scsi/scsi-disk.c because scsi_disk_emulate_mode_select does not
prevent s->qdev.blocksize from being 256. This stops QEMU and the guest
immediately.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-42467
https://gitlab.com/qemu-project/qemu/-/issues/1813

(From OE-Core rev: 7c42b976d7a72acf917bae9d055768a1350e507d)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-06 11:51:11 +01:00
Fahad Arslan
3ddddfc14f linux-firmware: create separate package for cirrus and cnm firmwares
Some licenses only allow usage of corresponding firmwares when a specific
hardware is present. This requires split of such firmwares from linux-firmware
package to firmware specific sub package. As this split is based off of
licensing, it makes sense to group firmware blobs having the same license in the
same package. This commit is a first step in this direction, and creates
separate packages for cirrus and cnm firmware.

(From OE-Core rev: 53d9d8789efc701609a5a1e985287344c2209d62)

Signed-off-by: Fahad Arslan <fahad.arslan@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-06 11:51:11 +01:00
Archana Polampalli
d87f113d9f gstreamer: upgrade 1.22.5 -> 1.22.6
This release only contains bugfixes and security fixes.

Highlighted bugfixes in 1.22.6:

Security fixes for the MXF demuxer and H.265 video parser
Fix latency regression in H.264 hardware decoder base class
androidmedia: fix HEVC codec profile registration and fix coded_data handling
decodebin3: fix switching from a raw stream to an encoded stream
gst-inspect: prettier and more correct signal and action signals printing
rtmp2: Allow NULL flash version, omitting the field, for better RTMP server compatibility
rtspsrc: better compatibility with buggy RTSP servers that don't set a clock-rate
rtpjitterbuffer: fix integer overflow that led to more packets being declared lost than have been lost
v4l2: fix video encoding regression on RPi and fix support for left and top padding
waylandsink: Crop surfaces to their display width height
cerbero: recognise Manjaro; add Rust support for MSVC ARM64; cmake detection fixes
various bug fixes, build fixes, memory leak fixes, and other stability and reliability improvements

https://nvd.nist.gov/vuln/detail/CVE-2023-40475
https://nvd.nist.gov/vuln/detail/CVE-2023-40476

https://gstreamer.freedesktop.org/releases/1.22/#1.22.6

(From OE-Core rev: ff2fc789e08c42903f5e528d4836dd482227291c)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-06 11:51:11 +01:00
Daniel McGregor
a570227bb7 libtirpc: conditionally enable gssapi
This is for upcoming work to support gssapi in nfs-utils for nfsv4
and kerberos mountpoints.

(From OE-Core rev: ae9c64cd2291f4b24ac442816a4e354e47c70933)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-06 11:51:11 +01:00
Daniel McGregor
aacca1f010 meson: upgrade 1.2.1 -> 1.2.2
The newly released version 1.2.2 adds version 17 to CMake LLVM
detection, so we will now choose the OE provided LLVM version
instead of the one on host during native builds.

(From OE-Core rev: 90edba29f9f4c115af5202c566eaa935656de1eb)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-06 11:51:11 +01:00
Chris Laplante
893e17f669 recipetool/create_buildsys_python: use importlib instead of imp
'imp' was deprecated in Python 3.4 and removed in 3.12. The
piece of importlib we use has been around since 3.3.

(From OE-Core rev: 457f0dad87b4e45a53865b5ad2c150215bd74019)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-06 11:51:11 +01:00
Peter Kjellerstedt
ef66352fcc packages.bbclass: Correct the check for conflicts with renamed packages
The original solution replaced all overrides with the package name that
was being checked. This can have unforseen consequences where some
variable involved in defining the value for the PKG:<package> variable
may rely on some override which is not set as expected. It also meant
that any PKG variable set using an override would not be caught, e.g.,
PKG:${PN}:${MACHINE} = "${PN}-dev" (made up example that would always
fail with the old code).

(From OE-Core rev: de62d538dbfe6caf123ff366643f893077175583)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-06 11:51:11 +01:00
Jermain Horsman
02b8c36efe scripts/oe-setup-layers: Update how to determine if directory is git repo
Previously _is_repo_git_repo() would return a result containing b'true\n' or
b'false\n' if 'git rev-parse' ran successfully, instead of True of False.

While this can be solved using e.g. result.strip().decode("utf-8") == "true",
there are some other cases to consider.
First, .git can be a file and not a directory when using a worktree.
Second, an emtpy .git directory in 'repodir' for which some parent of
'repodir' is an actual git repo will still return True in this case.

To account for these cases as well, use 'git rev-parse --show-toplevel'
and compare the result against 'repodir' instead of
using 'git rev-parse --is-inside-git-dir'.

(From OE-Core rev: 0830f53900dd7fd669a7d6492325559ad3225302)

Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-06 11:51:11 +01:00
Peter Kjellerstedt
23f4bb7710 autotools.bbclass: Add *.m4 to CONFIGURE_FILES
This makes do_configure depend on changes to any m4 file when
externalsrc is active.

(From OE-Core rev: 492559191943c9e2666c3dda1824c5aafbe487d5)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-06 11:51:11 +01:00
Peter Kjellerstedt
d066ec92dc externalsrc.bbclass: Support specifying patterns in CONFIGURE_FILES
This allows, e.g., *.cmake to be added to CONFIGURE_FILES to make the
do_configure task depend on changes to any cmake file.

(From OE-Core rev: 09873b3fb24a00cfbd73282d29e4c5821774f579)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-06 11:51:11 +01:00
Richard Purdie
b8b5c786e7 bitbake: selftest/fetch: Ensure top level directory timestamp doesn't break test
The infrastructure changes highlighed an issue where the top level directory
mtime stamp isn't included in the tarballs. This isn't an issue the test is
meant to check for so ignore it.

(Bitbake rev: 5a1e5b8dc55d6bb4d93bac3492f8c43ff957e712)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-06 11:42:46 +01:00
Alassane Yattara
78b02e1845 bitbake: toaster: Monitoring - implement Django logging system
(Bitbake rev: 2efb146480ee46c0463d9edb71bf1c03ce15bcf2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-06 11:42:46 +01:00
Marlon Rodriguez Garcia
3ac4694fc3 bitbake: toaster: update selenium version and code syntax
Updated selenium version to latest 4.13.0, changed selenum specific version syntax elements to accomplish test success

(Bitbake rev: 868c88a249ef4b9fe5a891e76e25e054e4fcd994)

Signed-off-by: Marlon Rodriguez Garcia <marlon.rodriguez-garcia@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-06 11:42:46 +01:00
Ross Burton
08421d8985 libxpm: upgrade to 3.5.17
This release fixes the following CVEs:

- CVE-2023-43788
- CVE-2023-43789

(From OE-Core rev: 46dd8ce41756dbc2aa0f9001416f208cced1c8d5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-05 21:09:10 +01:00
Ross Burton
07e1460ca7 libx11: upgrade to 1.8.7
This incorporates fixes for the following CVEs:

- CVE-2023-43785
- CVE-2023-43786
- CVE-2023-43787

(From OE-Core rev: a1534bb34b680bfc5cb2f35b5fd5a0c2afed6368)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-05 21:09:10 +01:00
Quentin Schulz
8d8c9078c6 uboot-extlinux-config.bbclass: fix missed override syntax migration
uboot-extlinux-config allows to specify multiple "labels" (entries in a
menu, à-la grub) and each of them have their own values for some fields.
Each "base" variable, e.g. UBOOT_EXTLINUX_FDT can be overridden for each
label. This is done via the OVERRIDES mechanism based on the label name,
e.g. UBOOT_EXTLINUX_FDT:linux if linux is a label.

However, OVERRIDES doesn't contain the label globally because it's only
necessary in one task. Therefore, the OVERRIDES itself is modified
within the task. This means that the sigdata will not be told the
dependency on UBOOT_EXTLINUX_FDT:linux, because it cannot know about it.

For this reason, we need to explicitly specify which variables this task
depends on via vardeps varflag for the task.

This was done in the past, but we missed updating it during the override
syntax migration so the cache wouldn't get invalidated if someone
modifies UBOOT_EXTLINUX_FDT:linux from a configuration file or a
bbappend for example.

Let's fix this by migrating it to the new syntax.

(From OE-Core rev: b4dd9d873508128adbbf5ff6cf0a3df3d2ffbcf6)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-05 21:09:10 +01:00
Richard Purdie
c9caf79cab oeqa/concurrencytest: Remove invalid buffering option
Fix warnings from oe-selftest -j:

/usr/lib/python3.10/os.py:1030: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  return io.open(fd, mode, buffering, encoding, *args, **kwargs)

Remove the option since it clearly doesn't do much.

(From OE-Core rev: 6b872ee72942951fd464c4c6cb9eadcb9b4749c1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-05 21:09:10 +01:00
Bruce Ashfield
d7130dbdd5 linux-yocto/6.5: integrate fixes for sanity issues
making the following commits available in our 6.5 kernel:

    49e3d8448aea locking/atomic: scripts: fix fallback ifdeffery
    9ba8e064374d crypto: jitter - add RCT/APT support for different OSRs
    50f59f46583a crypto: jitter - Add clarifying comments to Jitter Entropy RCT cutoff values

Which should address several of the failures we are seeing with
6.5 under integration testing.

(From OE-Core rev: dd8f47a9c4407741575e9264f7c44e4623f606e0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-05 21:09:10 +01:00
Fabio Estevam
2b9044361f u-boot: Upgrade to 2023.10
Upgrade to U-Boot 2023.10.

The U-Boot 2023.10 tag is in the master branch, so switch the branch
back to master.

(From OE-Core rev: 6fce7f99ff5bacf7ad4b1816f462260fe41b38ee)

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-04 23:55:12 +01:00
Daniel Semkowicz
056fe7fad4 uboot-extlinux-config.bbclass: Add menu title configuration
Add new UBOOT_EXTLINUX_MENU_TITLE variable that allows configuring
the "MENU TITLE" entry.

If set to empty, "MENU TITLE" will not be added to the output file.

(From OE-Core rev: 23026911142585fde9290e21b07934fc583b6540)

Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-04 23:55:12 +01:00
Daniel Semkowicz
8676ca858b uboot-extlinux-config.bbclass: Uppercase "menu title" entry
All other extlinux.conf entries are written to the output file
in uppercase.

(From OE-Core rev: 6c89654cf37da95aeea07e1645f2cdffe320c8bc)

Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-04 23:55:12 +01:00
Daniel Semkowicz
67cf43618f uboot-extlinux-config.bbclass: Remove repeated space character
(From OE-Core rev: e8a7a8d93c20f966bc2845d23696d01234cbb227)

Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-04 23:55:12 +01:00
Ross Burton
5aa44d46c6 python3-numpy: remove obsolete reproducible workaround
We currently delete some pycache files because frozenset wasn't able to
be reproducible, but this has been fixed in Python 3.11:

33d95c6fac

(From OE-Core rev: 5c287a896fa9f5cd05b6a2411528fdc8fb2579d6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-04 23:55:12 +01:00
Markus Volk
c99934f683 gtk: Upgrade 4.12.1 -> 4.12.3
Overview of Changes in 4.12.3, 28-09-2023
=========================================

* GtkWindow:
 - Don't assume titlebars are GtkHeaderBar

* GtkTreeView:
 - Fix a crash in gtk_tree_view_is_blank_at_pos

* printing:
 - Fix some issues with the portal implementation

* GSK:
 - Some optimizations in the GL renderer
 - Fix memory leaks in the Broadway renderer

* demos:
 - Fix a crash in gtk4-demo

* Translation updates
 Basque
 Brazilian Portuguese
 Czech
 Galician
 Georgian
 German
 Hungarian
 Kazakh
 Lithuanian
 Persian
 Polish
 Spanish
 Swedish
 Turkish

Overview of Changes in 4.12.2, 20-09-2023
=========================================

* GtkTooltip:
 - Don't cross native boundaries when looking for tooltips

* GtkCenterLayout, GtkEntry, GtkSearchEntry:
 - Fix some issues with baseline handling

* GtkSwitch:
 - Respect text direction

* Theme:
 - Use relative font sizes

* GSK:
 - Make repeated gradients match between GL and cairo
 - Make rounded rect shrinking match between Vulkan, GL and cairo
 - Fix parsing of text nodes with color glyphs
 - Restrict an optimization to the cases where it is correct
 - Fix rendering of shadows with opacity

* macOS:
 - Clamp damage regions to the surface size

* Windows:
 - Fix missing minimize and maximize buttons

* Translation updates
 Basque
 Brazilian Portuguese
 Catalan
 Chinese (China)
 Czech
 Danish
 Dutch
 Finnish
 Galician
 German
 Hungarian
 Italian
 Kazakh
 Latvian
 Lithuanian
 Slovenian
 Spanish
 Turkish

(From OE-Core rev: ba738a1e2944468ef3e4d9c9810e98457fcd3b85)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-04 23:55:12 +01:00
Khem Raj
eac91be2e1 python3-docutils: Rename utilities to their canonical names
Packages which use the utilities usually call/search for these tools
without .py extension e.g. kernel-selftest and fails to find the tools
if they are having .py extension.

(From OE-Core rev: 47b221d6bc91139cd84ddcf9c57a12288eafd8be)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-04 23:55:12 +01:00
Markus Volk
e86612dc31 mesa: Upgrade 23.1.8 -> 23.2.1
- update 0001-gallium-Fix-build-with-llvm-17.patch
- remove as added upstream:
0001-intel-Allow-using-intel_clc-from-the-system.patch
- intel clc build is currently broken with llvm 17, but that issue is also
present
  with mesa 23.1.8

https://gitlab.freedesktop.org/mesa/mesa/-/issues/9701
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24879
https://github.com/KhronosGroup/SPIRV-LLVM-Translator/issues/2153

(From OE-Core rev: d95beb63b3cb8b8e53109304ab88b3938b137035)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-04 23:55:12 +01:00
Andreas Cord-Landwehr
4c0ce132a5 wayland: consider pkgconfig sysroot for pkgdatadir
Fix pkgconfig find calls to find wayland protocol XML files.
See discussion in:
https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/102

(From OE-Core rev: 428ffec520ff25b2a29d506d7af9e6ba8a150d8f)

Signed-off-by: Andreas Cord-Landwehr <cordlandwehr@kde.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-04 23:55:12 +01:00
Rasmus Villemoes
f7cbd05853 openssh: update sshd_check_keys script to make use of 'sshd -G'
Parsing sshd's config file with 'sed' does not work in for example the
case where somebody has made use of the new ability to add a config
fragment in /etc/ssh/sshd_config.d/ with one or more HostKey
stanzas. Also, sshd_config keywords are case-insensitive, but the
current sed pattern only matches the CamelCase spelling of HostKey.

In openssh 9.3, sshd learnt a new command line flag '-G', which causes
sshd to parse the given configuration file and print the resulting
effective configuration on stdout. So use that instead.

Furthermore, since that "effective configuration" includes the default
set of host keys if the configuration file has no HostKey stanzas, we
also avoid the script needing to know what sshd's default is - that
could plausibly change with some future release.

(From OE-Core rev: dd27f9d869b8aa28dfb18de037a24ab0ec735718)

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-04 23:55:12 +01:00
Richard Purdie
ce804a6797 qemurunner: Show both the login console log and all logging upon failure
It is unclear when things fail which output was on which serial port. Improve the output
to show the last lines of both data to improve debugging.

(From OE-Core rev: 605938b3bb19dcf6c7218648b4d16df9eaa675fc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-04 23:05:54 +01:00
Richard Purdie
aaaa314807 qemurunner: Log the second serial console as well as the first
To aid debugging, always log the second serial console as well as the first
to a seperate log file. This should make it clearer what happened when we
see test failures.

(From OE-Core rev: 372cd58fe672726900af80f3e65a108984da2750)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-04 23:05:54 +01:00
Richard Purdie
4abef7a9d9 qemurunner: Use backslashreplace with utf8 to make invalid characters clear
Switch to the backslashreplace error handling when decoding strings so that
invalid characters are clear in the stream to improve debugging.

(From OE-Core rev: 8ec86d46f736ec3e625b741e97545377c79414ee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-04 23:05:54 +01:00
Richard Purdie
2305928a00 qemurunner: Skip conversion from/to binary data for logfile
There is no point in decoding binary data only to encode it again risking
conversion issues. Write the raw data to the log file as binary and skip
the conversion.

Also always update self.msg even if a logfile isn't specified to improve
logging/debug.

(From OE-Core rev: b5d67471dddd198723c4f711747783a33e8e5987)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-04 23:05:54 +01:00
Richard Purdie
141707c232 wic: Add console parameters to qemux86 canned-wks
Currently our wic test images boot up without kernel output on the consoles
which means we have no way to debug if anything goes wrong. Add the console
parameters runqemu would have added if the kernel wasn't built into an image
to improve our chances of debugging.

(From OE-Core rev: 63ea1efdaaf1173ef4f2f69b5a3403afef4b556a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-04 23:05:54 +01:00
Richard Purdie
e444d2bed0 glibc: Pull in stable branch fixes
Pull in stable branch fixes including:

* tunables: Terminate if end of input is reached (CVE-2023-4911)
* Propagate GLIBC_TUNABLES in setxid binaries
* Document CVE-2023-4806 and CVE-2023-5156 in NEWS
* Fix leak in getaddrinfo introduced by the fix for CVE-2023-4806 [BZ #30843]

Also set CVE_STATUS accordingly for the fixes pulled in.

(From OE-Core rev: 7d77bce6158bf11a2de0944f75589382f153bb91)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-04 13:00:33 +01:00
Richard Purdie
8c4bb95c1c scritps/runqemu: Ensure we only have two serial ports
I have a theory that some of the console boot issues we're seeing are due to
starting images with three serial ports yet only starting gettys on two of them.

This means that occasionally, depending on the port numbering we may not get
a login prompt on the console we expect it on.

To fix this, change the runqemu code so that if serial ports are passed in on
the commandline (as is the case in automated testing), we don't add any other
GUI serial consoles.

We do need to make sure we do have at least two serial ports since we don't want
getty timeout warnings.

(From OE-Core rev: 1b0348535dce3b776efbcf26406b94730a51eb85)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-04 13:00:33 +01:00
Deepthi Hemraj
c6ed95a7e4 glibc: stable 2.38 branch updates.
Below commits on glibc-2.38 stable branch are updated.
0e1ef6779a (HEAD -> release/2.38/master, origin/release/2.38/master) manual/jobs.texi: Add missing @item EPERM for getpgid
d94461bb86 string: Fix tester build with fortify enable with gcc < 12
63250e9c57 iconv: restore verbosity with unrecognized encoding names (bug 30694)
00ae4f10b5 getaddrinfo: Fix use after free in getcanonname (CVE-2023-4806)
b25508dd77 CVE-2023-4527: Stack read overflow with large TCP responses in no-aaaa mode
89da8bc588 NEWS: Add the 2.38.1 bug list
d3ba6c1333 elf: Move l_init_called_next to old place of l_text_end in link map
750f19526a elf: Remove unused l_text_end field from struct link_map
a3189f66a5 elf: Always call destructors in reverse constructor order (bug 30785)
7ae211a01b elf: Do not run constructors for proxy objects
92201f16cb libio: Fix oversized __io_vtables
5bdef6f27c io: Fix record locking contants for powerpc64 with __USE_FILE_OFFSET64

0024-CVE-2023-4527.patch is dropped

(From OE-Core rev: eae8634ff7a7dd6f84c4607b5f1b0c6fe5e39f37)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-03 22:18:27 +01:00
Bruce Ashfield
3edb9acca1 linux-libc-headers: default to 6.5
kernel version 6.5 is the reference kernel for the fall
release.

This brings libc-headers up to date with that tested
reference

(From OE-Core rev: 7e1e77d3a17eddf59ea4f96b0c9cc5f432ac8da1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-01 08:12:59 +01:00
Bruce Ashfield
991a13cd61 linux-libc-headers: uprev to v6.5
The 6.4 kernel has been EOLd and 6.5 will be the newest reference
kernel.

So we bump our libc-headers to match

(From OE-Core rev: 23d249bd02fb008748eb3876bd1d87602bd955ec)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-01 08:12:59 +01:00
Bruce Ashfield
b5321bee1b linux-yocto: introduce 6.5 reference kernel recipes
The v6.4 kernel series has been EOLd upstream, so it isn't a
suitable "latest" reference kernel for the release.

The -dev kernel has previously tested 6.5, so we know that
core sanity is acceptable.

We introduce the 6.5 kernel recipes to go along with a -dev
of 6.6 and LTS of v6.1

Testing against all arches and refernce BSPs has passed.

(From OE-Core rev: 84262b0f0fcd51780328c8386f6430ca335b5cf8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-01 08:12:59 +01:00
Bruce Ashfield
2f7dc79877 linux-yocto-dev: update to v6.6-rcX
v6.5 will be the next reference kernel, so we update -dev to
follow 6.6-rcX.

(From OE-Core rev: de9a409448527b59d22a8e76a2604df77834c354)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-01 08:12:59 +01:00
Bruce Ashfield
6d04846916 linux-yocto/6.1: update to v6.1.55
Updating  to the latest korg -stable release that comprises
the following commits:

    d23900f974e0 Linux 6.1.55
    0db211ec0f1d interconnect: Teach lockdep about icc_bw_lock order
    b93aeb6352b0 net/sched: Retire rsvp classifier
    4c6bb9158179 drm/amdgpu: fix amdgpu_cs_p1_user_fence
    45ea58f9dbf8 Revert "memcg: drop kmem.limit_in_bytes"
    4422080e777e drm/amd/display: fix the white screen issue when >= 64GB DRAM
    97d4186c3503 ext4: fix rec_len verify error
    89365b624af5 scsi: pm8001: Setup IRQs on resume
    c2cb422dca0b scsi: megaraid_sas: Fix deadlock on firmware crashdump
    890e1e5dd8ba ata: libahci: clear pending interrupt status
    a3517ee1d4e6 ata: libata: disallow dev-initiated LPM transitions to unsupported states
    30057f4add41 i2c: aspeed: Reset the i2c controller when timeout occurs
    8b0f7d55b22e tracefs: Add missing lockdown check to tracefs_create_dir()
    dcf3caeee432 nfsd: fix change_info in NFSv4 RENAME replies
    978b86fbdb2a selinux: fix handling of empty opts in selinux_fs_context_submount()
    2617afde0c3d tracing: Have option files inc the trace array ref count
    6dc57c3a1d13 tracing: Have current_trace inc the trace array ref count
    a46bf337a20f tracing: Increase trace array ref count on enable and filter files
    0c2982b01501 tracing: Have event inject files inc the trace array ref count
    d65553fe5281 tracing: Have tracing_max_latency inc the trace array ref count
    1f89e6daf2b0 btrfs: check for BTRFS_FS_ERROR in pending ordered assert
    50e385d98b2a btrfs: release path before inode lookup during the ino lookup ioctl
    52932bbc6d4b btrfs: fix a compilation error if DEBUG is defined in btree_dirty_folio
    32247b9526bf btrfs: fix lockdep splat and potential deadlock after failure running delayed items
    d7b2abd87d1f dm: don't attempt to queue IO under RCU protection
    216eae7d7dea Revert "drm/amd: Disable S/G for APUs when 64GB or more host memory"
    98ea94f1627b md: Put the right device in md_seq_next
    f07c0bc27b0e nvme: avoid bogus CRTO values
    6a1d1365fafe io_uring/net: fix iter retargeting for selected buf
    e7dcf8339a0f ovl: fix incorrect fdput() on aio completion
    17854d92fa4a ovl: fix failed copyup of fileattr on a symlink
    6a84939cc7dd attr: block mode changes of symlinks
    3494a0066d8a Revert "SUNRPC: Fail faster on bad verifier"
    ba4f28a1d362 md/raid1: fix error: ISO C90 forbids mixed declarations
    2076b4b677c3 samples/hw_breakpoint: fix building without module unloading
    0dea06849924 x86/purgatory: Remove LTO flags
    2074cb608cb5 x86/boot/compressed: Reserve more memory for page tables
    038249ee7264 panic: Reenable preemption in WARN slowpath
    6069b9d8056d scsi: lpfc: Fix the NULL vs IS_ERR() bug for debugfs_create_file()
    1cd41d1669bc scsi: target: core: Fix target_cmd_counter leak
    dd8fce4e2da5 riscv: kexec: Align the kexeced kernel entry
    e9b8e266105a x86/ibt: Suppress spurious ENDBR
    03425393f41c selftests: tracing: Fix to unmount tracefs for recovering environment
    bc912eed8a1a scsi: qla2xxx: Fix NULL vs IS_ERR() bug for debugfs_create_dir()
    cbf226355ee3 drm: gm12u320: Fix the timeout usage for usb_bulk_msg()
    64561352c0f2 nvmet-tcp: pass iov_len instead of sg->length to bvec_set_page()
    5ee5c928dbb6 nvmet: use bvec_set_page to initialize bvecs
    00cf1dc13c1f block: factor out a bvec_set_page helper
    2174731a17b0 btrfs: compare the correct fsid/metadata_uuid in btrfs_validate_super
    31242daa108b btrfs: add a helper to read the superblock metadata_uuid
    44751b057c24 MIPS: Use "grep -E" instead of "egrep"
    8332311cd02a misc: fastrpc: Fix incorrect DMA mapping unmap request
    5a5641755ca8 misc: fastrpc: Prepare to dynamic dma-buf locking specification
    b4539ff7a48d dma-buf: Add unlocked variant of attachment-mapping functions
    6ca28642dd9a printk: Consolidate console deferred printing
    13ebf3ff08b0 printk: Keep non-panic-CPUs out of console lock
    ee42bfc791aa interconnect: Fix locking for runpm vs reclaim
    48aebbe801e7 kobject: Add sanity check for kset->kobj.ktype in kset_register()
    240571c49f76 media: pci: ipu3-cio2: Initialise timing struct to avoid a compiler warning
    91f400233edc usb: chipidea: add workaround for chipidea PEC bug
    8e3556f2f497 usb: ehci: add workaround for chipidea PORTSC.PEC bug
    48c135c30ad2 misc: open-dice: make OPEN_DICE depend on HAS_IOMEM
    a3c9315a8c78 serial: cpm_uart: Avoid suspicious locking
    4738bf8b2d36 scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show()
    6c440fec96af tools: iio: iio_generic_buffer: Fix some integer type and calculation
    826e9c91a203 usb: gadget: fsl_qe_udc: validate endpoint index for ch9 udc
    bbc9c3652708 usb: cdns3: Put the cdns set active part outside the spin lock
    96a0bf5827e7 media: pci: cx23885: replace BUG with error return
    257092cb544c media: tuners: qt1010: replace BUG_ON with a regular error
    b2a019ec8b33 scsi: lpfc: Abort outstanding ELS cmds when mailbox timeout error is detected
    dfcd3c010209 media: dvb-usb-v2: gl861: Fix null-ptr-deref in gl861_i2c_master_xfer
    6ab7ea4e17d6 media: az6007: Fix null-ptr-deref in az6007_i2c_xfer()
    14b94154a723 media: anysee: fix null-ptr-deref in anysee_master_xfer
    abb6fd93e05e media: af9005: Fix null-ptr-deref in af9005_i2c_xfer
    08dfcbd03b2b media: dw2102: Fix null-ptr-deref in dw2102_i2c_transfer()
    0143f282b15f media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer
    8ba9d91c8f21 media: mdp3: Fix resource leaks in of_find_device_by_node
    b78796126f80 PCI: fu740: Set the number of MSI vectors
    9318c3ae155b PCI: vmd: Disable bridge window for domain reset
    96f27ff73220 powerpc/pseries: fix possible memory leak in ibmebus_bus_init()
    ee378f45a70d ARM: 9317/1: kexec: Make smp stop calls asynchronous
    09066c19d945 PCI: dwc: Provide deinit callback for i.MX
    4de3a603010e jfs: fix invalid free of JFS_IP(ipimap)->i_imap in diUnmount
    2f7a36448f51 fs/jfs: prevent double-free in dbUnmount() after failed jfs_remount()
    035bc86fbf2b ext2: fix datatype of block number in ext2_xattr_set2()
    4f7d853b4590 md: raid1: fix potential OOB in raid1_remove_disk()
    4e547968a6e4 bus: ti-sysc: Configure uart quirks for k3 SoC
    4c743c1dd2ee drm/mediatek: dp: Change logging to dev for mtk_dp_aux_transfer()
    edddbdb8122e drm/exynos: fix a possible null-pointer dereference due to data race in exynos_drm_crtc_atomic_disable()
    a101b1bdd24a drm/amd/display: Blocking invalid 420 modes on HDMI TMDS for DCN314
    2c0f5b6972eb drm/amd/display: Blocking invalid 420 modes on HDMI TMDS for DCN31
    506d2ee72af2 drm/amd/display: Use DTBCLK as refclk instead of DPREFCLK
    2d027da82a96 ALSA: hda: intel-dsp-cfg: add LunarLake support
    cc4553c14fbb ASoC: Intel: sof_sdw: Update BT offload config for soundwire config
    d843bcc7adc9 ASoC: SOF: topology: simplify code to prevent static analysis warnings
    2ec715bf8816 drm/amd/display: Fix underflow issue on 175hz timing
    4630c27c5529 samples/hw_breakpoint: Fix kernel BUG 'invalid opcode: 0000'
    306c7903de14 arm64: dts: qcom: sm8250-edo: correct ramoops pmsg-size
    41ff904a7c46 arm64: dts: qcom: sm8150-kumano: correct ramoops pmsg-size
    23f9d0c67199 arm64: dts: qcom: sm6350: correct ramoops pmsg-size
    03499a685773 arm64: dts: qcom: sm6125-pdx201: correct ramoops pmsg-size
    766cc11e854e drm/edid: Add quirk for OSVR HDK 2.0
    8178dac6ee2c drm/bridge: tc358762: Instruct DSI host to generate HSE packets
    d5feaef143b6 libbpf: Free btf_vmlinux when closing bpf_object
    b9a175e3b250 wifi: mac80211_hwsim: drop short frames
    7e1cda5cf07f wifi: mac80211: check for station first in client probe
    d7b0fe3487d2 wifi: cfg80211: ocb: don't leave if not joined
    676a42341013 wifi: cfg80211: reject auth/assoc to AP with our address
    28b07e30bc14 netfilter: ebtables: fix fortify warnings in size_entry_mwt()
    7ae7a1378a11 wifi: mac80211: check S1G action frame size
    1c27b73ffa90 alx: fix OOB-read compiler warning
    a13c1f6c324a mmc: sdhci-esdhc-imx: improve ESDHC_FLAG_ERR010450
    b62e8838e988 tpm_tis: Resend command to recover from data transfer errors
    c2b226f223fb netlink: convert nlk->flags to atomic flags
    06e2b5ad72b6 Bluetooth: Fix hci_suspend_sync crash
    d3ad023a39f1 crypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui()
    e5d94c98a72f net/ipv4: return the real errno instead of -EINVAL
    d5372a1f0cdf net: Use sockaddr_storage for getsockopt(SO_PEERNAME).
    ab0ae0af0a2d can: sun4i_can: Add support for the Allwinner D1
    4eb79abf910a can: sun4i_can: Add acceptance register quirk
    f04b40cb70a5 wifi: wil6210: fix fortify warnings
    5c8bbb79c7cb mt76: mt7921: don't assume adequate headroom for SDIO headers
    4f621fe1acac wifi: mwifiex: fix fortify warning
    2640a8e54f84 wifi: ath9k: fix printk specifier
    1800a27a3dba wifi: ath9k: fix fortify warnings
    5760a72b3060 ice: Don't tx before switchdev is fully configured
    ad58d7ebbf93 crypto: lrw,xts - Replace strlcpy with strscpy
    ac70101e5b94 devlink: remove reload failed checks in params get/set callbacks
    a0300edca5df selftests/nolibc: fix up kernel parameters support
    1ea7e4780727 ACPI: x86: s2idle: Catch multiple ACPI_TYPE_PACKAGE objects
    dc1d81ee9312 hw_breakpoint: fix single-stepping when using bpf_overflow_handler
    d42d342d3132 perf/imx_ddr: speed up overflow frequency of cycle
    9d9b5cbc12f4 perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09
    4cb0612cf260 ACPI: video: Add backlight=native DMI quirk for Lenovo Ideapad Z470
    9f10b4eb1b21 scftorture: Forgive memory-allocation failure if KASAN
    83ed0cdb6ae0 rcuscale: Move rcu_scale_writer() schedule_timeout_uninterruptible() to _idle()
    3b1107abdc2c kernel/fork: beware of __put_task_struct() calling context
    e1f686930ee4 ACPICA: Add AML_NO_OPERAND_RESOLVE flag to Timer
    34bff6d85001 locks: fix KASAN: use-after-free in trace_event_raw_event_filelock_lock
    28062cd6eda0 btrfs: output extra debug info if we failed to find an inline backref
    726deae613bc autofs: fix memory leak of waitqueues in autofs_catatonic_mode
    a356197db198 Linux 6.1.54
    77b49370a261 drm/amd/display: Fix a bug when searching for insert_above_mpcc
    3ce9925584c6 MIPS: Only fiddle with CHECKFLAGS if `need-compiler'
    e5b28ce127a6 kcm: Fix error handling for SOCK_DGRAM in kcm_sendmsg().
    a47db2caae27 ixgbe: fix timestamp configuration code
    6f0d85d501ab tcp: Fix bind() regression for v4-mapped-v6 non-wildcard address.
    63830afece93 tcp: Fix bind() regression for v4-mapped-v6 wildcard address.
    489ced24c7ca tcp: Factorise sk_family-independent comparison in inet_bind2_bucket_match(_addr_any).
    82f9af464e01 ipv6: Remove in6addr_any alternatives.
    8b6556c4c4e3 ipv6: fix ip6_sock_set_addr_preferences() typo
    d5d315cf7687 net: macb: fix sleep inside spinlock
    7aa720c350c7 net: macb: Enable PTP unicast
    7f4116c6f984 net/tls: do not free tls_rec on async operation in bpf_exec_tx_verdict()
    f72497c521c9 platform/mellanox: NVSW_SN2201 should depend on ACPI
    9d392695f323 platform/mellanox: mlxbf-pmc: Fix reading of unprogrammed events
    3f16330a4869 platform/mellanox: mlxbf-pmc: Fix potential buffer overflows
    3a45dcfb4d3c platform/mellanox: mlxbf-tmfifo: Drop jumbo frames
    30c8bbe1edba platform/mellanox: mlxbf-tmfifo: Drop the Rx packet if no more descriptors
    16989de75497 kcm: Fix memory leak in error path of kcm_sendmsg()
    2323397e5877 r8152: check budget for r8152_poll()
    44c8ffd482cc net: dsa: sja1105: block FDB accesses that are concurrent with a switch reset
    e74bd1b229cb net: dsa: sja1105: serialize sja1105_port_mcast_flood() with other FDB accesses
    d766cf9ddb97 net: dsa: sja1105: fix multicast forwarding working only for last added mdb entry
    538e7fe66c46 net: dsa: sja1105: propagate exact error code from sja1105_dynamic_config_poll_valid()
    9a3e7eca2b5b net: dsa: sja1105: hide all multicast addresses from "bridge fdb show"
    66e79c2f3a93 net:ethernet:adi:adin1110: Fix forwarding offload
    c281948cebcc net: ethernet: adi: adin1110: use eth_broadcast_addr() to assign broadcast address
    61866f7d814e hsr: Fix uninit-value access in fill_frame_info()
    ff5faed5f548 net: ethernet: mtk_eth_soc: fix possible NULL pointer dereference in mtk_hwlro_get_fdir_all()
    349638f7e5d3 net: ethernet: mvpp2_main: fix possible OOB write in mvpp2_ethtool_get_rxnfc()
    9dbbc87d5b61 net: stmmac: fix handling of zero coalescing tx-usecs
    70c8d17007dc net/smc: use smc_lgr_list.lock to protect smc_lgr_list.list iterate in smcr_port_add
    ef5d546b9d4f selftests: Keep symlinks, when possible
    cdd61a27fb0a kselftest/runner.sh: Propagate SIGTERM to runner child
    980f84454798 net: ipv4: fix one memleak in __inet_del_ifa()
    9acb294ebdfe kunit: Fix wild-memory-access bug in kunit_free_suite_set()
    cb30ff2adb10 drm/amdgpu: register a dirty framebuffer callback for fbcon
    b53fee19ec5e drm/amd/display: Remove wait while locked
    2d7a6fcb1f23 drm/amd/display: always switch off ODM before committing more streams
    c29bfda64b44 perf hists browser: Fix the number of entries for 'e' key
    f4618f131629 perf tools: Handle old data in PERF_RECORD_ATTR
    be69e8c8f5c2 perf test shell stat_bpf_counters: Fix test on Intel
    cb0940640d51 perf hists browser: Fix hierarchy mode header
    ec5409612255 MIPS: Fix CONFIG_CPU_DADDI_WORKAROUNDS `modules_install' regression
    60b5ef4cf82c KVM: SVM: Skip VMSA init in sev_es_init_vmcb() if pointer is NULL
    12645e623f28 KVM: SVM: Set target pCPU during IRTE update if target vCPU is running
    5b2b0535fa7a KVM: nSVM: Load L1's TSC multiplier based on L1 state, not L2 state
    6c1ecfea1daf KVM: nSVM: Check instead of asserting on nested TSC scaling support
    5c18ace750e4 KVM: SVM: Get source vCPUs from source VM for SEV-ES intrahost migration
    ba82001e4118 KVM: SVM: Don't inject #UD if KVM attempts to skip SEV guest insn
    3988692acc92 KVM: SVM: Take and hold ir_list_lock when updating vCPU's Physical ID entry
    ff536a96687c drm/amd/display: prevent potential division by zero errors
    e1769b1dfcae drm/amd/display: enable cursor degamma for DCN3+ DRM legacy gamma
    3388ca3a38a5 mtd: rawnand: brcmnand: Fix ECC level field setting for v7.2 controller
    31d42146fa6f mtd: rawnand: brcmnand: Fix potential false time out warning
    7c6ba20a0b9a mtd: spi-nor: Correct flags for Winbond w25q128
    45fe4ad7f439 mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write
    a7e118fcc8b4 mtd: rawnand: brcmnand: Fix crash during the panic_write
    8bf2d4ca521d drm/mxsfb: Disable overlay plane in mxsfb_plane_overlay_atomic_disable()
    09974a1352d3 btrfs: use the correct superblock to compare fsid in btrfs_validate_super
    b692f7d1576b btrfs: zoned: re-enable metadata over-commit for zoned mode
    08daa38ca212 btrfs: set page extent mapped after read_folio in relocate_one_page
    91f6a538d625 btrfs: don't start transaction when joining with TRANS_JOIN_NOSTART
    f933a1c43b68 btrfs: free qgroup rsv on io failure
    cdc3ba292df8 btrfs: fix start transaction qgroup rsv double free
    59c38f050d9b btrfs: zoned: do not zone finish data relocation block group
    ef819c2f8e8a fuse: nlookup missing decrement in fuse_direntplus_link
    6694be119f63 ata: pata_ftide010: Add missing MODULE_DESCRIPTION
    ae73b94ad771 ata: sata_gemini: Add missing MODULE_DESCRIPTION
    1605f2709017 ata: pata_falcon: fix IO base selection for Q40
    cdd0d707357c ata: ahci: Add Elkhart Lake AHCI controller
    e93bc372dbc0 hwspinlock: qcom: add missing regmap config for SFPB MMIO implementation
    0649dc0af93a lib: test_scanf: Add explicit type cast to result initialization in test_number_prefix()
    980b592c6087 f2fs: avoid false alarm of circular locking
    1c64dbe8fa35 f2fs: flush inode if atomic file is aborted
    1fb3f1bbfdb5 ext4: fix memory leaks in ext4_fname_{setup_filename,prepare_lookup}
    03393857a95b ext4: add correct group descriptors and reserved GDT blocks to system zone
    20108975ec51 jbd2: correct the end of the journal recovery scan range
    dbafe636db41 jbd2: check 'jh->b_transaction' before removing it from checkpoint
    c5f23305f8b1 jbd2: fix checkpoint cleanup performance regression
    6ea18981bb8a dmaengine: sh: rz-dmac: Fix destination and source data size setting
    de43bc17987d clocksource/drivers/arm_arch_timer: Disable timer before programming CVAL
    f2953184bf19 ARC: atomics: Add compiler barrier to atomic operations...
    8eea0afbcc9d net/mlx5: Free IRQ rmap and notifier on kernel shutdown
    017a05805368 Multi-gen LRU: avoid race in inc_min_seq()
    69561478400c sh: boards: Fix CEU buffer size passed to dma_declare_coherent_memory()
    9cd5cf0bfeaf net: hns3: remove GSO partial feature bit
    136806771864 net: hns3: fix the port information display when sfp is absent
    9bd9afd55c52 net: hns3: fix invalid mutex between tc qdisc and dcb ets command issue
    d76436e26943 net: hns3: fix debugfs concurrency issue between kfree buffer and read
    b5087697130a net: hns3: fix byte order conversion issue in hclge_dbg_fd_tcam_read()
    5c28780f4232 net: hns3: fix tx timeout issue
    7bb8d52b4271 netfilter: nfnetlink_osf: avoid OOB read
    d9ebfc0f2137 netfilter: nftables: exthdr: fix 4-byte stack OOB write
    6cf0d1d5a50b bpf: Assign bpf_tramp_run_ctx::saved_run_ctx before recursion check.
    04f92e67b35d bpf: Invoke __bpf_prog_exit_sleepable_recur() on recursion in kern_sys_bpf().
    a12f15d1f863 bpf: Remove prog->active check for bpf_lsm and bpf_iter
    5f09b79e99ad net: dsa: sja1105: complete tc-cbs offload support on SJA1110
    ec9f203ad7f3 net: dsa: sja1105: fix -ENOSPC when replacing the same tc-cbs too many times
    483f0e3975df net: dsa: sja1105: fix bandwidth discrepancy between tc-cbs software and offload
    54b59bc18d19 ip_tunnels: use DEV_STATS_INC()
    175f290dc937 idr: fix param name in idr_alloc_cyclic() doc
    147d8da33a2c s390/zcrypt: don't leak memory if dev_set_name() fails
    ccb048dae8ff igb: Change IGB_MIN to allow set rx/tx value between 64 and 80
    74b98c61c9c6 igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80
    30acc4f954a0 igc: Change IGC_MIN to allow set rx/tx value between 64 and 80
    e2e2c839d827 octeontx2-af: Fix truncation of smq in CN10K NIX AQ enqueue mbox handler
    e30388b80d23 kcm: Destroy mutex in kcm_exit_net()
    a18349dc8d91 net: sched: sch_qfq: Fix UAF in qfq_dequeue()
    2100bbf55e56 af_unix: Fix data race around sk->sk_err.
    ce3aa88ceccd af_unix: Fix data-races around sk->sk_shutdown.
    2d8933ca863e af_unix: Fix data-race around unix_tot_inflight.
    b9cdbb38e030 af_unix: Fix data-races around user->unix_inflight.
    923877254f00 bpf, sockmap: Fix skb refcnt race after locking changes
    71fb38b222cf net: phy: micrel: Correct bit assignments for phy_device flags
    aa8fd3a63691 net: ipv6/addrconf: avoid integer underflow in ipv6_create_tempaddr
    e752860bbc3c veth: Fixing transmit return status for dropped packets
    a47ad6d226dc gve: fix frag_list chaining
    24b1e835db34 igb: disable virtualization features on 82580
    7ddfe350e255 ipv6: ignore dst hint for multipath routes
    0b2ee66411fe ipv4: ignore dst hint for multipath routes
    b7d25ac3627a mptcp: annotate data-races around msk->rmem_fwd_alloc
    787c5829681b net: annotate data-races around sk->sk_forward_alloc
    f1175881ddd9 net: use sk_forward_alloc_get() in sk_get_meminfo()
    bd9bd085c681 drm/i915/gvt: Drop unused helper intel_vgpu_reset_gtt()
    2b7510bb92c1 drm/i915/gvt: Put the page reference obtained by KVM's gfn_to_pfn()
    f5738399ed96 drm/i915/gvt: Verify pfn is "valid" before dereferencing "struct page"
    6436973164ea xsk: Fix xsk_diag use-after-free error during socket cleanup
    d92c34348b37 net: fib: avoid warn splat in flow dissector
    9036b6342fcd net: read sk->sk_family once in sk_mc_loop()
    5aaa7ee23203 ipv4: annotate data-races around fi->fib_dead
    471f534971d9 sctp: annotate data-races around sk->sk_wmem_queued
    f39b49077abe net/sched: fq_pie: avoid stalls in fq_pie_timer()
    47f72ee50226 smb: propagate error code of extract_sharename()
    60e3318e3e90 cifs: use fs_context for automounts
    84d577923450 blk-throttle: consider 'carryover_ios/bytes' in throtl_trim_slice()
    fd2420905c8e blk-throttle: use calculate_io/bytes_allowed() for throtl_trim_slice()
    8017a27cec32 drm/i915: mark requests for GuC virtual engines to avoid use-after-free
    0686336f7383 perf test stat_bpf_counters_cgrp: Enhance perf stat cgroup BPF counter test
    66b23e7b0822 perf test stat_bpf_counters_cgrp: Fix shellcheck issue about logical operators
    523f6268e865 pwm: lpc32xx: Remove handling of PWM channels
    fa5392873639 watchdog: intel-mid_wdt: add MODULE_ALIAS() to allow auto-load
    032cd8ce89a4 perf top: Don't pass an ERR_PTR() directly to perf_session__delete()
    adeb9f392d07 perf vendor events: Drop STORES_PER_INST metric event for power10 platform
    6ade9094b477 perf vendor events: Drop some of the JSON/events for power10 platform
    b7cbcafb6d04 perf vendor events: Update the JSON/events descriptions for power10 platform
    6a43e0d62311 x86/virt: Drop unnecessary check on extended CPUID level in cpu_has_svm()
    6522397e7502 perf annotate bpf: Don't enclose non-debug code with an assert()
    e62e740009cc Input: tca6416-keypad - fix interrupt enable disbalance
    a7345501a3bd Input: tca6416-keypad - always expect proper IRQ number in i2c client
    d7add2001991 backlight: gpio_backlight: Drop output GPIO direction check for initial power state
    9de7eb95bbe8 pwm: atmel-tcb: Fix resource freeing in error path and remove
    c42256a283d6 pwm: atmel-tcb: Harmonize resource allocation order
    b9734e8505bd pwm: atmel-tcb: Convert to platform remove callback returning void
    62dd514c34be perf trace: Really free the evsel->priv area
    e5dee8222d7c perf trace: Use zfree() to reduce chances of use after free
    eb17c3d0055b Input: iqs7222 - configure power mode before triggering ATI
    8ab594223950 kconfig: fix possible buffer overflow
    39c29d075352 mailbox: qcom-ipcc: fix incorrect num_chans counting
    36201d559b47 gfs2: low-memory forced flush fixes
    694e43f22c5b gfs2: Switch to wait_event in gfs2_logd
    c4807163e2d4 tpm_crb: Fix an error handling path in crb_acpi_add()
    46d3bc902b03 kbuild: do not run depmod for 'make modules_sign'
    390275d7a863 kbuild: rpm-pkg: define _arch conditionally
    31cf7853a940 net: deal with integer overflows in kmalloc_reserve()
    2b39866f0a38 net: factorize code in kmalloc_reserve()
    36974c3a5438 net: remove osize variable in __alloc_skb()
    5f7676fdaf42 net: add SKB_HEAD_ALIGN() helper
    8b4d0f3890c8 bus: mhi: host: Skip MHI reset if device is in RDDM
    fd9a8ad2cfa7 NFSv4/pnfs: minor fix for cleanup path in nfs4_get_device_info
    dac14a1dbe20 NFS: Fix a potential data corruption
    1bb9546c7aed clk: qcom: mss-sc7180: fix missing resume during probe
    017e60a215d8 clk: qcom: q6sstop-qcs404: fix missing resume during probe
    eab2ece5e4b5 clk: qcom: lpasscc-sc7280: fix missing resume during probe
    5310f712157a clk: qcom: dispcc-sm8450: fix runtime PM imbalance on probe errors
    f6250ecb7fbb soc: qcom: qmi_encdec: Restrict string length in decode
    c4e1204bd714 clk: qcom: gcc-mdm9615: use proper parent for pll0_vote clock
    5b3b0f7f7363 clk: imx: pll14xx: align pdiv with reference manual
    871244f8efe8 clk: imx: pll14xx: dynamically configure PLL for 393216000/361267200Hz
    311db21d4a1f dt-bindings: clock: xlnx,versal-clk: drop select:false
    54e5ff4af78b pinctrl: cherryview: fix address_space_handler() argument
    9c8fc05bd4d0 cifs: update desired access while requesting for directory lease
    db5d5673ab7e parisc: led: Reduce CPU overhead for disk & lan LED computation
    ff2c44f0118d parisc: led: Fix LAN receive and transmit LEDs
    421855d0d24d lib/test_meminit: allocate pages up to order MAX_ORDER
    84a212a72c84 mm: hugetlb_vmemmap: fix a race between vmemmap pmd split
    21ef9e11205f memcg: drop kmem.limit_in_bytes
    0f7339056893 send channel sequence number in SMB3 requests after reconnects
    22ec50d7b524 arm64: dts: renesas: rzg2l: Fix txdv-skew-psec typos
    df2d596e7e9c clk: qcom: turingcc-qcs404: fix missing resume during probe
    b83ae66d8265 ASoC: tegra: Fix SFC conversion for few rates
    3c9881fd220a drm/ast: Fix DRAM init on AST2200
    c0341bddd6cc clk: qcom: camcc-sc7180: fix async resume during probe
    f83c1b13f815 fbdev/ep93xx-fb: Do not assign to struct fb_info.dev
    a0b4a0666bea null_blk: fix poll request timeout handling
    f55797084931 scsi: qla2xxx: Fix firmware resource tracking
    3a9d4db2d2e0 scsi: qla2xxx: Error code did not return to upper layer
    c7355cbb9c1b scsi: qla2xxx: Fix smatch warn for qla_init_iocb_limit()
    974887e1d689 scsi: qla2xxx: Flush mailbox commands on chip reset
    98643561d853 scsi: qla2xxx: Remove unsupported ql2xenabledif option
    1f0e3814adc7 scsi: qla2xxx: Fix TMF leak through
    e6aabf0654cc scsi: qla2xxx: Fix session hang in gnl
    addaa136f10b scsi: qla2xxx: Turn off noisy message log
    01e3440ce021 scsi: qla2xxx: Fix erroneous link up failure
    ddb8fa05981c scsi: qla2xxx: Fix command flush during TMF
    6e44a7e2a0bc scsi: qla2xxx: fix inconsistent TMF timeout
    cd06c45b326e scsi: qla2xxx: Fix deletion race condition
    820010cfe5f8 scsi: qla2xxx: Limit TMF to 8 per function
    faf7e224b4fa scsi: qla2xxx: Adjust IOCB resource on qpair create
    98d3e7c5f757 drm/virtio: Conditionally allocate virtio_gpu_fence
    3e8b9b06de9d io_uring: Don't set affinity on a dying sqpoll thread
    9704cfcf1fa9 io_uring/sqpoll: fix io-wq affinity when IORING_SETUP_SQPOLL is used
    605d055452e7 io_uring: break out of iowq iopoll on teardown
    b04f22b68643 io_uring/net: don't overflow multishot accept
    5afbf7fdb730 io_uring: revert "io_uring fix multishot accept ordering"
    fd459200ff81 io_uring: always lock in io_apoll_task_func
    f36791596176 Multi-gen LRU: fix per-zone reclaim
    a73d04c46052 mm: multi-gen LRU: rename lrugen->lists[] to lrugen->folios[]
    7164d74aae1c net/ipv6: SKB symmetric hash should incorporate transport ports

(From OE-Core rev: d7efd25c9e6efa4adcc1646e36c2d6fe444f6e28)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-01 08:12:59 +01:00
Bruce Ashfield
7d0db51a39 linux-yocto/6.1: update to v6.1.53
Updating  to the latest korg -stable release that comprises
the following commits:

    09045dae0d90 Linux 6.1.53
    41cb5369cb80 udf: initialize newblock to 0
    c74b1cd93f26 clk: Avoid invalid function names in CLK_OF_DECLARE()
    59e0dd5bef6c treewide: Fix probing of devices in DT overlays
    abb597c85acb clk: Mark a fwnode as initialized when using CLK_OF_DECLARE() macro
    b372816ad610 md: fix regression for null-ptr-deference in __md_stop()
    adac9f0ddd2b NFSv4.2: Rework scratch handling for READ_PLUS (again)
    779563475162 NFSv4.2: Fix a potential double free with READ_PLUS
    d9ece8c0269f md: Free resources in __md_stop
    ba6a70adb557 Revert "drm/amd/display: Do not set drr on pipe commit"
    1dd387668d5b tracing: Zero the pipe cpumask on alloc to avoid spurious -EBUSY
    e43a7ae58d00 serial: sc16is7xx: fix regression with GPIO configuration
    8aaef0a3eb1b serial: sc16is7xx: remove obsolete out_thread label
    cc8a853c2d5f perf/x86/uncore: Correct the number of CHAs on EMR
    e1eb0419126f x86/sgx: Break up long non-preemptible delays in sgx_vepc_release()
    f705617bab47 USB: core: Fix oversight in SuperSpeed initialization
    8186596a6635 USB: core: Fix race by not overwriting udev->descriptor in hub_port_init()
    d309fa69c2e3 USB: core: Change usb_get_device_descriptor() API
    90b01f8df568 USB: core: Unite old scheme and new scheme descriptor reads
    0d3b5fe47938 usb: typec: bus: verify partner exists in typec_altmode_attention
    9b7cd3fe01f0 usb: typec: tcpm: set initial svdm version based on pd revision
    33a31064211c of: property: fw_devlink: Add a devlink for panel followers
    7f3d84cfaec7 cpufreq: brcmstb-avs-cpufreq: Fix -Warray-bounds bug
    08c86156361c crypto: stm32 - fix loop iterating through scatterlist for DMA
    73e64c5eeddf s390/dasd: fix string length handling
    f9a3d6f037c9 s390/ipl: add missing secure/has_secure file to ipl type 'unknown'
    6489ec010786 s390/dcssblk: fix kernel crash with list_add corruption
    8bf567b63c2a arm64: sdei: abort running SDEI handlers during crash
    e95d7a8a6edd pstore/ram: Check start of empty przs during init
    351705a44621 mmc: renesas_sdhi: register irqs before registering controller
    a3f6c1447db8 platform/chrome: chromeos_acpi: print hex string for ACPI_TYPE_BUFFER
    e6e6a5f50f58 x86/MCE: Always save CS register on AMD Zen IF Poison errors
    d08b39bb3dff fsverity: skip PKCS#7 parser when keyring is empty
    40a1ef4bb092 net: handle ARPHRD_PPP in dev_is_mac_header_xmit()
    342d130205f1 X.509: if signature is unsupported skip validation
    3d5fed8c79d9 r8169: fix ASPM-related issues on a number of systems with NIC version from RTL8168h
    ba50e7773a99 x86/sev: Make enc_dec_hypercall() accept a size instead of npages
    f8a7f10a1dcc dccp: Fix out of bounds access in DCCP error handler
    9667854e69a7 dlm: fix plock lookup when using multiple lockspaces
    c96c67991aac bpf: Fix issue in verifying allow_ptr_leaks
    b23c96589ff7 drm/amd/display: Add smu write msg id fail retry process
    5ad3e534605e parisc: Fix /proc/cpuinfo output for lscpu
    316a4a329a4d procfs: block chmod on /proc/thread-self/comm
    5e4e9900e6fa block: don't add or resize partition on the disk with GENHD_FL_NO_PART
    1654635bed83 Revert "PCI: Mark NVIDIA T4 GPUs to avoid bus reset"
    5a3e327dc3fd ntb: Fix calculation ntb_transport_tx_free_entry()
    88c7931f81d8 ntb: Clean up tx tail index on link down
    4f4af6b8b7a2 ntb: Drop packets when qp link is down
    e95e31a8607d PCI/PM: Only read PCI_PM_CTRL register when available
    223fc5352054 PCI: hv: Fix a crash in hv_pci_restore_msi_msg() during hibernation
    4443f3695d58 PCI: Free released resource after coalescing
    316f3984298a scsi: mpt3sas: Perform additional retries if doorbell read returns 0
    6c4f87e52331 Revert "scsi: qla2xxx: Fix buffer overrun"
    ab8c52977fe0 media: venus: hfi_venus: Write to VIDC_CTRL_INIT after unmasking interrupts
    25934d8f6eb2 media: dvb: symbol fixup for dvb_attach()
    fd4d61f85e76 ALSA: hda/cirrus: Fix broken audio on hardware with two CS42L42 codecs.
    ba0b46166b8e arm64: csum: Fix OoB access in IP checksum code for negative lengths
    ad661951a98f i3c: master: svc: fix probe failure when no i3c device exist
    cc9bf2d62f19 LoongArch: mm: Add p?d_leaf() definitions
    5a8b2c1665ca xtensa: PMU: fix base address for the newer hardware
    9a9b8596c3dc drm/amd/display: register edp_backlight_control() for DCN301
    47636d32a0ee backlight/lv5207lp: Compare against struct fb_info.device
    83166d03a5b7 backlight/bd6107: Compare against struct fb_info.device
    b4ab337aad09 backlight/gpio_backlight: Compare against struct fb_info.device
    8fa9cb58445d io_uring: break iopolling on signal
    4a3e0d51c3e1 XArray: Do not return sibling entries from xa_load()
    7a7f11283392 ARM: OMAP2+: Fix -Warray-bounds warning in _pwrdm_state_switch()
    09cb2a71b2e9 ipmi_si: fix a memleak in try_smi_init()
    dafe7acfedfb PCI: rockchip: Use 64-bit mask on MSI 64-bit PCI address
    823f52daef12 media: i2c: Add a camera sensor top level menu
    ceedc62a3bc8 media: i2c: ccs: Check rules is non-NULL
    fea9dd8653ff cpu/hotplug: Prevent self deadlock on CPU hot-unplug
    4245ca8f4051 mm/vmalloc: add a safer version of find_vm_area() for debug
    157c46360cf3 scsi: core: Fix the scsi_set_resid() documentation
    2344b1397651 printk: ringbuffer: Fix truncating buffer size min_t cast
    3f7a4e88e40e rcu: dump vmalloc memory info safely
    8ad2e7efb2ce ALSA: pcm: Fix missing fixup call in compat hw_refine ioctl
    8918025feb2f PM / devfreq: Fix leak in devfreq_dev_release()
    d2e906c72597 igb: set max size RX buffer when store bad packet is enabled
    04c3eee4e13f skbuff: skb_segment, Call zero copy functions before using skbuff frags
    4921f9349b66 netfilter: xt_sctp: validate the flag_info count
    1c164c1e9e93 netfilter: xt_u32: validate user space input
    bcdb4a5c42b0 netfilter: nft_exthdr: Fix non-linear header modification
    7ca0706c68ad netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c
    6678912b4df1 igmp: limit igmpv3_newpack() packet size to IP_MAX_MTU
    ad8900dd8a56 virtio_ring: fix avail_wrap_counter in virtqueue_add_packed
    4927edc23edc cpufreq: Fix the race condition while updating the transition_task of policy
    96db43aced39 Drivers: hv: vmbus: Don't dereference ACPI root object handle
    e351933e4a14 dmaengine: ste_dma40: Add missing IRQ check in d40_probe
    43a57ca7dd90 um: Fix hostaudio build errors
    222b85e748eb mtd: rawnand: fsmc: handle clk prepare error in fsmc_nand_resume()
    eaf4c78982ae mtd: spi-nor: Check bus width while setting QE bit
    3e313b6c470d leds: trigger: tty: Do not use LED_ON/OFF constants, use led_blink_set_oneshot instead
    f741121a2251 leds: Fix BUG_ON check for LED_COLOR_ID_MULTI that is always false
    a253c416e67d leds: multicolor: Use rounded division when calculating color components
    2804cc350804 leds: pwm: Fix error code in led_pwm_create_fwnode()
    cae0787e408c rpmsg: glink: Add check for kstrdup
    f309ac8a4db9 phy/rockchip: inno-hdmi: do not power on rk3328 post pll on reg write
    8f0f5452cb1b phy/rockchip: inno-hdmi: round fractal pixclock in rk3328 recalc_rate
    0d86292e3fbb phy/rockchip: inno-hdmi: use correct vco_div_5 macro on rk3328
    50fa01243dd5 dmaengine: idxd: Modify the dependence of attribute pasid_enabled
    6453a2fbc804 mtd: rawnand: brcmnand: Fix mtd oobsize
    74c85396bd73 tracing: Fix race issue between cpu buffer write and swap
    fb34716c9ee6 tracing: Remove extra space at the end of hwlat_detector/mode
    ca5e8427e20d x86/speculation: Mark all Skylake CPUs as vulnerable to GDS
    55a448e8d863 tick/rcu: Fix false positive "softirq work is pending" messages
    69b8d7bf834c platform/x86/amd/pmf: Fix a missing cleanup path
    2763732ec1e6 HID: multitouch: Correct devm device reference for hidinput input_dev name
    f283805d9843 HID: uclogic: Correct devm device reference for hidinput input_dev name
    6e5960954151 HID: logitech-dj: Fix error handling in logi_dj_recv_switch_to_dj_mode()
    cf38960386f3 RDMA/efa: Fix wrong resources deallocation order
    9d9a40530383 RDMA/siw: Correct wrong debug message
    bbd1b1b5082c RDMA/siw: Balance the reference of cep->kref in the error path
    3f39698e7e84 Revert "IB/isert: Fix incorrect release of isert connection"
    81ff633a88be amba: bus: fix refcount leak
    db18d5e3eee4 serial: tegra: handle clk prepare error in tegra_uart_hw_init()
    93e908545361 interconnect: qcom: bcm-voter: Use enable_maks for keepalive voting
    e9ef8b5099d5 interconnect: qcom: bcm-voter: Improve enable_mask handling
    1d085c6a25fa interconnect: qcom: sm8450: Enable sync_state
    5a5fb3b1754f scsi: fcoe: Fix potential deadlock on &fip->ctlr_lock
    f06c7d823ab5 scsi: core: Use 32-bit hostnum in scsi_host_lookup()
    f01cfec8d345 RDMA/irdma: Prevent zero-length STAG registration
    5fa1552877ce coresight: trbe: Fix TRBE potential sleep in atomic context
    848cd6f24aa7 cgroup:namespace: Remove unused cgroup_namespaces_init()
    0d545a8e77cb Revert "f2fs: fix to do sanity check on extent cache correctly"
    3f60a36ed6e3 f2fs: Only lfs mode is allowed with zoned block device feature
    33d4c00725b0 f2fs: judge whether discard_unit is section only when have CONFIG_BLK_DEV_ZONED
    4d7e804f49a0 f2fs: fix to avoid mmap vs set_compress_option case
    3a2cf76cfb8f media: i2c: rdacm21: Fix uninitialized value
    86a41ad0128a media: ov2680: Fix regulators being left enabled on ov2680_power_on() errors
    85fb0b963f2b media: ov2680: Fix ov2680_set_fmt() which == V4L2_SUBDEV_FORMAT_TRY not working
    0790c0914059 media: ov2680: Add ov2680_fill_format() helper function
    90fbf01c8080 media: ov2680: Don't take the lock for try_fmt calls
    e0b6edf4a346 media: ov2680: Remove VIDEO_V4L2_SUBDEV_API ifdef-s
    6d51cdf66b9f media: ov2680: Fix vflip / hflip set functions
    7263c39fd711 media: ov2680: Fix ov2680_bayer_order()
    ef9055e9a768 media: ov2680: Remove auto-gain and auto-exposure controls
    9e6e509c08f6 media: i2c: ov2680: Set V4L2_CTRL_FLAG_MODIFY_LAYOUT on flips
    2b9d0a65d133 media: ov5640: Fix initial RESETB state and annotate timings
    5074c70795d4 media: ov5640: Enable MIPI interface in ov5640_set_power_mipi()
    a4cd2c3eff18 HID: input: Support devices sending Eraser without Invert
    297992e5c635 drivers: base: Free devm resources when unregistering a device
    66eb45e7d5fc USB: gadget: f_mass_storage: Fix unused variable warning
    324da2f3ee73 USB: gadget: core: Add missing kerneldoc for vbus_work
    365ce3f86bb1 docs: ABI: fix spelling/grammar in SBEFIFO timeout interface
    c90182cffbff media: venus: hfi_venus: Only consider sys_idle_indicator on V1
    d52509fdb29c media: go7007: Remove redundant if statement
    0294e2475092 media: cec: core: add adap_unconfigured() callback
    d6610151ae22 media: cec: core: add adap_nb_transmit_canceled() callback
    6ced15ff1746 platform/x86: dell-sysman: Fix reference leak
    45e3181d7995 iommu/vt-d: Fix to flush cache of PASID directory table
    d9c47d2bf307 iommu/qcom: Disable and reset context bank before programming
    a30f26dc3ad9 fsi: aspeed: Reset master errors after CFAM reset
    d020963638f2 IB/uverbs: Fix an potential error pointer dereference
    4dca13c30b9e RDMA/hns: Fix CQ and QP cache affinity
    2368ce8cd5ad RDMA/hns: Fix inaccurate error label name in init instance
    93c986805f4e RDMA/hns: Fix incorrect post-send with direct wqe of wr-list
    c48b0b30ac92 RDMA/hns: Fix port active speed
    117a1b903baf iommu/sprd: Add missing force_aperture
    fadc62aa82d2 iommu/mediatek: Fix two IOMMU share pagetable issue
    f81325a709dd iommu/mediatek: Remove unused "mapping" member from mtk_iommu_data
    343ccde5ade7 extcon: cht_wc: add POWER_SUPPLY dependency
    d3e075a3f099 kernfs: add stub helper for kernfs_generic_poll()
    91a05d4c12ce driver core: Call dma_cleanup() on the test_remove path
    58a3b87be681 driver core: test_async: fix an error code
    636f5b8a6601 dma-buf/sync_file: Fix docs syntax
    ae867cab6bc9 interconnect: qcom: qcm2290: Enable sync state
    7e1476f27751 coresight: tmc: Explicit type conversions to prevent integer overflow
    ee8f58b40e4a RDMA/irdma: Replace one-element array with flexible-array member
    af6fd0b3bccf scsi: qedf: Do not touch __user pointer in qedf_dbg_fp_int_cmd_read() directly
    dd8ce1c9ff49 scsi: qedf: Do not touch __user pointer in qedf_dbg_debug_cmd_read() directly
    472f2497a4c8 scsi: qedf: Do not touch __user pointer in qedf_dbg_stop_io_on_error_cmd_read() directly
    70518f3aaf5a RDMA/rxe: Fix incomplete state save in rxe_requester
    59a4f61feccf RDMA/rxe: Split rxe_run_task() into two subroutines
    0ad56bf59dc3 x86/APM: drop the duplicate APM_MINOR_DEV macro
    6d209ed70f9c serial: sprd: Fix DMA buffer leak issue
    70f7513342f4 serial: sprd: Assign sprd_port after initialized to avoid wrong access
    21608d2ba565 iio: accel: adxl313: Fix adxl313_i2c_id[] table
    25feffb3fbd5 scsi: qla4xxx: Add length check when parsing nlattrs
    1806edae979f scsi: be2iscsi: Add length check when parsing nlattrs
    85b8c282d185 scsi: iscsi: Add strlen() check in iscsi_if_set{_host}_param()
    bb8d101b835a scsi: iscsi: Add length check for nlattr payload
    2737d82760ae scsi: iscsi: Rename iscsi_set_param() to iscsi_if_set_param()
    bdc4f8f68171 scsi: RDMA/srp: Fix residual handling
    67b02818e209 usb: phy: mxs: fix getting wrong state with mxs_phy_is_otg_host()
    858322c409e0 media: mediatek: vcodec: fix resource leaks in vdec_msg_queue_init()
    bdc00039fd1b media: mediatek: vcodec: fix potential double free
    a356b60031d1 media: mediatek: vcodec: Return NULL if no vdec_fb is found
    b4ee61e5a110 media: amphion: ensure the bitops don't cross boundaries
    932d84a8a808 media: amphion: fix UNUSED_VALUE issue reported by coverity
    60f6392bdede media: amphion: fix UNINIT issues reported by coverity
    bddd678fd286 media: amphion: fix REVERSE_INULL issues reported by coverity
    3930d62f5d7c media: amphion: fix CHECKED_RETURN issues reported by coverity
    9ada33ee83dd media: rkvdec: increase max supported height for H.264
    715c0200b480 media: mtk-jpeg: Fix use after free bug due to uncanceled work
    62ea218a7e7f media: amphion: add helper function to get id name
    745f40a96c7f media: amphion: reinit vpu if reqbufs output 0
    6f0d0f5613d7 dt-bindings: extcon: maxim,max77843: restrict connector properties
    dd0dadb93844 scsi: hisi_sas: Fix normally completed I/O analysed as failed
    ab0719d7b6e4 scsi: hisi_sas: Fix warnings detected by sparse
    79a1a8f83869 RDMA/siw: Fabricate a GID on tun and loopback devices
    a96892a40fce media: cx24120: Add retval check for cx24120_message_send()
    2b6e20ef0585 media: dvb-usb: m920x: Fix a potential memory leak in m920x_i2c_xfer()
    323ee5fc980b media: dib7000p: Fix potential division by zero
    90e0ea8e9b26 drivers: usb: smsusb: fix error handling code in smsusb_init_device
    92e2dcf9412f iommu: rockchip: Fix directory table address encoding
    13ed255248df iommu/amd/iommu_v2: Fix pasid_state refcount dec hit 0 warning on pasid unbind
    25afb3e03bf8 media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link()
    aeb79a1778cb media: i2c: tvp5150: check return value of devm_kasprintf()
    d7d47edf78c9 media: ad5820: Drop unsupported ad5823 from i2c_ and of_device_id tables
    79e2cc5c4c10 media: ov5640: fix low resolution image abnormal issue
    5643c936d1b8 RDMA/qedr: Remove a duplicate assignment in irdma_query_ah()
    8199a46af2ea cgroup/cpuset: Inherit parent's load balance state in v2
    590b45e5cd12 pNFS: Fix assignment of xprtdata.cred
    4030ace74d8b NFSv4.2: fix handling of COPY ERR_OFFLOAD_NO_REQ
    fdbc9637bf82 NFS: Guard against READDIR loop when entry names exceed MAXNAMELEN
    6d08bd22fa29 NFSD: da_addr_body field missing in some GETDEVICEINFO replies
    02a29a2455b0 fs: lockd: avoid possible wrong NULL parameter
    f27f759f4cd4 jfs: validate max amount of blocks before allocation.
    b648f5717581 ext4: fix unttached inode after power cut with orphan file feature enabled
    f17d5efaafba powerpc/iommu: Fix notifiers being shared by PCI and VIO buses
    e83f5e21089b powerpc/mpc5xxx: Add missing fwnode_handle_put()
    4515f1676d8d powerpc/pseries: Fix hcall tracepoints with JUMP_LABEL=n
    ebbfe48dd15f nfs/blocklayout: Use the passed in gfp flags
    4c8568cf4c45 powerpc/pseries: Rework lppaca_shared_proc() to avoid DEBUG_PREEMPT
    a5b6b008e358 powerpc: Don't include lppaca.h in paca.h
    18d51547fe2f NFSv4.2: Fix READ_PLUS size calculations
    fccdafa51de0 NFSv4.2: Fix up READ_PLUS alignment
    5c47974263e8 NFSv4.2: Fix READ_PLUS smatch warnings
    886959f425b6 NFSv4.2: Rework scratch handling for READ_PLUS
    e12e13952b0c wifi: ath10k: Use RMW accessors for changing LNKCTL
    811ec8bc68f3 wifi: ath11k: Use RMW accessors for changing LNKCTL
    7f4c9c44d1b9 net/mlx5: Use RMW accessors for changing LNKCTL
    433330fb1296 drm/radeon: Use RMW accessors for changing LNKCTL
    a0f0daf60bc1 drm/amdgpu: Use RMW accessors for changing LNKCTL
    ed6483fac428 powerpc/perf: Convert fsl_emb notifier to state machine callbacks
    1d58a9246989 powerpc/fadump: reset dump area size if fadump memory reserve fails
    ab8094db59e1 nvdimm: Fix dereference after free in register_nvdimm_pmu()
    500a6ff9c2a8 nvdimm: Fix memleak of pmu attr_groups in unregister_nvdimm_pmu()
    f6f300ecc196 vfio/type1: fix cap_migration information leak
    aae5a866d397 powerpc/radix: Move some functions into #ifdef CONFIG_KVM_BOOK3S_HV_POSSIBLE
    dd9241fc4b19 clk: imx: composite-8m: fix clock pauses when set_rate would be a no-op
    cc7e04d7ff92 clk: imx8mp: fix sai4 clock
    fcaf148b20f0 clk: imx: imx8ulp: update SPLL2 type
    e1139dea2c02 clk: imx: pllv4: Fix SPLL2 MULT range
    402e73f64597 clk: qcom: gcc-sm8450: Use floor ops for SDCC RCGs
    6c88c9d9c630 PCI/ASPM: Use RMW accessors for changing LNKCTL
    952da7c6e199 PCI: pciehp: Use RMW accessors for changing LNKCTL
    f2d7da8fafed PCI: Add locking to RMW PCI Express Capability Register accessors
    3108f7c78884 PCI: Allow drivers to request exclusive config regions
    8a5e87f9e93c pinctrl: mcp23s08: check return value of devm_kasprintf()
    8562df72cff2 PCI: Mark NVIDIA T4 GPUs to avoid bus reset
    f3229c9cb634 PCI: microchip: Correct the DED and SEC interrupt bit offsets
    9daefd22756e clk: qcom: gcc-sm6350: Fix gcc_sdcc2_apps_clk_src
    a1801d14a891 clk: qcom: reset: Use the correct type of sleep/delay based on length
    a4ff4b54f388 kvm/vfio: ensure kvg instance stays around in kvm_vfio_group_add()
    fef33ca5e28c kvm/vfio: Prepare for accepting vfio device fd
    cc16a50d5088 clk: qcom: gcc-sm8250: Fix gcc_sdcc2_apps_clk_src
    e0f5698757ab ext4: avoid potential data overflow in next_linear_group
    772ca4bc1d0d ext4: correct grp validation in ext4_mb_good_group
    d5fc7d681320 EDAC/igen6: Fix the issue of no error events
    8f43c4000cdf clk: qcom: gcc-sc7180: Fix up gcc_sdcc2_apps_clk_src
    d1a5f22abab4 clk: sunxi-ng: Modify mismatched function name
    d96799ee3b78 PCI/DOE: Fix destroy_work_on_stack() race
    4a43285900cd drivers: clk: keystone: Fix parameter judgment in _of_pll_clk_init()
    d96da888dcd7 PCI: qcom-ep: Switch MHI bus master clock off during L1SS
    c53d53006d7f PCI: apple: Initialize pcie->nvecs before use
    7618133eda26 clk: rockchip: rk3568: Fix PLL rate setting for 78.75MHz
    eb613f81d034 clk: qcom: gcc-sc8280xp: Add missing GDSCs
    57fc62c50690 dt-bindings: clock: qcom,gcc-sc8280xp: Add missing GDSCs
    06d3a7e03c61 clk: qcom: gcc-sc8280xp: Add missing GDSC flags
    747848b4afea clk: qcom: gcc-sc8280xp: Add EMAC GDSCs
    9cba16beca66 clk: qcom: gpucc-sm6350: Fix clock source names
    6ace98cb617b clk: qcom: gpucc-sm6350: Introduce index-based clk lookup
    74a1194cce60 ipmi:ssif: Fix a memory leak when scanning for an adapter
    2e7d90a81b9c ipmi:ssif: Add check for kstrdup
    abbd28d04c36 ALSA: ac97: Fix possible error value of *rac97
    53996463f8c3 of: unittest: Fix overlay type in apply/revert check
    3fb210cd521c of: overlay: Call of_changeset_init() early
    b13b0c84a4af ASoC: SOF: amd: clear dsp to host interrupt status
    c4b06324fc44 md: raid0: account for split bio in iostat accounting
    cc54fa43de67 md/raid0: Fix performance regression for large sequential writes
    cd1dd83888d7 md/raid0: Factor out helper for mapping and submitting a bio
    c227aa141660 md: add error_handlers for raid0 and linear
    bc82cd1e7ff2 firmware: cs_dsp: Fix new control name check
    711fb9260620 md/raid5-cache: fix null-ptr-deref for r5l_flush_stripe_to_raid()
    ac9e103f282a md/raid5-cache: fix a deadlock in r5l_exit_log()
    26bf790b8e99 bus: ti-sysc: Fix cast to enum warning
    5abfee5e4076 arm64: dts: qcom: sc8280xp-x13s: Unreserve NC pins
    b386c3e16956 arm64: dts: qcom: msm8996: Fix dsi1 interrupts
    c6035ee015b9 arm64: dts: qcom: msm8998: Add missing power domain to MMSS SMMU
    cab4cdb2a4bd arm64: dts: qcom: msm8998: Drop bus clock reference from MMSS SMMU
    67b4726cb87e arm64: dts: qcom: apq8016-sbc: Fix ov5640 regulator supply names
    867aa88c9efa drm/mediatek: Fix potential memory leak if vmap() fail
    1e47d1ac20e3 ARM: dts: qcom: ipq4019: correct SDHCI XO clock
    4d6a25792fc1 drm/mediatek: Remove freeing not dynamic allocated memory
    635051576f0e bus: ti-sysc: Fix build warning for 64-bit build
    b625a6eaf2bf drm/mediatek: dp: Add missing error checks in mtk_dp_parse_capabilities
    0c323430e470 io_uring: fix drain stalls by invalid SQE
    9183c4fe9141 block/mq-deadline: use correct way to throttling write requests
    9ca08adb75fb audit: fix possible soft lockup in __audit_inode_child()
    607eda339b60 drm/msm/a2xx: Call adreno_gpu_init() earlier
    f27dff881f0b drm/amd/pm: fix variable dereferenced issue in amdgpu_device_attr_create()
    d41ceafe3d24 smackfs: Prevent underflow in smk_set_cipso()
    d1994bb5947c drm/msm/dpu: fix the irq index in dpu_encoder_phys_wb_wait_for_commit_done
    bd3a6b6d5dd8 firmware: meson_sm: fix to avoid potential NULL pointer dereference
    2965015006ef drm/msm/mdp5: Don't leak some plane state
    0cd481c27b03 soc: qcom: smem: Fix incompatible types in comparison
    3b1f1999a300 drm: xlnx: zynqmp_dpsub: Add missing check for dma_set_mask
    9b372d2fdc44 ima: Remove deprecated IMA_TRUSTED_KEYRING Kconfig
    92eaa1840301 drm/panel: simple: Add missing connector type and pixel format for AUO T215HVN01
    4174f889c4c1 drm/repaper: Reduce temporary buffer size in repaper_fb_dirty()
    d544c89bb1cd drm/armada: Fix off-by-one error in armada_overlay_get_property()
    0ef736fec614 ARM: dts: BCM53573: Fix Tenda AC9 switch CPU port
    976eca4cbd37 arm64: dts: qcom: sm8150: Fix the I2C7 interrupt
    43cc228099c5 of: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()
    4ab834ff9fbf drm/tegra: dpaux: Fix incorrect return value of platform_get_irq
    508383dc278c drm/msm: Update dev core dump to not print backwards
    f9b9c6b0d451 md/md-bitmap: hold 'reconfig_mutex' in backlog_store()
    e970bc3828b7 md/md-bitmap: remove unnecessary local variable in backlog_store()
    3829cb3caeda md/raid10: use dereference_rdev_and_rrdev() to get devices
    27acd8c13183 md/raid10: factor out dereference_rdev_and_rrdev()
    097f30f0cef8 md: restore 'noio_flag' for the last mddev_resume()
    835cbfebc1c5 md: Change active_io to percpu
    3db392257008 md: Factor out is_md_suspended helper
    8dcc23191a6d drm/amdgpu: Update min() to min_t() in 'amdgpu_info_ioctl'
    13f5c43e0921 arm64: dts: qcom: msm8996-gemini: fix touchscreen VIO supply
    5ccd294df265 arm64: dts: qcom: sdm845: Fix the min frequency of "ice_core_clk"
    4aaced381c69 arm64: dts: qcom: sdm845: Add missing RPMh power domain to GCC
    a80621bb23dc ARM: dts: BCM53573: Fix Ethernet info for Luxul devices
    b9fa4e10b5cf drm: adv7511: Fix low refresh rate register for ADV7533/5
    1a7314734743 ARM: dts: samsung: s5pv210-smdkv210: correct ethernet reg addresses (split)
    9a91a5466ab1 ARM: dts: s5pv210: add dummy 5V regulator for backlight on SMDKv210
    4e184a73203c ARM: dts: samsung: s3c6410-mini6410: correct ethernet reg addresses (split)
    075ee661ba67 drm/bridge: anx7625: Use common macros for HDCP capabilities
    ba1ca2cf4d00 drm/bridge: anx7625: Use common macros for DP power sequencing commands
    d309b170ea70 x86/mm: Fix PAT bit missing from page protection modify mask
    00c0b2825bb5 block: don't allow enabling a cache on devices that don't support it
    e5e0ec8ff160 block: cleanup queue_wc_store
    7db90dd1c5a4 drm/etnaviv: fix dumping of active MMU context
    800bf8a2226e arm64: tegra: Fix HSUART for Smaug
    ee5e1d6480ef arm64: dts: qcom: pmi8994: Add missing OVP interrupt
    31fe89ccf5a0 arm64: dts: qcom: pm660l: Add missing short interrupt
    cd1ba241d21e arm64: dts: qcom: pm6150l: Add missing short interrupt
    6fd913f0f63f arm64: dts: qcom: sm8250-sony-xperia: correct GPIO keys wakeup again
    0f0e6963705a arm64: tegra: Fix HSUART for Jetson AGX Orin
    f5ff6897094f ARM: dts: BCM53573: Use updated "spi-gpio" binding properties
    ab5154ae26c4 ARM: dts: BCM53573: Add cells sizes to PCIe node
    ee1d740374aa ARM: dts: BCM53573: Drop nonexistent #usb-cells
    fd28ce30b525 drm/amdgpu: avoid integer overflow warning in amdgpu_device_resize_fb_bar()
    1f3b03863ef5 firmware: ti_sci: Use system_state to determine polling
    0765a80c160d ARM: dts: stm32: Add missing detach mailbox for DHCOM SoM
    e3c7b7ce7cd6 ARM: dts: stm32: Update to generic ADC channel binding on DHSOM systems
    9d77a7fc5d04 ARM: dts: stm32: Add missing detach mailbox for Odyssey SoM
    c0929f2bbd68 ARM: dts: stm32: YAML validation fails for Odyssey Boards
    aa72079a1952 ARM: dts: stm32: Add missing detach mailbox for emtrion emSBC-Argon
    0746cab4768d ARM: dts: stm32: adopt generic iio bindings for adc channels on emstamp-argon
    a5274a79ef3a ARM: dts: stm32: YAML validation fails for Argon Boards
    e62c091b6dfa ARM: dts: stm32: Rename mdio0 to mdio
    e8d6e54daf1a arm64: dts: qcom: sm8250: Mark PCIe hosts as DMA coherent
    c755b194d793 arm64: dts: qcom: pmk8350: fix ADC-TM compatible string
    5aa1969ce7c4 arm64: dts: qcom: pmr735b: fix thermal zone name
    de4688dcc0f6 arm64: dts: qcom: pm8350b: fix thermal zone name
    0f52060fa1db arm64: dts: qcom: pm8350: fix thermal zone name
    8fd3533f4bce arm64: dts: qcom: sm8350: Use proper CPU compatibles
    db336dcb0127 arm64: dts: qcom: sm8350: Add missing LMH interrupts to cpufreq
    0c32fba73549 arm64: dts: qcom: sm8350: Fix CPU idle state residency times
    c97633eaf571 arm64: dts: qcom: sdm845-tama: Set serial indices and stdout-path
    8622340505dc arm64: dts: qcom: msm8996: Add missing interrupt to the USB2 controller
    82c3d3490b6b arm64: dts: qcom: sc8280xp: Add missing SCM interconnect
    e5bf98ceac1e arm64: dts: qcom: sc8280xp-crd: Correct vreg_misc_3p3 GPIO
    4c7477d0daaa arm64: dts: qcom: sm8250-edo: Rectify gpio-keys
    7852d207882c arm64: dts: qcom: sm8250-edo: Add GPIO line names for PMIC GPIOs
    4a36d16cdf3c arm64: dts: qcom: sm8250-edo: Add gpio line names for TLMM
    537346ff2a60 arm64: dts: qcom: msm8916-l8150: correct light sensor VDDIO supply
    d244c92988ab arm64: dts: qcom: sm8250: correct dynamic power coefficients
    e2040c110138 arm64: dts: qcom: sm6350: Fix ZAP region
    ba7ff6085b80 soc: qcom: ocmem: Fix NUM_PORTS & NUM_MACROS macros
    fb4a774a6627 soc: qcom: ocmem: Add OCMEM hardware version print
    7bdeb7679f4c ASoC: stac9766: fix build errors with REGMAP_AC97
    c2c6dfc04237 drm/hyperv: Fix a compilation issue because of not including screen_info.h
    a9fa161b8356 drm/amd/display: Do not set drr on pipe commit
    3027e200dd58 quota: fix dqput() to follow the guarantees dquot_srcu should provide
    d57af071cf40 quota: add new helper dquot_active()
    fdcc50d506f3 quota: rename dquot_active() to inode_quota_active()
    622789ebe197 quota: factor out dquot_write_dquot()
    25193037e083 ASoC: cs43130: Fix numerator/denominator mixup
    aa449fa41e10 drm/bridge: tc358764: Fix debug print parameter order
    45107f9ca863 netrom: Deny concurrent connect().
    a1e820fc7808 net/sched: sch_hfsc: Ensure inner classes have fsc curve
    85da5ec0681e sfc: Check firmware supports Ethernet PTP filter
    ea701e0eba7e cteonxt2-pf: Fix backpressure config for multiple PFC priorities to work simultaneously
    1b7f266e0219 octeontx2-pf: Fix PFC TX scheduler free
    80de42d9af97 octeontx2-pf: Refactor schedular queue alloc/free calls
    23a7b872898b hwmon: (tmp513) Fix the channel number in tmp51x_is_visible()
    8b2fb4b671b3 mlxsw: core_hwmon: Adjust module label names based on MTCAP sensor counter
    6406a95c4a5e mlxsw: i2c: Limit single transaction buffer size
    2fc240094031 mlxsw: i2c: Fix chunk size setting in output mailbox buffer
    ec9538da6ce4 net: arcnet: Do not call kfree_skb() under local_irq_disable()
    cb09afe905cb ice: avoid executing commands on other ports when driving sync
    90e7778660c9 wifi: ath9k: use IS_ERR() with debugfs_create_dir()
    4a8fadcf3748 arm64: mm: use ptep_clear() instead of pte_clear() in clear_flush()
    a33ae132eec2 Bluetooth: btusb: Do not call kfree_skb() under spin_lock_irqsave()
    7e7197e4d6a1 wifi: mwifiex: avoid possible NULL skb pointer dereference
    7930fa4ca871 mac80211: make ieee80211_tx_info padding explicit
    4381d6083254 wifi: nl80211/cfg80211: add forgotten nla_policy for BSS color attribute
    4c340bfddce6 wifi: ath9k: protect WMI command response buffer replacement with a lock
    8ba31f946a6d wifi: ath9k: fix races between ath9k_wmi_cmd and ath9k_wmi_ctrl_rx
    7984c381bbc1 samples/bpf: fix broken map lookup probe
    c813db76bc15 samples/bpf: fix bio latency check with tracepoint
    ef67f3a959a7 ARM: dts: Add .dts files missing from the build
    cde525d61178 wifi: mwifiex: Fix missed return in oob checks failed path
    84081b4baafb wifi: mwifiex: fix memory leak in mwifiex_histogram_read()
    9257a1d6f272 net: annotate data-races around sk->sk_lingertime
    844d60cc5efc fs: ocfs2: namei: check return value of ocfs2_add_entry()
    a485a4bd8238 lwt: Check LWTUNNEL_XMIT_CONTINUE strictly
    065d5f17096e lwt: Fix return values of BPF xmit ops
    0159a21b9d8e hwrng: iproc-rng200 - Implement suspend and resume calls
    92651ce45ba1 crypto: caam - fix unchecked return value error
    841d2fffd09f ice: ice_aq_check_events: fix off-by-one check when filling buffer
    0f50641222f5 net-memcg: Fix scope of sockmem pressure indicators
    8d61adfb5918 selftests/bpf: Clean up fmod_ret in bench_rename test script
    eafa3465c8d9 selftests/bpf: Fix repeat option when kfunc_call verification fails
    d6702008fc9c net: tcp: fix unexcepted socket die when snd_wnd is 0
    81d8e9f59df6 Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_add_adv_monitor()
    bd39b5524047 Bluetooth: hci_sync: Don't double print name in add/remove adv_monitor
    94617b736c25 Bluetooth: Fix potential use-after-free when clear keys
    9246d9310cd6 Bluetooth: nokia: fix value check in nokia_bluetooth_serdev_probe()
    c4cb61c5f976 crypto: api - Use work queue in crypto_destroy_instance
    501f77cfce8a crypto: stm32 - Properly handle pm_runtime_get failing
    6fc09c8d765e kbuild: rust_is_available: fix confusion when a version appears in the path
    4f8c55ae5d58 kbuild: rust_is_available: add check for `bindgen` invocation
    bb15fb4e497e kbuild: rust_is_available: fix version check when CC has multiple arguments
    6c7182b9c87e kbuild: rust_is_available: remove -v option
    90978b2ff422 selftests/bpf: fix static assert compilation issue for test_cls_*.c
    c015029dfc89 wifi: mwifiex: fix error recovery in PCIE buffer descriptor management
    3975e21d4d01 wifi: mwifiex: Fix OOB and integer underflow when rx packets
    49b6db89ab28 wifi: mt76: mt7915: fix power-limits while chan_switch
    2dd5c7f4200a can: gs_usb: gs_usb_receive_bulk_callback(): count RX overflow errors also in case of OOM
    ce60bfc24c88 spi: tegra20-sflash: fix to check return value of platform_get_irq() in tegra_sflash_probe()
    f5f7aa2b6b8f wifi: mt76: testmode: add nla_policy for MT76_TM_ATTR_TX_LENGTH
    c0ce0fb76610 bpf: reject unhashed sockets in bpf_sk_assign
    99331d7c6ee2 udp: re-score reuseport groups when connected sockets are present
    328b85e7b14f wifi: mt76: mt7921: fix non-PSC channel scan fail
    6bf4ccafb356 wifi: rtw89: debug: Fix error handling in rtw89_debug_priv_btc_manual_set()
    39a6b4bbc573 regmap: rbtree: Use alloc_flags for memory allocations
    684431894e06 hwrng: pic32 - use devm_clk_get_enabled
    79a8ea5bf421 hwrng: nomadik - keep clock enabled while hwrng is registered
    73d97508ab11 tcp: tcp_enter_quickack_mode() should be static
    01964c630824 crypto: qat - change value of default idle filter
    912310dd841b bpf: Fix an error in verifying a field in a union
    780f072f4fad bpf: Clear the probe_addr for uprobe
    0cfbadb15351 libbpf: Fix realloc API handling in zero-sized edge cases
    fc7ed36a31b1 bpftool: Use a local bpf_perf_event_value to fix accessing its fields
    0b20dc1edd88 bpftool: Use a local copy of BPF_LINK_TYPE_PERF_EVENT in pid_iter.bpf.c
    840c64d96e39 bpftool: Define a local bpf_perf_link to fix accessing its fields
    4d5f00b2fa2c bpftool: use a local copy of perf_event to fix accessing :: Bpf_cookie
    010c6a02e6e1 selftests/bpf: Fix bpf_nf failure upon test rerun
    6f2b84248bab cpufreq: powernow-k8: Use related_cpus instead of cpus in driver.exit()
    91f76271ec43 x86/efistub: Fix PCI ROM preservation in mixed mode
    fcf78a17bbb9 cpufreq: amd-pstate-ut: Fix kernel panic when loading the driver
    14920fb907f0 cpufreq: amd-pstate-ut: Remove module parameter access
    7da6250d2967 thermal/of: Fix potential uninitialized value access
    7c7093256806 ACPI: x86: s2idle: Fix a logic error parsing AMD constraints table
    a99f32b81ca1 ACPI: x86: s2idle: Post-increment variables when getting constraints
    8ee6d04ef24b irqchip/loongson-eiointc: Fix return value checking of eiointc_index
    14e37e08b4e1 s390/paes: fix PKEY_TYPE_EP11_AES handling for secure keyblobs
    f326e37a210e s390/pkey: fix PKEY_TYPE_EP11_AES handling for sysfs attributes
    f98ea9abc1f7 s390/pkey: fix PKEY_TYPE_EP11_AES handling in PKEY_GENSECK2 IOCTL
    87d452a076d1 s390/pkey: fix/harmonize internal keyblob headers
    7d31730c5d81 selftests/futex: Order calls to futex_lock_pi
    048d1a8b9da8 perf/imx_ddr: don't enable counter0 if none of 4 counters are used
    5fce29ab20cb sched/rt: Fix sysctl_sched_rr_timeslice intial value
    dfadde169774 arm64/fpsimd: Only provide the length to cpufeature for xCR registers
    8efd0420290e arm64/sme: Don't use streaming mode to probe the maximum SME VL
    1d9a735d4e45 x86/decompressor: Don't rely on upper 32 bits of GPRs being preserved
    be361e5ec4b2 sched/psi: Select KERNFS as needed
    287aeeb731e9 arm64/ptrace: Clean up error handling path in sve_set_common()
    9d8f66d6de83 selftests/resctrl: Close perf value read fd on errors
    f046a88cbadd selftests/resctrl: Unmount resctrl FS if child fails to run benchmark
    d4b1f43944c5 selftests/resctrl: Don't leak buffer in fill_cache()
    1051a1c5dd26 selftests/resctrl: Add resctrl.h into build deps
    5d343b49078d OPP: Fix passing 0 to PTR_ERR in _opp_attach_genpd()
    e0322a255a22 refscale: Fix uninitalized use of wait_queue_head_t
    085fe4323841 ARM: ptrace: Restore syscall skipping for tracers
    916ca8192201 ARM: ptrace: Restore syscall restart tracing
    ed134f284b4e vfs, security: Fix automount superblock LSM init problem, preventing NFS sb sharing
    1cdf51b4e5ef selftests/harness: Actually report SKIP for signal tests
    c13e6edbad1a tmpfs: verify {g,u}id mount options correctly
    254c396da3a2 iomap: Remove large folio handling in iomap_invalidate_folio()
    b553ac4894e7 fs: Fix error checking for d_hash_and_lookup()
    e12214c7ad13 eventfd: prevent underflow for eventfd semaphores
    9720f894286e reiserfs: Check the return value from __getblk()
    0c7e6ff75e6c tools/resolve_btfids: Fix setting HOSTCFLAGS
    1ad863e91af8 tools/resolve_btfids: Pass HOSTCFLAGS as EXTRA_CFLAGS to prepare targets
    a2a9f5bcccab tools/resolve_btfids: Tidy HOST_OVERRIDES
    b3f1d78c672e tools/resolve_btfids: Compile resolve_btfids as host program
    833a654b510b tools/resolve_btfids: Alter how HOSTCC is forced
    2457021a4f07 tools/resolve_btfids: Install subcmd headers
    d35187340a8a tools/resolve_btfids: Use pkg-config to locate libelf
    05026e944bd2 tools lib subcmd: Add dependency test to install_headers
    424fd5693246 tools lib subcmd: Make install_headers clearer
    a07388d1a773 tools lib subcmd: Add install target
    b9c54fd37668 Revert "net: macsec: preserve ingress frame ordering"
    786e09ae59f0 Revert "PCI: tegra194: Enable support for 256 Byte payload"
    f725ae7f0e2b Input: i8042 - add quirk for TUXEDO Gemini 17 Gen1/Clevo PD70PN
    b990ac56447c udf: Handle error when adding extent to a file
    6ac8f2c8362a udf: Check consistency of Space Bitmap Descriptor
    7ac1467f9472 drm/amd/display: ensure async flips are only accepted for fast updates
    8f965b5b525d net: Avoid address overwrite in kernel_connect
    8c737d950c2b KVM: x86/mmu: Add "never" option to allow sticky disabling of nx_huge_pages
    45e3dfbf0e0c KVM: x86/mmu: Use kstrtobool() instead of strtobool()
    181831df9de8 tpm: Enable hwrng only for Pluton on AMD CPUs
    9c8dab18f830 crypto: rsa-pkcs1pad - Use helper to set reqsize
    63f1117db590 cpufreq: intel_pstate: set stale CPU frequency to minimum
    c50fdd533448 of: property: Simplify of_link_to_phandle()
    8f647ac91a22 platform/mellanox: Fix mlxbf-tmfifo not handling all virtio CONSOLE notifications
    10f358cd4b0e tracing: Introduce pipe_cpumask to avoid race on trace_pipes
    41103f7f688a net: sfp: handle 100G/25G active optical cables in sfp_parse_support
    f24681b8162b ALSA: seq: oss: Fix racy open/close of MIDI devices
    ab5c5c10d066 LoongArch: Fix the write_fcsr() macro
    9920a52362a0 LoongArch: Let pmd_present() return true when splitting pmd
    790587097c01 scsi: lpfc: Fix incorrect big endian type assignment in bsg loopback path
    1a7f80f33a59 scsi: storvsc: Always set no_report_opcodes
    7d1ac3c2eb70 scsi: aacraid: Reply queue mapping to CPUs based on IRQ affinity
    dcfd75bca8cf sctp: handle invalid error codes without calling BUG()
    fbd3ae6997fb cifs: fix max_credits implementation
    8a424afa08c5 cifs: fix sockaddr comparison in iface_cmp
    ea13eff14ef2 bnx2x: fix page fault following EEH recovery
    179b9b062fe8 netlabel: fix shift wrapping bug in netlbl_catmap_setlong()
    78ef22febd68 wifi: mac80211: Use active_links instead of valid_links in Tx
    41b446e4904a wifi: cfg80211: remove links only on AP
    5251c835324b drm/amdgpu: Match against exact bootloader status
    f20bee49dc2a net: hns3: restore user pause configure when disable autoneg
    c61d10461279 scsi: qedi: Fix potential deadlock on &qedi_percpu->p_work_lock
    24d9cc933597 scsi: lpfc: Remove reftag check in DIF paths
    c70b9758eebe platform/x86/amd/pmf: Fix unsigned comparison with less than zero
    acf4ec3b4244 idmaengine: make FSL_EDMA and INTEL_IDMA64 depends on HAS_IOMEM
    59c4b9a2caf4 powerpc/powermac: Use early_* IO variants in via_calibrate_decr()
    54d3fba7d8c5 wifi: brcmfmac: Fix field-spanning write in brcmf_scan_params_v2_to_v1()
    71f5a7f1745c net: usb: qmi_wwan: add Quectel EM05GV2
    a2b5a9654a1d net: annotate data-races around sk->sk_{rcv|snd}timeo
    94515e9aa84c net: dsa: microchip: KSZ9477 register regmap alignment to 32 bit boundaries
    848477e08391 Revert "wifi: ath6k: silence false positive -Wno-dangling-pointer warning on GCC 12"
    51edd7383b1e vmbus_testing: fix wrong python syntax for integer value comparison
    98f933716a52 clk: fixed-mmio: make COMMON_CLK_FIXED_MMIO depend on HAS_IOMEM
    473a55cfc131 kprobes: Prohibit probing on CFI preamble symbol
    896e9e57784c security: keys: perform capable check only on privileged operations
    0ffed24af577 staging: fbtft: ili9341: use macro FBTFT_REGISTER_SPI_DRIVER
    55954eea708f ALSA: usb-audio: Update for native DSD support quirks
    d676d02be8e2 ata: pata_arasan_cf: Use dev_err_probe() instead dev_err() in data_xfer()
    fbf4048d8fba ovl: Always reevaluate the file signature for IMA
    ae1cb9656ef4 drm/amd/display: Exit idle optimizations before attempt to access PHY
    faa77cf5f28f drm/amd/display: Guard DCN31 PHYD32CLK logic against chip family
    d7b1aa3e2098 drm/amd/smu: use AverageGfxclkFrequency* to replace previous GFX Curr Clock
    7c2d13fb9bab platform/x86: huawei-wmi: Silence ambient light sensor
    5c5628287bac platform/x86: asus-wmi: Fix setting RGB mode on some TUF laptops
    aeee50c15291 platform/x86: think-lmi: Use kfree_sensitive instead of kfree
    dea41980d793 platform/x86/intel/hid: Add HP Dragonfly G2 to VGBS DMI quirks
    7d0f7924ef61 platform/x86: intel: hid: Always call BTNL ACPI method
    eb54ad1ed620 ALSA: usb-audio: Add quirk for Microsoft Modern Wireless Headset
    9c1263320163 ASoC: atmel: Fix the 8K sample parameter in I2SC master
    2e780a9f4ac1 ASoC: rt711-sdca: fix for JD event handling in ClockStop Mode0
    a1fbf45a24d3 ASoC: rt711: fix for JD event handling in ClockStop Mode0
    82e17577b66f ASoc: codecs: ES8316: Fix DMIC config
    10999df817cb ASoC: rt5682-sdw: fix for JD event handling in ClockStop Mode0
    952af5cfd5b4 fs/nls: make load_nls() take a const parameter
    d28f76be7952 s390/dasd: fix hanging device after request requeue
    d563f679a268 s390/dasd: use correct number of retries for ERP requests
    a41f2f6aff5e m68k: Fix invalid .section syntax
    328fcde050ff ethernet: atheros: fix return value check in atl1c_tso_csum()
    0f7b43a5776b ASoC: nau8821: Add DMI quirk mechanism for active-high jack-detect
    eb746c4750a8 ASoC: da7219: Check for failure reading AAD IRQ events
    3c59ad8d6e8e ASoC: da7219: Flush pending AAD IRQ when suspending
    330d900620df ksmbd: fix out of bounds in init_smb2_rsp_hdr()
    99a2426b135e ksmbd: no response from compound read
    becb5191d1d5 ksmbd: validate session id and tree id in compound request
    9776024ee06b ksmbd: fix out of bounds in smb3_decrypt_req()
    513eac8b8530 9p: virtio: make sure 'offs' is initialized in zc_request
    05d88512e833 9p: virtio: fix unlikely null pointer deref in handle_rerror
    72c90ebb2dc5 media: pci: cx23885: fix error handling for cx23885 ATSC boards
    eb3c2b3519bf media: pulse8-cec: handle possible ping error
    0b6e7170ccdf media: amphion: use dev_err_probe
    026e918b3670 phy: qcom-snps-femto-v2: use qcom_snps_hsphy_suspend/resume error code
    2981ff271d52 Revert "MIPS: unhide PATA_PLATFORM"
    b60802573357 media: uapi: HEVC: Add num_delta_pocs_of_ref_rps_idx field
    36148a9b144c powerpc/boot: Disable power10 features after BOOTAFLAGS assignment
    4e005f5dd5b0 ALSA: hda/realtek: Enable 4 amplifiers instead of 2 on a HP platform
    f4bd9a43152e ARM: dts: imx: Set default tuning step for imx7d usdhc
    7f483ce4699a Revert "Revert drm/amd/display: Enable Freesync Video Mode by default"
    6ab081571f6a scsi: ufs: Try harder to change the power mode
    9fc3adc6d0fe Partially revert "drm/amd/display: Fix possible underflow for displays with large vblank"
    918639847212 Revert "bridge: Add extack warning when enabling STP in netns."

(From OE-Core rev: f4a68ccbd2d4cf3209328e6a800aa9fbaadca172)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-01 08:12:59 +01:00
Bruce Ashfield
3cc39a7889 linux-yocto/6.4: update to v6.4.16
Updating  to the latest korg -stable release that comprises
the following commits:

    ae4e4fc35b42 Linux 6.4.16
    e769d7975a93 Revert "drm/amd/display: Do not set drr on pipe commit"
    e447d28a9313 tracing: Zero the pipe cpumask on alloc to avoid spurious -EBUSY
    69018a9b08a5 revert "memfd: improve userspace warnings for missing exec-related flags".
    62845d4f901d memfd: improve userspace warnings for missing exec-related flags
    6c7e8705677c memfd: do not -EACCES old memfd_create() users with vm.memfd_noexec=2
    c7b4118308f9 selftests/memfd: sysctl: fix MEMFD_NOEXEC_SCOPE_NOEXEC_ENFORCED
    c144c6030b13 mm/memfd: sysctl: fix MEMFD_NOEXEC_SCOPE_NOEXEC_ENFORCED
    7e3ca33752bd serial: sc16is7xx: fix regression with GPIO configuration
    ccae7cf2d6ff serial: sc16is7xx: remove obsolete out_thread label
    cb3acdc203d6 Bluetooth: HCI: Introduce HCI_QUIRK_BROKEN_LE_CODED
    f9965f7f38c9 Bluetooth: msft: Extended monitor tracking by address filter
    95c5d3fbd3c4 LoongArch: Ensure FP/SIMD registers in the core dump file is up to date
    ccdfcb911967 media: ipu3-cio2: allow ipu_bridge to be a module again
    f51d194b1954 perf/x86/uncore: Correct the number of CHAs on EMR
    604b1b6ee09c x86/build: Fix linker fill bytes quirk/incompatibility for ld.lld
    7447ac0485a5 x86/sgx: Break up long non-preemptible delays in sgx_vepc_release()
    8cded8d95372 USB: core: Fix oversight in SuperSpeed initialization
    b4a074b1fb22 USB: core: Fix race by not overwriting udev->descriptor in hub_port_init()
    256b02f63cc1 USB: core: Change usb_get_device_descriptor() API
    64687c13eb88 USB: core: Unite old scheme and new scheme descriptor reads
    d49547950bf7 usb: typec: bus: verify partner exists in typec_altmode_attention
    2897b36d2482 usb: typec: tcpm: set initial svdm version based on pd revision
    98347c9b1744 of: property: fw_devlink: Add a devlink for panel followers
    2c671c7cb211 cpufreq: brcmstb-avs-cpufreq: Fix -Warray-bounds bug
    5aa493719d8f crypto: stm32 - fix MDMAT condition
    3b8c7cc94e29 crypto: stm32 - fix loop iterating through scatterlist for DMA
    afe98365be95 HID: logitech-hidpp: rework one more time the retries attempts
    90819a4a919f s390/dasd: fix string length handling
    812736446cf5 s390/ipl: add missing secure/has_secure file to ipl type 'unknown'
    b7ad75c77349 s390/dcssblk: fix kernel crash with list_add corruption
    b15d3cbd2941 iov_iter: Fix iov_iter_extract_pages() with zero-sized entries
    5db357b14d40 regulator: dt-bindings: qcom,rpm: fix pattern for children
    84d16de27327 arm64: sdei: abort running SDEI handlers during crash
    f77990358628 pstore/ram: Check start of empty przs during init
    07239ca76dd6 mmc: renesas_sdhi: register irqs before registering controller
    39c23c941153 platform/chrome: chromeos_acpi: print hex string for ACPI_TYPE_BUFFER
    01474630c566 crypto: af_alg - Decrement struct key.usage in alg_set_by_key_serial()
    6eac39659014 x86/MCE: Always save CS register on AMD Zen IF Poison errors
    bffa781398cd fsverity: skip PKCS#7 parser when keyring is empty
    56d2f71c85a4 net: handle ARPHRD_PPP in dev_is_mac_header_xmit()
    cd5d0d13a036 X.509: if signature is unsupported skip validation
    83f19f32125b r8169: fix ASPM-related issues on a number of systems with NIC version from RTL8168h
    6615212d8e13 x86/sev: Make enc_dec_hypercall() accept a size instead of npages
    d8171411a661 dccp: Fix out of bounds access in DCCP error handler
    5c7403f95225 dlm: fix plock lookup when using multiple lockspaces
    5927f0172d28 bpf: Fix issue in verifying allow_ptr_leaks
    247ee56a7865 drm/amd/display: Add smu write msg id fail retry process
    a641e116f929 misc: fastrpc: Pass proper scm arguments for static process init
    3d45037fbc20 parisc: Fix /proc/cpuinfo output for lscpu
    bda2ed2b954e procfs: block chmod on /proc/thread-self/comm
    4e3fc835816d block: don't add or resize partition on the disk with GENHD_FL_NO_PART
    93cb3211912e Revert "PCI: Mark NVIDIA T4 GPUs to avoid bus reset"
    223649a6ac7f ntb: Fix calculation ntb_transport_tx_free_entry()
    08c64e0c2f43 ntb: Clean up tx tail index on link down
    c2cd5d993f57 ntb: Drop packets when qp link is down
    b05d301ad46d PCI/PM: Only read PCI_PM_CTRL register when available
    d0687755407b PCI: hv: Fix a crash in hv_pci_restore_msi_msg() during hibernation
    a076e73dd6e6 PCI: Free released resource after coalescing
    512db7829b4a scsi: mpt3sas: Perform additional retries if doorbell read returns 0
    bcd9febc0c72 Revert "scsi: qla2xxx: Fix buffer overrun"
    f36a3430e559 media: nxp: Fix wrong return pointer check in mxc_isi_crossbar_init()
    fa039796edbf media: venus: hfi_venus: Write to VIDC_CTRL_INIT after unmasking interrupts
    74b005d99b3e media: dvb: symbol fixup for dvb_attach()
    a025494d0090 ALSA: hda/cirrus: Fix broken audio on hardware with two CS42L42 codecs.
    a5ad2f87d8e7 arm64: csum: Fix OoB access in IP checksum code for negative lengths
    67c16c941521 io_uring: Don't set affinity on a dying sqpoll thread
    61885936897c i3c: master: svc: fix probe failure when no i3c device exist
    9b445804b15a powerpc/ftrace: Fix dropping weak symbols with older toolchains
    593ad636bac4 LoongArch: mm: Add p?d_leaf() definitions
    86a6b5515e8e xtensa: PMU: fix base address for the newer hardware
    17c6bced492c drm/amd/display: register edp_backlight_control() for DCN301
    cc727eae2a46 backlight/lv5207lp: Compare against struct fb_info.device
    1a5fc6abeef0 backlight/bd6107: Compare against struct fb_info.device
    164a795d91f3 backlight/gpio_backlight: Compare against struct fb_info.device
    dec70164ba78 io_uring: break out of iowq iopoll on teardown
    63059d272c4c io_uring/sqpoll: fix io-wq affinity when IORING_SETUP_SQPOLL is used
    e64db62650d4 io_uring: break iopolling on signal
    7c3be1e33101 io_uring: fix false positive KASAN warnings
    ec5cf2977cff XArray: Do not return sibling entries from xa_load()
    b69c7129a295 riscv: Mark KASAN tmp* page tables variables as static
    d1f8b6832c97 riscv: Move create_tmp_mapping() to init sections
    dd4652a92dad ARM: OMAP2+: Fix -Warray-bounds warning in _pwrdm_state_switch()
    1bfcfea0fae0 ipmi_si: fix a memleak in try_smi_init()
    20d1e215c945 PCI: rockchip: Use 64-bit mask on MSI 64-bit PCI address
    f9bfc1a3858c media: i2c: Add a camera sensor top level menu
    636f4076188c media: i2c: ccs: Check rules is non-NULL
    9734e4c0c470 cpu/hotplug: Prevent self deadlock on CPU hot-unplug
    1f55e7667a6a mm/vmalloc: add a safer version of find_vm_area() for debug
    d41edcef2c92 scsi: core: Fix the scsi_set_resid() documentation
    4329b63ce53f printk: ringbuffer: Fix truncating buffer size min_t cast
    dddca4c46ec9 rcu: dump vmalloc memory info safely
    e39e870e1e68 virtio_pmem: add the missing REQ_OP_WRITE for flush bio
    4f973bc0db7c ALSA: pcm: Fix missing fixup call in compat hw_refine ioctl
    21a67da7f22b Multi-gen LRU: fix per-zone reclaim
    1640e9c72173 PM / devfreq: Fix leak in devfreq_dev_release()
    6a9abbccaac4 igb: set max size RX buffer when store bad packet is enabled
    f99006e840a4 skbuff: skb_segment, Call zero copy functions before using skbuff frags
    b63b4e114593 netfilter: xt_sctp: validate the flag_info count
    83b995321eaa netfilter: xt_u32: validate user space input
    93450ea57eec netfilter: nft_exthdr: Fix non-linear header modification
    d59b6fc40554 netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c
    87f07ec534e3 igmp: limit igmpv3_newpack() packet size to IP_MAX_MTU
    e4ffc47a1c3e net: deal with integer overflows in kmalloc_reserve()
    bf11b89b0a2a virtio_ring: fix avail_wrap_counter in virtqueue_add_packed
    5f2592243ccd virtio_vdpa: build affinity masks conditionally
    7d85dfdf8bd5 cpufreq: Fix the race condition while updating the transition_task of policy
    bb31371c1dcd um: virt-pci: fix missing declaration warning
    9fc162c59edc Drivers: hv: vmbus: Don't dereference ACPI root object handle
    bfcf280533ad dmaengine: idxd: Fix issues with PRS disable sysfs knob
    df212ed77384 dmaengine: idxd: Allow ATS disable update only for configurable devices
    e5d80eb3764c dmaengine: idxd: Expose ATS disable knob only when WQ ATS is supported
    8f5137564c7a dmaengine: idxd: Simplify WQ attribute visibility checks
    fa2e3c484af6 dmaengine: ste_dma40: Add missing IRQ check in d40_probe
    eaa8d097a529 um: Fix hostaudio build errors
    9a61f2c08f30 mtd: rawnand: fsmc: handle clk prepare error in fsmc_nand_resume()
    c4b5d3659473 mtd: spi-nor: Check bus width while setting QE bit
    0301718d3ab4 leds: trigger: tty: Do not use LED_ON/OFF constants, use led_blink_set_oneshot instead
    e2a579c5a997 leds: Fix BUG_ON check for LED_COLOR_ID_MULTI that is always false
    92e1279daf07 leds: multicolor: Use rounded division when calculating color components
    e3aa6884fae9 thermal/drivers/imx8mm: Suppress log message on probe deferral
    db478bcb3161 thermal/drivers/mediatek/lvts_thermal: Manage threshold between sensors
    8e382e9470c0 thermal/drivers/mediatek/lvts_thermal: Don't leave threshold zeroed
    71b7ccc49a98 thermal/drivers/mediatek/lvts_thermal: Disable undesired interrupts
    30a642a6b666 thermal/drivers/mediatek/lvts_thermal: Use offset threshold for IRQ
    ba01e46105df thermal/drivers/mediatek/lvts_thermal: Honor sensors in immediate mode
    436b4b33e048 thermal/drivers/mediatek/lvts_thermal: Handle IRQ on all controllers
    bab77f962ce3 leds: pwm: Fix error code in led_pwm_create_fwnode()
    174cf8853857 rpmsg: glink: Add check for kstrdup
    59a069a42682 phy/rockchip: inno-hdmi: do not power on rk3328 post pll on reg write
    e9876c8873fc phy/rockchip: inno-hdmi: round fractal pixclock in rk3328 recalc_rate
    7a35fe6478f7 phy/rockchip: inno-hdmi: use correct vco_div_5 macro on rk3328
    c1c4cb6103ae dmaengine: idxd: Modify the dependence of attribute pasid_enabled
    92273c3435bb mtd: rawnand: brcmnand: Fix mtd oobsize
    89c89da92a60 tracing: Fix race issue between cpu buffer write and swap
    e0c6a3679e3b tracing: Remove extra space at the end of hwlat_detector/mode
    5ed4c90a6b56 x86/speculation: Mark all Skylake CPUs as vulnerable to GDS
    d0a267f4e5de tick/rcu: Fix false positive "softirq work is pending" messages
    617326853221 platform/x86/amd/pmf: Fix a missing cleanup path
    1d7833db9fd1 HID: multitouch: Correct devm device reference for hidinput input_dev name
    4c2707dfee58 HID: uclogic: Correct devm device reference for hidinput input_dev name
    e7952f4d621e nvmem: core: Return NULL when no nvmem layout is found
    144becd79c19 HID: logitech-dj: Fix error handling in logi_dj_recv_switch_to_dj_mode()
    e79db2f51a56 RDMA/efa: Fix wrong resources deallocation order
    a1ceb3079efb RDMA/siw: Correct wrong debug message
    ef1378f78df2 RDMA/siw: Balance the reference of cep->kref in the error path
    4082b59705ee Revert "IB/isert: Fix incorrect release of isert connection"
    206fadb7278c amba: bus: fix refcount leak
    7a9af64f7b03 serial: tegra: handle clk prepare error in tegra_uart_hw_init()
    86017523b852 interconnect: qcom: bcm-voter: Use enable_maks for keepalive voting
    ccedcb364897 interconnect: qcom: bcm-voter: Improve enable_mask handling
    1d164939335d interconnect: qcom: sm8450: Enable sync_state
    694ddc5bf35a scsi: fcoe: Fix potential deadlock on &fip->ctlr_lock
    eaf18b15a811 scsi: core: Use 32-bit hostnum in scsi_host_lookup()
    ceba966f1d63 RDMA/irdma: Prevent zero-length STAG registration
    9406ad6d6c84 coresight: trbe: Fix TRBE potential sleep in atomic context
    e309f455801f f2fs: fix to account cp stats correctly
    0e2577074b45 f2fs: fix to drop all dirty meta/node pages during umount()
    1c5fb9c7956c f2fs: fix to account gc stats correctly
    53ac32aae7a6 f2fs: refactor struct f2fs_attr macro
    ea35767edc78 Revert "f2fs: fix to do sanity check on extent cache correctly"
    46fc3c4b81bf f2fs: Only lfs mode is allowed with zoned block device feature
    db35eb17bf6d f2fs: fix to avoid mmap vs set_compress_option case
    0625d012793d f2fs: fix spelling in ABI documentation
    d82e45857418 media: i2c: rdacm21: Fix uninitialized value
    49bd577e5897 media: ov2680: Fix regulators being left enabled on ov2680_power_on() errors
    38b0ebc048eb media: ov2680: Fix ov2680_set_fmt() which == V4L2_SUBDEV_FORMAT_TRY not working
    b8bc7bc64819 media: ov2680: Add ov2680_fill_format() helper function
    279a562c4af2 media: ov2680: Don't take the lock for try_fmt calls
    039e14a17a1b media: ov2680: Remove VIDEO_V4L2_SUBDEV_API ifdef-s
    42ac1c0d7fa3 media: ov2680: Fix vflip / hflip set functions
    f3ac838162d3 media: ov2680: Fix ov2680_bayer_order()
    afccb9524a6a media: ov2680: Remove auto-gain and auto-exposure controls
    39a54d5dc777 media: Documentation: Fix [GS]_ROUTING documentation
    47b4081e35c2 media: ov5640: Fix initial RESETB state and annotate timings
    b57b9f888f22 media: ov5640: Enable MIPI interface in ov5640_set_power_mipi()
    9990c80ec1ce HID: input: Support devices sending Eraser without Invert
    3bcc4c2a096e drivers: base: Free devm resources when unregistering a device
    9c4ab0088b33 USB: gadget: f_mass_storage: Fix unused variable warning
    e33c789963db USB: gadget: core: Add missing kerneldoc for vbus_work
    f2e92730bfef docs: ABI: fix spelling/grammar in SBEFIFO timeout interface
    4b02eacc0b66 media: ipu-bridge: Do not use on stack memory for software_node.name field
    5bce956b22ad media: ipu3-cio2: rename cio2 bridge to ipu bridge and move out of ipu3
    3de35e29cfdd media: ipu-bridge: Fix null pointer deref on SSDB/PLD parsing warnings
    91d790ac27eb arm64: defconfig: Drop CONFIG_VIDEO_IMX_MEDIA
    1e4ea9bf3783 media: venus: hfi_venus: Only consider sys_idle_indicator on V1
    c2e304c9564e media: go7007: Remove redundant if statement
    9fa26c6ac168 media: cec: core: add adap_unconfigured() callback
    258e4784b8b5 media: cec: core: add adap_nb_transmit_canceled() callback
    c5402011992b platform/x86: dell-sysman: Fix reference leak
    a793bbfd1a17 iommu/vt-d: Fix to flush cache of PASID directory table
    a3013b402d76 tty: serial: qcom-geni-serial: Poll primary sequencer irq status after cancel_tx
    b3fdfdb5d851 iommu/qcom: Disable and reset context bank before programming
    58c928d4ae4b fsi: aspeed: Reset master errors after CFAM reset
    d95b6f3ba733 IB/uverbs: Fix an potential error pointer dereference
    f23228b2a798 RDMA/hns: Fix CQ and QP cache affinity
    debfbb2c7db0 RDMA/hns: Fix inaccurate error label name in init instance
    bf6f879fde49 RDMA/hns: Fix incorrect post-send with direct wqe of wr-list
    ca0d8f408a45 RDMA/hns: Fix port active speed
    192740d0b9c5 RDMA/bnxt_re: Remove a redundant flag
    37b78dd932f6 iommu: Remove kernel-doc warnings
    a57d054f9785 iommu/sprd: Add missing force_aperture
    fe8258b698e6 iommu/mediatek: Fix two IOMMU share pagetable issue
    0c5b72339bb1 extcon: cht_wc: add POWER_SUPPLY dependency
    d89c70f59e80 kernfs: add stub helper for kernfs_generic_poll()
    d7dd75c5f2b1 driver core: Call dma_cleanup() on the test_remove path
    6c064c764856 driver core: test_async: fix an error code
    3f7e2c325862 dma-buf/sync_file: Fix docs syntax
    7348bea2e865 interconnect: qcom: qcm2290: Enable sync state
    6d0be342a4b8 coresight: tmc: Explicit type conversions to prevent integer overflow
    3489c741f1d7 RDMA/irdma: Replace one-element array with flexible-array member
    6aac7f0d1b86 scsi: qedf: Do not touch __user pointer in qedf_dbg_fp_int_cmd_read() directly
    8f92dd19a154 scsi: qedf: Do not touch __user pointer in qedf_dbg_debug_cmd_read() directly
    8a892c1bc4dd scsi: qedf: Do not touch __user pointer in qedf_dbg_stop_io_on_error_cmd_read() directly
    2f2a6422287f RDMA/rxe: Fix incomplete state save in rxe_requester
    d7dbce161d60 RDMA/rxe: Fix rxe_modify_srq
    da572f6313ae RDMA/rxe: Fix unsafe drain work queue code
    ecd4ff7e934b RDMA/rxe: Move work queue code to subroutines
    b3110e66ad04 x86/APM: drop the duplicate APM_MINOR_DEV macro
    0237f913694d serial: sprd: Fix DMA buffer leak issue
    e8ab4ea0cef5 serial: sprd: Assign sprd_port after initialized to avoid wrong access
    8fafcc478dee iio: accel: adxl313: Fix adxl313_i2c_id[] table
    4ed219753112 scsi: qla4xxx: Add length check when parsing nlattrs
    da4c861ef51e scsi: be2iscsi: Add length check when parsing nlattrs
    3466c1b52457 scsi: iscsi: Add strlen() check in iscsi_if_set{_host}_param()
    714bfe448909 scsi: iscsi: Add length check for nlattr payload
    d431b85179b2 scsi: ufs: Fix residual handling
    d3380a5a9996 scsi: RDMA/srp: Fix residual handling
    a2ecc4a909d4 usb: phy: mxs: fix getting wrong state with mxs_phy_is_otg_host()
    b7dbc27301f5 media: mediatek: vcodec: fix resource leaks in vdec_msg_queue_init()
    4fe1f032a22d media: mediatek: vcodec: fix potential double free
    c2b2dcccb629 media: mediatek: vcodec: Return NULL if no vdec_fb is found
    3b5ce3c5e68f media: amphion: ensure the bitops don't cross boundaries
    451a2d7a3587 media: amphion: fix UNUSED_VALUE issue reported by coverity
    7509d455e188 media: amphion: fix UNINIT issues reported by coverity
    e59d0cd8f414 media: amphion: fix REVERSE_INULL issues reported by coverity
    344909ea0ea0 media: amphion: fix CHECKED_RETURN issues reported by coverity
    b436ab2b8c3e media: rkvdec: increase max supported height for H.264
    683ac024116f media: amphion: decoder support display delay for all formats
    8977d9924843 media: mtk-jpeg: Fix use after free bug due to uncanceled work
    bf32ec66ec6e media: verisilicon: Fix TRY_FMT on encoder OUTPUT
    80776261bab0 media: amphion: add helper function to get id name
    f77cbf3c0ccc media: amphion: reinit vpu if reqbufs output 0
    8a1a546c1870 dt-bindings: extcon: maxim,max77843: restrict connector properties
    b27db41b6102 scsi: hisi_sas: Fix normally completed I/O analysed as failed
    fa23b54214cd scsi: hisi_sas: Fix warnings detected by sparse
    beabdccf8b27 RDMA/siw: Fabricate a GID on tun and loopback devices
    e6ebe18eae96 media: cx24120: Add retval check for cx24120_message_send()
    4feed3dfca72 media: dvb-usb: m920x: Fix a potential memory leak in m920x_i2c_xfer()
    2d73f3e7f84a media: dib7000p: Fix potential division by zero
    77e2dc9a18dc drivers: usb: smsusb: fix error handling code in smsusb_init_device
    9ac8d316f6c9 iommu: rockchip: Fix directory table address encoding
    9ccc51be3126 iommu/amd/iommu_v2: Fix pasid_state refcount dec hit 0 warning on pasid unbind
    ed1696f7f92e media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link()
    774eb431db60 media: i2c: tvp5150: check return value of devm_kasprintf()
    fd44bb897f4b media: ad5820: Drop unsupported ad5823 from i2c_ and of_device_id tables
    c611001cdc58 media: i2c: imx290: drop format param from imx290_ctrl_update
    0c6b9bd287f5 media: ov5640: fix low resolution image abnormal issue
    dcc031701f44 RDMA/qedr: Remove a duplicate assignment in irdma_query_ah()
    fb4f7c110473 cgroup/cpuset: Inherit parent's load balance state in v2
    05fed99eb117 pNFS: Fix assignment of xprtdata.cred
    118d91d46ba8 NFSv4.2: fix handling of COPY ERR_OFFLOAD_NO_REQ
    c8aff5b43951 NFS: Guard against READDIR loop when entry names exceed MAXNAMELEN
    efcae97fa425 NFSD: da_addr_body field missing in some GETDEVICEINFO replies
    3dc93111c318 fs: lockd: avoid possible wrong NULL parameter
    ac8a5bd24ca9 jfs: validate max amount of blocks before allocation.
    105f7fd386f6 ext4: fix unttached inode after power cut with orphan file feature enabled
    c46af5858825 powerpc/iommu: Fix notifiers being shared by PCI and VIO buses
    766394d26437 powerpc/mpc5xxx: Add missing fwnode_handle_put()
    5287fa4a0cee powerpc/pseries: Fix hcall tracepoints with JUMP_LABEL=n
    ad4293e42b21 nfs/blocklayout: Use the passed in gfp flags
    3c5e8e666794 powerpc/pseries: Rework lppaca_shared_proc() to avoid DEBUG_PREEMPT
    445b76b5491a powerpc: Don't include lppaca.h in paca.h
    a2f4cb206bd9 NFSv4.2: Rework scratch handling for READ_PLUS (again)
    770eaf4c3548 NFSv4.2: Fix READ_PLUS size calculations
    039e896302e5 NFSv4.2: Fix READ_PLUS smatch warnings
    847ee94d82e8 wifi: ath10k: Use RMW accessors for changing LNKCTL
    f8dca9806d70 wifi: ath12k: Use RMW accessors for changing LNKCTL
    9697dfa899e8 wifi: ath11k: Use RMW accessors for changing LNKCTL
    6eb6602de213 net/mlx5: Use RMW accessors for changing LNKCTL
    380b0d6305c0 drm/radeon: Use RMW accessors for changing LNKCTL
    0313eb9035aa drm/amdgpu: Use RMW accessors for changing LNKCTL
    cf730b02a776 pinctrl: mediatek: assign functions to configure pin bias on MT7986
    2dccd33ad2a3 pinctrl: mediatek: fix pull_type data for MT7981
    11cc6b7414e6 powerpc/perf: Convert fsl_emb notifier to state machine callbacks
    afcee5bda342 powerpc/fadump: reset dump area size if fadump memory reserve fails
    82824a634672 nvdimm: Fix dereference after free in register_nvdimm_pmu()
    4999f2ec5fde nvdimm: Fix memleak of pmu attr_groups in unregister_nvdimm_pmu()
    cbac29a1caa4 vfio/type1: fix cap_migration information leak
    cb40dc25bdd7 powerpc/radix: Move some functions into #ifdef CONFIG_KVM_BOOK3S_HV_POSSIBLE
    76c86b61b2cb clk: imx: composite-8m: fix clock pauses when set_rate would be a no-op
    d5e329876737 clk: imx8mp: fix sai4 clock
    4c67637f9ca4 clk: imx: imx8ulp: update SPLL2 type
    0310de64b34d clk: imx: pllv4: Fix SPLL2 MULT range
    40fe937de63e clk: qcom: gcc-qdu1000: Register gcc_gpll1_out_even clock
    88c80af75cd1 dt-bindings: clock: Update GCC clocks for QDU1000 and QRU1000 SoCs
    ee6966bb2490 clk: qcom: gcc-qdu1000: Fix clkref clocks handling
    84fbbb177dae clk: qcom: gcc-qdu1000: Fix gcc_pcie_0_pipe_clk_src clock handling
    cbfd73886eb3 clk: qcom: gcc-sm8450: Use floor ops for SDCC RCGs
    49a9ac827052 PCI/ASPM: Use RMW accessors for changing LNKCTL
    9d31c101cc3e PCI: pciehp: Use RMW accessors for changing LNKCTL
    df666f21768b PCI: Add locking to RMW PCI Express Capability Register accessors
    754bccefd64e pinctrl: mcp23s08: check return value of devm_kasprintf()
    7da44f84c4fa PCI: Mark NVIDIA T4 GPUs to avoid bus reset
    5183cbfbddcf PCI: microchip: Correct the DED and SEC interrupt bit offsets
    ab600f5aabca clk: qcom: gcc-sm6350: Fix gcc_sdcc2_apps_clk_src
    f9917b02df08 clk: qcom: reset: Use the correct type of sleep/delay based on length
    1e54beadc550 kvm/vfio: ensure kvg instance stays around in kvm_vfio_group_add()
    7af1006a6d4a kvm/vfio: Prepare for accepting vfio device fd
    1cb17fd8ef56 clk: qcom: gcc-sm8250: Fix gcc_sdcc2_apps_clk_src
    f168ffe4679e ext4: avoid potential data overflow in next_linear_group
    83a9d5f5ec7e ext4: correct grp validation in ext4_mb_good_group
    cfc5b2ad57fc EDAC/igen6: Fix the issue of no error events
    5c3836959104 clk: qcom: gcc-sc7180: Fix up gcc_sdcc2_apps_clk_src
    c2362ea892f1 clk: sunxi-ng: Modify mismatched function name
    f3ad747e9dc1 clk: qcom: dispcc-sc8280xp: Use ret registers on GDSCs
    c4f9c0a3a6df PCI/DOE: Fix destroy_work_on_stack() race
    727a2c140217 iommufd: Fix locking around hwpt allocation
    68389f0c4af4 EDAC/i10nm: Skip the absent memory controllers
    f35e506eda63 drivers: clk: keystone: Fix parameter judgment in _of_pll_clk_init()
    ef2757b1ea8e PCI: qcom-ep: Switch MHI bus master clock off during L1SS
    b1b0ddd5bf39 PCI: apple: Initialize pcie->nvecs before use
    b0783c17ff0d clk: rockchip: rk3568: Fix PLL rate setting for 78.75MHz
    e00980fb2f10 clk: qcom: gcc-sm7150: Add CLK_OPS_PARENT_ENABLE to sdcc2 rcg
    5f487953feed clk: qcom: gcc-sc8280xp: Add missing GDSCs
    ea4eceef1659 dt-bindings: clock: qcom,gcc-sc8280xp: Add missing GDSCs
    e065dc315563 clk: qcom: gcc-sc8280xp: Add missing GDSC flags
    3764722d974a clk: qcom: gpucc-sm6350: Fix clock source names
    fc242b27ab34 clk: qcom: gpucc-sm6350: Introduce index-based clk lookup
    7db16d2e791b ipmi:ssif: Fix a memory leak when scanning for an adapter
    2959a03cb7e7 ipmi:ssif: Add check for kstrdup
    3639535d3d9a ALSA: ac97: Fix possible error value of *rac97
    7287ad123658 of: unittest: Fix overlay type in apply/revert check
    be86241bf5d1 of: overlay: Call of_changeset_init() early
    70bd7f65d33d ASoC: SOF: amd: clear dsp to host interrupt status
    293c2dd9ed49 md: raid0: account for split bio in iostat accounting
    f34142ab4e04 md/raid0: Fix performance regression for large sequential writes
    af006dbb3802 md/raid0: Factor out helper for mapping and submitting a bio
    e39ef7880d10 blk-cgroup: Fix NULL deref caused by blkg_policy_data being installed before init
    dc98c6c08692 firmware: cs_dsp: Fix new control name check
    7a8b6d93991b md/raid5-cache: fix null-ptr-deref for r5l_flush_stripe_to_raid()
    71cf23271f01 md/raid5-cache: fix a deadlock in r5l_exit_log()
    4dc84316458d bus: ti-sysc: Fix cast to enum warning
    cd80ed6096ba arm64: dts: qcom: sc8280xp-x13s: Unreserve NC pins
    13c1e578cbf6 arm64: dts: qcom: msm8996: Fix dsi1 interrupts
    fa556a230f3a ARM: dts: qcom: sdx65-mtp: Update the pmic used in sdx65
    5d177cf1261b arm64: dts: qcom: msm8998: Add missing power domain to MMSS SMMU
    cd689615b5fb arm64: dts: qcom: msm8998: Drop bus clock reference from MMSS SMMU
    f74605f26166 arm64: dts: qcom: apq8016-sbc: Rename ov5640 enable-gpios to powerdown-gpios
    afcb5d05e6a0 arm64: dts: qcom: msm8916: Rename &msmgpio -> &tlmm
    da20170162a2 arm64: dts: qcom: msm8916: Define regulator constraints next to usage
    f46343a82419 arm64: dts: qcom: msm8916: Disable audio codecs by default
    8d62b20ab713 arm64: dts: qcom: msm8916: Fix regulator constraints
    d80270a083e8 arm64: dts: qcom: msm8916-longcheer-l8910: Add front flash LED
    aeae9dbc2bee arm64: dts: qcom: apq8016-sbc: Fix ov5640 regulator supply names
    7b359a6c6c67 drm/mediatek: Fix void-pointer-to-enum-cast warning
    368de6870850 drm/mediatek: Fix potential memory leak if vmap() fail
    7715cf353850 arm64: dts: ti: k3-am62x-sk-common: Update main-i2c1 frequency
    dea34bb4b463 ARM: dts: qcom: ipq4019: correct SDHCI XO clock
    fdd0090d504b arm64: dts: imx8mp-debix: remove unused fec pinctrl node
    e43150707496 drm/mediatek: Add cnt checking for coverity issue
    c5fd246eabe6 drm/mediatek: Remove freeing not dynamic allocated memory
    901eebd45f89 bus: ti-sysc: Fix build warning for 64-bit build
    899a9e6a4520 arm64: dts: ti: k3-j784s4: Fix interrupt ranges for wkup & main gpio
    10a1ed0f2bd9 drm/mediatek: dp: Add missing error checks in mtk_dp_parse_capabilities
    ec2273b61a79 io_uring: fix drain stalls by invalid SQE
    39215fc86d3c block/mq-deadline: use correct way to throttling write requests
    8a40b4913729 audit: fix possible soft lockup in __audit_inode_child()
    f3147cba702e drm/mediatek: Fix uninitialized symbol
    1520151abb5d ASoC: SOF: Intel: fix u16/32 confusion in LSDIID
    d4aa235496a2 ASoC: SOF: Intel: hda-mlink: fix off-by-one error
    9064662f15f4 drm/msm/a6xx: Fix GMU lockdep splat
    f0f805279d52 drm/msm/a2xx: Call adreno_gpu_init() earlier
    e71f68e22e58 drm/amd/pm: fix variable dereferenced issue in amdgpu_device_attr_create()
    c325854ad86e smackfs: Prevent underflow in smk_set_cipso()
    82e1d82a223e drm/msm/dpu: fix the irq index in dpu_encoder_phys_wb_wait_for_commit_done
    68f3209546b5 firmware: meson_sm: fix to avoid potential NULL pointer dereference
    5b0dd3a102f6 drm/msm/mdp5: Don't leak some plane state
    1d9b8b32533f soc: qcom: smem: Fix incompatible types in comparison
    602f4e4fc83d arm64: dts: qcom: sm8550-mtp: Add missing supply for L1B regulator
    ce06e7158308 drm/msm/dpu: increase memtype count to 16 for sm8550
    c975defd2904 drm/msm/dpu: drop the regdma configuration
    4121d95da181 drm: xlnx: zynqmp_dpsub: Add missing check for dma_set_mask
    daf77a87b4d0 ima: Remove deprecated IMA_TRUSTED_KEYRING Kconfig
    8bf2f878f7e8 drm/panel: simple: Add missing connector type and pixel format for AUO T215HVN01
    34e4e5af4af6 drm/repaper: Reduce temporary buffer size in repaper_fb_dirty()
    971154071555 drm/armada: Fix off-by-one error in armada_overlay_get_property()
    d7b3918b5c58 ARM: dts: BCM53573: Fix Tenda AC9 switch CPU port
    09688ee4aa69 drm/ast: report connection status on Display Port.
    206efac19e9e arm64: dts: qcom: sm8150: Fix the I2C7 interrupt
    c74ae8124f96 of: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()
    39f5dc484ea2 drm/tegra: dpaux: Fix incorrect return value of platform_get_irq
    560462e45bba drm/msm: Update dev core dump to not print backwards
    0a1db96de334 md/md-bitmap: hold 'reconfig_mutex' in backlog_store()
    7d9b926c4c05 md/md-bitmap: remove unnecessary local variable in backlog_store()
    4574db58e3d4 md/raid10: use dereference_rdev_and_rrdev() to get devices
    e26b8812a79a md/raid10: factor out dereference_rdev_and_rrdev()
    a5dc1f8342fa md: restore 'noio_flag' for the last mddev_resume()
    8267f8119091 ASoC: fsl: fsl_qmc_audio: Fix snd_pcm_format_t values handling
    946c6cbacedb arm64: dts: rockchip: Enable SATA on Radxa E25
    cd3e27ab9811 arm64: dts: rockchip: Fix PCIe regulators on Radxa E25
    72da8b87ee48 drm/amdgpu: Update min() to min_t() in 'amdgpu_info_ioctl'
    952c04c10287 arm64: dts: qcom: msm8996-gemini: fix touchscreen VIO supply
    113780e10171 arm64: dts: qcom: sdm845: Fix the min frequency of "ice_core_clk"
    00581f3c0ddb arm64: dts: qcom: sdm845: Add missing RPMh power domain to GCC
    792e06163a3d ARM: dts: BCM53573: Fix Ethernet info for Luxul devices
    ea675751f804 drm: adv7511: Fix low refresh rate register for ADV7533/5
    8db9177e9afc ARM: dts: samsung: s5pv210-smdkv210: correct ethernet reg addresses (split)
    a91cf971e2ec ARM: dts: s5pv210: add dummy 5V regulator for backlight on SMDKv210
    9279edc4c4e8 ARM: dts: samsung: s3c6410-mini6410: correct ethernet reg addresses (split)
    4da92f5706f6 drm/bridge: anx7625: Use common macros for HDCP capabilities
    04e2a662b551 drm/bridge: anx7625: Use common macros for DP power sequencing commands
    b3498d004191 x86/mm: Fix PAT bit missing from page protection modify mask
    4355a1c3a58c block: don't allow enabling a cache on devices that don't support it
    db22fcbad57c block: cleanup queue_wc_store
    03382577996c drm/etnaviv: fix dumping of active MMU context
    5255cd757321 arm64: tegra: Fix HSUART for Smaug
    ff44df02ae68 arm64: dts: qcom: pmi8994: Add missing OVP interrupt
    8ec1d751e750 arm64: dts: qcom: pmi8950: Add missing OVP interrupt
    d618209fff54 arm64: dts: qcom: pm660l: Add missing short interrupt
    4dce1ca61fe5 arm64: dts: qcom: pm6150l: Add missing short interrupt
    314dd409b863 arm64: dts: qcom: sm8250-sony-xperia: correct GPIO keys wakeup again
    b47970aec2b2 arm64: tegra: Fix HSUART for Jetson AGX Orin
    37c085a977e4 ARM: dts: BCM53573: Use updated "spi-gpio" binding properties
    38d5220f93ec ARM: dts: BCM53573: Add cells sizes to PCIe node
    381cd6c60f4c ARM: dts: BCM53573: Drop nonexistent #usb-cells
    7319280e7e8e ARM: dts: BCM53573: Drop nonexistent "default-off" LED trigger
    8c6ac7470c46 drm/amdgpu: avoid integer overflow warning in amdgpu_device_resize_fb_bar()
    b99f5bf32fee firmware: ti_sci: Use system_state to determine polling
    c3180fd9cf9e ARM: dts: stm32: Add missing detach mailbox for DHCOR SoM
    9ec5b2ec2233 ARM: dts: stm32: Add missing detach mailbox for DHCOM SoM
    0e0240967ed1 ARM: dts: stm32: Update to generic ADC channel binding on DHSOM systems
    cc0158d90283 ARM: dts: stm32: Add missing detach mailbox for Odyssey SoM
    002cfdf64f0e ARM: dts: stm32: Add missing detach mailbox for emtrion emSBC-Argon
    eaa18625a721 ARM: dts: stm32: adopt generic iio bindings for adc channels on emstamp-argon
    ce5716af92de arm64: dts: qcom: sm8250: Mark PCIe hosts as DMA coherent
    6bdc6c98e008 arm64: dts: qcom: sm8450-hdk: remove pmr735b PMIC inclusion
    316b1db0faf9 arm64: dts: qcom: pmk8350: fix ADC-TM compatible string
    e9b6e5f9d89b arm64: dts: qcom: pmr735b: fix thermal zone name
    31578f4a1038 arm64: dts: qcom: pm8350b: fix thermal zone name
    d532b99da1e7 arm64: dts: qcom: pm8350: fix thermal zone name
    7374fbf8099f arm64: dts: qcom: sm8350: Use proper CPU compatibles
    2aec1a1bd316 arm64: dts: qcom: sm8350: Add missing LMH interrupts to cpufreq
    4627ff061385 arm64: dts: qcom: sm8350: Fix CPU idle state residency times
    db0bb434bd62 arm64: dts: qcom: sdm845-tama: Set serial indices and stdout-path
    94d0f87853c7 arm64: dts: qcom: msm8996: Add missing interrupt to the USB2 controller
    4aad17e6971d arm64: dts: qcom: sc8280xp: Add missing SCM interconnect
    c806d12c2a03 arm64: dts: qcom: sc8280xp-crd: Correct vreg_misc_3p3 GPIO
    1bd91f7558cc arm64: dts: qcom: sm8250-edo: Rectify gpio-keys
    ad256c8f3659 arm64: dts: qcom: sm8250-edo: Add GPIO line names for PMIC GPIOs
    b8b24ca8ff62 arm64: dts: qcom: sm8250-edo: Add gpio line names for TLMM
    142d0c2b087d arm64: dts: qcom: msm8916-l8150: correct light sensor VDDIO supply
    62bcbe864e8f arm64: dts: qcom: sm8250: correct dynamic power coefficients
    c9cbf312beca arm64: dts: qcom: sm6350: Fix ZAP region
    49d9276e4e65 arm64: dts: qcom: sm8150: use proper DSI PHY compatible
    a5397aa6c459 arm64: defconfig: enable Qualcomm MSM8996 Global Clock Controller as built-in
    735f8ad47c41 soc: qcom: ocmem: Fix NUM_PORTS & NUM_MACROS macros
    9971747dee9a soc: qcom: ocmem: Add OCMEM hardware version print
    97c55d575318 ASoC: stac9766: fix build errors with REGMAP_AC97
    19e1dfcd0094 drm/hyperv: Fix a compilation issue because of not including screen_info.h
    75b1c7be6ec5 drm/amd/display: Do not set drr on pipe commit
    903fc5d8cb48 quota: fix dqput() to follow the guarantees dquot_srcu should provide
    d6dd76dbd98c quota: add new helper dquot_active()
    ec2b2bcbed47 quota: rename dquot_active() to inode_quota_active()
    c389a4c481ae quota: factor out dquot_write_dquot()
    98d233259a4d drm: bridge: dw-mipi-dsi: Fix enable/disable of DSI controller
    a24f97271af9 ASoC: cs43130: Fix numerator/denominator mixup
    65306c9e8588 ASoC: soc-compress: Fix deadlock in soc_compr_open_fe
    7a1044ea63d3 drm/bridge: tc358764: Fix debug print parameter order
    4204992fec4a netrom: Deny concurrent connect().
    1f35fe7674cc pds_core: pass opcode to devcmd_wait
    b272690b335c pds_core: check for work queue before use
    4b5207803a13 pds_core: no reset command for VF
    6368086ad037 pds_core: no health reporter in VF
    42da13e048a1 pds_core: protect devlink callbacks from fw_down state
    5293f466d41d net/sched: sch_hfsc: Ensure inner classes have fsc curve
    283b627b0f2f sfc: Check firmware supports Ethernet PTP filter
    bf412083ad97 cteonxt2-pf: Fix backpressure config for multiple PFC priorities to work simultaneously
    19ab2ffa3a86 octeontx2-af: CN10KB: fix PFC configuration
    7682e8bcf255 octeontx2-pf: Fix PFC TX scheduler free
    eb13a9694e07 octeontx2-pf: Refactor schedular queue alloc/free calls
    45a8c9e443b1 hwmon: (tmp513) Fix the channel number in tmp51x_is_visible()
    0a01f59e3316 mlxsw: core_hwmon: Adjust module label names based on MTCAP sensor counter
    634309d070ab mlxsw: i2c: Limit single transaction buffer size
    b97bbe83461b mlxsw: i2c: Fix chunk size setting in output mailbox buffer
    c3971ad85ab2 net: arcnet: Do not call kfree_skb() under local_irq_disable()
    df2307c78147 ice: avoid executing commands on other ports when driving sync
    5dbb17ce201e wifi: ath9k: use IS_ERR() with debugfs_create_dir()
    2dba15a00998 net/mlx5: Dynamic cyclecounter shift calculation for PTP free running clock
    38d98af561d5 arm64: mm: use ptep_clear() instead of pte_clear() in clear_flush()
    53457af71d20 Bluetooth: btusb: Do not call kfree_skb() under spin_lock_irqsave()
    397d58007532 Bluetooth: hci_conn: fail SCO/ISO via hci_conn_failed if ACL gone early
    a30c074f0b5b Bluetooth: hci_sync: Fix UAF in hci_disconnect_all_sync
    4d3ca4a9aaf0 Bluetooth: hci_sync: Fix UAF on hci_abort_conn_sync
    970aaee1d264 Bluetooth: ISO: Notify user space about failed bis connections
    e4511a67fcdb Bluetooth: hci_conn: Consolidate code for aborting connections
    0c57f9ad2c3e wifi: mwifiex: avoid possible NULL skb pointer dereference
    1f4e3e9ba286 bpf: Fix check_func_arg_reg_off bug for graph root/node
    2e0c6551e7f8 mac80211: make ieee80211_tx_info padding explicit
    788b1537d987 wifi: nl80211/cfg80211: add forgotten nla_policy for BSS color attribute
    0bb707be973f wifi: mac80211: fix puncturing bitmap handling in CSA
    af3d2e0f3a54 bpf: Fix a bpf_kptr_xchg() issue with local kptr
    64f72193ec17 wifi: ath9k: protect WMI command response buffer replacement with a lock
    0a4bccf0dcce wifi: ath9k: fix races between ath9k_wmi_cmd and ath9k_wmi_ctrl_rx
    5062a0af2bfa samples/bpf: fix broken map lookup probe
    1c22f35ed878 samples/bpf: fix bio latency check with tracepoint
    2abcf2482821 ARM: dts: Add .dts files missing from the build
    1db16ec15d83 selftests: memfd: error out test process when child test fails
    96c1d7a7d54b wifi: rtw89: 8852b: rfk: fine tune IQK parameters to improve performance on 2GHz band
    ebbac3a52b11 wifi: mwifiex: Fix missed return in oob checks failed path
    5d66b32a6ecf wifi: mwifiex: fix memory leak in mwifiex_histogram_read()
    acf3314a318e net: annotate data-races around sk->sk_lingertime
    5580cb5ae400 net: lan966x: Fix return value check for vcap_get_rule()
    794611ad1e6b fs: ocfs2: namei: check return value of ocfs2_add_entry()
    b49c9a2d85eb scripts/gdb: fix 'lx-lsmod' show the wrong size
    84f40e85bdc1 lwt: Check LWTUNNEL_XMIT_CONTINUE strictly
    d68c17402442 lwt: Fix return values of BPF xmit ops
    d62da65a525e hwrng: iproc-rng200 - Implement suspend and resume calls
    b1c7b72a1b55 crypto: caam - fix unchecked return value error
    cb5311436757 ice: ice_aq_check_events: fix off-by-one check when filling buffer
    45bd8c6729a0 net-memcg: Fix scope of sockmem pressure indicators
    1b6cefd71356 net: hns3: fix wrong rpu tln reg issue
    1d3751be00c3 net: hns3: Support tlv in regs data for HNS3 PF driver
    df34972a33d2 net: hns3: move dump regs function to a separate file
    27d510d038fb selftests/bpf: Clean up fmod_ret in bench_rename test script
    3c228b80d610 selftests/bpf: Fix repeat option when kfunc_call verification fails
    9bb4becae5cf net: tcp: fix unexcepted socket die when snd_wnd is 0
    d9163d5281fb Bluetooth: hci_event: drop only unbound CIS if Set CIG Parameters fails
    736827d56be6 Bluetooth: hci_conn: Always allocate unique handles
    aafda69d4807 Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_add_adv_monitor()
    5282da3305bd Bluetooth: hci_sync: Don't double print name in add/remove adv_monitor
    da19f35868df Bluetooth: Fix potential use-after-free when clear keys
    3a273cd0f47d Bluetooth: hci_conn: Fix hci_le_set_cig_params
    f550c6973e4b Bluetooth: hci_conn: Use kmemdup() to replace kzalloc + memcpy
    25675624455e Bluetooth: hci_conn: Fix not allowing valid CIS ID
    7b1b32172771 Bluetooth: ISO: Fix not checking for valid CIG/CIS IDs
    9c1d36fef5ea Bluetooth: nokia: fix value check in nokia_bluetooth_serdev_probe()
    2bc71294d36d Bluetooth: ISO: do not emit new LE Create CIS if previous is pending
    b475c1109251 Bluetooth: ISO: Add support for connecting multiple BISes
    3e740c8876d0 Bluetooth: hci_event: Fix parsing of CIS Established Event
    867a14669096 crypto: api - Use work queue in crypto_destroy_instance
    66ee37d0da84 crypto: stm32 - Properly handle pm_runtime_get failing
    148eaae09226 kbuild: rust_is_available: fix confusion when a version appears in the path
    a329671bf103 kbuild: rust_is_available: add check for `bindgen` invocation
    7bbcdae9f862 kbuild: rust_is_available: fix version check when CC has multiple arguments
    f1b4d5f64e22 kbuild: rust_is_available: remove -v option
    dc958014fa23 bpf: fix bpf_dynptr_slice() to stop return an ERR_PTR.
    da2f98973b70 spi: mpc5xxx-psc: Fix unsigned expression compared with zero
    713f9c030837 selftests/bpf: fix static assert compilation issue for test_cls_*.c
    f12a425a7c74 wifi: ath12k: fix memcpy array overflow in ath12k_peer_assoc_h_he()
    7a031c9eaa3b wifi: ath11k: fix band selection for ppdu received in channel 177 of 5 GHz
    fdfaabfd200b wifi: mwifiex: fix error recovery in PCIE buffer descriptor management
    a7300e3800e9 wifi: mwifiex: Fix OOB and integer underflow when rx packets
    4b447dd2b472 wifi: rtw89: Fix loading of compressed firmware
    5824565c64a3 wifi: mt76: mt7915: fix power-limits while chan_switch
    90e40fee4cca wifi: mt76: mt7915: fix tlv length of mt7915_mcu_get_chan_mib_info
    863893293550 can: tcan4x5x: Remove reserved register 0x814 from writable table
    d273f36ef6be can: gs_usb: gs_usb_receive_bulk_callback(): count RX overflow errors also in case of OOM
    33ac54d56928 spi: tegra20-sflash: fix to check return value of platform_get_irq() in tegra_sflash_probe()
    ca517ee965df wifi: mt76: testmode: add nla_policy for MT76_TM_ATTR_TX_LENGTH
    300e08ebf838 wifi: mt76: mt7915: remove VHT160 capability on MT7915
    01b34b9dc2fc wifi: mt76: mt7915: fix capabilities in non-AP mode
    4f3375f81df7 wifi: mt76: mt7915: fix command timeout in AP stop period
    8aa43cfbb68b bpf: reject unhashed sockets in bpf_sk_assign
    9df141014c65 udp: re-score reuseport groups when connected sockets are present
    8eed5585f76c wifi: mt76: mt7996: fix WA event ring size
    ce5f013e73a6 wifi: mt76: mt7996: use correct phy for background radar event
    9bb9c3dc5eae wifi: mt76: mt7996: fix bss wlan_idx when sending bss_info command
    4c65f54ef70f wifi: mt76: mt7921: fix non-PSC channel scan fail
    814d59814a00 wifi: mt76: mt7915: rework tx bytes counting when WED is active
    1d2e15bca38e wifi: mt76: mt7915: rework tx packets counting when WED is active
    42633efe6bbc wifi: mt76: mt7915: fix background radar event being blocked
    69c3dbb2dcef wifi: mt76: mt7996: fix header translation logic
    f7f6d5d5490b wifi: rtw89: debug: Fix error handling in rtw89_debug_priv_btc_manual_set()
    6e2e442ff054 regmap: rbtree: Use alloc_flags for memory allocations
    50205a72102d regmap: maple: Use alloc_flags for memory allocations
    b60dbf791b0b regmap: Load register defaults in blocks rather than register by register
    88e9c27e1291 hwrng: pic32 - use devm_clk_get_enabled
    76a71852edad hwrng: nomadik - keep clock enabled while hwrng is registered
    b5058b34918a tcp: tcp_enter_quickack_mode() should be static
    b46ef4835b0c crypto: qat - change value of default idle filter
    6d167bf5ac56 bpf: Fix an error in verifying a field in a union
    a61317005384 bpf: Fix an error around PTR_UNTRUSTED
    62c4571f2752 bpf: Clear the probe_addr for uprobe
    179a2a8a7b9a libbpf: Fix realloc API handling in zero-sized edge cases
    9cdf9b27b704 bpftool: Use a local bpf_perf_event_value to fix accessing its fields
    d61c787a8977 bpftool: Use a local copy of BPF_LINK_TYPE_PERF_EVENT in pid_iter.bpf.c
    29b0abab69e0 bpftool: Define a local bpf_perf_link to fix accessing its fields
    564560f3bac6 bpftool: use a local copy of perf_event to fix accessing :: Bpf_cookie
    ff843490981a libbpf: only reset sec_def handler when necessary
    a3e6c8c383cf selftests/bpf: Fix bpf_nf failure upon test rerun
    5ce42c9441f1 cpufreq: tegra194: remove opp table in exit hook
    6e76e74f3438 cpufreq: tegra194: add online/offline hooks
    fdcfcf4ff6d4 cpufreq: powernow-k8: Use related_cpus instead of cpus in driver.exit()
    41b18168d309 x86/efistub: Fix PCI ROM preservation in mixed mode
    84857640c674 cpufreq: amd-pstate-ut: Fix kernel panic when loading the driver
    231bb989098d cpufreq: amd-pstate-ut: Remove module parameter access
    9f8b364827bf thermal/of: Fix potential uninitialized value access
    040ca14f9185 ACPI: x86: s2idle: Fix a logic error parsing AMD constraints table
    be6daa0d449a ACPI: x86: s2idle: Post-increment variables when getting constraints
    04f7ab313c71 irqchip/loongson-eiointc: Fix return value checking of eiointc_index
    4d1566cbc93c s390/paes: fix PKEY_TYPE_EP11_AES handling for secure keyblobs
    a62ba32502b0 s390/pkey: fix PKEY_TYPE_EP11_AES handling for sysfs attributes
    d2b64e45afbb s390/pkey: fix PKEY_TYPE_EP11_AES handling in PKEY_GENSECK2 IOCTL
    db98bf87deea s390/pkey: fix/harmonize internal keyblob headers
    f7595dd677f4 selftests/futex: Order calls to futex_lock_pi
    5b068b48590c perf/imx_ddr: don't enable counter0 if none of 4 counters are used
    ca4b6a5126d2 sched/rt: Fix sysctl_sched_rr_timeslice intial value
    f6f9fd819d0d arm64/fpsimd: Only provide the length to cpufeature for xCR registers
    b8d56aaa23e9 x86/decompressor: Don't rely on upper 32 bits of GPRs being preserved
    d577f577d87a cpuidle: teo: Update idle duration estimate when choosing shallower state
    219ed9a08e96 sched/psi: Select KERNFS as needed
    bbce5b478c0a arm64/ptrace: Clean up error handling path in sve_set_common()
    0bf16f0dff46 selftests/resctrl: Close perf value read fd on errors
    84ddb2c8d5d3 selftests/resctrl: Unmount resctrl FS if child fails to run benchmark
    755fb5181f49 selftests/resctrl: Don't leak buffer in fill_cache()
    aabca80d93a5 selftests/resctrl: Add resctrl.h into build deps
    2813cafbb86d OPP: Fix passing 0 to PTR_ERR in _opp_attach_genpd()
    b427c23cebc5 powercap: arm_scmi: Remove recursion while parsing zones
    de1dbbefac85 clocksource: Handle negative skews in "skew is too large" messages
    e5de968a9032 refscale: Fix uninitalized use of wait_queue_head_t
    28fabbbd5ac6 locking/arch: Avoid variable shadowing in local_try_cmpxchg()
    c0e71cb3ae9d ARM: ptrace: Restore syscall skipping for tracers
    9d75837cedb9 ARM: ptrace: Restore syscall restart tracing
    71512d0d79c8 vfs, security: Fix automount superblock LSM init problem, preventing NFS sb sharing
    cdb1369c0c5b selftests/harness: Actually report SKIP for signal tests
    8a404e5b89b5 tmpfs: verify {g,u}id mount options correctly
    b7b6c1d3c50a iomap: Remove large folio handling in iomap_invalidate_folio()
    c8ca04de0f8a fs: Fix error checking for d_hash_and_lookup()
    5c0dd959b635 eventfd: prevent underflow for eventfd semaphores
    8c079dd85f33 splice: fsnotify_access(in), fsnotify_modify(out) on success in tee
    1b46bd39bd5f splice: fsnotify_access(fd)/fsnotify_modify(fd) in vmsplice
    83ab4d61a6db splice: always fsnotify_access(in), fsnotify_modify(out) on success
    55ce683205ee reiserfs: Check the return value from __getblk()
    f294216e8817 Revert "net: macsec: preserve ingress frame ordering"
    44191fb06d7c Revert "PCI: tegra194: Enable support for 256 Byte payload"
    e46e084eef71 Revert "fuse: in fuse_flush only wait if someone wants the return code"
    f6eb08ff998a Input: i8042 - add quirk for TUXEDO Gemini 17 Gen1/Clevo PD70PN
    926c77b695ba drm/amd/display: ensure async flips are only accepted for fast updates
    e6945cbcb633 Bluetooth: btrtl: Load FW v2 otherwise FW v1 for RTL8852C
    9ccd5bc888f1 net: Avoid address overwrite in kernel_connect
    240a4bbb5c18 KVM: x86/mmu: Add "never" option to allow sticky disabling of nx_huge_pages
    ce5b4e174235 tpm: Enable hwrng only for Pluton on AMD CPUs
    a591c40c8639 cpufreq: intel_pstate: set stale CPU frequency to minimum
    a71a791575b5 sbitmap: fix batching wakeup
    0b9e229d2c3b platform/mellanox: Fix mlxbf-tmfifo not handling all virtio CONSOLE notifications
    afdd9839e8b7 tracing: Introduce pipe_cpumask to avoid race on trace_pipes
    6a3e1d42a283 net: sfp: handle 100G/25G active optical cables in sfp_parse_support
    3e7b0cacdcc2 ASoC: cs35l56: Add an ACPI match table
    3f8fb078f850 drm/amd/pm: Fix temperature unit of SMU v13.0.6
    87d743fcfed1 gpiolib: fix reference leaks when removing GPIO chips still in use
    2e3f9bfe44f2 broadcom: b44: Use b44_writephy() return value
    7d9f2277f12b fbdev: goldfishfb: Do not check 0 for platform_get_irq()
    d1e1bdd30ae0 i2c: imx-lpi2c: return -EINVAL when i2c peripheral clk doesn't work
    e1417c7dc3ad ASoC: rt1308-sdw: fix random louder sound
    fd54a813f45b ARM: dts: integrator: fix PCI bus dtc warnings
    81d0b388c10d ALSA: hda/cs8409: Support new Dell Dolphin Variants
    069ee9f4e2fd virtio-mem: check if the config changed before fake offlining memory
    206fa20b9ed1 virtio-mem: keep retrying on offline_and_remove_memory() errors in Sub Block Mode (SBM)
    c6ba4b3706c4 virtio-mem: convert most offline_and_remove_memory() errors to -EBUSY
    5ce0a78d0305 virtio-mem: remove unsafe unplug in Big Block Mode (BBM)
    0c13e9af66cf vdpa/mlx5: Correct default number of queues when MQ is on
    0993d26ddd8e vhost-scsi: Fix alignment handling with windows
    15b41e759d23 arm64: dts: rockchip: correct wifi interrupt flag in Box Demo
    d2c404193844 arm64: dts: rockchip: correct wifi interrupt flag in Rock Pi 4B
    5a7527e882e3 arm64: dts: rockchip: correct wifi interrupt flag in eaidk-610
    f4ecae3e2200 drm/amdgpu: Match against exact bootloader status
    1428c8e82b17 wifi: ath12k: Fix buffer overflow when scanning with extraie
    c21156d79dcd net: hns3: restore user pause configure when disable autoneg
    a27f317c7cdb scsi: qedi: Fix potential deadlock on &qedi_percpu->p_work_lock
    04c50fb24fd2 scsi: lpfc: Remove reftag check in DIF paths
    1185de708ec8 platform/x86/amd/pmf: Fix unsigned comparison with less than zero
    d2007c8a7429 idmaengine: make FSL_EDMA and INTEL_IDMA64 depends on HAS_IOMEM
    6e2e2bf0ea55 x86/hyperv: add noop functions to x86_init mpparse functions
    ee66ee99eea6 powerpc/powermac: Use early_* IO variants in via_calibrate_decr()
    ab3c602d1562 wifi: brcmfmac: Fix field-spanning write in brcmf_scan_params_v2_to_v1()
    4cf614ac4c4b net: usb: qmi_wwan: add Quectel EM05GV2
    7ed7c1602c8b net: annotate data-races around sk->sk_{rcv|snd}timeo
    85576b3c2de3 net: dsa: microchip: KSZ9477 register regmap alignment to 32 bit boundaries
    713ce33ed395 Revert "wifi: ath6k: silence false positive -Wno-dangling-pointer warning on GCC 12"
    e70a88462a9f vmbus_testing: fix wrong python syntax for integer value comparison
    15ebed8cb794 clk: fixed-mmio: make COMMON_CLK_FIXED_MMIO depend on HAS_IOMEM
    fc18cbdad4cb kprobes: Prohibit probing on CFI preamble symbol
    b702cac249ed security: keys: perform capable check only on privileged operations
    a76d9eebc05e LoongArch: Fix CMDLINE_EXTEND and CMDLINE_BOOTLOADER handling
    df80567bfd6a LoongArch: Only fiddle with CHECKFLAGS if `need-compiler'
    3c57e6ef55b8 staging: fbtft: ili9341: use macro FBTFT_REGISTER_SPI_DRIVER
    23db7577c53f ALSA: usb-audio: Update for native DSD support quirks
    73adcfe192d3 ata: pata_arasan_cf: Use dev_err_probe() instead dev_err() in data_xfer()
    20c80f8cfbc5 ovl: Always reevaluate the file signature for IMA
    6d5912a386b6 drm/amd/display: Exit idle optimizations before attempt to access PHY
    43a973efd6ae drm/amd/display: Guard DCN31 PHYD32CLK logic against chip family
    4c155ffd3662 drm/amd/smu: use AverageGfxclkFrequency* to replace previous GFX Curr Clock
    dc02b0843040 platform/x86: huawei-wmi: Silence ambient light sensor
    9d1d1b51b04a platform/x86: asus-wmi: Fix setting RGB mode on some TUF laptops
    8135100ab935 platform/x86: think-lmi: Use kfree_sensitive instead of kfree
    19e0e540f0ab platform/x86/intel/hid: Add HP Dragonfly G2 to VGBS DMI quirks
    467af1faf4d3 platform/x86: intel: hid: Always call BTNL ACPI method
    d7e80cf43c1a ALSA: usb-audio: Add quirk for Microsoft Modern Wireless Headset
    c6f45378c5e0 ASoC: atmel: Fix the 8K sample parameter in I2SC master
    ff4f04493403 ASoC: rt711-sdca: fix for JD event handling in ClockStop Mode0
    731f7f17a835 ASoC: rt711: fix for JD event handling in ClockStop Mode0
    57f727c53464 ASoC: rt712-sdca: fix for JD event handling in ClockStop Mode0
    06577fbf5338 ASoc: codecs: ES8316: Fix DMIC config
    76f9c89b61ae ASoC: rt5682-sdw: fix for JD event handling in ClockStop Mode0
    23b0014df6d1 cifs: fix charset issue in reconnection
    e26c5d7d7e7b fs/nls: make load_nls() take a const parameter
    10860d01819f s390/dasd: fix hanging device after request requeue
    0db529ff48aa s390/dasd: use correct number of retries for ERP requests
    2f8cd099c13a m68k: Fix invalid .section syntax
    570cfb82ed1a ethernet: atheros: fix return value check in atl1c_tso_csum()
    ec2e3eb1449c net: hns3: add tm flush when setting tm
    ba98d42dd3d3 thermal: core: constify params in thermal_zone_device_register
    95992abd2b7e ASoC: nau8821: Add DMI quirk mechanism for active-high jack-detect
    b306ec1c8997 ASoC: da7219: Check for failure reading AAD IRQ events
    d87d275ee583 ASoC: da7219: Flush pending AAD IRQ when suspending
    aa669ef229ae ksmbd: fix out of bounds in init_smb2_rsp_hdr()
    fc571afdbf28 ksmbd: no response from compound read
    4c2b350b2e26 ksmbd: validate session id and tree id in compound request
    af4ea4a6842e ksmbd: fix out of bounds in smb3_decrypt_req()
    18a75e28c4e4 9p: virtio: make sure 'offs' is initialized in zc_request
    00d31fe4bf05 9p: virtio: fix unlikely null pointer deref in handle_rerror
    15559ac9d19f media: pci: cx23885: fix error handling for cx23885 ATSC boards
    c42d815cc909 media: pulse8-cec: handle possible ping error
    2c4f2254aa1e media: imx-jpeg: Support to assign slot for encoder/decoder
    7b6ac5ffc0d2 media: amphion: use dev_err_probe
    549ced0c2da6 phy: qcom-snps-femto-v2: use qcom_snps_hsphy_suspend/resume error code
    acc8bd59e3f0 ksmbd: Fix unsigned expression compared with zero
    3eec4e2ef2f0 Partially revert "drm/amd/display: Fix possible underflow for displays with large vblank"
    e94f8f9e82eb Revert "bridge: Add extack warning when enabling STP in netns."

(From OE-Core rev: 62372cee1b0a53e0651a88985a23bf4359f37987)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-01 08:12:59 +01:00
Bruce Ashfield
e98802171e linux-yocto/6.1: update to v6.1.52
Updating  to the latest korg -stable release that comprises
the following commits:

    59b13c2b647e Linux 6.1.52
    4a6284a2fc63 pinctrl: amd: Don't show `Invalid config param` errors
    7bec12fa9813 usb: typec: tcpci: clear the fault status bit
    4da07e958bfd nilfs2: fix WARNING in mark_buffer_dirty due to discarded buffer reuse
    fdbfc54d5399 nilfs2: fix general protection fault in nilfs_lookup_dirty_data_buffers()
    689561db6869 dt-bindings: sc16is7xx: Add property to change GPIO function
    dca7c9965141 tcpm: Avoid soft reset when partner does not support get_status
    a1fc0096921c fsi: master-ast-cf: Add MODULE_FIRMWARE macro
    b5c7bc370e03 firmware: stratix10-svc: Fix an NULL vs IS_ERR() bug in probe
    b7366429626e serial: sc16is7xx: fix bug when first setting GPIO direction
    682f9b944374 serial: sc16is7xx: fix broken port 0 uart init
    4b3de7d2f869 serial: qcom-geni: fix opp vote on shutdown
    1cd102aaedb2 wifi: mt76: mt7921: fix skb leak by txs missing in AMSDU
    74ceef6e6925 wifi: mt76: mt7921: do not support one stream on secondary antenna only
    179c65828593 Bluetooth: btsdio: fix use after free bug in btsdio_remove due to race condition
    86b818e2495d staging: rtl8712: fix race condition
    bd69537c1a2c HID: wacom: remove the battery when the EKR is off
    48729a1d2a7a usb: chipidea: imx: improve logic if samsung,picophy-* parameter is 0
    c564d4f91a0c usb: dwc3: meson-g12a: do post init to fix broken usb after resumption
    bfc4ccc0bcae ALSA: usb-audio: Fix init call orders for UAC1
    69d9330f2eff USB: serial: option: add FOXCONN T99W368/T99W373 product
    34f396f7abd0 USB: serial: option: add Quectel EM05G variant (0x030e)
    5d0fe30be4e2 modules: only allow symbol_get of EXPORT_SYMBOL_GPL modules
    36231e2c4ebd rtc: ds1685: use EXPORT_SYMBOL_GPL for ds1685_rtc_poweroff
    915219699da1 net: enetc: use EXPORT_SYMBOL_GPL for enetc_phc_index
    4dab89cccd8c mmc: au1xmmc: force non-modular build and remove symbol_get usage
    ac6fa0e04be0 ARM: pxa: remove use of symbol_get()
    cf859267e639 ksmbd: reduce descriptor size if remaining bytes is less than request size
    d070c4dd2a5b ksmbd: replace one-element array with flex-array member in struct smb2_ea_info
    30fd6521b2fb ksmbd: fix slub overflow in ksmbd_decode_ntlmssp_auth_blob()
    7d8855fd849d ksmbd: fix wrong DataOffset validation of create context
    1ce9ebc96eda erofs: ensure that the post-EOF tails are all zeroed

(From OE-Core rev: 9be500bb695d0c6f863397d2f4b17d505427001a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-01 08:12:59 +01:00
Bruce Ashfield
0082d2be93 linux-yocto/6.4: update to v6.4.15
Updating  to the latest korg -stable release that comprises
the following commits:

    f60d5fd5e950 Linux 6.4.15
    12ac1448ab77 pinctrl: amd: Don't show `Invalid config param` errors
    120e477de917 usb: typec: tcpci: clear the fault status bit
    46c11be2dca2 nilfs2: fix WARNING in mark_buffer_dirty due to discarded buffer reuse
    d53a0a737639 dt-bindings: sc16is7xx: Add property to change GPIO function
    f75a9a53327b tcpm: Avoid soft reset when partner does not support get_status
    c95605d5ed23 fsi: master-ast-cf: Add MODULE_FIRMWARE macro
    4c0dc67881c6 firmware: stratix10-svc: Fix an NULL vs IS_ERR() bug in probe
    43b5cedc3564 serial: sc16is7xx: fix bug when first setting GPIO direction
    e534d3e986fc serial: sc16is7xx: fix broken port 0 uart init
    e02214399ef4 serial: qcom-geni: fix opp vote on shutdown
    2f2b1f63a760 wifi: ath11k: Cleanup mac80211 references on failure during tx_complete
    f6909803263c wifi: ath11k: Don't drop tx_status when peer cannot be found
    c32e118debe9 wifi: rtw88: usb: kill and free rx urbs on probe failure
    e74778e91fed wifi: mt76: mt7921: fix skb leak by txs missing in AMSDU
    046378bdf9de wifi: mt76: mt7921: do not support one stream on secondary antenna only
    18a9d16f2fbe staging: rtl8712: fix race condition
    5db7c0f7fb51 HID: wacom: remove the battery when the EKR is off
    ae3f94d539a3 usb: chipidea: imx: improve logic if samsung,picophy-* parameter is 0
    ce06713e64e3 usb: dwc3: meson-g12a: do post init to fix broken usb after resumption
    596b16ee3f9a ALSA: usb-audio: Fix init call orders for UAC1
    c72b4c1c2407 USB: serial: option: add FOXCONN T99W368/T99W373 product
    7114ed5e53b0 USB: serial: option: add Quectel EM05G variant (0x030e)
    784a1fd76b74 modules: only allow symbol_get of EXPORT_SYMBOL_GPL modules
    f2114d34d6bb rtc: ds1685: use EXPORT_SYMBOL_GPL for ds1685_rtc_poweroff
    68a2c15de311 net: enetc: use EXPORT_SYMBOL_GPL for enetc_phc_index
    95dca60f39a6 mmc: au1xmmc: force non-modular build and remove symbol_get usage
    245bc3e5329e ARM: pxa: remove use of symbol_get()
    1c660940f525 ksmbd: reduce descriptor size if remaining bytes is less than request size
    1a13ecb96230 ksmbd: replace one-element array with flex-array member in struct smb2_ea_info
    7f1d6cb0eb6a ksmbd: fix slub overflow in ksmbd_decode_ntlmssp_auth_blob()
    a43bf41344d0 ksmbd: fix wrong DataOffset validation of create context
    9535cd211933 erofs: ensure that the post-EOF tails are all zeroed

(From OE-Core rev: 9151757f43d00dd3092e61a6aca669335c8ecf63)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-01 08:12:59 +01:00
Ulrich Ölmann
4ff192f9ec packagegroup-base: clean up setting packagegroup-machine-base's SUMMARY
(From OE-Core rev: 6f87d8e92fc3d5229eb0f8c33548dd147c03a0ce)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-01 08:12:59 +01:00
Daniel Semkowicz
047eea40f5 uboot-extlinux-config.bbclass: Add missing variable descriptions
Description of UBOOT_EXTLINUX and UBOOT_EXTLINUX_CONFIG was missing.
Describe these two variables in class comment.

(From OE-Core rev: fb1c2cae3dbd37ad25d26efb09e80480d49063f9)

Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-01 08:12:59 +01:00
Daniel Semkowicz
578a627081 wic: bootimg-partition: Fix file name in debug message
Debug message about using custom configuration file includes file name
with incorrect extension. Correct file name to "extlinux.conf".

(From OE-Core rev: dd63e1520454b2d53a48b72eaae126059af9809b)

Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-01 08:12:59 +01:00
Richard Purdie
98ecb27d23 python3-numpy: Fix reproducibility issue
Add a patch to fix the reproducibility issue being seen during testing. The issue
is from a poor choice of regex against the compiler flags, being triggered by
different path names.

Drop the previous attempt at fixing this as it wasn't that.

(From OE-Core rev: c4d1dc5e33734b94835e7f5e0e1746d4a6542b55)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-01 08:12:59 +01:00
Khem Raj
ab127e266e mesa: Fix native build on hosts with llvm-dev installed
This issue is always there, it just shows up with newer LLVM since
symbol mismatches are being found otherwise it was happily linking with
host libLLVM.so silently.

(From OE-Core rev: 941089fa63e2b38608291251d52a354f0f624926)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-29 23:11:59 +01:00
Tim Orling
a130e8b798 python3-cryptography{-vectors}: upgrade to 41.0.4
https://cryptography.io/en/latest/changelog/#v41-0-4

41.0.4 - 2023-09-19
Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.1.3.

(From OE-Core rev: b9ebf704ebedbb099b8efd81b736884864b72e20)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-29 23:11:59 +01:00
Khem Raj
d153a11bd0 mesa: Simplify llvm-17 patch
llvm-17 support patch had redundant checks for llvm-17, Simplify them as
submitted in v3 upstream

(From OE-Core rev: 97f97ff02514303b71a07e53d2a486a12861814e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-29 23:11:59 +01:00
Joshua Watt
7b7a439953 classes/create-spdx-2.2: Show error if document is not found
As in other places, print a more helpful error if a SPDX document is not
found when assembling documents for the final SPDX archive.

(From OE-Core rev: 0a3f7e0b41552e113347d6f5edefe84fd4e47fdf)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-29 23:11:59 +01:00
Sean Nyekjaer
b88e3cb69d gcc: depend on zstd
Add zstd LTO support for target and nativesdk compiler.
This also brings gcc into sync with gcc-cross.

% x86_64-oe-linux-gcc -v
[...]
 Supported LTO compression algorithms: zlib zstd
 gcc version 12.2.0 (GCC)
% x86_64-oesdk-linux-gcc -v
[...]
 Supported LTO compression algorithms: zlib
 gcc version 12.2.0 (GCC)

(From OE-Core rev: 2f6e3d32ad73ef8e0e3d3b89702d85c36358c00c)

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-29 23:11:59 +01:00
Robert Joslyn
2be637e323 curl: Skip tests marked flaky
Some tests can fail intermittently and upstream has marked these as
flaky so they can easily be skipped. At present there are 12 tests
marked flaky with 10 of them running in the default recipe
configuration. Skip them to avoid the failures.

(From OE-Core rev: 34f37de80928bb23a594268b0e996beb575ca51b)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-29 23:11:59 +01:00
Peter Kjellerstedt
3b46d6a41a bitbake: bitbake-getvar: Treat undefined variables as empty with --value
Rather than outputting the string "None" for undefined variables, output
only a linefeed (the same as for variables that are defined to the empty
string).

(Bitbake rev: f3ba9c3726ec7b38b557100d8a2d4b6a1446a968)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:38:26 +01:00
Peter Kjellerstedt
826807785e bitbake: bitbake-getvar: Add a (suppressable) error for undefined variables
If an undefined variable or variable flag is specified, bitbake-getvar
will now fail with an error message indicating this.

The error can be supressed with --ignore-undefined, which matches the
previous behavior.

This also changes the errors related to specifying --flag or --unexpand
without --value so that they are sent to stderr rather than stdout.

(Bitbake rev: 136b8dda4e8b6f4d7e45a552c2d2e278b3ae1b7d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:38:26 +01:00
Julien Stephan
8eeb58cf4a bitbake: bitbake: cooker: add a new function to retrieve task signatures
adding a new command in cooker to compute and get task signatures

this commit also add the associated command and event needed to get the
signatures using tinfoil

(Bitbake rev: 05c15162de90c41dad67e37a95ec9fdb440a7864)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:38:26 +01:00
Richard Purdie
fc5a15cc64 oeqa/utils/gitarchive: Handle broken commit counts in results repo
The test results repository contains tags like:

master/64501-g65c94ca3196e5ef3344a469fea8e30444f2e967a/0
master/1-g65c94ca3196e5ef3344a469fea8e30444f2e967a/3
master/1-g65c94ca3196e5ef3344a469fea8e30444f2e967a/2
master/1-g65c94ca3196e5ef3344a469fea8e30444f2e967a/1
master/1-g65c94ca3196e5ef3344a469fea8e30444f2e967a/0

where the commit count is correct in one case and not in the others. This causes
assertion errors in the current code.

Add in some code to work around these historical issues where the commit counts are low.

(From OE-Core rev: d51fc5c8c469730885af7bbde7122032de411d89)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:47 +01:00
Peter Marko
d9d8cd345f json-c: define CVE_VERSION
Recently NVD updated all CVEs for json-c and old fixed
cves are reported in some older yocto branches.
NVD match clause now includes full tag name including
date which is "greater" than tag without additional numbers.

Define CVE_VERSION identical to full tag also on master to
avoid future CVEs to be reported incorrectly.
Put it close to hash so recipe update patch includes this line.

(From OE-Core rev: 190dec283b7deeb7ff898d1811924db806509e4a)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:47 +01:00
Ninad Palsule
41c15b1bae kernel-fitImage: Strip path component from dtb
Machines that have added subdirectires to the KERNEL_DEVICETREE
recently, such as arm32 boards that were moved under subdirectories in
Linux 6.5, will have that subdirectory in the node name of the FIT. This
breaks existing systems that select a configuration in u-boot by it's
name.

Strip off the directory component from the device tree to preserve
compatibility.

(From OE-Core rev: 941ba1a132bafa9c9be855fb91fec96d8b06299f)

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:47 +01:00
Deepthi Hemraj
dc25b151ab binutils: stable 2.41 branch updates.
Below commits on binutils-2.41 stable branch are updated.
cb4c3555ac4 (HEAD -> binutils-2_41-branch, origin/binutils-2_41-branch) Automatic date update in version.in
6ffa5a420a0 aarch64: Remove unused function
b6f6a3ecd15 x86: restrict prefix use with .insn VEX/XOP/EVEX
60834ae1eb7 PR30794, PowerPC gold: internal error in add_output_section_to_load
951a6945b44 Updated Russian translation for the bfd directory
226f2e6b924 PR30724, cygwin ld performance regression since 014a602b86
8c05bf16a51 PR30697, ppc32 mix of local-dynamic and global-dynamic TLS
31b78cc9917 gas: rework timestamp preservation on doc/asconfig.texi

(From OE-Core rev: 0472fbbe24a3260399acc57cfae1f6d3e69ab756)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:47 +01:00
Martin Jansa
9e8b56994d multilib_script.bbclass: expand script name as well
* e.g. mozjs from meta-oe contains major version from PV in the script name
  but currently cannot use a variable there because it would be unexpanded
  in the varflag name as shown in bitbake -e (lib32-curl included for comparison)

env.lib32-curl:# $ALTERNATIVE_TARGET [2 operations]
env.lib32-curl-#   set oe-core/meta/conf/documentation.conf:66
env.lib32-curl-#     [doc] "Used by the alternatives system to create default link locations for duplicated commands."
env.lib32-curl-#   set multilib_script.bbclass:37 [__anon_40_oe_core_meta_classes_recipe_multilib_script_bbclass]
env.lib32-curl-#     [curl-config] "${bindir}/curl-config-${MULTILIB_SUFFIX}"
env.lib32-curl-# pre-expansion value:
env.lib32-curl-#   "None"
--
env.lib32-mozjs-115:# $ALTERNATIVE_TARGET [2 operations]
env.lib32-mozjs-115-#   set oe-core/meta/conf/documentation.conf:66
env.lib32-mozjs-115-#     [doc] "Used by the alternatives system to create default link locations for duplicated commands."
env.lib32-mozjs-115-#   set multilib_script.bbclass:37 [__anon_40_oe_core_meta_classes_recipe_multilib_script_bbclass]
env.lib32-mozjs-115-#     [js${MAJ_VER}-config] "${bindir}/js${MAJ_VER}-config-${MULTILIB_SUFFIX}"
env.lib32-mozjs-115-# pre-expansion value:
env.lib32-mozjs-115-#   "None"
--
env.lib32-mozjs-115-escript:# $ALTERNATIVE_TARGET [2 operations]
env.lib32-mozjs-115-escript-#   set oe-core/meta/conf/documentation.conf:66
env.lib32-mozjs-115-escript-#     [doc] "Used by the alternatives system to create default link locations for duplicated commands."
env.lib32-mozjs-115-escript-#   set multilib_script.bbclass:38 [__anon_41_oe_core_meta_classes_recipe_multilib_script_bbclass]
env.lib32-mozjs-115-escript-#     [js115-config] "/usr/bin/js115-config-${MULTILIB_SUFFIX}"
env.lib32-mozjs-115-escript-# pre-expansion value:
env.lib32-mozjs-115-escript-#   "None"

Otherwise log.do_package shows that apply_update_alternative_renames first
renames the js115-config to js115-config.mozjs-115 (default ALTERNATIVE_TARGET suffix is '.${BPN}')
and multilibscript_rename later fails:

DEBUG: Executing python function apply_update_alternative_renames
NOTE: mozjs-115: Rename /usr/bin/js115-config -> /usr/bin/js115-config.mozjs-115
DEBUG: Python function apply_update_alternative_renames finished
DEBUG: Executing shell function multilibscript_rename
mv: cannot stat 'BUILD/work/mach-oemllib32-linux-gnueabi/lib32-mozjs-115/115.2.0/package/usr/bin/js115-config': No such file or directory
WARNING: exit code 1 from a shell command.

I wonder if we actually need multilibscript_rename as apply_update_alternative_renames seems
to do the rename already.

(From OE-Core rev: d07bfddba023a1c92491b261c9f9c25ec1a0ef57)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:47 +01:00
Lee Chee Yang
83b4083fdc cups: fix CVE-2023-4504
(From OE-Core rev: d359aae352279f865f7dce33be293c3d26623737)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:47 +01:00
Chen Qi
65ad609bd7 python3: add cpython to CVE_PRODUCT
https://nvd.nist.gov/vuln/detail/CVE-2023-33595 uses 'cpython'.
Although it's currently the only one that uses cpython, let's add
cpython to CVE_PRODUCT, just in case.

(From OE-Core rev: 62598e1138f21a16d8b1cdd1cfe902aeed854c5c)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:47 +01:00
Khem Raj
4e79ddf678 createrepo-c: Fix function declaration bug found with clang
clang is stricter about function parameter types in its functions and
errors out.

error: incompatible integer to pointer conversion initializing 'gchar *' (aka 'char *')

Real problem is in createrepo_c code where funciton definition and
declaration scopes are different

(From OE-Core rev: 1036bec2e99edd4c59ae1b6eedfbdc933104a9e4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:46 +01:00
Qiu Tingting
085adb197b tar: add ptest support
Add a ptest for tar.
- It is taking around 3m to execute with kvm, so added it to PTEST_SLOW.
- It contains 244 cases.
- Below is parts of the run log:
  START: ptest-runner
  2023-09-26T08:37
  BEGIN: /usr/lib/tar/ptest
  ## ------------------------ ##
  ## GNU tar 1.35 test suite. ##
  ## ------------------------ ##
  PASS: tar version
  PASS: decompressing from stdin
  ...
  200 tests were successful.
  44 tests were skipped.
  DURATION: 190
  END: /usr/lib/tar/ptest
  2023-09-26T08:40
  STOP: ptest-runner
  TOTAL: 1 FAIL: 0

(From OE-Core rev: 12eed1e6c701759321541d2c04eeca3db3c99247)

Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Signed-off-by: Yan Xinkuan <yanxk.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:46 +01:00
Alexandre Belloni
857c2468b9 python3: fix SoB on patch
(From OE-Core rev: 03a90095f5c1977a78f1a4ce568b793ebabfb281)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:46 +01:00
Wang Mingyu
42a47c1359 python3-zipp: upgrade 3.16.2 -> 3.17.0
Changelog:
===========
-Added CompleteDirs.inject classmethod to make available for use elsewhere.
-Avoid matching path separators for '?' in glob.

(From OE-Core rev: fdd3f2ad01ac6ac33f788afc806ad3c25dfd8b53)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:46 +01:00
Wang Mingyu
cb1099bcdd python3-urllib3: upgrade 2.0.4 -> 2.0.5
Changelog:
==========
-Allowed pyOpenSSL third-party module without any deprecation warning.
-Fixed default blocksize of HTTPConnection classes to match high-level
 classes. Previously was 8KiB, now 16KiB.

(From OE-Core rev: 7df59b9b66e9801ae90a56e23890754fad2c4df5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:46 +01:00
Wang Mingyu
04b0e4f066 python3-typing-extensions: upgrade 4.7.1 -> 4.8.0
Changelog:
===========
-Add typing_extensions.Doc, as proposed by PEP 727.
-Drop support for Python 3.7 (including PyPy-3.7).
-Fix bug where get_original_bases() would return incorrect results when called
 on a concrete subclass of a generic class.
-Fix bug where ParamSpec(default=...) would raise a TypeError on Python versions <3.11.

(From OE-Core rev: f35bbd665b52d764376aab4f56a67e2618759ec6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:46 +01:00
Wang Mingyu
717631016f python3-trove-classifiers: upgrade 2023.8.7 -> 2023.9.19
Changelog:
 Add Trove classifier for Django 5.0 (#153)

(From OE-Core rev: 34a8240eb9a8ec6d693fad51e1d24340f5c77fd8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:46 +01:00
Wang Mingyu
9463f7b5af python3-smmap: upgrade 5.0.0 -> 6.0.0
(From OE-Core rev: a1effe2aa5075d78f23cdc03d0cc21dfe4a5018f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:46 +01:00
Wang Mingyu
e40520466c python3-pycryptodomex: upgrade 3.18.0 -> 3.19.0
Changelog:
===========
-The update() methods of TupleHash128 and TupleHash256 objects can now hash
 multiple items (byte strings) at once. Thanks to Sylvain Pelissier.
-Added support for ECDH, with Crypto.Protocol.DH.
-GH#754: due to a bug in cffi, do not use it on Windows with Python 3.12+.

(From OE-Core rev: e4c47382dc10b70eac1a33be540e2b0d845b508e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:46 +01:00
Wang Mingyu
b4f333cc5e python3-pycryptodome: upgrade 3.18.0 -> 3.19.0
Changelog:
==========
- The update() methods of TupleHash128 and TupleHash256 objects can now hash
 multiple items (byte strings) at once. Thanks to Sylvain Pelissier.
- Added support for ECDH, with Crypto.Protocol.DH.
- GH#754: due to a bug in cffi, do not use it on Windows with Python 3.12+.

(From OE-Core rev: 2eccf033c0093b16a846eda3476ff29c4db6ef61)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:46 +01:00
Wang Mingyu
97fab59942 python3-hypothesis: upgrade 6.84.3 -> 6.86.2
Changelog:
===========
-Hotfix for issue #3747, a bug in explain mode which is so rare that we missed
 it in six months of dogfooding.
-This patch improves the documentation of @example(...).xfail() by adding a
 note about PEP 614, similar to @example(...).via(), and adds a warning when a
 strategy generates a test case which seems identical to one provided by an
 xfailed example.
-This release enables the explain phase by default.
-This patch switches some of our type annotations to use typing.Literal when
 only a few specific values are allowed, such as UUID or IP address versions.
-This release deprecates the old whitelist/blacklist arguments to characters(),
 in favor of include/exclude arguments which more clearly describe their
 effects on the set of characters which can be generated.
-You can use Hypothesis; codemods to automatically upgrade to the new argument names.

(From OE-Core rev: e7302ee78e0b7f24740a665ba1a3d16987b08036)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:46 +01:00
Wang Mingyu
e22738d2c5 python3-numpy: upgrade 1.25.2 -> 1.26.0
License-Update: split license file in standard BSD 3-clause and bundled.

Changelog:
==========
    Python 3.12.0 support.
    Cython 3.0.0 compatibility.
    Use of the Meson build system
    Updated SIMD support
    f2py fixes, meson and bind(x) support
    Support for the updated Accelerate BLAS/LAPACK library

(From OE-Core rev: 7a8ff35670254579c6a68b77852503647e3dfad7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:46 +01:00
Wang Mingyu
68ead518d9 gobject-introspection: upgrade 1.78.0 -> 1.78.1
Changelog:
 Avoid undefined behaviour in the Regress test suite

(From OE-Core rev: 27299339c2b0ddd3d2a2fdac4ae63d37dc8c600a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:46 +01:00
Wang Mingyu
32558186eb libsecret: upgrade 0.21.0 -> 0.21.1
Changelog:
===========
 * Fix updating credentials by another process in the same Flatpak sandbox [#62, !99]
 * Migrate to g_memdup2 [!121]
 * Print error logs in CI [!125]
 * Updated translations

(From OE-Core rev: 8d22d9ecf2f64a726c23a5a7bca166b293461dee)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:46 +01:00
Wang Mingyu
ccdeae3df9 kbd: upgrade 2.6.2 -> 2.6.3
(From OE-Core rev: 67f367901d32c858bb9f2280f9cd08dcdcb0949d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:46 +01:00
Wang Mingyu
908ac56f79 harfbuzz: upgrade 8.2.0 -> 8.2.1
Changelog:
 Unicode 15.1 support.

(From OE-Core rev: 878ae9cc02a865953201575840027e0577b372f4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:46 +01:00
Wang Mingyu
c5bf34523d enchant2: upgrade 2.5.0 -> 2.6.1
Changelog:
==========
-This version tweaks normalization of language tags so that only the part of
 the tag that specifies country and language is altered; any extra that is
 not removed is left alone.
-This version removes validation of language tags; dictionary names no longer
 have to be valid language tags.
-Debug output now uses GLib's debug system, and can be enabled at run-time by
 setting the environment variable G_MESSAGES_DEBUG to 'libenchant'.
-The Aspell back-end has a fix to let it work with language variants such as
 "en_GB-ize".
-There's more code clean-up, build system updates, and a couple of null
-pointer dereference fixes

(From OE-Core rev: a0aa3a7211a44b6d152efd1c576dd78e313424b1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:46 +01:00
Wang Mingyu
d73e8796c6 at-spi2-core: upgrade 2.48.4 -> 2.50.0
Changelog:
===========
* Fix at-spi2-atk test when running under a non-English locale.
* collection: Avoid locking up if an object has a very large child count
* Fix possible NULL pointer dereference when deregistering an event listener.
* Various fixes for the new key grabbing API.
* Don't wait for a reply when registering or deregistering keystroke
  listeners.
* Add a meson option to exclude the gtk2 atk-bridge module.
* Fix a test failure/timeout.
* Add atspi_get_version() to return the runtime version of the library.
* Collection: fix match testing for attributes.
* Fix a NULL pointer dereference when deregistering an event listener that
  doesn't include a detail.
* Fix the documentation for interfaces in collection match rules.
* Add an AtspiLive enum to specify the politeness level for live regions,
  and document that this should be used for Announcement signals. Also add a
  notification signal in atk to replace the announcement signal that lacks
  the politeness information.
* Add an asynchronous version of atspi_generate_mouse_event.
* TableCell.xml: Add Get{Column,Row}HeaderCells methods
* atspi_accessible_get_localized_role_name: Use internal names when possible.
* Add a non-recursive function to clear a single object's cache.
* Code clean-ups.

(From OE-Core rev: 12912febdd5490c283576be36284f90e99eecff3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:46 +01:00
Antoine Lubineau
8e680771d2 cve-check: add CVSS vector string to CVE database and reports
This allows building detailed vulnerability analysis tools without
relying on external resources.

(From OE-Core rev: 048ff0ad927f4d37cc5547ebeba9e0c221687ea6)

Signed-off-by: Antoine Lubineau <antoine.lubineau@easymile.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-28 12:37:46 +01:00
Khem Raj
77d5805fd4 llvm: Upgrade to 17.0.2
* 481358974fb0 [GVN] Also remove phi nodes from VN table (PR65447)
* 9f77e96186be [GVN] Invalidate MDA when deduplicating phi nodes
* a13a89402f53 Bump version to 17.0.2
* 2c04bdb24677 [SVE] Ensure SVE call operands passed via memory are correctly initialised. (#66070)
* 701620d58cdf [SVE] Precommit test to show missing initialisation of call operand.

(From OE-Core rev: c2e059a036ac5c4d2cb3c7267be2403e0611dea5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-27 11:50:34 +01:00
Khem Raj
07bf0ce327 glib-2.0: Remove failing ptests on musl
FAIL: glib/convert.test (Child process killed by signal 6)
FAIL: glib/collate.test (Child process killed by signal 6)
FAIL: glib/gdatetime.test (Child process killed by signal 6)
FAIL: glib/date.test (Child process killed by signal 6)
FAIL: glib/converter-stream.test (Child process killed by signal 6)
FAIL: glib/option-context.test (Child process killed by signal 6)

(From OE-Core rev: a28e0d41fbb5027aa6d2537288a8acc7d53964e7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-27 11:50:34 +01:00
Khem Raj
6ba2fcb71f glib-2.0: Enable possible locales with musl for ptests
(From OE-Core rev: ea2849af1c56ff2d26d6a9458323233111051a38)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-27 11:50:34 +01:00
Khem Raj
6803810008 systemd: Refresh patches to avoid patch-fuzz
(From OE-Core rev: eb8a86fee9eeae787cc0a58ef2ed087fd48d93eb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-27 11:50:34 +01:00
Khem Raj
b6f5656c62 systemd: Drop two upstreamed musl patches
(From OE-Core rev: 7eea9e63a155c9ed30706cc7926a6728d629bd5e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-27 11:50:34 +01:00
Samantha Jalabert
a1950f2077 maintainers.inc: add python3-spdx-tools and dependencies
Add maintainers for new packages and also some copied from meta-python:
python3-beartype, python3-booleanpy, python3-click, python3-isodate,
python3-license-expression, python3-rdflib, python3-spdx-tools,
python3-uritools, python3-xmltodict

(From OE-Core rev: 8028e8a58684de981646077e8a206ad8132da358)

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-27 11:47:42 +01:00
Samantha Jalabert
aa8b9d601a qa: Add selftest for python3-spdx-tools
(From OE-Core rev: e766fe7a9391cc9348d92ab704ec58c4806e38c6)

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-27 11:47:42 +01:00
Samantha Jalabert
1be0c80ab7 python3-spdx-tools: add recipe
python3-spdx-tools provides tools for SPDX validation and conversion.

(From OE-Core rev: 4482435d82a5e44c500715d5db0cd05f9876e5f4)

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-27 11:47:42 +01:00
Samantha Jalabert
8b3c0a2256 ptest-packagelists.inc: add python test xmltodict
Adding test to slow, as it comes as dependency of SDK packages.

(From OE-Core rev: 5ee30e484f976327562ee9872f79b8759966e115)

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-27 11:47:42 +01:00
Samantha Jalabert
840fead190 python3-xmltodict: Copy recipe from meta-python
commit: 61d14138c22a70188d585d85e35fdf86bc65e66f

(From OE-Core rev: 1c5bbd919cf9c431ca2520cbb21a5cb8b8a190a0)

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-27 11:47:42 +01:00
Samantha Jalabert
f3145387f5 python3-uritools: add recipe
(From OE-Core rev: dafa7dd756dea0a1dbeb0f0eff1856516e64e8cb)

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-27 11:47:42 +01:00
Marta Rybczynska
b84a4570d8 python3-rdflib: add homepage
(From OE-Core rev: 012351fd4fd58ce87a72800e533fc733e4b37180)

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-27 11:47:42 +01:00
Samantha Jalabert
11f93ddd12 python3-rdflib: Copy recipe from meta-python
commit: 7e565b5c0c09a9cd7c27eb24f8fb45a746469279

(From OE-Core rev: b8ee52ee86042a4e9b4cce46ac603fbd930cd5b4)

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-27 11:47:42 +01:00
Samantha Jalabert
0c71263793 ptest-packagelists.inc: add python test license-expression
Adding test to the list of tests with problems. It comes as a
copy from meta-python to satisfy dependencies of python3-spdx-tools
and throws and exception on execution.

(From OE-Core rev: 4247474286d55db285a56af7aaa700c2cc75adf3)

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-27 11:47:42 +01:00
Samantha Jalabert
7cf64503ea python3-license-expression: Copy recipe from meta-python
commit: cabfde8c84e100968bc9ab8407ede616100fddbb

(From OE-Core rev: 84d07b09582b69653f11ec025a5074055483a97f)

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-27 11:47:42 +01:00
Samantha Jalabert
f1161d693e ptest-packagelists.inc: add python test click
Adding test to slow, as it comes as dependency of SDK packages.

(From OE-Core rev: cb674e78cdaeea356fe2cf2f6a8b098e4fb6da50)

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-27 11:47:42 +01:00
Samantha Jalabert
082a85aa7b python3-click: Copy recipe from meta-python
commit: 1a14a28f132a10e9db7b3e5bb2b5361c4679946e

(From OE-Core rev: 05eb1b2feff36ab7d1525febf644316bd57a1299)

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-27 11:47:42 +01:00
Samantha Jalabert
b6d216ac1a python3-beartype: add recipe
(From OE-Core rev: 432d75629297c53a87195d74a722df09511011ab)

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-27 11:47:42 +01:00
Samantha Jalabert
6e818efb9e python3-booleanpy: Copy recipe from meta-python
commit: 47b8c97b76b3eb323a97c9079fb49c0348a2376c

(From OE-Core rev: 384e76199066321402d52c15499d1877b03957bb)

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-27 11:47:42 +01:00
Marta Rybczynska
fe504a364c python3-isodate: add homepage
(From OE-Core rev: 750fb88ee734eea7cb06dc67724b7fc9e5b50991)

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-27 11:47:42 +01:00
Samantha Jalabert
c52f029dca python3-isodate: Copy recipe from meta-python
commit: 33b910b51cea2eee57f197a2e9697dd81a9dd67b

(From OE-Core rev: ccedcb033fe562fcdd21e2baa5db7eed1427b3ea)

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-27 11:47:42 +01:00
Marta Rybczynska
df1384b1bd python3-ply: add to nativesdk
This will be needed by the new spdx-tools recipe.

(From OE-Core rev: 3bf44122bd7d0c182162d15e4d1bfc5e353e6602)

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-27 11:47:42 +01:00
Matthias Schnelte
6cb490713e bitbake: fetch2: Adds vscode devcontainer support
Visual studio code is injecting a git credential helper
into every dev container. This helper is forwarding the git credentials
from the host into the container.

In order for this helper to work the REMOTE_CONTAINERS_IPC
needs to be available in the environment for all git operations
that require authentication.

(Bitbake rev: 612bdf09416ff96d08b22cf92b077516d23d0963)

Signed-off-by: Matthias Schnelte <develop@schnelte.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:38:45 +01:00
Ross Burton
362c70a993 bitbake: bitbake/lib: spawn server/worker using the current Python interpreter
The user may have invoked ./bin/bitbake using a different Python
interpreter than whatever python3 is on $PATH (for example, explicitly
using a different version).  However, as the server and workers are
spawned directly they'll use the hashbang and thus a different Python.

We also ensure that argv[0] is set to sys.executable instead of
'bitbake-server' or 'bitbake-worker', so that sys.executable is set to
the right value inside the child.  Without this the server won't be
able to start any workers.

(Bitbake rev: b44d5d2a53d3082c8ce94e09c0cf833e33e25aec)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:37:17 +01:00
Peter Kjellerstedt
0dbc45e52f bitbake: bitbake-getvar: Make --value imply --quiet
It does not make any sense to get log output from bitbake-getvar when
the --value option is used as the log output is sent to stdout and thus
interferes with the output of the variable's value.

(Bitbake rev: 6b7883533af9c14d80a9f1ae5142644f155b5dee)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:37:17 +01:00
Peter Kjellerstedt
874e8bb159 bitbake: bitbake-getvar: Make --quiet work with --recipe
Initializing Tinfoil with setup_logging = False only has an effect when
recipe parsing is not needed. To make it work regardless of if --recipe
is used, manipulate the quiet parameter to Tinfoil.prepare() instead.

(Bitbake rev: 71ee69a20f21f3d37f4f060a7d8e87d9f1dc6aa1)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:37:17 +01:00
Peter Kjellerstedt
c7f99d688c bitbake: tinfoil: Do not fail when logging is disabled and full config is used
If Tinfoil is initialized with setup_logging = False and
Tinfoil.prepare() is called with config_only = False, then it fails
because self.localhandlers is only initialized when
setup_logging = True.

This is seen with, e.g., `bitbake-getvar -q -r busybox MACHINE`:

  Traceback (most recent call last):
    File ".../bitbake/bin/bitbake-getvar", line 41, in <module>
      tinfoil.prepare(quiet=2)
    File ".../bitbake/lib/bb/tinfoil.py", line 390, in prepare
      for handler in self.localhandlers:
  AttributeError: 'Tinfoil' object has no attribute 'localhandlers'.
  Did you mean: 'oldhandlers'?

(Bitbake rev: 616101ddb630e2c9975022068b52a87c4cf647f6)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:37:17 +01:00
Charles-Antoine Couret
e0494a64f1 systemd-boot-cfg: add .conf suffix to default entry label
Since systemd v245 (commit 6cd12ebcfe459466257ea63022a32515d756e719), systemd-boot
expects default entry to have the complete filename as value.

LABELS from poky are by default without any suffixes like "boot install", so default entry
does not have the .conf suffix as well and systemd-boot is not able to use this information
and it's starting in any case the first entry. To be able to start another entry by default,
.conf suffix is required.

With this change, LABELS variable can still be used by other bootloaders and being used as description
field.

(From OE-Core rev: 1adf70729dafc9729e665986ad2e2250cbd25c5b)

Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@mind.be>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:28 +01:00
Ross Burton
1d8d9b1f87 webkitgtk: reduce size of -dbg package
Unless DEBUG_BUILD is enabled, pass -g1 to massively reduce the size of
the debug symbols (4.3GB to 700M at time of writing):

  Level 1 produces minimal information, enough for making backtraces in
  parts of the program that you don't plan to debug. This includes
  descriptions of functions and external variables, and line number
  tables, but no information about local variables.

This makes the sstate objects a lot more manageable, and packaging
faster.  On my machine:

  PKG          TASK                 ABSDIFF  RELDIFF  WALLTIME1 -> WALLTIME2
  webkitgtk    do_compile           -613.8s   -21.7%    2823.3s -> 2209.5s
  webkitgtk    do_package           -143.4s   -53.6%     267.7s -> 124.3s
  webkitgtk    do_install            -93.7s   -60.1%     156.0s -> 62.3s
  webkitgtk    do_populate_sysroot   -51.6s   -86.4%      59.7s -> 8.1s

Cumulative walltime:
  -892.9s    -26.5%    56:06.3 (3366.3s) -> 41:13.4 (2473.4s)

(From OE-Core rev: 8361411ea0d67a2620680e2e86045799e072c80a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:28 +01:00
Lee Chee Yang
faec1c1050 bind: update to 9.18.19
release notes:
https://downloads.isc.org/isc/bind9/9.18.19/doc/arm/html/notes.html#notes-for-bind-9-18-19

Security Fixes

Previously, sending a specially crafted message over the control channel
could cause the packet-parsing code to run out of available stack
memory, causing named to terminate unexpectedly. This has been fixed.
(CVE-2023-3341)

ISC would like to thank Eric Sesterhenn from X41 D-Sec GmbH for bringing
this vulnerability to our attention. [GL #4152]

A flaw in the networking code handling DNS-over-TLS queries could cause
named to terminate unexpectedly due to an assertion failure under
significant DNS-over-TLS query load. This has been fixed.
(CVE-2023-4236)

ISC would like to thank Robert Story from USC/ISI Root Server Operations
for bringing this vulnerability to our attention. [GL #4242]

Removed Features

The dnssec-must-be-secure option has been deprecated and will be removed
in a future release. [GL #4263]

Feature Changes

If the server command is specified, nsupdate now honors the nsupdate -v
option for SOA queries by sending both the UPDATE request and the
initial query over TCP. [GL #1181]

Bug Fixes

The value of the If-Modified-Since header in the statistics channel was
not being correctly validated for its length, potentially allowing an
authorized user to trigger a buffer overflow. Ensuring the statistics
channel is configured correctly to grant access exclusively to
authorized users is essential (see the statistics-channels block
definition and usage section). [GL #4124]

This issue was reported independently by Eric Sesterhenn of X41 D-Sec
GmbH and Cameron Whitehead.

The Content-Length header in the statistics channel was lacking proper
bounds checking. A negative or excessively large value could potentially
trigger an integer overflow and result in an assertion failure. [GL

This issue was reported by Eric Sesterhenn of X41 D-Sec GmbH.

Several memory leaks caused by not clearing the OpenSSL error stack were
fixed. [GL #4159]

This issue was reported by Eric Sesterhenn of X41 D-Sec GmbH.

The introduction of krb5-subdomain-self-rhs and ms-subdomain-self-rhs
UPDATE policies accidentally caused named to return SERVFAIL responses
to deletion requests for non-existent PTR and SRV records. This has been
fixed. [GL #4280]

The stale-refresh-time feature was mistakenly disabled when the server
cache was flushed by rndc flush. This has been fixed. [GL #4278]

BIND’s memory consumption has been improved by implementing dedicated
jemalloc memory arenas for sending buffers. This optimization ensures
that memory usage is more efficient and better manages the return of
memory pages to the operating system. [GL #4038]

Previously, partial writes in the TLS DNS code were not accounted for
correctly, which could have led to DNS message corruption. This has been
fixed. [GL #4255]

Known Issues

There are no new known issues with this release. See above for a list of
all known issues affecting this BIND 9 branch.

(From OE-Core rev: 29cc2203b06b12d4c93ffc1fb56f1754f6982e80)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:28 +01:00
Yash Shinde
82dfa7b8ac glibc: fix CVE-2023-4527
Upstream-Status: Backport[https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=4ea972b7edd7e36610e8cde18bf7a8149d7bac4f]

(From OE-Core rev: 66b6133b5e623f39d9c26dae3097035dafd41f60)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:28 +01:00
Khem Raj
fc6b2a989b debugedit: Use musl-legacy-error
Use error.h to provide GNU extentions for error API
Drop the patch trying to do something about it

(From OE-Core rev: b621363ab52669afc2915544b5686cc4fe455d5e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:28 +01:00
Khem Raj
bb89cec62e elfutils: Depend on musl-legacy-error for musl targets
this ensures a gnu compatible error APIs are made available, the patch
to workaround this is no longer needed.

(From OE-Core rev: 07b17f387dd70f25adb2f3159c64707bfa3291f5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:28 +01:00
Khem Raj
c7fdb5aca5 musl-legacy-error: Add recipe
This adds glibc error() API implementation which is needed by few
packages still.

(From OE-Core rev: c3f0f00a8dcc76ece298cf4debf1ca71f930ec57)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:28 +01:00
Kai Kang
0ccd6425db adwaita-icon-theme: 43 -> 45.0
Update adwaita-icon-theme from 43 to 45.0.

* meson is used to replace autotools, then the patch is redundant
* not overwrite PACKAGES, and remove sub-packages ${PN}-hires and
  ${PN}-symbolic-hires which are created to handle big icon files which
  do not exist in adwaita-icon-theme 45.0
* update FILES of ${PN}-symbolic and split license files to ${PN}-doc

(From OE-Core rev: 6207395b2efe91d6f683c758fac782a5f617c20a)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:28 +01:00
Michael Opdenacker
6b26f40c85 maintainers.inc: add self for flac recipe
(From OE-Core rev: 4fc7994fbb97b78d09bba522cfd871fed811380b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
26526fa872 python3-setuptools-scm: fix upstream version check
(From OE-Core rev: 41c7f6bf29e581ad25497f02197c1791e5667e74)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
ff3a5c4e43 xwayland: upgrade 23.1.2 -> 23.2.1
(From OE-Core rev: de357ee49f7843939bc09888a0b3318d7f8cd195)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
50042990ed xf86-input-libinput: upgrade 1.3.0 -> 1.4.0
(From OE-Core rev: 4cbada294a373031fe3bd74028bd51c1df460d5b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
896a386035 vala: upgrade 0.56.8 -> 0.56.13
(From OE-Core rev: 21daca2be786031cdcd4b08b9ee21f437262d176)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
8c5dd21254 tiff: upgrade 4.5.1 -> 4.6.0
(From OE-Core rev: 9e80f93ada4eae638350d86b8aa514203f757d43)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
08471afec7 sqlite3: upgrade 3.43.0 -> 3.43.1
(From OE-Core rev: 4274ac35c178392837919f3b8b068e05fccd3a08)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
2ad5b03a52 seatd: upgrade 0.7.0 -> 0.8.0
(From OE-Core rev: 6a44e9192ded342e8c9f69a1f661519ae75823ca)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
40f60562f3 python3-sphinx: upgrade 7.2.5 -> 7.2.6
(From OE-Core rev: 15851f38652256944574c11f666ea587e04995c7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
89e98c37ad python3-setuptools: upgrade 68.2.1 -> 68.2.2
(From OE-Core rev: 2adfc774e9db253c36ca6e313a700e06c5ce8456)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
5a611470ad python3-libarchive-c: upgrade 4.0 -> 5.0
(From OE-Core rev: 1b453651e42be31432660bbe4781afdcb8c42c39)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
480783638d python3-git: upgrade 3.1.35 -> 3.1.36
(From OE-Core rev: 46538aeba06a286ca41c5b62cde3f3f4f337b300)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
67f5a755d7 python3-dtschema: upgrade 2023.6.1 -> 2023.7
(From OE-Core rev: 5cfb2d6402ec50f62218c7c4558c403cf6fc48f9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
965abb9c18 puzzles: upgrade to latest revision
(From OE-Core rev: 2d872ca55a217cc612a723af24b4b7c96b9c5958)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
33d7bcdf39 mtd-utils: upgrade 2.1.5 -> 2.1.6
(From OE-Core rev: 453bc5bdc0d48c5d27adc435d1ac38da78258609)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
b09f79a2b6 mmc-utils: upgrade to latest revision
(From OE-Core rev: 47337514eb77b7b92e91afaba1fb6f63be8e708b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
b6b538496c meson: upgrade 1.1.1 -> 1.2.1
(From OE-Core rev: de38f7a5f3b374ab0006d50168c84da7f08a7a9e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
e166cf25fa man-pages: upgrade 6.04 -> 6.05.01
License-update: formatting

(From OE-Core rev: 4aa82f0f8ff5626650d3e637b9538eb03bf0f8e0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
38431bbbaa libsolv: upgrade 0.7.24 -> 0.7.25
(From OE-Core rev: adde8024f909add18fe56113390c91980a711527)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
ba2e8d3a9d libsdl2: upgrade 2.28.0 -> 2.28.3
(From OE-Core rev: b2722a341786f1cae75ad4e1266ab444850a5aa7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
243680b897 libarchive: upgrade 3.7.1 -> 3.7.2
(From OE-Core rev: 1c07d2f285a304074410ddb22f0ae6fc246ca91f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
c948ddec1b kmscube: upgrade to latest revision
(From OE-Core rev: b64fb135607c2e3660d60d98bbfc1f2551b82c4b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
02b4104c14 json-c: upgrade 0.16 -> 0.17
Fix run-ptest to append to log instead of overwriting it with every test invocation.

(From OE-Core rev: cae5ef60e96f19a656b4bd5e32fcc446450e675c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
16bf2e4da5 iproute2: upgrade 6.4.0 -> 6.5.0
Set CONF_USR_DIR explicitly as upstream hardcodes 'lib' in it.

Fix up iproute2-ip packaging to reflect that, and fix multilib error
where the executable would end up in the main package.

(From OE-Core rev: c88d6e94c0df3079410930abff9af0a08930ec8c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
52669a67b1 ghostscript: upgrade 10.01.2 -> 10.02.0
(From OE-Core rev: e705edc553fa57361cb948ec7923b261f373f385)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
494566b004 freetype: upgrade 2.13.1 -> 2.13.2
(From OE-Core rev: 350f0e30f197c89b1e943d6bf6a1c002eb5471bd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
75e7d505e9 font-util: upgrade 1.4.0 -> 1.4.1
License-update: clarify license for unicode items:
https://gitlab.freedesktop.org/xorg/font/util/-/merge_requests/7

(From OE-Core rev: de98844d3e574dcbb91eee2f7d9e1dd88bfb21fb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
d502aea544 ethtool: upgrade 6.3 -> 6.5
(From OE-Core rev: 282785a4674638fac7f00ce38cf5beef1e35c2fc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
b630120a0b diffoscope: upgrade 244 -> 249
(From OE-Core rev: df810ca20643480ddccd9d27ad5d2307b40378ea)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
f813f84007 debianutils: upgrade 5.12 -> 5.13
(From OE-Core rev: 5175516f784604beece27412c187006c48e29512)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
45b0401d82 createrepo-c: upgrade 0.21.1 -> 1.0.0
Enable zstd in libsolv, as new createrepo_c is using that instead of
zlib for repo metadata compression.

(From OE-Core rev: 6df7e6f0661aa01a755cb0f1e8cc6a0491c7fddf)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
2cd1c9fbfd btrfs-tools: upgrade 6.3.3 -> 6.5.1
(From OE-Core rev: f9d98f900c4298e7f5b022294deda0b3e5140225)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
c1bb523bf7 boost: upgrade 1.82.0 -> 1.83.0
(From OE-Core rev: 549c4203956afb4ac91d15031c63f01adafb383a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
dd0a8f19d1 xcb-proto: upgrade 1.15.2 -> 1.16.0
(From OE-Core rev: 7beeede15f9206da27c6c021646269b61bf1e7b5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
a9111bb92f libxcb: upgrade 1.15 -> 1.16
(From OE-Core rev: 74a6ad56bc7a090c069a499a0c6ac567a0229e1d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
8eea58e589 vulkan: upgrade 1.3.250.0 -> 1.3.261.1
License-update: clarifiction that licenses are apache and mit.

(From OE-Core rev: fd8558c52585ff7397b87e3579ae85e63bf8c10b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
1fb201bd88 python3-setuptools-rust: upgrade 1.6.0 -> 1.7.0
(From OE-Core rev: 08920c19e1de1144dcfa5bb4345c6892408e920d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
65f4ddab6c jquery: upgrade 3.7.0 -> 3.7.1
(From OE-Core rev: 4db53e6bf45717d7af34c29ca944a524a41738a2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
5ee3430a38 cmake: upgrade 3.27.4 -> 3.27.5
(From OE-Core rev: 9937f1f0f75ac3909cdc3aa8d0e43c417dd74435)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
593ed3b765 util-linux: upgrade 2.39.1 -> 2.39.2
(From OE-Core rev: 5d1203e87eac46dee6c0a7cad309a00e63afa6de)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Alexander Kanavin
1c05e9b2f8 systemd: upgrade 254 -> 254.4
(From OE-Core rev: d665cd001a1ca69e2c25bebed377b9dd47e0064f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Markus Volk
8e84be8a8a mesa: Upgrade 23.1.7 -> 23.1.8
(From OE-Core rev: eb7339bd83c101f127cf580024bb5448ab36943e)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Stephan Wurm
28c1548d55 python3-jsonschema: Update homepage URL
Although being redirected from the old URL, adapted HOMEPAGE to reflect
new official URL instead.

(From OE-Core rev: 10ac72a3b783a4bcf60d8ce0998310309e18287a)

Signed-off-by: Stephan Wurm <stephan.wurm@a-eberle.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00
Richard Purdie
f69017a713 create-spdx: Ensure it is clear where the message comes from
This message can appear in do_rootfs and the users tend to think this is
some kind of packaging issue. Add SPDX to the message so users like me
think in the right direction.

(From OE-Core rev: ddcf15134b5ec4bf4c728156461c2e45194d71ca)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:25:42 +01:00
Khem Raj
bfc5f9f808 mesa: Update clang-17 patch to upstream v2
(From OE-Core rev: 1172774088a81dfa0447cf7d39caf115bd6c6a7c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:25:42 +01:00
Ross Burton
f15f380650 oeqa/runtime/parselogs: parse the logs with Python, not grep
Instead of constructing huge grep statements, we can simply open the logs
in Python and do the relevant string operations directly.

The trick is to remember to casefold() all of the strings, so that the
"in" operator can be used.

Just one of the ignores needs to be adjusted because it uses a regular
expression and the new logic doesn't support that.  This is handled
by simply reducing the size of the ignore match.

(From OE-Core rev: 78ae254c4a78a025a712281ce9de373cdccf5472)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:25:42 +01:00
Ross Burton
048e56f3b3 oeqa/runtime/parselogs: select the correct machine-specific ignores early
This has no impact to the execution, but makes the following changes
neater.

(From OE-Core rev: 124dede2b20930d09a5cc319cb9333c5a912fa48)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:25:42 +01:00
Ross Burton
17dbdc677a oeqa/runtime/parselogs: move some variables out of global scope
errors and log_locations can be trivially set in the class directly,
instead of being defined in the module and then copied into the class.

(From OE-Core rev: dd1416b719a30b18f21916d50fa431a88503918f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:25:42 +01:00
Ross Burton
50c637e6dc oeqa/runtime/parselogs: don't pass around members
There's no point in passing around member fields, just access them
directly.

(From OE-Core rev: a24d6eda061363cdcfa95980cd2698a674737d23)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:25:42 +01:00
Ross Burton
c7957aeeb5 oeqa/runtime/parselogs: improve find call
getLogList() uses remote find invocations to find the logs. Instead of
relying on shell expansion of wildcards and redundant use of -maxdepth
(pointless as the shell expansion means the find is passed the files to
return), invoke find idiomatically by telling it what directory to
search for and escape the glob so find processes it.

Also remove many pointless str() calls.

(From OE-Core rev: 03bb14cebf5879472a8da78d892ecd5c5df5c3cf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:25:42 +01:00
Alexander Kanavin
6a660d8b44 groff: fix another build race via backport
(From OE-Core rev: f8f8f2f697c53b1cc19326249e15bf0d864f0a05)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:25:42 +01:00
Khem Raj
53809d9b01 bsd-headers: Define __CONCAT and __STRING
Sync with other musl distros

(From OE-Core rev: 0796d65369737ddf530a04ae534e81022c1ba005)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:25:42 +01:00
Khem Raj
9215dc3208 musl: Update to latest
Brings following bug fixes

* 79bdacff glob: fix wrong return code when aborting before any matches
* 7291c6c6 statvfs: allocate spare for f_type
* 39e43f08 math: fix ld80 powl(x,huge) and powl(LDBL_MAX,small)
* 6d101027 math: fix ld80 acoshl(x) for x < 0

Drop MIRRORS and switch to etalabs.net for git fetch URI
original repo is not working correcting with git Fetcher

(From OE-Core rev: bb14f1dee4547726ab66e20d535d58563029d67f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:25:42 +01:00
Khem Raj
bf7e3886ae oeqa: Use 2.14 release of cpio instead of 2.13
2.13 may not be buildable with latest compilers without patching

(From OE-Core rev: 406a33f896accc35a9cb6ab156f1e0f42dda67d8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:25:42 +01:00
Denys Dmytriyenko
fc59af1998 spdx: use TOOLCHAIN_OUTPUTNAME for SDK filename prefix
Replace SDK_NAME with TOOLCHAIN_OUTPUTNAME when naming SDK host and
target SPDX archives.

In most cases TOOLCHAIN_OUTPUTNAME is almost identical to SDK_NAME,
but sometimes custom meta-toolchain recipes have some variations and
populate_sdk_base.bbclass already uses TOOLCHAIN_OUTPUTNAME to name
corresponding host and target manifests:

SDK_HOST_MANIFEST = "${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.host.manifest"
SDK_TARGET_MANIFEST = "${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.target.manifest"

To match the naming convention, also use TOOLCHAIN_OUTPUTNAME here
for naming SPDX archives as well, resulting in:

${TOOLCHAIN_OUTPUTNAME}-host.spdx.tar.zst
${TOOLCHAIN_OUTPUTNAME}-target.spdx.tar.zst

(From OE-Core rev: 38158670256e2ce803aa45f609108d29523b3135)

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:25:42 +01:00
Denys Dmytriyenko
593edfa2ae bitbake.conf: add MACHINE to SDK_NAME
Do the same here as Poky has done 5 years ago, adding MACHINE to
SDK_NAME:

https://git.yoctoproject.org/meta-yocto/commit/?id=3614dd4aee9d19f1024edb6a36b2862c2d726c04

This avoids file conflicts in deploy/sdk/ when building multiple
machines (either manually or via multiconfig), where sdk/toolchain
installers, manifests and now SPDX archives will overlap otherwise.

(From OE-Core rev: 5bbefd9602dd787866a80e4be6c1cb13d0ccdb0f)

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:25:42 +01:00
Robert Joslyn
c63c48b9e4 curl: Update from 8.2.1 to 8.3.0
NSS support was removed, so adjust PACKAGECONFIG options.

The --enable-crypto-auth option was removed and split into separate
options for basic-auth, bearer-auth, digest-auth, kerberos-auth,
negotiate-auth, and aws. Enable these new options since upstream enables
them by default.

Disable test 1279 since this requires libcurl and hangs the tests.

(From OE-Core rev: 148de08220c0ad390ec533e452cbaad7a9338204)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:25:42 +01:00
Richard Purdie
8a69a411c0 oeqa/runner: Ensure class setup errors are shown to bitbake logging
This took a bit of digging but failure messages from testimage are shown to bitbake's
logging through stopTest. In the case of a setUpClass failure stopTest is never
called and the bitbake logging never sees the error. It would still be in the task
logfile. Add some code+comment to ensure logs not shown to the user mid stream are shown
at the end.

(From OE-Core rev: 7342c418bda2cc3c337a190089864ea731ff62e4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:25:42 +01:00
Richard Purdie
374fd90865 lib: Import packagedata oe module by default
Variable dependencies for functions in the oe.packagedata module were
missing as it was not present in BBIMPORTS. Add it as the fact it was
missing is likely just historical oversight from base.bbclass history
and the dependencies are useful.

Add an exclusion to bitbake.conf to ensure BB_NUMBER_THREADS doesn't
change task checksums.

(From OE-Core rev: 7df9178766ee7939d139648e04f5747b0ffe1e13)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:25:42 +01:00
Roland Hieber
8815eefb0d contributor-guide: style-guide: discourage using Pending patch status
Suggested-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
(From yocto-docs rev: 4924c900582aaa803b003e10e48fc4a4373f6a77)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-25 14:37:26 +01:00
Roland Hieber
f60c81287e contributor-guide: deprecate "Accepted" patch status
This is in accordance with the gatesgarth Release Notes:

  > In the ``Upstream-Status`` header convention for patches,
  > ``Accepted`` has | been replaced with ``Backport`` as these almost
  > always mean the same thing i.e. the patch is already upstream and
  > may need to be removed in a future recipe upgrade. If you are adding
  > these headers to your own patches then use Backport to indicate that
  > the patch has been sent upstream.

  <https://docs.yoctoproject.org/migration-guides/migration-3.2.html#miscellaneous-changes>

Suggested-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
(From yocto-docs rev: 61813da94595a6e57c5fb5015229d601a558f299)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-25 14:37:26 +01:00
Roland Hieber
3dc1dbc22f contributor-guide: discourage marking patches as Inappropriate
It was never really clear what all those reasons really meant, and every
patch submitted upstream liftens the maintenance on the Yocto side.
So remove the current list, and replace it with two reasons in which an
upstream submission likely won't benefit the upstream project.

Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
(From yocto-docs rev: 7e630fdb98e1a28abb09c8f24c90ada0a4a1b9f3)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-25 14:37:26 +01:00
Roland Hieber
975e974eb1 contributor-guide: recipe-style-guide: add section about CVE patches
This was previously included in the OpenEmbedded wiki page [1], but was
not ported along with the rest in commit 95c9a1e1e78bbfb82ade
(2023-09-12, Michael Opdenacker: "contributor-guide: recipe-style-guide:
add Upstream-Status").

  [1]: https://www.openembedded.org/index.php?title=Commit_Patch_Message_Guidelines&oldid=10935

Group the examples in their own sections (but name it differently from
any other section in this document so that sphinx doesn't generate a
warning about duplicate labels).

(From yocto-docs rev: 3022caa35efc28d16dea81bc81ecb48998c8f3b8)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-25 14:37:26 +01:00
Roland Hieber
653ac666c4 contributor-guide: recipe-style-guide: add more patch tagging examples
(From yocto-docs rev: a2904fd3ccdcb1d7232adce51966749cb1e3cb92)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-25 14:37:26 +01:00
Michael Opdenacker
bb440f76a9 dev-manual: new-recipe.rst: replace reference to wiki
(From yocto-docs rev: 22c445e9803f5e1ac97d1efaf7ac2ea6fc2f7594)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-25 14:37:26 +01:00
Michael Opdenacker
71ca39788e bsp-guide: bsp.rst: replace reference to wiki
(From yocto-docs rev: 26d2501b05575033d1ff08712b9705e0bc2ec292)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-25 14:37:26 +01:00
Richard Purdie
79007d04fc contributor-guide/style-guide: Add a note about task idempotence
(From yocto-docs rev: 7d715d62c32ab81d26bf1ff82f79ad2c4a2e3f85)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CC: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-25 14:37:26 +01:00
Richard Purdie
3eb4532cad contributor-guide/style-guide: Refer to recipes, not packages
Whilst often referred to as packages by people we should use the more
accurate term in documentation, 'recipe' instead of 'packages'.

(From yocto-docs rev: 058de5ad48ab76c4d54391f1701c3082842e8794)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-25 14:37:26 +01:00
Richard Purdie
5614e6b38a bitbake: codeparser: Update debug variable reference
The code has changed and the debug message didn't work. Fix it. The output
is still incredibly useful.

(Bitbake rev: f1fa4bb3066e2bbaff0b69088ba5c6c6c597b93d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22 07:45:47 +01:00
Etienne Cordonnier
4638698834 bitbake: bitbake-worker/runqueue: Avoid unnecessary bytes object copies
declaring queue=b"" creates an object of types bytes().
bytes() is an immutable object, and therefore doing "self.queue = self.queue + r"
creates a new object containing "self.queue" concatenated with "r".

On my test setup, we are passing 180MB of data of "workerdata" to the bitbake-worker,
so those copies significantly slow down the initialization of the bitbake-worker.

Rather use bytearray() which a mutable type, and use extend() to avoid copies.
In my test setup, byterray.extend() is 10.000 times faster than copying the queue,
for a queue size of 180MB.

(Bitbake rev: 2302b5316091dff189e6c3f546341b2274ed9d0a)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22 07:45:47 +01:00
Khem Raj
2a581252ea llvm: Upgrade to 17.0.1
This is first release in 17.x major release

(From OE-Core rev: 388c6dd0ac470a8e83233adf50ad8e7d9029728f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22 07:45:17 +01:00
Richard Purdie
7b268c8276 oeqa/selftest/oescripts: Avoid variable access at module load
Using get_bb_var in the class setup leads to slow startup of oe-selftest.
Move the calls into setupClass instead to remove the overhead at the expense
of some code duplication.

(From OE-Core rev: 64786106746fbcc9d8a35eb6cfa82fd5c6bce7f8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22 07:45:17 +01:00
Richard Purdie
7e6514b28b oeqa: Streamline oe-selftest startup time
"bitbake -e" executions from get_bb_var calls are slow and slow down oe-selftest
startup. Rationalise the code to avoid them and minimise the number of "parsing"
locations we use by caching key variables and passing them around more.

This was particularly problematic with oe-selftest -j usage since it would
have multiple bitbake -e executions per process making parallel usage
particularly slow.

(From OE-Core rev: 3689cadeb07d76e66f97d890e844f899f69666fe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22 07:45:17 +01:00
Richard Purdie
fbaa7da33b oeqa/selftest/reproducible: Avoid oe-selftest startup delays
Currently the bb_get_var calls trigger multiple "bitbake -e" executions
which slow the start of oe-selftest for any test. Rework the code to avoid
these delays.

(From OE-Core rev: c9ea3570f5dbdaf8c61e445ae9de759a0b71e21f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22 07:45:17 +01:00
Richard Purdie
0eec01dee1 oeqa/selftest: Fix broken symlink removal handling
The test above this removal correctly looks at symlinks however to
remove a symlink we should call unlink(), not remove(). This avoids
some build failures/tracebacks.

(From OE-Core rev: dbdb6e73b0f52bc5f9429aca47802d51edbbc834)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22 07:45:17 +01:00
Michael Opdenacker
00ae1a5ab9 lib/oe/qa: update guidelines link for Upstream-Status
(From OE-Core rev: a8781a8f02c924d8a19e727e5d1bc6b89bf976da)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22 07:45:17 +01:00
Michael Opdenacker
79cd9301bd lib/oe/qa: remove obsolete "Accepted" string for Upstream-Status
Replaced by "Backport" since release 3.2
https://docs.yoctoproject.org/migration-guides/migration-3.2.html#miscellaneous-changes

(From OE-Core rev: 4053fa9184fd016cfa59a67ff7857e17d88bf25e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22 07:45:17 +01:00
Trevor Gamblin
882efa1e45 patchtest/selftest: only split resultlines once
selftest assumes that the test result output lines will consist of two
tokens separated by whitespace, which are the actual result and the name
of the test run. As a result, the script fails if any verbosity is added
to the output of patchtest itself (e.g. by including a failure reason).
Make the call to split() only do so once in order to ensure that two
tokens are obtained.

(From OE-Core rev: b7ff1e7363261780c015a3ee3b6d4bc69567f67f)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22 07:45:17 +01:00
Ross Burton
e5829e1e8b oeqa/runtime/parselogs: inline single-caller functions
There's no need to have one-liner functions to get the MACHINE or
WORKDIR when they're only called once.

(From OE-Core rev: 9478a665641f55cdc14f12a4409121ef95883d74)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22 07:45:17 +01:00
Ross Burton
1ef74b08ca oeqa/runtime/parselogs: remove obsolete LSB testing support
The LSB compliance tests were removed in 2019[1], so this is obsolete.

[1] oe-core fb064356

(From OE-Core rev: a465b61bc3a16152f90032d5d5a041f87bf30108)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22 07:45:17 +01:00
Ross Burton
b6d19e347d oeqa/runtime/parselogs: don't bother to show target hardware information
This information is pretty useless as we know what the target is from
the build configuration (be it a qemu machine or real hardware).

(From OE-Core rev: 7821c42172191e3c16ab8662a9e4f7e921830db0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22 07:45:17 +01:00
Ross Burton
c105791979 oeqa/runtime/parselogs: remove unused imports
(From OE-Core rev: 5c2b6ce30b3cbec6236b99ce4019dbd443ccccae)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22 07:45:17 +01:00
Derek Straka
3c8cfbfc04 pypi.bbclass: Update the upstream checks to automatically replace '_' with '-'
For a number of existing packages, the pypi URI contains '-', but the package name (PYPI_PACKAGE) uses '_'.  Add a simple replace for the UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX.  The change resulted in 19 additional auto-detected upstream checks for python packages meta-python.

It did break upstream checks for 3 packages that will be patched shortly:
 - python3-ipython-genutils
 - python3-ninja-syntax
 - python3-wpa-supplicant

(From OE-Core rev: f4e2923bfac8a0a5b702ffd2dd957213a6268f6b)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22 07:45:17 +01:00
Jan Garcia
c94c1ba7c7 insane.bbclass: Count raw bytes in shebang-size
Operating systems limit the shebang to a maximum number of bytes.
This patch makes the shebang-size check count raw bytes instead of UTF-8 characters.

(From OE-Core rev: d4ac66c5cdaf971fb717cc5c5bf9aa51a787d412)

Signed-off-by: Jan Garcia <j@n-garcia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22 07:45:17 +01:00
Peter Marko
3a5b23a5c3 openssl: Upgrade 3.1.2 -> 3.1.3
https://github.com/openssl/openssl/blob/openssl-3.1/NEWS.md#major-changes-between-openssl-312-and-openssl-313-19-sep-2023
Major changes between OpenSSL 3.1.2 and OpenSSL 3.1.3 [19 Sep 2023]
* Fix POLY1305 MAC implementation corrupting XMM registers on Windows (CVE-2023-4807)

(From OE-Core rev: eb65fdd971aa30d3fd09a8bc1b33ad2a1197f364)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22 07:45:17 +01:00
Richard Purdie
ad5464eb7e bitbake.conf: No longer support PR from filename
Nobody really sets PR from the recipe filename, we might as well drop
the overhead of the python function call and simplify the variable.

(From OE-Core rev: 5f2691a51a851e8337704aa00899eb27250f0f3f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22 07:45:17 +01:00
Richard Purdie
1b94ea8b25 recipes: Drop remaining PR values from recipes
We've been removing PR values from recipes at upgrade time for a while. In general
anyone maintaining a binary distro would end up having to curate these themselves
so the values in OE-Core aren't really that useful anymore. In many ways it makes
sense to clear out the remaining ones (which are mostly for 'config' recipes that
are unlikely to increase in PV) and leave a clean slate for anyone implementing
a binary distro config.

References are left in meta-selftest since the tests there do involve them and
their removal upon upgrade.

(From OE-Core rev: d4c346e8ab8f3cae25d1b01c7331ed9f6d4f96ef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22 07:45:17 +01:00
Richard Purdie
a599437629 sstate: Stop allowing overlapping symlinks from sstate
When originally implemented, overlapping symlinks in DEPLOY_DIR were common. That
is no longer the case and these overlapping links are causing bugs in other areas
(e.g. bug 14123).

Therefore start showing errors for overlapping symlinks in shared areas. Whilst here,
fix a broken file reference in the grep command to match current file layouts and
update the message shown to users to match current times. Most of the message content
is obsolete now due to other advances and changes in the way the staging code
now works.

(From OE-Core rev: 15f98f72e1730fed5164fcd539737a7a7b96a1a2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22 07:45:17 +01:00
Richard Purdie
b0b0b89ad7 create-spdx/sbom: Ensure files don't overlap between machines
Currently the by-id and by-namespace SPDX files are created without reference
to PACKAGE_ARCH. This means that for two machines using a common package architecture
(e.g. genericx86-64 and qqemux86-64), there would be overlapping files. This means
that the build of one can remove files from the other leading to build failures. An
example would be:

MACHINE=qemux86-64 bitbake core-image-minimal
MACHINE=genericx86-64 bitbake core-image-minimal
MACHINE=qemux86-64 bitbake linux-yocto -c clean
MACHINE=genericx86-64 bitbake core-image-minimal -C rootfs

To fix this, add PACKAGE_ARCH to the path used for the files and use a search
path based upon PACKAGE_ARCHS to access them.

(From OE-Core rev: b2db10e966438071d00d2057b84d5f347613d841)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22 07:45:17 +01:00
Michael Opdenacker
aab44111d7 alsa-lib: fix patch Upstream-Status
Using "Backport" instead of "Accepted", as instructed on
https://docs.yoctoproject.org/migration-guides/migration-3.2.html#miscellaneous-changes

(From OE-Core rev: eb730ca78c6408513f3443d5017c3ae1504ae323)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-21 10:05:15 +01:00
Richard Purdie
a83a16b793 oeqa/selftest/bbtests: Improve and update test_non_gplv3
This test no longer worked with fixes to avoid overlapping license files
in deploy. Fix the test but also improve the logging messages so we don't
get "False is not True" messages upon failure.

(From OE-Core rev: 2fc7714dab5cce585bce4d6c4e8ffbefce2a709b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 23:51:11 +01:00
Richard Purdie
7ebbd68f0f license/license_image: Fix license file layout to avoid overlapping files
Currently DEPLOY_DIR/licenses is added to SSTATE_ALLOW_OVERLAP_FILES. This
leads to bugs since when one MACHINE_ARCH recipes is cleaned, it removes the
files for another which then results in later build failures as license files
disappear.

The solution is to include SSTAGE_PKGARCH in the path names to the license files.
That does mean a search has to be used to find the correct license files for a
given PN but that can be done via SSTATE_ARCHS.

The implication for other tools is the layout has changed so tools will need to
adapt to the new paths. The benefit is no more strange build failures such as from
patterns like:

MACHINE=qemux86-64 bitbake core-image-minimal
MACHINE=genericx86-64 bitbake core-image-minimal
MACHINE=qemux86-64 bitbake linux-yocto -c clean
MACHINE=genericx86-64 bitbake core-image-minimal -C rootfs

[YOCTO #14123]

For anyone finding this commit, I'd question how much people should be relying on
this code for tooling and suggest the SPDX manifests should be the preferred data
format going forward anyway.

(From OE-Core rev: 1a4ab9fc26659507e678e87312b514e8ea515673)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 23:51:11 +01:00
Richard Purdie
84e17003c6 multilib: fix SSTATE_ARCHS for multilib usage
When building multilibs, we need to inject the multilib sstate pkgarch
into SSTATE_ARCHS so the list forms a complete search path. Add a tweak
to do this.

PACKAGE_ARCH defaults to TUNE_PKGARCH so this is equivalent and just
guards against recipes changing the value which may have other unwanted
side effects.

(From OE-Core rev: 37126ffc7ccbd3df57ebbd8e581d158f03bb3b4c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 23:51:11 +01:00
Richard Purdie
36397b6a17 sstate: Fix nativesdk entry in SSTATE_ARCHS
PACKAGE_ARCH gets refined by each target so this value isn't valid in all contexts.
Tweak to use underlying variables to build it so that it remains valid in wider
contexts and works with new usage in sdpx and license classes.

(From OE-Core rev: ca90379147cb75755d205670781d8922161e9317)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 23:51:11 +01:00
Khem Raj
a8b6f96018 qemu: Add PACKAGECONFIG for dax
Othereise it pokes at the build system and if ndctl is installed on the
system it adds dependency on libdaxctl which can make it not work on
other hosts where this is not available and qemu fails to run

Fixes

<recipe-sysroot-native>/usr/bin/qemu-system-x86_64: error while loading shared libraries: libdaxctl.so

(From OE-Core rev: 2d61f31d7044fdc06fa526d8fd2c7cf485e260c6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 23:51:11 +01:00
Michael Opdenacker
5e1c6bc9f4 alsa-utils: update patch Upstream-Status
(From OE-Core rev: 131ffd88428070837b1b40d54a2fb0b7ce846516)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 23:51:11 +01:00
Martin Jansa
f92b7ddc73 fontcache.bbclass: avoid native recipes depending on target fontconfig
* this caused liberation-font-native to depend on TUNE_PKGARCH target fontconfig
  because ${MLPREFIX}fontconfig-utils is added to RDEPENDS in anonymous python

* the dependency tree for liberation-font-native got much shorter
  (just quilt-native and liberation-font-native itself):
   2 after/pn-buildlist
  78 before/pn-buildlist

* fixes graphviz-native signature issue as well as detected with sstate-diff-machines.sh

  $ bitbake-diffsigs \
    sstate-after/mako/x86_64-linux/graphviz-native/8.1.0.do_populate_sysroot.sigdata.184d4fd355f1e7a2d7d929ef4b5f62b94e2071df9dd674b2067ec21bfc7bcc1b \
    sstate-after/qemux86-64/x86_64-linux/graphviz-native/8.1.0.do_populate_sysroot.sigdata.35da674d2dbc275bac02869dfce4165466315023910bdef65a6026e2cb942a46
  Hash for task dependency liberation-fonts-native:do_populate_sysroot changed from 310d3da04ad9abf8ee99997e53d1ffa71c2b7d9d60fb0e8de85171a9ab6a77d3 to 048420ad1410c2b8d95498fc3c11681207335a2c722836f1f3e683cc449814da

(From OE-Core rev: 998d4da9d89aea77dc0f2cbac60ea64258331756)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 23:51:11 +01:00
Michael Opdenacker
800061dcdb libevent: fix patch Upstream-Status
(From OE-Core rev: 8c987afb2054f24d9bf86305774c186a6e015a8f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 23:51:11 +01:00
Michael Opdenacker
18b2ad82f1 shadow: fix patch Upstream-Status
Replace "Accepted" by "Backport" as specified on
https://docs.yoctoproject.org/migration-guides/migration-3.2.html#miscellaneous-changes

(From OE-Core rev: 945f1106de1fc1b08921e05aa0f871092c2c116d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 23:51:11 +01:00
Insu Park
6ad45f110e bitbake: data: Add missing dependency handling of remove operator
A recipe variable handles its dependencies even on the "contains"
variables within the "inline Python expressions" like bb.utils.filter().
And it also handles those in the append operator correctly, but the
problem is that it does not so in the remove operator.

Fix it by adding the missing dependencies every time the remove
operator has been handled.
Also add a test case to check if the override operators handle
dependencies correctly.

(Bitbake rev: b90520eedb1dbc7f6a3928d089fe74fafb864eb5)

Signed-off-by: Insu Park <insu0.park@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:41 +01:00
Richard Purdie
c603849494 bitbake: cooker: Drop unneeded flush calls
Since the flush calls have significant effects for bitbake timeout issues,
drop the remaining ones from cooker. These aren't in as critical paths
as the other issues but it makes sense to clean up.

(Bitbake rev: dd682363341bae3b060e284d73f000813964dc05)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:41 +01:00
Richard Purdie
f6247676a4 elfutils: Fix reproducibility issue with bunzip2
bunzip2 is only detected/needed for "make check" tests however if left floating,
the generated makefiles used in the ptests are not deterministic. Force a value
to avoid this.

[YOCTO #15209]

(From OE-Core rev: d614359556529b9d226a8636b467d00425c42c87)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:27 +01:00
Michael Opdenacker
551a1c0887 alsa-utils: upgrade 1.2.9 -> 1.2.10
Changelog:
- po: add Korean translations
- alsactl: fix compilation when building in a subdir
- reshuffle included files to include config.h as first
- github: update build.yml
- aseqdump: fix MIDI 2.0 code - it compiles now
- gitcompile: set more verbose compilation warnings
- nhlt-dmic-info: fix the verbose compilation warnings for latest gcc
- alsaucm: fix the verbose compilation warnings for latest gcc
- aplaymidi: fix the verbose compilation warnings for latest gcc
- aseqnet: fix the verbose compilation warnings for latest gcc
- aseqdump: fix the verbose compilation warnings for latest gcc
- aconnect: fix the verbose compilation warnings for latest gcc
- speaker-test: fix the verbose compilation warnings for latest gcc
- amidi: fix the verbose compilation warnings for latest gcc
- bat: fix the verbose compilation warnings for latest gcc
- iecset: fix the verbose compilation warnings for latest gcc
- alsamixer: fix the verbose compilation warnings for latest gcc
- alsaloop: fix the verbose compilation warnings for latest gcc
- axfer: fix the verbose compilation warnings for latest gcc
- alsactl: fix the verbose compilation warnings for latest gcc
- amixer: fix the verbose compilation warnings for latest gcc
- aplay: fix the verbose compilation warnings for latest gcc
- topology: fix the verbose compilation warnings for latest gcc
- alsactl: fix the copy-n-paste typo (SND_RAWMIDI_STREAM_*)
- aseqdump: Add options to switch view mode
- aseqdump: Correct wrong channel number
- aseqdump: Align outputs of UMP MIDI 1.0 with legacy MIDI 1.0
- speaker-test: allow large buffer and period time setup - up to 100 seconds
- topology: plugins: nhlt: remove dmic error print
- Topology: NHLT: Intel: Update DMIC FIR coefficients
- topology: nhlt: intel: support more device types and directions
- topology: pre-processor: Add support for CombineArrays
- alsactl: add define to compile with glibc 2.38
- topology: plugins: nhlt: set dmic stereo mode only in hw version 1
- aplaymidi: Add UMP support
- aconnect: Add UMP support
- aseqdump: Add UMP support
- nhlt: add nhlt-dmic-info utility

(From OE-Core rev: 24b7cd2e58c0a2f48cefb09a3363fd982d50f575)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:27 +01:00
Michael Opdenacker
ebcf25b14f alsa-lib: upgrade 1.2.9 -> 1.2.10
Changelog:
- Fix symver build error on non-ELF platforms
- ucm: main - remove cast to pointer from integer of different size warning
- ucm: mark internal functions static
- topology: fix src/mixer/mixer.c return value warning
- dogyxen: fix topology.h warnings
- doxygen: fix broken examples links
- doxygen: include docs for shmarea functions
- doxygen: conf: do not hide PCM specific function
- doxygen: silence warning from asoundlib.h
- doxygen: ucm: silence warnings
- doxygen: topology: silence 'not documented' warnings
- doxygen: global: silence 'not documented' warnings
- doxygen: namehint: silence 'not documented' warnings
- doxygen: seq: silence 'not documented' warnings
- doxygen: conf: silence 'not documented' warnings
- doxygen: rawmidi: silence 'not documented' warnings
- doxygen: control: silence 'not documented' item warnings
- doxygen: pcm: silence 'not documented' warnings
- doxygen: include external control docs
- doxygen: fix inadvertent link requests
- doxygen: fix list indentation errors
- doxygen: escape xml tags
- doxygen: fix image path
- doxygen: fix broken parameter name tags
- doxygen: Fix missing group end markers
- reshuffle included files to include config.h as first
- configure: add AC_SYS_LARGEFILE
- seq: Fix wrong seq version update at snd_seq_hw_get_client_info()
- seq: Add overflow check in snd_seq_ev_set_ump_data()
- test: oldapi - fix the clang-16 compilation error
- rawmidi: Suppress error messages for non-fatal errors
- seq: ump: Fix typo in function name containing "group"
- pcm: hw: fix minor bug in sw_params ioctl
- seq: Add UMP 1.1 features
- ump: Add UMP 1.1 features
- uapi: Update rawmidi API to 2.0.4
- seq: Add UMP support
- uapi: Update asequencer.h definitions for 1.0.3
- ump: Add helpers for handling SysEx data
- ump: Add helpers to parse / set UMP packet data
- control: Add UMP Endpoint and Block info query support
- control: Add UMP device query support
-- ump: Add initial support
- rawmidi: Add UMP ioctl support
- uapi: Update control API to 2.0.9
- uapi: Update rawmidi API to 2.0.3
- remove extra trailing new line in SNDMSG and SNDERR calls
- usecase: add CaptureMicInfoFile field to documentation
- include: fix SND_DLSYM_BUILD_VERSION() for static build
- pcm: hw - prevent divide by zero for broken apps

(From OE-Core rev: 232b6b7276b6b34edd1aa5292897a92e16235ecf)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:27 +01:00
Ross Burton
6d7af50f88 libwebp: upgrade to 1.3.2
This is a point release with just one change:

  * security fix for lossless decoder (chromium: #1479274, CVE-2023-4863)

(From OE-Core rev: 4ae14143eb7d1d74798ff921d90a0effbac89546)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:27 +01:00
Stefan Tauner
73141505de gdb: fix RDEPENDS for PACKAGECONFIG[tui]
TUI mode needs terminfo at runtime, which is required to be
explicitly stated in the respective PACKAGECONFIG variable.

Without this change /etc/terminfo/ might be missing, which
leads to a runtime error when trying to use tui, e.g.:
(gdb) tui enable
Cannot enable the TUI: error opening terminal [TERM=xterm-256color]

(From OE-Core rev: 5f17bc03a0c2d894e43c3c835fa38a24b1d5df64)

Signed-off-by: Stefan Tauner <stefan.tauner@artech.at>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:27 +01:00
Markus Volk
4cc8515566 pulseaudio: dont include consolekit for systemd
Consolekit is not needed for systemd and getting it installed by default
can be disturbing.

(From OE-Core rev: ed8a0c9ff5cbde3b2bd882a49b4a861ddb3230ce)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:26 +01:00
Markus Volk
e2f723f1ab libxmlb: import recipe from meta-oe
appstream has a dependency on it

- add a patch to fix a reproducibility and runtime issue with ptest
  ptest completes without error
- add the recipe to ptest-packagelists.inc

(From OE-Core rev: 334410b10652881bb34dc06f5c68d500c9339b65)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:26 +01:00
Markus Volk
b2491d4475 maintainers.inc: add missing entries for appstream and libxmlb
(From OE-Core rev: 47aafa74d758ce5f4bcda556a0f6dc22ce6c5927)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:26 +01:00
Markus Volk
c04ef6e9c3 libadwaita: upgrade 1.3.4 -> 1.4.0
- add dependency on appstream
- build vapi dependent on GI_DATA_ENABLED

=============
Version 1.4.0
=============

- AdwBreakpointBin
  - Clarify minimum size warnings
- AdwExpanderRow
  - Improve accessible roles
- AdwPreferencesGroup
  - Set described-by on the listbox
- Docs
  - Fix a property name in breakpoint migration guide
- Stylesheet
  - Fix toolbar view styles within sidebars
  - Fix .navigation-sidebar:disabled style when used with GtkListView
- Build system fixes
- Translation updates
  - Catalan
  - Danish
  - Dutch
  - Esperanto
  - Italian
  - Occitan
  - Spanish
  - Swedish

==============
Version 1.4.rc
==============

- AdwAboutWindow
  - Accessibility fixes
  - Add a minimum size
- AdwExpanderRow
  - Accessibility fixes
- AdwHeaderBar
  - Fix missing title fallback for back button tooltip and history menu
  - Set "Back" as an accessible label for the back button
  - Clarify docs around :show-back-button
- AdwNavigationView
  - Warn when a navigation page is missing a title
- AdwStyleManager
  - Fix over-releasing a string on macOS
- AdwTabButton
  - Set the correct gettext domain
- AdwTabOverview
  - Set the correct gettext domain
  - Fix reordered thumbnail being drawn below others
- AdwToastOverlay
  - Set the correct gettext domain
- Build
  - Update pkg-config description field
- Demo
  - Update screenshot in appdata
  - Correctly dismiss the last toast in the dialogs demo
  - Add missing navigation page titles
- Stylesheet
  - Fix filename entry margins in file chooser
  - Fix menubutton.card corners
  - Fix button.card focus ring transition
  - Avoid background overdraw in GtkColumnView
- Translation updates
  - Basque
  - Chinese (China)
  - Czech
  - Finnish
  - Galician
  - German
  - Indonesian
  - Kazakh
  - Korean
  - Lithuanian
  - Persian
  - Polish
  - Romanian
  - Spanish
  - Turkish

================
Version 1.4.beta
================

- Build
  - Depend on GLib 2.76.0
  - Fix build on Windows
  - Add a GTK subproject
- AdwBreakpointBin
  - Mention the correct widget in exceeded size warnings
  - Fix width-for-height and height-for-width sizing
- AdwComboRow
  - Recreate default factory on expression changes
- AdwEnumListModel
  - Better invalid value for find_position()
- AdwHeaderBar
  - Fix spacing when there are no start/end children
  - Fix a memory leak
  - Fix GtkCenterBox:shrink-center-last usage
- AdwLeaflet
  - Fix back/forward mouse button handling
- AdwMessageDialog
  - Fix shadow style
- AdwNavigationView
  - Pop the current page when pressing Escape
  - Make AdwNavigationPage:child-view private
  - Fix back/forward mouse button handling
  - Clarify docs
- AdwPreferencesWindow
  - Fix a memory leak
- AdwTabOverview
  - Cull invisible thumbnails
  - Fix a crash when opening overview before it's mpped
- AdwTabView
  - Fix thumbnail regressions from 1.4.alpha
- AdwToastOverlay
  - Fix width-for-height and height-for-width sizing
- AdwToolbarView
  - Add ADW_TOOLBAR_RAISED_BORDER style
  - Fix width-for-height and height-for-width sizing
  - Clarify docs
- AdwViewStack
  - Add AdwViewStackPages:selected-page
- AdwViewSwitcherBar
  - Fix disabling reveal animation when using breakpoints
  - Make sure the height doesn't change with large text
- Demo
  - Fix view switcher demo minimum height
  - Set input hints and purpose in the entries
- Docs
  - Assorted screenshot tool fixes
  - Fix a deprecation warning in the screenshot tool
- Stylesheet
  - Make button.osd focus rings blue for better visibility
  - Fix .card buttons within .osd
  - Fix button transitions in high contrast mode
  - Fix single-item menu height
  - Modernize GtkFileDialog, GtkAppChooserDialog and GtkAssistant styles
- Translation updates
  - Belarusian
  - Friulian
  - Georgian
  - Hebrew
  - Hungarian
  - Persian
  - Portuguese
  - Russian
  - Slovenian
  - Ukrainian

=================
Version 1.4.alpha
=================

- Build
  - Depend on GTK 4.11.3
  - Depend on libappstream
  - Add Vala metadata file
  - Fix gnome.compile_resources() on MSBuild
  - Fix doc include path
  - Make metainfo build reproducible
- Add AdwBreakpoint and AdwBreakpointBin
- Add AdwNavigationView
- Add AdwNavigationSplitView
- Add AdwOverlaySplitView
- Add AdwSpinRow
- Add AdwSwitchRow
- Add AdwToolbarView
- Deprecate AdwFlap, AdwLeaflet, AdwSqueezer and AdwViewSwitcherTitle
- AdwAboutWindow
  - Add new_from_appdata()
  - Add a missing Since annotation
  - Fix accessible role on the application icon
- AdwActionRow
  - Fix an inaccuracy in docs
- AdwAvatar
  - Fix a memory leak
- AdwBanner
  - Allow to ellipsize the button
  - Clarify title placement in docs
  - Add a backdrop style
- AdwButtonContent
  - Add :can-shrink
- AdwCarousel
  - Fix allocation
  - Fix scrolling to a recently inserted item
- AdwClamp/AdwClampLayout/AdwClampScrollable
  - Add :unit, default to the sp unit instead of px
  - Deprecate clamp child  style classes
- AdwComboRow
  - Add :enable-search
  - Fix accessible role on the dropdown arrow
- AdwExpanderRow
  - Deprecate add_action(), replace it with add_suffix()
- AdwFlap
  - Add a missing setter annotation for :fold-policy
  - Correctly measure separator
  - Avoid notify emissions in dispose()
- AdwEntryRow
  - Fix baseline with new GTK
  - Fix accessibility
- AdwHeaderBar
  - Add :show-title property
  - Show page title instead of window title inside AdwNavigationPage
  - Show back buttons inside AdwNavigationView, add :show-back-button
  - Hide redundant window buttons inside AdwNavigationSplitView and
    AdwOverlaySplitView
  - Ellipsize title before start/end children
- AdwMessageDialog
  - Allow to ellipsize the buttons
  - Be more responsive on parent state changes
  - Fix criticals when using choose() with hide-on-close=true
- AdwPasswordEntryRow
  - Say password instead of text in the ui
- AdwPreferencesPage
  - Add :description
- AdwPreferencesWindow
  - Deprecate present_subpage(), close_subpage() and :can-navigate-back,
    replace with push_subpage() and pop_subpage() using AdwNavigationView
  - Move search button to the left
  - Add placeholder to the search entry
  - Fix markup handling when searching
- AdwSplitButton
  - Add :can-shrink
- AdwStatusPage
  - Clarify docs
- AdwStyleManager
  - Stop reading GNOME-specific color-scheme setting via settings portal
  - Only use GSettings with ADW_DISABLE_PORTAL=1
  - Fix get_for_display() annotation
- AdwSwipeTracker
  - Add overshoot properties
  - Fix swipe area handling
- AdwTabBar
  - Add :extra-drag-preferred-action
  - Fix dropping data onto tabs/thumbnails
  - Fix accessibility
  - Fix clipped labels
  - Correctly unparent context menu
- AdwTabOverview
  - Rework thumbnails, reducing the number of glitches with
    WebKitWebView, and gaining antialiasing in process
  - Fix the transition curve
  - Add :extra-drag-preferred-action
  - Add a translator comment for "%u tabs"
  - Fix dropping data onto tabs/thumbnails
  - Fix clipped labels
  - Correctly unparent context menu
- AdwTabView
  - Allow Ctrl+Page Up/Down to wrap around
- AdwToast
  - Add :use-markup
  - Allow to ellipsize toast buttons
- AdwViewSwitcher
  - Ellipsize labels in wide mode
  - Set correct accessible role for icons
- AdwViewSwitcherBar
  - Modernize style
- AdwWindow/AdwApplicationWindow
  - Add API for using breakpoints, matching AdwBreakpointBin
- AdwWindowTitle
  - Fix initial title visibility
- Demo
  - Drop leaflet and flap demos
  - Fix a critical when trying to set a non-image file as avatar
  - Add tooltip to the main menu button
  - Open primary menu with F10
  - Make sure dialogs can be closed with Esc
- Docs
  - Add a breakpoint migration guide
  - Rewrite the adaptive layouts page using the new widgetry
  - Update examples everywhere
  - Fix success/error color values
  - List thumbnail colors on the named colors page
  - Consistently mention since/deprecated since versions for named
    colors and style classes
  - Drop alpha migration guide
  - Adjust heading levels so that document outline consistently works
  - Crop screenshots more precisely
  - Don't show marshal functions in docs
- Tests
  - Add a few manual tests, intended to be ran from Builder
- Stylesheet
  - Make header bars white in light variant
  - Use shadow instead of a border for GtkWindow:titlebar
  - Revert menubar style changes from 1.3
  - Use a shadow for undershoot styles
  - Add .undershoot-top/bottom/start/end style classes
  - Add @popover_shade_color, use for undershoots and transition shadows
    within popovers
  - Move toolbar padding to toolbars instead of buttons/entries/etc.
    Applications may need to adapt if they were relying on the previous
    padding.
  - Add .property style class for list rows
  - Deprecate headerbar.flat
  - Remove non-overlay scrollbar background
  - Remove outline on scrollbar troughs
  - Use flat header bars for GtkShortcutsWindow, GtkAboutDialog,
    GtkColorDialog, GtkPrintUnixDialog and GtkPageSetupUnixDialog
  - Adapt styles for GTK 4.11.x additions
  - Improve selected list/grid item contrast
  - Fix click areas in file chooser rows and grid items
  - Fix file chooser grid dimensions
  - Fix button.card checked state
  - Fix link hover color
- Warn when trying to add a child that already has a parent
- Fix GTK deprecation warnings
- Translation updates
  - Basque
  - Brazilian Portuguese
  - British English
  - Bulgarian
  - Catalan
  - Chinese (Taiwan)
  - Dutch
  - Finnish
  - French
  - Friulian
  - German
  - Hebrew
  - Hungarian
  - Italian
  - Lithuanian
  - Persian
  - Polish
  - Portuguese
  - Russian
  - Slovak
  - Swedish
  - Turkish

(From OE-Core rev: d161624d21533da9d885c01a34390dcd9c8802ea)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:26 +01:00
Markus Volk
3be4d2d4cd appstream: import recipe from meta-oe
libadwaita 1.4.0 has a dependency on it

(From OE-Core rev: 913f1b0f17374bb20cc3e2bc80c47a1548faa202)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:26 +01:00
Richard Purdie
2564f3a432 oeqa/selftest/wic: Improve assertTrue calls
assertTrue is a problematic call use in test cases since when it fails,
you just get an unhelpful "False is not True" message.

Replace some uses with assertIn/assertNotIn which will give more helpful results
and for the rest, add msg entries which given more helpful debugging.

For example, this patch would help debugging of #15176.

(From OE-Core rev: 35d4c39e0df1a304f557471151a03d1e4b0f30c7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:26 +01:00
Richard Purdie
e1a3d10aaa lttng-tools: Upgrade 2.13.10 -> 2.13.11
(From OE-Core rev: b5109f923641ab5e51488ec5e6c0548b0cb8a599)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:26 +01:00
Peter Kjellerstedt
084c70344f libsoup: Only specify --cross-file when building for target
The soup.cross file is only created when building for target so only
tell meson to read it when it exists. This allows libsoup-native to be
built again.

(From OE-Core rev: ae1893565bdd2597a08df6ac41db40641da66712)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:26 +01:00
Peter Kjellerstedt
90b51331ad libsoup-2.4: Only specify --cross-file when building for target
The soup.cross file is only created when building for target so only
tell meson to read it when it exists. This allows libsoup-2.4-native to
be built again.

(From OE-Core rev: 4acbd2269931b500846d56885c3304d244e514f8)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:26 +01:00
Yogita Urade
558f2e49a5 tiff: fix CVE-2023-41175
libtiff: potential integer overflow in raw2tiff.c

References:
https://bugzilla.redhat.com/show_bug.cgi?id=2235264
https://security-tracker.debian.org/tracker/CVE-2023-41175
https://gitlab.com/libtiff/libtiff/-/issues/592

(From OE-Core rev: 4ee806cbc12fbc830b09ba6222e96b1e5f24539f)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:26 +01:00
Yogita Urade
1843db6ae3 tiff: fix CVE-2023-40745
libtiff: integer overflow in tiffcp.c

References:
https://security-tracker.debian.org/tracker/CVE-2023-40745
https://gitlab.com/libtiff/libtiff/-/issues/591
https://bugzilla.redhat.com/show_bug.cgi?id=2235265

(From OE-Core rev: c3d4fbeb51278a04a6800c894c681733ad2259ca)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:26 +01:00
Martin Jansa
b1650772a2 gcc: backport a fix for ICE caused by CVE-2023-4039.patch
* see:
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111418
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111411

* add git headers to 0025-gcc-testsuite-mips.patch so that it does
  easily apply with other patches with git am

(From OE-Core rev: 760068c5868380b0e833155020365735f55314c3)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:26 +01:00
Markus Volk
83051d0d69 libportal: upgrade 0.6 -> 0.7.1
(From OE-Core rev: d97dcc5fb0fd67307a4a7f0b236814a632d604e5)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:26 +01:00
Trevor Gamblin
bcc187a900 python3-ptest: skip test_input_no_stdout_fileno
[YOCTO #15210]

test_input_no_stdout_fileno has been seen failing on AB workers under
heavy load. Skip it while leaving the rest of the test_builtin suite
alone.

(From OE-Core rev: cf8927737690bf21dd3fb57474e09b71078e354c)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:26 +01:00
Khem Raj
2d44fd92e8 util-linux: Fix lscpu on musl
(From OE-Core rev: 565b22f4927c76b7bbc3d84198a4d5d3927d8401)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:26 +01:00
Khem Raj
fed1504fa0 Revert "util-linux: scanf_cv_alloc_modifier changed from 'as' -> 'ms'"
This was needed for uclibc, which is long gone in OE

This reverts commit d3ffa39e2e.

(From OE-Core rev: fdf81adb8fc705f3c989244ca93067da7db88311)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:26 +01:00
Khem Raj
2f190c7a8c util-linux: Disable failing tests on musl
These tests need strptime with %s which is glibc specific extention

(From OE-Core rev: 0190b3eb67d02ecf42531a7c087a5a6f75ee7a5e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 08:57:26 +01:00
Ross Burton
9e5a7a9497 linux-yocto: update CVE ignores
(From OE-Core rev: 937817e5164f8af8452aec03ae3c45cb23d63df9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-19 23:26:20 +01:00
Michael Opdenacker
7444138b0c sdk-manual: extensible.rst: fix multiple formatting issues
Take advantage of this edit to also fix alignment
issues in the sources.

(From yocto-docs rev: 318261d8ea91c2373709a9c1e82304ab7e9e9a3b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-19 15:57:35 +01:00
Michael Opdenacker
81ba04522e dev-manual: disk-space: improve wording for obsolete sstate cache files
Replace "duplicate" by "obsolete", more appropriate.
"duplicate" probably comes from the "--remove-duplicated"
option of the sstate-cache-management.sh script.

Improve other sentences too.

(From yocto-docs rev: 08451ef3808a34915c8e536090e34dab2bc6cf88)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CC: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-19 15:57:35 +01:00
Roland Hieber
10e67c22e6 ref-manual: point outdated link to the new location
(From yocto-docs rev: afdfa717aec5cd382054030a2d1e1655277bc5a5)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-19 15:57:35 +01:00
Roland Hieber
56f9810c5e template: fix typo in section header
(From yocto-docs rev: 43661a55b5256a67d4d3e82ffd19bd0d4ae75626)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-19 15:57:35 +01:00
Michael Opdenacker
39f02bdc8d dev-manual: licenses: mention SPDX for license compliance
(From yocto-docs rev: a34626dd59617a32f6c20aa9ac11f15db2795a75)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-19 15:57:35 +01:00
Michael Opdenacker
8f6f37b37b dev-manual: licenses: update license manifest location
- Fix broken markup (wasn't displaying properly)
- Update the path to the directory containing license information
- Fix typo later in the document

(From yocto-docs rev: f090bb9d2d9cf3833ff0743cfa0cc52099688c64)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-19 15:57:35 +01:00
Michael Opdenacker
8b3a81f42f contributor-guide: recipe-style-guide: add Upstream-Status
(From yocto-docs rev: 95c9a1e1e78bbfb82adef588f68d5d891fb64358)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-19 15:57:35 +01:00
Michael Opdenacker
0c33a64edd dev-manual: new-recipe.rst fix inconsistency with contributor guide
This document was suggesting a way to version pre-releases
which doesn't match the latest recommendations from the
contributor guide.

(From yocto-docs rev: b51c21e59bd624153f6f9b8bf3cf33329bd25e56)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-19 15:57:35 +01:00
Ross Burton
6e7bf979f2 manuals: document LICENSE_FLAGS_DETAILS
(From yocto-docs rev: 299c9b295a8476abdb32fba01ac2f45efacea6f1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-19 15:57:35 +01:00
Richard Purdie
d4f2f8269c recipetool/devtool: Ensure server knows about changed files
Bitbake has changed to require notification when metadata changes in the middle of tinfoil
sessions. Add the required function calls at the places metadata is changed.

(From OE-Core rev: e5574163ab49a8f51b2b34fd37acfd1cad9b7595)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 11:35:38 +01:00
Richard Purdie
022deeb0ef bitbake: server/process: Disable the flush() call in server logging
We've been chasing bitbake timeouts for a while and it was unclear where things
were blocking on IO. It appears the flush() call in server logging can cause
pauses up to minutes long on systems with slow (spinning) disks that are heavily
loaded with IO.

Since the flush() was added to aid debugging of other timing issues, we shouldn't
need it now and it can be disabled. Leave a comment as a reminder of the pain this
can cause.

(Bitbake rev: afbc169e1490a86d6250969f780062c426eb4682)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 11:35:05 +01:00
Richard Purdie
37c31a5adc bitbake: lib: Drop inotify support and replace with mtime checks
With the flush in serverlog() removed and a memory resident bitbake with a
60s timeout, the following could fail in strange ways:

rm bitbake-cookerdaemon.log
bitbake-layers add-layer ../meta-virtualization/
bitbake-layers add-layer ../meta-openembedded/meta-oe/
bitbake -m

specifically that it might error adding meta-oe with an error related to meta-virt.

This clearly shows that whilst bblayers.conf was modified, bitbake was not
recognising that. This would fit with the random autobuilder issues seen when
the serverlog flush() call was removed.

The issue appears to be that you have no way to "sync()" the inotify events with
the command stream coming over the socket. There is no way to know if there are
changes in the IO queue which bitbake needs to wait for before proceeding with
the next command.

I did experiment with os.sync() and fsync on the inotify fd, however nothing
addressed the issue. Since it is extremely important we have accurate cache data,
the only realistic thing to do is to switch to stat() calls and check mtime.

For bitbake commands, this is straightforward since we can revalidate the cache
upon new connections/commands. For tinfoil this is problematic and we need to
introduce and explict command "revalidateCaches" that the code can use to force
bitbake to re-check it's cache validity. I've exposed this through tinfoil with
a new "modified_files" function.

So, this patch:

a) drops inotify support within bitbake's cooker/server and switch to using mtime
b) requires a new function call in tinfoil when metadata has been modified

(Bitbake rev: da3ec3801bdb80180b3f1ac24edb27a698415ff7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 11:35:05 +01:00
Alexander Kanavin
d1f84db670 groff: add a patch to resolve build races
(From OE-Core rev: 0dedd8982bda35ef638c44b7a3a236dbbaebd621)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
1f1f56d349 piglit: update to latest revision
Drop patch as issue finally fixed upstream.

(From OE-Core rev: d2ef4d4feeaa956c46dd241054a72f35d25a7bb5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
2f6076ea29 libva-utils: update 2.19.0 -> 2.20.0
(From OE-Core rev: da9010800f301a9103ca4ea73bb2eba75ef7a4ee)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
d86e52fbd2 igt-gpu-tools: update 1.27.1 -> 1.28
Drop procps 4 patch as upstream fixed the issue.

(From OE-Core rev: 22eccdd1a1e26b67d1ce3ba03a43b44f14dd00c1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
1488e069cc gobject-introspection: update 1.76.1 -> 1.78.0
Remove patch as issue fixed upstream.

(From OE-Core rev: 02aaabf79e472813139db8cbdff6dcf85e3065e9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
b27d1171f3 screen: update 4.9.0 -> 4.9.1
Remove patches; they are merged upstream or backported.

(From OE-Core rev: 2566f8e51d56848d8b28f37462160e90253b79fc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
556ac3ec46 procps: update 4.0.3 -> 4.0.4
Drop patches as all issues resolved upstream; one of them is a CVE backport.

(From OE-Core rev: 8b5f6565a16bd17cf0cce62d5e7438a01e0cc1c3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
3737699cf8 gzip: update 1.12 -> 1.13
Drop autoconf-2.73.patch as issue resolved upstream.

License-update: http -> https

(From OE-Core rev: 1ddf9e053b17913718c780ad4c877d5ddb6ff536)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
16bf55b8fb go-helloworld: update to latest revision
Fix up test case to match what binary prints.

(From OE-Core rev: 4683804b9669c71d31ea6a8a300e6e87e817ee12)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
3dac429130 python3-pygobject: update 3.44.1 -> 3.46.0
Replace a patch with a recipe option.

(From OE-Core rev: 84acec2fd882e42461031fc77247ddcdc4a9269a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
137cb1188e liburi-perl: update 5.17 -> 5.21
License-Update: formatting

(From OE-Core rev: 75aece4a7076241c47d791a7b82e4826d4bdd167)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
1d3dcc5d71 libdnf: update 0.70.1 -> 0.71.0
(From OE-Core rev: 45a698ec64b4f60bf99cc466f1f325f7aa49db3d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
efddfa97a2 ovmf: update edk2-stable202305 -> edk2-stable202308
(From OE-Core rev: 48878248d39d7e0bf66f33051f7ecef49c14e1e1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
d8ad963a22 glib-2.0: update 2.76.4 -> 2.78.0
Add a patch so that native glib executables do not error out
on systems with kernels less than 5.4.

(From OE-Core rev: 404d9187f2be1f99be740e10b3d4cc23e482027d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
a990c6ce15 sysstat: update 12.6.2 -> 12.7.4
Old homepage is no longer being updated and will be taken down soon.
Let's switch to git, as the new homepage is still being set up.

Upstream has confirmed that odd-even version scheme is no longer in place:
https://github.com/sysstat/sysstat/issues/373

(From OE-Core rev: f9d64fc36c963e6d53b1e686fdd6e998c606c413)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
b48000bba3 sysstat: merge .inc into .bb
(From OE-Core rev: 06fb5a80464c1cfbc7fd57da688d49a0edac5e98)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
0be8df3e58 glibc-tests: rename to glibc-y2038-tests
The recipe originates from meta-y2038 where the name was not
confusing, but in oe-core it is.

(From OE-Core rev: 90bc7a66b08580207839fc6aafe1ac86c12981c5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
df0f70d1b0 openssl: ensure all ptest fails are caught
Piping results through sed may mask failures that sed isn't catching.

(From OE-Core rev: 2b1b0e9e4d5011e7c2fd1b59fc277a7cfdc41194)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
befe84272b openssl: parallelize tests
This brings them from 15 minutes to just over 4.

(From OE-Core rev: 9eeee78aa94aaa441da012aeb904a0f1cbcd4d91)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
dbe3319897 busybox: enable 64 bit shell arithmetic (via long long type)
This matters on 32 bit systems where otherwise timestamp manipulation
in shell scripts would overflow after 2038. One of the scripts in
strace test suite exposed the issue.

(From OE-Core rev: 8165c980338d4719004bf62644e0fe24ef309fe0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
0fd62ce4a5 strace: remove from time64.inc exception list
The issues were resolved via

https://github.com/strace/strace/pull/263
https://github.com/strace/strace/pull/264
https://github.com/strace/strace/pull/265

and the fixes were released in strace 6.5.

(From OE-Core rev: 5c8709c98e1dff49953aa2665c790d85b9739ca4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
699cda33f2 strace: parallelize ptest
strace is one of the slowest tests otherwise (can take 40 minutes or more),
and this brings it to under 10 minutes \0/

(From OE-Core rev: 0c632b418a785494318d9f375a07d879772e8ced)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
c393035c88 perl: ensure all failures are caught
Sed expression may miss some failures, and | obscures
the non-zero return code which would otherwise indicate them.

(From OE-Core rev: 2fbba38df89fd54ef3a048ba5d8d31fff4a7518c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
a76f3746a3 perl: use 64 bit integers across all targets
Otherwise perl would use 32 bit integers on 32 bit targets,
causing loss of bits when copying 64 bit time_t into an
internal representation.

(From OE-Core rev: c99c1b92eb5fb76f22b3458df15d876748528a20)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
4d1461595a ptest: report tests that were killed on timeout
I'm not sure if this was reported correctly before, but it
currently is not. Test that is stuck is an error in itself.

(From OE-Core rev: 002e27c9932a83e46be0b03a5232594cfba7212c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
4ef31c91ca curl: build and run the full set of ptests
Not running make in the top level tests/ directory
excluded about a third of them (those that consisted
of running small test binaries).

Also, run tests in parallel, which reduces total time
from five minutes to about 75 seconds.

(From OE-Core rev: ff88f275f5f8d52da2967726d8880cbbfdfc8f19)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Richard Purdie
9f47346129 devtool/build_sdk: Drop unused imports
Drop some unused imports.

(From OE-Core rev: 432446ef402ff42fe0c90172b77376fa5981524a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18 08:53:10 +01:00
Alexander Kanavin
61b5be2944 igt-gpu-tools: do not write shortened git commit hash into binaries
Shortened hashes are prone to collisions, and in this case git
lengthens the hash to resolve the collision. This in turn breaks
reproducibility, depending on whether the colliding hash is present
in the history or not. This has been observed here:
http://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20230917-br60if6q/packages/diff-html/

(From OE-Core rev: a74e1eff93d4de5724481e3298308a6d925a4512)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-17 22:39:49 +01:00
Eilís 'pidge' Ní Fhlannagáin
81ef24bac0 update_mandb: deb fails due to missing man cache
This only occurs in debian package builds when populating the sdk
and is a work around that seems to work. Eventually we should look
at why this is failing (I have ideas, it's somewhere in
lib/oe/package_management/deb/sdk.py), but for now, do this so we can
fix the core issue with nativesdk-intercepts.

(From OE-Core rev: a411123a95114233c5efd762dbcc8eb513030aab)

Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-17 19:37:19 +01:00
Eilís 'pidge' Ní Fhlannagáin
9ccde59c53 lib/oe/package_managegment: Add nativesdk-intercept PATH
[YOCTO #15023]

This patch adds (and removes after function execution) the
nativesdk-intercept/chown|chgrp PATH before target_pm.run_intercepts
calls during populate_sdk builds.

This has been tested with cleanall builds and testsdk and fails on deb
due to an issue where $D${localstatedir}/cache/man/ does not exist for
some reason. I've a work around for that in the next patch in this
series.

(From OE-Core rev: e7afdfe9da150209ab2676d09eae040de2155c6d)

Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-17 19:37:19 +01:00
Mikko Rapeli
de863bc1fa oeqa/selftest/context.py: check git command return values
Don't ignore return values from the git command lines. If something goes
wrong, fail the test right away.

(From OE-Core rev: dfc178a70d6fa60e89d4716f05d68e2c72c6ecd3)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 21:57:16 +01:00
Mikko Rapeli
bd1fc66e4c testimage.bbclass: remove QEMU_USE_SLIRP variable
QEMU_USE_SLIRP is replaced by TEST_RUNQEMUPARAMS with "slirp" and
possibly other arguments to runqemu script.

(From OE-Core rev: 99fd24f0d9ff79fed389ae5a01c3031d7e7167d0)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 21:57:16 +01:00
Mikko Rapeli
aee5f979ed openssh: capture logs in run-ptest
Drop patch to improve logging since upstream rejected it
but capture failure logs in run-ptests with similar code
as what upstream uses when running the tests via
https://github.com/openssh/openssh-portable/blob/master/.github/run_test.sh#L23

(From OE-Core rev: 5f817f5a3897bca39eb832bb910b032632f275b8)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 21:57:16 +01:00
Markus Volk
fd72958ca0 mesa: upgrade 23.1.3 -> 23.1.7
(From OE-Core rev: 335b7a7f4e9d67e724a6ff541b4117ece772e0ab)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 15:22:43 +01:00
Khem Raj
693ffa9310 gettext: Add missing dependency on gawk autoconf
Needed for additional tests e.g. autopoint-1 which are otherwise skipped

Make locale-base-de-de and locale-base-fr-fw rdep unconditional as
musl-locales do provide these locales

(From OE-Core rev: b4091c20196ebde3ba14a502eca0082f28b09b5c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 15:22:43 +01:00
Trevor Gamblin
0f5691f23c patchtest: Add README.md for selftests
Add a short README describing how to setup patchtest's selftests for
oe-core.

(From OE-Core rev: afd4f3d9fa22dd0fbb0c30bbfc4a3de37d695c76)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 15:20:08 +01:00
Trevor Gamblin
9788cccca7 patchtest: add requirements.txt
Add a requirements.txt file with the Python modules needed for Patchtest
to run.

(From OE-Core rev: 2fd953ac5dd86d3045a6af240d61c6e36c62d133)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 15:20:08 +01:00
Trevor Gamblin
0cf17394f8 patchtest/selftest: remove configurable target
The ability to pass the target (i.e. oe-core) as an argument was a
testing mechanism and isn't needed when the tests are part of the repo,
so remove it and use os.path.dirname to get it instead.

(From OE-Core rev: 87c54eae350e358f32b12ae807719fa845fd54af)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 15:20:08 +01:00
Trevor Gamblin
4a6f38c532 patchtest: Add tests from patchtest oe repo
Copy the core components of the patchtest-oe repo into
meta/lib/patchtest in oe-core.

(From OE-Core rev: 257f64f4e4414b78981104aec132b067beb5a92a)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 15:20:08 +01:00
Joshua Watt
e12e6d94ec bitbake: fetch2: git: Use path_is_descendant() instead of path for repo check
Using path prefixes to check if the git directory is a descendant of the
clone directory can be easily confused with symlinkes and bind mounts,
causing directories to be deleted unnecessarily. Instead, use
bb.utils.path_is_descendant() which is immune to the these sorts of
problems.

(Bitbake rev: b4d7a0546630620480b7fee159b84c3506e941a2)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 15:08:21 +01:00
Joshua Watt
b2ab9bd4a3 bitbake: utils: Add path_is_descendant()
Adds a utility that checks if one path is an descendant of another. This
check uses os.path.samestat() to make it immune to symlinks and bind
mounts.

(Bitbake rev: c3ae45946886ee2049939dd5a205790657a7de32)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 15:08:21 +01:00
Ross Burton
a96f735ff9 testimage: respect target/server IPs when using slirp
We can't hardcode these IPs when using slirp.

The target IP will need a port to be specified as this controls what port
the SSH connection uses, and when slirp is used it can't bind to port
22. The qemu runner (OEQemuTarget) assumes that the first port forward
is the SSH forward, but this may be wrong or a different target may be
used.

The server IP depends on how the virtual networking is configured.
runqemu defaults to 10.0.2.x for the guests so that is a wise default,
but that may be configured differently.

(From OE-Core rev: 81b304e2558730de285f2773371340fc636a8ed1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:38 +01:00
Wang Mingyu
a736cd179d wireless-regdb: upgrade 2023.05.03 -> 2023.09.01
Changelog:
==========
wireless-regdb: update regulatory database based on preceding changes
wireless-regdb: Update regulatory rules for Australia (AU) for June 2023
wireless-regdb: Update regulatory info for Türkiye (TR)
wireless-regdb: Update regulatory rules for Egypt (EG) from March 2022 guidel...
wireless-regdb: Update regulatory rules for Philippines (PH)

(From OE-Core rev: 2f5edb6904bf16a9c52a9b124aeb5297487cd716)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:38 +01:00
Wang Mingyu
adbf02fd31 wayland-utils: upgrade 1.1.0 -> 1.2.0
0001-wayland-info-Fix-build-without-libdrm.patch
removed since it's included in 1.2.0

Changelog:
===========
-wayland-info: Fix spurious tab/space
-wayland-info: add drm-lease-v1 support
-meson: improve protocol generation
-wayland-info: Destroy zwp_linux_dmabuf_feedback_v1 proxy on exit
-wayland-info: Readd support for linux_dmabuf versions < 3
-wayland-info: Add a cmdline option for interface
-wayland-info: print DRM device paths
-build: turn on -Wundef
-wayland-info: move libdrm version constraint to dependency()
-wayland-info: include system headers with angle brackets
-wayland-info: Fix build without libdrm
-1build: reopen main for regular development

(From OE-Core rev: 5a19398422e317333ed22ff7d632cd973d0c30d5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:38 +01:00
Wang Mingyu
bd428b636c stress-ng: upgrade 0.16.04 -> 0.16.05
Changelog:
===========
-stress-vnni: verify if selected method supports intrinsic in intrisinc mode
-Manual: Indent stressors to ease man page reading
-stress-ng: Fix text of license in stress-sleep.c
-stress-pty: don't treat EINTR as failure when tcdrain is interrupted
-core-asm-generic: reintroduce HAVE_ASM_NOP check
-Makefile: bump version
-Makefile: add missing core-time.h from headers
-Makefile: remove snap from make dist rule
-stress-touch: fix missing help args for --touch-method and --touch-opts
-stress-ng: fix missing arg for --timer-slack help
-stress-stream: fix --stream-index help, missing arg
-stress-ring-pipe: fix help, missing args for --ring-pipe-num and
---ring-pipe-size
-stress-mremap: fix type in mremap-mlock help
-stress-module: use settings names and variable names that match
-boolean args
-core-opts: module-no-modver and module-no-vermag are argless, fix these
-stress-ng: fix --max-fd help, needs arg N
-stress-dirmany: fix --dirmany-bytes option in help
-stress-cache: fix help for cacheline writeback should be --cache-clwb
-stress-affinity: add missing numeric arg in --affinity-sleep option
-help
-stress-llc-affinity: Fix spelling mistake "memiry" -> "memory"
-Makefile: restore verify-test-all to 5 secs per stressor
-stress-misaligned: double the timeout time for very heavily loaded
-systems
-stress-cpu-online: fix nixos build error, missing semicolon
-stress-kvm: skip stressor if /dev/kvm is already in use
-Makefile: ignore warning return values in regression tests
-stress-syscall: Add BSD rfork() system call
-README.md: add another kernel reference
-stress-mlock: only show munlock metrics if they are available
-core-opts: fix disabled --perf option
-Add map_shadow_stack to TODO list
-stress-enosys: add map_shadow_stack
-stress-dev: only use stress_dev_hid_linux if HAVE_LINUX_HIDRAW_H is
-defined
-stress-ng.h: define _RENTRANT for sun builds for threading
-test/test-builtin-bitreverse: don't use random() to remove OpenBSD warnings
-tests: don't use random() to remove OpenBSD warnings
-core-cpu-cache: cast uint32 values to uint64_t before multiply
-stress-sigbus: unconstify ptr8, clean up pedantic warnings:
-core-helper: stress_write_buffer: use void * for ptr rather than char *
-core-setting: fix const warning with pedantic builds
-core-sort: fix const warning with pedantic builds
-stress-icache: make function stress_icache_func static
-stress-zero.c: only declare mmap_counter and mmap_index for linux builds
-stress-softlockup: reduce scope of variables t and d
-stress-icache: reduce scope of variable val
-stress-fma: fix return type of stress_fma_rnd_float to float
-core-builtin: ensure shim_sqrtl returns long double
-stress-bad-ioctl: constify pointers
-stress-bad-ioctl: reduce scope of variables type, nr and ret
-stress-aiol: cast result of multiply to same type as offset
-core-cpu-cache: make cache_size match the same type as
-cpu->caches[i].size
-stress-af-alg: constify pointer ptr
-core-shim: shim_posix_fallocate: reduce scope of variable ret
-core-numa: stress_parse_node: constify pointer str
-core-affinity: stress_parse_cpu: constify pointer str
-core-setting: remove unused field uintptr_t from struct
-core-interrupts: change scope of pointer ptr
-stress-watchdog: re-work code to remove need for watchdog_close label
-Makefile: force vnni to be built with at least -O2
-stress-vnni: move scope of variable to inside loop
-stress-far-branch: clean false positive gcc warning by initializing ptr
-stress-bad-altstack: make variable rnd non-clobberable
-Add --interrupts option to enable interrupt accounting
-core-interrupts: parse /proc/interrupts once for all types
-README.md: add another paper citation
-README.md: add two more kernel issues found with stress-ng
-stress-enosys: add fchmodat2
-stress-syscall: add fchmodat2
-test-chmod: add fchmodat2 Linux 6.6 call and shim, add fchmodat shim
-core-opts.h: move PR_OPT option macros to core-opts.h
-core-opts: move gnu long options into core-opts.c
-stress-prctl: add build check for new prctl macros
-stress-prctl: exercise PR_RISCV_V_{GET|SET}_CONTROL
-stress-prctl: add PR_GET_AUXV
-README.md: add another kernel issue found using stress-ng
-stess-schedmix: reduce scope of variable policy and remove initialisation
-test/test-vfork.c: replace exit with _exit
-stress-jpeg: stress_rgb_compress_to_jpeg: ensure duration is
-initialized to zero
-stress-dev: add lseek + read on /dev/nvram, voidify some args to /dev/hid
-stress-dev: exercise linux /dev/hid ioctls
-stress-dev: exercise linux /dev/acpi_thermal_rel ioctls
-stress-ng.h: rename PR_* macros to OPT_FLAGS_PR_*
-core-thermal-zone.h: move perf related structs and defines to core-thermal-zone.h
-core-perf.h: move perf related structs and defines to core-perf.h
-stress-ng.h: remove unused typedef stress_func_t
-README.md: add Anisse Astier to contributors list
-Manual: rename AF_ALG stressor title
-stress-netdev: exercise invalid lengths in ifr_ifindex and ifc_len
-core-helper.h: move stress_align_stack into core-helper.h
-core-time: move function prototypes to core-time.h
-move stress_pagein_self definition to core-thrash.h
-core-helper.h: move stress_warn_once from stress-ng.h to core-helper.h
-stress-ng.h: remove unused legacy function declarations
-core-helper: move stress_sigchld_set_handler from stress-ng.c to core-helper.c
-include core-killpid.h for stress_killpid definition
-stress-ng.h: remove stress_killpid, it is in core-kill.h
-stress-ng.h: remove stress_clean_dir
-core-helper: move stress_clean_dir and helpers to core-helper.c
-core-helper: rename pr_* helper functions to stress_*
-Makefile: add core-shim.h to headers
-core-helper: move function prototypes and macros to core-helper.h
-core-shim: move function prototypes and typedefs to core-shim.h
-Remove snapcraft yaml file
-core-helper: provide non BSD no-op variants of getsysctl functions
-stress-sock: enable --sock-msgs option, set default from 1 to 1000 messages
-stress-sock: remove need to assign recvfunc pointer for every send
-Manual: clarify support for --vmstat option
-Manual: add --metrics RSS description
-stress-dccp: add --dccp-msgs option, set default from 16 to 10000 messages
-README.md: add some more citiations
-Manual: minor stressor description tweaks
-Manual: minor corrections
-Manual: re-adjust first option after each stressor heading using .TQ
-stress-ng: make --metrics brief dump just bogo-ops metrics, more metrics with --metrics option
-stress-null: add --null-write for write only null benchmarking
-core-shared-heap: move function prototypes to core-shared-heap.h
-core-processes: move function prototypes to core-processes.h
-core-sched: remove unused function stress_set_deadline_sched
-core-sched: move function prototypes to core-sched.h
-Makefile: add missing core-limit.h
-stress-ng.h: replace lock declarations with include of core-lock.h
-core-mwc: move function prototypes to core-mwc.h
-core-log: move function prototypes to core-log.h
-core-setting: move function prototypes to core-setting.h
-core-: add missing extern and missing inclusion of header in corec
-Add core-attribute.h and core-parse-opts.h
-core-out-of-memory: move function prototypes to core-out-of-memory.h
-core-lock: move function prototypes to core-lock.h
-core-limit: move function prototypes to core-limit.h
-core-job: move function prototypes to core-job.h
-core-vmstat: move function prototypes to core-vmstat.h
-core-try-open: move function prototypes to core-try-open.h
-core-numa: move function prototypes to core-numa.h
-core-mounts: move function prototypes to core-mounts.h
-Makefile: add two missing header files
-core-mmap: move function prototypes to core-mmap.h
-core-mlock: move function prototypes to core-mlock.h
-core-mincore: move function prototypes to core-mincore.h
-core-madvise: move function prototypes to core-madvise.h
-core-klog: move function prototypes to core-klog.h
-core-killpid: move function prototypes to core-killpid.h
-core-io-priority: move function prototypes to core-io-priority.h
-core-interrupts: move function prototypes to core-interrupts.h
-core-ignite-cpu: move function prototypes to core-ignite-cpu.h
-core-cpuidle: move stress_log_cpuidle_info to core-cpuidle.h
-core-affinity: move function prototypes to core-affinity.h
-stress-ng: stress_class_info_t: constify class
-stress-ng: stress_verifiable_mode: constify mode arg
-stress-ng: move stress_kill_stressors to remove need for forward declaration
-stress-ng: rename some variables, add some inlining
-stress-ng: rename classes to stress_classes
-stress-ng.h: minor clean-ups
-stress-ng.h: move some compiler specific #define's
-core-opts: move long option enum into core-opts.h
-stress-ng: fix spelling mistake in --oom-avoid message
-README.md: update list of contributors
-Manual: minor indention fixup for some hdd stressor options
-stress-ng.h: use STATX definitions for SHIM'd macros if they exist
-stress-ng.h: some minor #define and comment clean-ups
-stress-ng.h: remove old legacy HDD flags and fix starting bit for OPT_FLAGS_METRICS
-stress-ng.h: annotate the bit flags for the option flags
-stress-ng.h: remove g_caught_signal - it is no longer used
-stress-ng.h: remove g_opt_parallel from header, it's only used in stress-ng.c
-stress-ng.h: remove g_opt_sequential from header, it's only used in stress-ng.c
-stress-sem-sysv: skip stressor if semaphore can't be initialized early
-stress-zero: rate reduce the amount of mmap's in stressor loop
-stress-zero: add --zero-read option just to benchmark /dev/zero reads
-stress-dir: add directory renaming while exercising readdir
-stress-vecshuf: implement shuffle if __builtin_shuffle does not exist
-README.md: add two more research paper citations

(From OE-Core rev: 6c4e3ae5c806e46834bc9cafacdf8ae691db35d5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:38 +01:00
Wang Mingyu
aab64c73a3 strace: upgrade 6.4 -> 6.5
Changelog:
===========
* Implemented decoding of cachestat and fchmodat2 syscalls.
* Implemented decoding of SO_PASSPIDFD and SO_PEERPIDFD socket options.
* Implemented decoding of SCM_PIDFD control messages.
* Implemented decoding of BPF_ENABLE_STATS, BPF_ITER_CREATE, BPF_LINK_DETACH,
  and BPF_PROG_BIND_MAP bpf syscall commands.
* Updated decoding of BPF_OBJ_PIN and BPF_OBJ_GET bpf syscall commands.
* Updated lists of AT_*, BPF_*, IORING_*, KVM_*, MOVE_MOUNT_*, NFT_*, NT_*,
  PR_*, and V4L2_* constants.
* Updated lists of ioctl commands from Linux 6.5.

(From OE-Core rev: e66513ca10f1bf6de1a0834513401e6ccc04631e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:38 +01:00
Wang Mingyu
1bd8ab8ac0 python3-setuptools: upgrade 68.1.2 -> 68.2.1
Changelog:
===========
Features
----------
-Rework how setuptools internally handles dependencies/install_requires and
 optional-dependencies/extras_require. (#3903)
-Improve the generated PKG-INFO files, by adding Requires-Dist fields.
-Improve atomicity when writing PKG-INFO files to avoid race conditions with
 importlib.metadata. (#3904)

Bugfixes
----------
-Fix the name given to the *-nspkg.pth files in editable installs, ensuring
 they are unique per distribution. (#4041)
-Workaround some limitations on pkg_resources-style legacy namespaces in the
 meta path finder for editable installations. (#4041)
-Avoid using caching attributes in Distribution.metadata for requirements.

(From OE-Core rev: 214dcfd3bf088b6b166835ab2727c1d0e0edfc03)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:38 +01:00
Wang Mingyu
2bd2da3aea python3-pytest: upgrade 7.4.1 -> 7.4.2
Changelog:
==========

Bug Fixes
----------
-Fix doctest collection of functools.cached_property objects.
-Fixed bug using --importmode=importlib which would cause package __init__.py
 files to be imported more than once in some cases.
-Fixed bug where user_properties where not being saved in the JUnit XML file
 if a fixture failed during teardown.
-Fixed crash when parsing long command line arguments that might be interpreted
 as files.

Improved Documentation
----------------------
-Improved disclaimer on pytest plugin reference page to better indicate this is
 an automated, non-curated listing.

(From OE-Core rev: 2b1d8d27790eebcb44df73cbbc64f8abac14e8d7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:38 +01:00
Wang Mingyu
2d9f8e782b python3-pyelftools: upgrade 0.29 -> 0.30
Changelog:
===========
- Optimization: cache instantiation of DWARF structs (#435)
- DWARFv5 CU headers (#442)
- Bug fix in attribute reporting for DWA_FORM_indirect (#475)
- Support for RISC-V attributes (#459)
- Readelf used for testing upgraded to 2.41 (#489)
- Support for MIPS64 object files (#495)
- LoongArch support (#470, #483)

(From OE-Core rev: 39454153a03de8bea66e6b152a342f58592d5fb3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:38 +01:00
Wang Mingyu
e8975a1ae1 python3-hypothesis: upgrade 6.84.0 -> 6.84.3
Changelog:
===========
-This patch automatically disables the differing_executors health check for
 methods which are also pytest parametrized tests, because those were mostly
 false alarms (issue #3733).
-Building on recent releases, characters() now accepts _any_ codec=, not just
 "utf-8" and "ascii".
-This includes standard codecs from the codecs module and their aliases,
 platform specific and user-registered codecs if they are available, and
 python-specific text encodings (but not text transforms or binary transforms).
-This patch by Reagan Lee makes st.text(...).filter(str.isidentifier) return
 an efficient custom strategy (issue #3480).

(From OE-Core rev: a7368ec7cd7717077f2200f771b04de8d0e7c8b6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:38 +01:00
Wang Mingyu
fca449c846 python3-git: upgrade 3.1.34 -> 3.1.35
Changelog:
============
-Fix Windows environment variable upcasing bug
-Added test for PR #1645 submodule path
-Tests fail due to security vulnerability fix in git 2.38.1 acknowledged
-3.1.30 & 3.1.31: failing tests acknowledged help wanted
-Only make config more permissive in tests that need it
-Fix CVE-2023-41040
-Fix 'Tree' object has no attribute '_name' when submodule path is normal path

(From OE-Core rev: 26ae7c22e1945c4ae3e0cbea5ab6150009beb153)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:37 +01:00
Wang Mingyu
ba07681116 pkgconf: upgrade 2.0.2 -> 2.0.3
Changelog:
==========
* Fix some edge-cases with the new `--modversion` implementation
  and add additional regression tests.
* Fix some format specifiers to use PRIu64 in debug tracing.

(From OE-Core rev: 24543810ec19b5b8f055c4004197c91dedb0be41)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:37 +01:00
Wang Mingyu
2f30189f64 ccache: upgrade 4.8.2 -> 4.8.3
License-Update: Copyright year updated to 2021

Changelog:
===========
-Fixed various problems with parsing of MSVC response file (.rsp).
-Fixed handling of NVCC -Xcompiler and --Werror options.
-Fixed bookkeeping of files when hard linking or file cloning is enabled.
-Made a workaround for GCC 12.3 bug 109241 where GCC fails to compile ccache.
-Upgraded to xxHash 0.8.2, which fixes compilation of ccache with GCC 12 and -Og.

(From OE-Core rev: 3ef9eb88eec2619de9153cdee2827f7ccef5cc1f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:37 +01:00
Wang Mingyu
7e81d56e1a nghttp2: upgrade 1.55.1 -> 1.56.0
(From OE-Core rev: a044b921c7a1f576e0ac787ab9945e153a196c44)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:37 +01:00
Wang Mingyu
7eb5354fc3 libnl: upgrade 3.7.0 -> 3.8.0
(From OE-Core rev: c2fd3f88c8c0eaf4a636843ad8671faf24faf503)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:37 +01:00
Wang Mingyu
5ff3078fa3 libinput: upgrade 1.23.0 -> 1.24.0
(From OE-Core rev: 381310720bab16f0898396f32f1810305144dae7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:37 +01:00
Wang Mingyu
bfaf2c5a00 kexec-tools: upgrade 2.0.26 -> 2.0.27
Changelog:
============
arm64: Hook up the ZBOOT support as vmlinuz
arm64: Add ZBOOT PE containing compressed image support
kexec/zboot: Add arch independent zboot support
kexec: Introduce a member kernel_fd in kexec_info
kexec/arm64: Simplify the code for zImage
LoongArch: kdump: Set up kernel image segment
kexec: __NR_kexec_file_load is set to undefined on LoongArch
ppc64: Add elf-ppc64 file types/options and an arch specific flag to man page
x86: add devicetree support
kexec: make -a the default
ppc64: add --reuse-cmdline parameter support

(From OE-Core rev: 29c036c6522d9b719c5019f832ebf2e4389e87a6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:37 +01:00
Wang Mingyu
275d1a899d harfbuzz: upgrade 8.1.1 -> 8.2.0
Changelog:
==========
- Various build and fuzzing fixes
- Improvements to COLRv1 painting.

- New API:
+hb_paint_color_glyph_func_t
+hb_paint_funcs_set_color_glyph_func
+hb_paint_color_glyph

(From OE-Core rev: dd603e09e561e8f89e27f4ddeb10c2be3db4bea3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:37 +01:00
Wang Mingyu
d9dd750ac5 dnf: upgrade 4.16.1 -> 4.17.0
0001-dnf-write-the-log-lock-to-root.patch
refreshed for 4.17.0

Changelog:
===========
-crypto: Use libdnf crypto API instead of using GnuPG/GpgME
-Reprotect dnf, unprotect python3-dnf
-Block signals during RPM transaction processing
-Fix bash completion due to sqlite changes
-automatic: allow use of STARTTLS/TLS
-automatic: use email_port specified in config
-Document symbols in dnf history list output
-dnf-data: depend on /etc/dnf/dnf.conf, not libdnf5
-Update repo metadata cache pattern to include zstd
-typo in doc/command_ref.rst
-Add provide exception handling
-Support lists of KVP in kwargs when calling add_new_repo
-python3-dnf: Provide /usr/bin/dnf4 symlink to /usr/bin/dnf-3

(From OE-Core rev: 851abce3bc4dacbe75197f5cb2855b27d0252a47)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:37 +01:00
Wang Mingyu
b20e82e395 debianutils: upgrade 5.8 -> 5.12
Changelog:
===========
  * d/control:
    - Add myself as maintainer and Niels Thykier as uploader
    - Bump standards version from 4.6.0 to 4.6.2.
  * d/prerm: Make script executable.
  * d/postinst: Use 'set -e' in the body of the script.
  * d/tests/smoke: Use 'set -e' in the body of the script.
  * d/source/lintian-overrides: Ignore upstream metadata warning for Debian
    native package.
  * ischroot.c: Add missing newline in version output.
  * ischroot.1: Fix to say detection is possible for exit status 0.
  * postinst: Remove the bogus links that were created in 5.9 and 5.10
  * On non-usrmerged systems, correct run-parts/tmpfile links
  * ischroot: Do not claim it does not run as non-root
  * Align the cron file regex with the documentation
  * debian/postinst: add DPKG_ROOT prefix to paths in usrmerge()
  * Partial translation of which(1) into hungarian
  * Run autoreconf during the build
  * Drop obsolete dpkg-gencontrol flag -isp
  * Drop unnecessary CI config file
  * Revert the package to be format 3.0 (native)
  * Update /etc/shells micropolicy to recommend declarative use
  * Correct manpage macros
  * Update German manpage translation
  * Update Portuguese manpage translation
  * Modify post{inst,rm} in order to comply with UsrMerge

(From OE-Core rev: c5d73598f2f8ae74e5bbe35b1403dcb19fcc784a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:37 +01:00
Wang Mingyu
bf33e089fe dbus: upgrade 1.14.8 -> 1.14.10
Changelog:
===========
• Avoid a dbus-daemon crash if re-creating a connection's policy fails.

• If getting the groups from a user ID fails, report the error correctly,
  instead of logging "(null)"

• Return the primary group ID in GetConnectionCredentials()' UnixGroupIDs
  field for processes with a valid-but-empty supplementary group list

(From OE-Core rev: aeabd6dd4e65e5cc31f4c2acc5cc46ea03737bed)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:37 +01:00
Wang Mingyu
5f0ac6f2f3 at-spi2-core: upgrade 2.48.3 -> 2.48.4
Changelog:
=========
* Add atspi_get_version() to return the runtime version of the AT-SPI library.
* collection: Fix match testing for attributes.
* collection: Avoid locking up if an object has a very large child count
* Fix possible NULL pointer dereference when deregistering an event listener.
* Various fixes for the new key grabbing API.

(From OE-Core rev: 33447452f8f117db39fa33d31a325ee4298a4b75)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:37 +01:00
Wang Mingyu
e57e25ed9f alsa-ucm-conf: upgrade 1.2.9 -> 1.2.10
Changelog:
===========
    Fix symver build error on non-ELF platforms
    doxygen: include docs for shmarea functions
    doxygen: silence warning from asoundlib.h
    doxygen: global: silence 'not documented' warnings
    doxygen: Fix missing group end markers
    configure: add AC_SYS_LARGEFILE
    seq: Add UMP 1.1 features
    seq: Add UMP support
    ump: Add helpers to parse / set UMP packet data
    control: Add UMP Endpoint and Block info query support
    control: Add UMP device query support
    ump: Add initial support
    include: fix SND_DLSYM_BUILD_VERSION() for static build

(From OE-Core rev: 608d5afcc7df5f2457fadc2496347ddeb9c0be11)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:37 +01:00
Khem Raj
84a98ef63c coreutils: Add config.h to ptest package
This is needed by several tests during run on target

Fixes
grep: /usr/lib/coreutils/ptest/lib/config.h: No such file or directory
inotify-race.sh: skipped test: inotify is not supported

More tests are now passing

 ============================================================================
 Testsuite summary for GNU coreutils 9.4
 ============================================================================
 # TOTAL: 643
-# PASS:  509
-# SKIP:  131
+# PASS:  516
+# SKIP:  124

(From OE-Core rev: 66ea2aab453384d4d265969a209ee6b156dd421d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:37 +01:00
Khem Raj
4fe96220a8 coreutils: Upgrade to 9.4
Drop a backport which is already in 9.4

(From OE-Core rev: a51b0456001fbff3443e827aa9465648699ba0ef)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:37 +01:00
Kai Kang
6c4e33ceb1 goarch.bbclass: not compatible with riscv32
It fails to build recipes which inherit goarch.bbclass for qemuriscv32:

| ERROR: Nothing PROVIDES 'docker-moby'
| docker-moby was skipped: Unsupported CPU architecture: riscv32

So empty COMPATIBLE_HOST for riscv32.

(From OE-Core rev: e053e718b07855eacf0c24741ec8a56308f23657)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:37 +01:00
Joshua Watt
7065f3abee nfs-utils: Add StateDirectory for systemd services
Adds `StateDirectory=nfs` for the systemd service. This ensures that 1)
and .mount services required for /var/lib/nfs are started before these
services, and 2) that /var/lib/nfs exists before starting the services.

(From OE-Core rev: ba814211699d40590363b9b80f264218be9d7ad8)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-13 09:32:45 +01:00
Joshua Watt
249456da6c nfs-utils: Don't start nfs-statsd.service without exports
Adds a `ConditionPathExists` to nfs-statsd.service. This allows it to
match the other NFS services and not start if nothing is exported.

(From OE-Core rev: 5fae759ff99ccd6e3473cb8aa638fbb23f7583ff)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-13 09:32:45 +01:00
Joshua Watt
77e084ca8f classes/create-spdx-2.2: Add extra debugging for missing package files
In a effort to debug YOCTO #15185, improve the logging when a package
file cannot be found in the list of SPDX files.

(From OE-Core rev: 35d827d44d65380bfb7f6e1d0a0ee63516f822a8)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-13 09:32:45 +01:00
Richard Purdie
0669b9f6c7 oeqa/selftest/runtime_test: No need to use append with TEST_RUNQEMUPARAMS
A simple += operation is fine for working with TEST_RUNQEMUPARAMS so remove
the heavier append override usage.

(From OE-Core rev: e1a12c1212013823b44aff88317e5b30df03a35c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-13 09:32:45 +01:00
Ross Burton
8dfb19926e gcc: Fix -fstack-protector issue on aarch64
This series of patches fixes deficiencies in GCC's -fstack-protector
implementation for AArch64 when using dynamically allocated stack space.
This is CVE-2023-4039.  See:

https://developer.arm.com/Arm%20Security%20Center/GCC%20Stack%20Protector%20Vulnerability%20AArch64
https://github.com/metaredteam/external-disclosures/security/advisories/GHSA-x7ch-h5rf-w2mf

for more details.

(From OE-Core rev: 750396ca55e9f165a77dc94f841a953b9a6520d5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-13 09:31:43 +01:00
Adrian Freihofer
843c6c2e05 oeqa/selftest/devtool: Refactor runqemu pre-requisites
Split runqemu pre-requisites into a function which can be re-used by
other tests as well.

(From OE-Core rev: 020a51769439f173980315f15ad64bdace8c22b2)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-12 12:44:47 +01:00
Adrian Freihofer
b31f99a6cb lib/oe/package: Refactor to make strip_execs callable without d
This allows to call strip_execs function from devtool without going
via tinfoil and a bitbake server process.

(From OE-Core rev: 3bde26d64a0c8c3ef8ffbcb398f2a268759321af)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-12 12:44:47 +01:00
Adrian Freihofer
40fdebda20 lib/oe/utils: Refactor to make multiprocess_launch callable without d
This is a preparation for making the strip_execs function callable from
devtool without going via tinfoil and a bitbake server process.

(From OE-Core rev: af8ee73cdef90b83556a7ac5e139a08108706486)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-12 12:44:47 +01:00
Mikko Rapeli
48c80dcb15 selftest runtime_test.py: add testimage.bbclass slirp test
Builds core-image-minimal with testimage.bbclass and an ssh server
and then runs tests with slirp networking. Default test suite must
pass.

With full caches on x86_64 with x86_64 target the test passes in 416 seconds:

2023-08-21 09:01:12,295 - oe-selftest - INFO - Ran 1 test in 464.955s
2023-08-21 09:01:12,295 - oe-selftest - INFO - OK
2023-08-21 09:01:19,648 - oe-selftest - INFO - RESULTS:
2023-08-21 09:01:19,648 - oe-selftest - INFO - RESULTS - runtime_test.TestImage.test_testimage_slirp: PASSED (416.62s)
2023-08-21 09:01:19,711 - oe-selftest - INFO - SUMMARY:
2023-08-21 09:01:19,711 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 464.956s
2023-08-21 09:01:19,711 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0)

(From OE-Core rev: a93147278ee92b6aba281ab2b4b7b9d79dc1c89f)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-12 12:37:56 +01:00
Mikko Rapeli
f446f46415 oeqa selftest runtime_test.py: append to TEST_RUNQEMUPARAMS
Don't overwrite TEST_RUNQEMUPARAMS since user may have added "slirp"
or similar things to it in site.conf, auto.conf or local.conf. Use
:append to add to it. Fixes failing tests when only "slirp" networking
works with qemu and tun based one is broken on the host machine.

(From OE-Core rev: 5c1d94aa207e5c9a884bf3104eb9e8d1f8b6e432)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-12 12:37:56 +01:00
Mikko Rapeli
33d28b7265 oeqa dnf_runtime.py: fix HTTP server IP address and port
Use correct HTTPService parameters like apt.py when setting up the repo
server. These work with qemu tun and slirp networking. Fixes test
failure with slirp networking when executing testimage.bbclass
selftests "oe-selftest -r runtime_test.TestImage".

(From OE-Core rev: 764424df2f4b6bf0e89fb20b4253a7601468f70d)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-12 12:37:56 +01:00
Mikko Rapeli
8af6f66bb4 testimage.bbclass: detect slirp from TEST_RUNQEMUPARAMS
Also set target and server IP addresses correctly to 127.0.0.1
so that TEST_TARGET_IP and TEST_SERVER_IP don't
need to be set manually with slirp.

Users run qemu images with slirp networking like this:

$ bitbake core-image-minimal
$ ../poky/scripts/runqemu slirp

slirp networking means that only one TCP port is forwarded from host
system to the qemu machine so that ssh into the machine works. ping
and other low level networking from host to target machine do not work,
but networking from target via host does work. This is much more easy to
setup than the bridge networking used by default, which I've never
managed to get running on various host machines.

To use slirp networking wita qemu and core-image-minimal to run testimage.bbclass tests, add
these to local.conf:

IMAGE_CLASSES += "testimage"
IMAGE_FEATURES += "ssh-server-dropbear"
TEST_RUNQEMUPARAMS += "slirp"

Then image can be compiled and tested with:

$ bitbake core-image-minimal
$ bitbake -c testimage core-image-minimal

Note that only few of the current oeqa runtime tests work against
core-image-minimal, but test results look like:

RESULTS:
RESULTS - date.DateTest.test_date: PASSED (3.64s)
RESULTS - df.DfTest.test_df: PASSED (0.55s)
RESULTS - oe_syslog.SyslogTest.test_syslog_running: PASSED (0.56s)
RESULTS - oe_syslog.SyslogTestConfig.test_syslog_logger: PASSED (1.88s)
RESULTS - oe_syslog.SyslogTestConfig.test_syslog_restart: PASSED (0.93s)
RESULTS - pam.PamBasicTest.test_pam: PASSED (2.20s)
RESULTS - parselogs.ParseLogsTest.test_parselogs: PASSED (4.98s)
RESULTS - ping.PingTest.test_ping: PASSED (0.05s)
RESULTS - ssh.SSHTest.test_ssh: PASSED (1.28s)
RESULTS - systemd.SystemdBasicTests.test_systemd_basic: PASSED (0.56s)
RESULTS - systemd.SystemdBasicTests.test_systemd_failed: PASSED (1.10s)
RESULTS - systemd.SystemdBasicTests.test_systemd_list: PASSED (0.92s)
RESULTS - systemd.SystemdJournalTests.test_systemd_boot_time: PASSED (0.56s)
RESULTS - systemd.SystemdJournalTests.test_systemd_journal: PASSED (0.54s)
RESULTS - apt.AptRepoTest.test_apt_install_from_repo: SKIPPED (0.00s)
RESULTS - buildcpio.BuildCpioTest.test_cpio: SKIPPED (0.00s)
RESULTS - buildgalculator.GalculatorTest.test_galculator: SKIPPED (0.00s)
RESULTS - buildlzip.BuildLzipTest.test_lzip: SKIPPED (0.00s)
RESULTS - connman.ConnmanTest.test_connmand_help: SKIPPED (0.00s)
RESULTS - connman.ConnmanTest.test_connmand_running: SKIPPED (0.00s)
RESULTS - dnf.DnfBasicTest.test_dnf_help: SKIPPED (0.00s)
RESULTS - dnf.DnfBasicTest.test_dnf_history: SKIPPED (0.00s)
RESULTS - dnf.DnfBasicTest.test_dnf_info: SKIPPED (0.00s)
RESULTS - dnf.DnfBasicTest.test_dnf_search: SKIPPED (0.00s)
RESULTS - dnf.DnfBasicTest.test_dnf_version: SKIPPED (0.00s)
RESULTS - dnf.DnfRepoTest.test_dnf_exclude: SKIPPED (0.00s)
RESULTS - dnf.DnfRepoTest.test_dnf_install: SKIPPED (0.00s)
RESULTS - dnf.DnfRepoTest.test_dnf_install_dependency: SKIPPED (0.00s)
RESULTS - dnf.DnfRepoTest.test_dnf_install_from_disk: SKIPPED (0.00s)
RESULTS - dnf.DnfRepoTest.test_dnf_install_from_http: SKIPPED (0.00s)
RESULTS - dnf.DnfRepoTest.test_dnf_installroot: SKIPPED (0.00s)
RESULTS - dnf.DnfRepoTest.test_dnf_installroot_usrmerge: SKIPPED (0.00s)
RESULTS - dnf.DnfRepoTest.test_dnf_makecache: SKIPPED (0.00s)
RESULTS - dnf.DnfRepoTest.test_dnf_reinstall: SKIPPED (0.00s)
RESULTS - dnf.DnfRepoTest.test_dnf_repoinfo: SKIPPED (0.00s)
RESULTS - gcc.GccCompileTest.test_gcc_compile: SKIPPED (0.00s)
RESULTS - gcc.GccCompileTest.test_gpp2_compile: SKIPPED (0.00s)
RESULTS - gcc.GccCompileTest.test_gpp_compile: SKIPPED (0.00s)
RESULTS - gcc.GccCompileTest.test_make: SKIPPED (0.00s)
RESULTS - gi.GObjectIntrospectionTest.test_python: SKIPPED (0.00s)
RESULTS - go.GoHelloworldTest.test_gohelloworld: SKIPPED (0.00s)
RESULTS - kernelmodule.KernelModuleTest.test_kernel_module: SKIPPED (0.00s)
RESULTS - ldd.LddTest.test_ldd: SKIPPED (0.00s)
RESULTS - logrotate.LogrotateTest.test_logrotate_newlog: SKIPPED (0.00s)
RESULTS - logrotate.LogrotateTest.test_logrotate_wtmp: SKIPPED (0.00s)
RESULTS - oe_syslog.SyslogTestConfig.test_syslog_startup_config: SKIPPED (0.00s)
RESULTS - opkg.OpkgRepoTest.test_opkg_install_from_repo: SKIPPED (0.00s)
RESULTS - perl.PerlTest.test_perl_works: SKIPPED (0.00s)
RESULTS - ptest.PtestRunnerTest.test_ptestrunner_expectfail: SKIPPED (0.00s)
RESULTS - ptest.PtestRunnerTest.test_ptestrunner_expectsuccess: SKIPPED (0.00s)
RESULTS - python.PythonTest.test_python3: SKIPPED (0.00s)
RESULTS - rpm.RpmBasicTest.test_rpm_help: SKIPPED (0.00s)
RESULTS - rpm.RpmBasicTest.test_rpm_query: SKIPPED (0.00s)
RESULTS - rpm.RpmBasicTest.test_rpm_query_nonroot: SKIPPED (0.00s)
RESULTS - rpm.RpmInstallRemoveTest.test_check_rpm_install_removal_log_file_size: SKIPPED (0.00s)
RESULTS - rpm.RpmInstallRemoveTest.test_rpm_install: SKIPPED (0.00s)
RESULTS - rpm.RpmInstallRemoveTest.test_rpm_remove: SKIPPED (0.00s)
RESULTS - rust.RustCompileTest.test_cargo_compile: SKIPPED (0.00s)
RESULTS - rust.RustCompileTest.test_rust_compile: SKIPPED (0.00s)
RESULTS - scp.ScpTest.test_scp_file: SKIPPED (0.00s)
RESULTS - stap.StapTest.test_stap: SKIPPED (0.00s)
RESULTS - systemd.SystemdServiceTests.test_systemd_disable_enable: SKIPPED (0.00s)
RESULTS - systemd.SystemdServiceTests.test_systemd_disable_enable_ro: SKIPPED (0.00s)
RESULTS - systemd.SystemdServiceTests.test_systemd_status: SKIPPED (0.00s)
RESULTS - systemd.SystemdServiceTests.test_systemd_stop_start: SKIPPED (0.00s)
RESULTS - weston.WestonTest.test_wayland_info: SKIPPED (0.00s)
RESULTS - weston.WestonTest.test_weston_can_initialize_new_wayland_compositor: SKIPPED (0.00s)
RESULTS - weston.WestonTest.test_weston_running: SKIPPED (0.00s)
RESULTS - weston.WestonTest.test_weston_supports_xwayland: SKIPPED (0.00s)
RESULTS - xorg.XorgTest.test_xorg_running: SKIPPED (0.00s)
SUMMARY:
core-image-minimal () - Ran 70 tests in 22.173s
core-image-minimal - OK - All required tests passed (successes=14, skipped=56, failures=0, errors=0)
NOTE: recipe core-image-minimal-1.0-r0: task do_testimage: Succeeded
NOTE: Tasks Summary: Attempted 1305 tasks of which 1304 didn't need to be rerun and all succeeded.

(From OE-Core rev: f4e865062cec06586d8c38c05d86a5b0d727625c)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-12 12:23:09 +01:00
Richard Purdie
a0258be98a defaultsetup: Inherit create-spdx by default
This has been tested in poky by default for a while and ew've hopefully resolved
most of the gremlins. THis is the direction we're recommending for license/manifest
requirements so set it by default for OE.

(From OE-Core rev: b34032ec22921d4fd0982c17e63732cdbbc1885a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-12 07:46:52 +01:00
Ross Burton
c35c771a69 beaglebone-yocto: remove redundant XSERVER assignment
The default XSERVER value is good enough for this BSP, so we don't need
to set it explicitly.

(From meta-yocto rev: a0077d9132d1e86f97fa3d4a4607b008622aa17e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-12 07:46:10 +01:00
Richard Purdie
0a99a509a9 vim: Upgrade 9.0.1664 -> 9.0.1894
This includes multiple CVE fixes.

The license change is due to changes in maintainership, the license
itself is unchanged.

(From OE-Core rev: 91e66b93a0c0928f0c2cfe78e22898a6c9800f34)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-12 07:45:52 +01:00
Robert Yang
90bdd736c0 libxcrypt-compat: Remove libcrypt.so to fix conflict with libcrypt
Fixed:
IMAGE_INSTALL:append = " libxcrypt-compat"

$ bitbake <image> -cpopulate_sdk
file /usr/lib/libcrypt.so from install of libxcrypt-compat-dev-4.4.33-r0.0.aarch64 conflicts with file from package libcrypt-dev-4.4.33-r0.2.aarch64

Remove libcrypt.so like other files to fix the error.

(From OE-Core rev: dc0c7a8c3d1d4f02869b7f0d42f704fd24bf0dde)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-12 07:45:52 +01:00
Ross Burton
720ac497a6 machine/qemu*: add modesetting drivers to XSERVER
The modesetting driver works well in qemu, so install it by default. The
plain framebuffer has been buggy in recent 6.4 kernels, a sign that it's
not getting much testing. The Xorg modesetting driver that can use more
powerful virtualised hardware is much better.

We override the default XSERVER because we want to pull in the GLX
extension to exercise that.

(From OE-Core rev: 7b5fc42488a514bf51d49ee5274731c6432efd1b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-12 07:45:52 +01:00
Ross Burton
69ec5b9046 packagegroup-core-x11-xserver: add modesetting driver to default XSERVER
On modern systems, both real and virtual hardware, the modesetting
driver is preferred over the dumb framebuffer driver as it is more
functional and is essentially the default Xorg video driver.

(From OE-Core rev: bfa9f21a4e4b3ce3f6548008716f66d0c8b57974)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-12 07:45:52 +01:00
Alexander Kanavin
6772cb4a15 cargo-c-native: fix version check
(From OE-Core rev: 6176f8c95e444766fd3e8b89f0be686a03800268)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-12 07:45:52 +01:00
Mikko Rapeli
38106afd0b openssh: improve banner ptest failure logging
Log the input and output banner files. Output seems to
contain more lines than input which fails the test but
it's not clear what is in there from the ssh command
stderr. So print them out to dig deeper into the root
cause.

Upstream rejected previous logging patch so they will likely
do the same for this:
https://github.com/openssh/openssh-portable/pull/437

Reference: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15178

(From OE-Core rev: 3230378d651ecc53ff5cac1aaa24f35d5cea8665)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-12 07:45:52 +01:00
Mikko Rapeli
ac070117ae openssh: update Upstream-Status to Denied in test logging patch
Upstream rejected the change:
https://github.com/openssh/openssh-portable/pull/437

(From OE-Core rev: 46c5f3b7a57442b9979ad36b679900cf0b8f74d5)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-12 07:45:52 +01:00
Richard Purdie
cf78511f8c bitbake.conf: Add IMAGE_BASENAME to SDK_NAME
When SPDX manifests are enabled for OE-Core, it hightlights that the SDK_NAME
default isn't working well. Add IMAGE_BASENAME to it to help avoid conflicts
between outut files.

I suspect the defaults aren't working well and most distros are already
overriding this.

(From OE-Core rev: fba8fc22898f8455bd39f9a5f21ff056f2c0cd91)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-12 07:45:52 +01:00
Khem Raj
a1b3e8758e libc-test: Run as non-root user
Some of tests impose rlimit on it before running which wont be imposed
when running as root user.

Fixes
src/regression/pthread_atfork-errno-clobber.c:23: (pid = fork()) == -1 failed: fork succeeded despite rlimit
src/regression/pthread_atfork-errno-clobber.c:23: (pid = fork()) == -1 failed: fork succeeded despite rlimit
FAIL src/regression/pthread_atfork-errno-clobber-static.exe [status 1]

(From OE-Core rev: 585bf4b780a8ad60ba2b33cede4f0092ff61ddfc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-11 16:04:35 +01:00
Michael Opdenacker
14a6dc7c05 base: add newline before LICENSE_FLAGS_DETAILS
To improve readability and avoid putting one
inside LICENSE_FLAGS_DETAILS.

(From OE-Core rev: 5e027da9265e58df016fc3ebe45e4400f0e5c7a7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-11 16:04:35 +01:00
Khem Raj
ad48f96a88 perl: Add packageconfig for setlocale functionality differences
setlocale behavior with 'missing' locales is different when using musl
[1] which confuses perl locale tests and perl thinks it has locale on
system while there are none. Therefore pass correct property on musl
regarding setlocale behaviour

[1] https://musl.openwall.narkive.com/kO1vpTWJ/setlocale-behavior-with-missing-locales

(From OE-Core rev: e9e22c74d0544271f3e43c67fbf95f2e68400da0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-11 16:04:35 +01:00
Richard Purdie
61531cd395 build-appliance-image: Update to master head revision
(From OE-Core rev: 03d37854b1dacbecd2c522821c59ef01d9bd305c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-10 09:03:44 +01:00
Richard Purdie
71faadedb9 layer.conf: Update to nanbield release series
(From meta-yocto rev: 1274324fedd63a60ac974b35b1d2b53928a42840)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-10 09:01:29 +01:00
Richard Purdie
37a6a28768 bitbake: bitbake: Update to 2.6.0 release series/version
(Bitbake rev: 033896da8daaff69df3c2adb4ad5fee29121e831)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-10 09:01:29 +01:00
Richard Purdie
eb7b8476ee layer.conf: Update to nanbield release series
(From OE-Core rev: f212cb12a0db9c9de5afd3cc89b1331d386e55f6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-10 08:58:53 +01:00
Richard Purdie
9c443cce8d build-appliance-image: Update to master head revision
(From OE-Core rev: ad7cba40ec764f0a50ea5a25493c3e8abaf9050a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-10 08:55:50 +01:00
Adrian Freihofer
27414b27d4 cmake.bbclass: refactor cmake args
Make the details of the cmake configure arguments available to
d.getVar(). This allows to share them with devtool via tinfoil.

(From OE-Core rev: 325fc8523bb5f62cd3754277aa34032cc0884861)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-10 08:54:36 +01:00
Adrian Freihofer
d0a91931f2 cmake.bbclass: cleanup spaces and tabs
(From OE-Core rev: f1e96bf4ace090ff8ef9d311268ff068a0a3768e)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-10 08:54:36 +01:00
Luan Rafael Carneiro
f675fef1da weston: Add sysconfdir to FILES:${PN}
When enabling the vnc feature as backend, the weston-remote-access is
installed from meson inside the /etc/pam.d directory.

(From OE-Core rev: 92a460b55e7290ec0006365219189761f7226f7c)

Signed-off-by: Luan Rafael Carneiro <luan.rafael@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-10 08:54:36 +01:00
Luan Rafael Carneiro
fe08729fd4 weston: Upgrade version 12.0.1 -> 12.0.2
This is a bug fix release for 12.0 version. Full commit history bellow:

Derek Foreman (1):
      data-device: Don't make a weston_coord with no valid space

Leandro Ribeiro (3):
      drm: drop disable_planes being false as a condition to support writeback
      drm: do not pull writeback task if KMS atomic API is not supported
      tests: assert that capture info was received before trying screenshot

Liu, Kai1 (1):
      xwm: WM_TRANSIENT_FOR should not point to override-redirect window

Marius Vlad (3):
      backend-drm: Make DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP inert
      backend-drm/meson.build: Require at least mesa 21.1.1
      build: bump to version 12.0.2 for the point release

Michael Olbrich (1):
      backend-wayland: fix --fullscreen

Pekka Paalanen (1):
      man: make --wait-for-debugger findable

Philipp Zabel (2):
      backend-rdp: extract weston_output_set_single_mode()
      backend-vnc: use weston_output_set_single_mode()

(From OE-Core rev: f2276c282a977c745529750172673d5684c9ffc3)

Signed-off-by: Luan Rafael Carneiro <luan.rafael@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-10 08:54:36 +01:00
Otavio Salvador
19e13f6b1a weston-init: fix init code indentation
Tested-by: Tom Hochstein <tom.hochstein@nxp.com>
(From OE-Core rev: c08d474c97ce071ba376b66f30d6ee0a6159d596)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-10 08:54:36 +01:00
Otavio Salvador
43749a6498 weston-init: remove misleading comment about udev rule
The udev rule has been removed but the comment has kept, by
mistake. Remove it.

Fixes: dd83fb40f7 ("weston-init: Stop running weston as root")
Tested-by: Tom Hochstein <tom.hochstein@nxp.com>
(From OE-Core rev: 8aa3d43fa1c53cdce45ec88a49f27b076d3812ac)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-10 08:54:36 +01:00
Richard Purdie
6fd8af0d30 classes: Drop ';' delimiter from ROOTFS/IMAGE*COMMAND variables
Originally these were shell functions but they have long since been processed by
bb.build.exec_func(). Since we no longer need shell syntax, we can drop the ';'
delimiters and just use a space separated string.

This cleans up the variable and quietly removes any stray ';' that do happen to
still make it in.

(From OE-Core rev: c3365dfd9ddd7fbe70b62e0f11166e57a8ca6f73)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-09 22:14:41 +01:00
Khem Raj
32c98e6a8c apr: Fix ptests on musl
musl does not implement dlclose [1] the way apr tests it will always
fail, even though it is per posix. Backport a relevant fix

[1] https://wiki.musl-libc.org/functional-differences-from-glibc.html#Unloading-libraries

(From OE-Core rev: cc694b2dcaa8df255f39feff0b99b8b10090bc4f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-09 22:14:41 +01:00
Jose Quaresma
9e85a4cbca pybootchartgui: also match do_compile and do_configure subtasks
This will match other deviation subtask of the same main task,
a couple of them can be found on oe-core layer:

 do_compile_kernelmodules
 do_compile_ptest

 cmake_do_configure
 setuptools3_do_configure
 cargo_common_do_configure
 python_pyo3_do_configure
 python_setuptools3_rust_do_configure

This task will be also painted with the same color of the main task
but using alpha blending.

(From OE-Core rev: f10582b1c9a5639b48a4663453d201652facb179)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-09 22:14:41 +01:00
Khem Raj
a72438e9c4 libc-test: Depend on musl-staticdev
It builds statically linked tests during ptest run and therefore needs
libc.a

(From OE-Core rev: 88904b5186f4904b5c11870fc6fdf392c5b5fcee)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-09 22:14:41 +01:00
Yogita Urade
a09d8afd48 dropbear: fix CVE-2023-36328
Integer Overflow vulnerability in mp_grow in libtom libtommath before
commit beba892bc0d4e4ded4d667ab1d2a94f4d75109a9, allows attackers to
execute arbitrary code and cause a denial of service (DoS).

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-36328
https://github.com/libtom/libtommath/pull/546

(From OE-Core rev: aa392840d625f5c45832e7ddf60c4dfaba3c4287)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-09 22:14:41 +01:00
Zang Ruochen
bcc6c86fb7 gcc: Fresh 0003-64-bit-multilib-hack.patch to add loongarch64 support
(From OE-Core rev: 1a209ef31165049c450018c7722013aa4d983fd8)

Signed-off-by: Zang Ruochen <zangruochen@loongson.cn>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-09 12:04:55 +01:00
Alexander Kanavin
63e53fb8b6 build-sysroots: target or native sysroot population need to be selected explicitly
Running them in parallel is prone to races as postinsts from target sysroots
rely on executables from native sysroots which may or may not be fully prepared
yet. This was observed for example here:

https://autobuilder.yoctoproject.org/typhoon/#/builders/146/builds/468/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/147/builds/467/steps/12/logs/stdio

(From OE-Core rev: 38d7a2e45b883cf999a86af05bcc0eaa875bb47c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-09 12:04:55 +01:00
Alexander Kanavin
560a70a198 runqemu: check permissions of available render nodes as well as their presence
qemu itself is not helpful when render nodes exist, but can't be opened:

qemu-system-x86_64: egl: render node init failed

To fix this, users likely need to

 * modprobe vgem (presence when physical graphic card is absent or has a driver without
support for render nodes, such as many older cards found in server machines)

 * add their user to "render" group to write to /dev/dri/renderD* (permissions)

With this change runqemu should print hints for the above as appropriate from probing the nodes.

(From OE-Core rev: acd85925cb197b7a31a25b60e8de762e2c3697ef)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-09 12:04:55 +01:00
Markus Volk
dd7fdb4dee mesa: add intel raytracing support to opencl build
Recently mesa added a patch that allows to cross-compile Intel Vulkan
ray tracing support.

- Backport this patch
- Build and install intel_clc for mesa-native
- Add a dependency on mesa-native to provide intel_clc for target build
- Add a dependency on python3-ply-native as needed to build intel-clc
- Automatically build Intel Vulkan ray tracing support if the opencl
  packageconfig was added

(From OE-Core rev: 25fbe4d1dcfa329f0229eb3ed384b8b84583bd45)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-09 12:04:55 +01:00
Wang Mingyu
29362665c8 librepo: upgrade 1.15.2 -> 1.16.0
Changelog:
 Implement OpenPGP using librpm API

0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch
refreshed for 1.16.0

(From OE-Core rev: 05617d5636d3712c4374cf3590ff123f63e8e26a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-09 12:04:55 +01:00
Joshua Watt
05d0677c5a Add libacl to required packages
libacl is required for correctly calculating output hashes, so add it to
the require host packages

(From yocto-docs rev: 5a054fdb6fb074c5172245f704705a4a987d141c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-09 12:01:09 +01:00
Yoann Congal
1d954e7e25 dev-manual: remove unsupported :term: markup inside markup
":term:`Initramfs`" in bold text appears verbatim (no link is created).

The term link is present elsewhere in the text so remove the extra
markup.

(From yocto-docs rev: b9e19a00a3aac05a2cdd35b61dfae6d5a1a9c648)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-09 12:01:09 +01:00
Lee Chee Yang
fca6b2d60d migration-guides: add release notes for 4.0.12
(From yocto-docs rev: c8e7559778ab65785369bd39f46ccded52ac3c0a)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-09 12:01:09 +01:00
Lee Chee Yang
aeaabe5ce6 migration-guides: add release notes for 4.2.3
(From yocto-docs rev: 583976a8a0ef9b9666eae8c918879bd79bac1f35)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-09 12:01:09 +01:00
Archana Polampalli
fb80dc894d vim: upgrade 9.0.1592 -> 9.0.1664
Fixes:
https://nvd.nist.gov/vuln/detail/CVE-2023-3896
8154e642a (tag: v9.0.1664) patch 9.0.1664: divide by zero when scrolling with 'smoothscroll' set

(From OE-Core rev: 4a1ab744142c9229f03a359b45e5e89a1fbae0d3)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-08 22:59:47 +01:00
Ross Burton
eee809e385 avahi: handle invalid service types gracefully
Services which broadcast an invalid service type will cause the browse
to fail. Instead of failing, replace the service type and continue.

(From OE-Core rev: e581da6c4db21312833395e96b48e868a202f0f9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-08 22:59:47 +01:00
Ross Burton
dc935a3fe6 python3-build: upgrade to 1.0.3
- Avoid CPython 3.8.17, 3.9.17, 3.10.12, and 3.11.4 tarfile symlink bug
  triggered by adding data_filter

(From OE-Core rev: 3a3caeb95d712c5da7487c57884d6de0ff12d2a9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-08 22:59:47 +01:00
Eilís 'pidge' Ní Fhlannagáin
b5dbdfe904 nativesdk-intercept: Fix bad intercept chgrp/chown logic
Running either of these ends up corrupting the os.execv args.

If we run:
./scripts/nativesdk-intercept/chown -R foo:foo bar

The loop here ends up missing the conversion of foo:foo to root:root because
it sees sys.argv[0] and assumes that it's the user:group argument and that we
should convert that. We end up a os.execv(path, args) that have the following
args:

['root:root', '-R', 'foo:foo', 'bar']

As os.execv ignores args[0], we can just populate it with sys.argv[0] and then
loop through sys.argv[1:]. As both chgrp and chown would have either flags and
USER[:GROUP] next, this fixes the issue.

(From OE-Core rev: 2a75f647ec7696d353f4b09099d777ba53f34d36)

Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-08 22:59:47 +01:00
Richard Purdie
a8f3ebc4e0 Revert "oeqa selftest context.py: fix git commands and set branch name"
We have autobuilder workers which don't have the -b option unfortunately.

This reverts commit 5ec557467dda29309e25102b507bb919275bedbb.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 23:26:14 +01:00
Ross Burton
55e36198d2 linux: update CVE exclusions
(From OE-Core rev: 5f9a2d44ba5f3c24bdee0e31051a9187eb6d6476)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 16:38:51 +01:00
Yuta Hayama
bb3067825c linux-yocto: correct the wording in CVE_STATUS
We have changed generate-cve-exclusions.py, so regenerate cve-exclusion_6.x.inc.
The description has changed, but the other status is not changed.

(From OE-Core rev: 78a8b6342f2e64d83e889f9d40b285a938c2c6a3)

Signed-off-by: Yuta Hayama <hayama@lineo.co.jp>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:52:04 +01:00
Yuta Hayama
3b9c48837f linux/generate-cve-exclusions: fix mishandling of boundary values
affected_versions in kernel_cves.json does not mean "first affected version
to last affected version" but actually "first affected version to fixed
version". Therefore, the variable names, conditional expressions, and
CVE_STATUS descriptions should be fixed.

For example, when the script was run against v6.1, if affected_versions was
"xxx to 6.1", the output was "cpe-stable-backport: Backported in 6.1", but
this should be "fixed-version: Fixed from version 6.1".

(From OE-Core rev: 2064b2f9b92e2dff45dab633598b5ed37145d0b6)

Signed-off-by: Yuta Hayama <hayama@lineo.co.jp>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:52:04 +01:00
Zang Ruochen
7cf595a49b kernel-devsrc: Fixed missing loongarch64 kernel source code when test_kernelmodules
(From OE-Core rev: 754cf445b2670442cf94c9432b0a69141cc2a67d)

Signed-off-by: Zang Ruochen <zangruochen@loongson.cn>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:42:38 +01:00
Ross Burton
ee08b54e1f libgudev: explicitly disable tests and vapi
Explicitly disable the tests and vapi support instead of relying on
defaults and missing dependencies.

(From OE-Core rev: 575e2e29e00bb4492e7ee7f10b753e3f17982caa)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:42:38 +01:00
Tom Hochstein
2bf913e424 linux-firmware: add firmware files for NXP BT chipsets
These BT only firmware files are submitted for NXP chips.

88w8997-bt:
uartuart8997_bt_v4.bin version: 16.92.21.p81
helper_uart_3000000.bin version: 16.92.21.p81

88w8987-bt:
uartuart8987_bt.bin version: 16.92.21.p76.5

88w9098-bt:
uartuart9098_bt_v1.bin version: 17.92.1.p136.24

iw416-bt:
uartiw416_bt_v0.bin version: 16.92.21.p81

iw611-bt / iw612-bt:
uartspi_n61x_v1.bin.se version: 18.99.1.p154.40

These firmware files are downloaded over UART interface. The
helper_uart_3000000.bin needs to be downloaded before
uartuart8997_bt_v4.bin for 88w8997 chip to set download baudrate
to 3000000.

The above commit message is copied from the source commit message:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/nxp?id=1f82dd25c3ea59b6bed80ee685d860f0c5f19875

(From OE-Core rev: 4a6cf0b53346262872dd82a55d69a93a8d2e2cce)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:42:38 +01:00
Ross Burton
c8ba5f0771 busybox: remove coreutils dependency in busybox-ptest
A dependency on coreutils was added to busybox-ptest in oe-core 658c5ed
to fix a test failure.

The failure is because one of the start-stop-daemon tests is known to
fail if /bin/false is busybox. Instead of failing, we can check if
/bin/false is a symlink to busybox and skip the test if so.

[ YOCTO #15068 ]

(From OE-Core rev: 37482e404cf4dcf9360c29986ced8db78baf249b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:42:37 +01:00
Ross Burton
d2b17a0db7 cve-exclusion: review the last of the historical kernel CVEs
Review the last of the historical kernel CVEs.  Issues which are
specific to other platforms or distributions are ignored in the kernel
recipe itself, whereas general security concerns like "ICMP leaks
information" and "USB has flaws" are ignored with more details in the
extra-exclusions file as before.

(From OE-Core rev: fe1c0b9725f88d15ba48b02b5fef01f2cf2e9d78)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:42:37 +01:00
Mikko Rapeli
d95c3d3b18 oeqa selftest context.py: fix git commands and set branch name
Check return values of each git command and set initial branch name
to avoid this warning on every test run:

NOTE: Starting bitbake server...
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>

(From OE-Core rev: 5ec557467dda29309e25102b507bb919275bedbb)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Mikko Rapeli
4bbcafa914 oeqa selftest context.py: remove warning from missing meta-selftest
It's not a warning but a handled case and layer gets added
automatically. Very few build configs have this layer enabled
by default.

(From OE-Core rev: 9a2493ea83f0b30578a819de05108502aaadc7f5)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Mikko Rapeli
72d34fa0ab oeqa selftest context.py: whitespace fix
(From OE-Core rev: 8aed3ca405cb3cc5d346eb8da8b3307d93f75d5b)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Emil Kronborg Andersen
e2cf72a8c1 libxkbcommon: add CVE_PRODUCT
(From OE-Core rev: a23a4a3f156f5758dc4d9dcf1ab27c74302eb2a8)

Signed-off-by: Emil Kronborg Andersen <emkan@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Emil Kronborg Andersen
7838c01d22 dbus: add additional entries to CVE_PRODUCT
(From OE-Core rev: d50b395ceff3f30c30a10dba94fb340a547e434f)

Signed-off-by: Emil Kronborg Andersen <emkan@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Martin Jansa
9450cb187b webkitgtk: explicitly disable JIT for armv7* with softfp
(From OE-Core rev: 9179fdfb4c0802b3744a9730a1f906110b3e5538)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Ross Burton
f91d196148 wayland-utils: add libdrm PACKAGECONFIG
wayland-utils has optional libdrm support, so add a PACKAGECONFIG and
enable it.

(From OE-Core rev: c6c488c259d1f38a05a71e576ca2f32d412413f1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Ross Burton
a5f386f7de libsoup: update PACKAGECONFIG
Add explicit PACKAGECONFIGs for brotli,ntlm, and sysprof.

libsoup needs to be told where ntlm_auth will be on the target, so write
a cross file to do so.

Also explicitly disable more of the test suites as we don't build them
yet.

(From OE-Core rev: 945071cc31280d3bd164478b50e2970b6a42fd02)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Ross Burton
bd07b05d6e libsoup-2.4: update PACKAGECONFIG
Add explicit PACKAGECONFIGs for brotli,ntlm, and sysprof.

libsoup needs to be told where ntlm_auth will be on the target, so write
a cross file to do so.

(From OE-Core rev: 54b6ea078daeb58a3bb20bb4275d1140640a77d2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Ross Burton
a3d8123f9e pango: explictly enable/disable libthai
Pango has had an explicit option since 1.46.2

(From OE-Core rev: 42755f135d2d015e564d783996fbb3ef860f2bf7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Ross Burton
8d81de19c1 harfbuzz: update PACKAGECONFIG
Add a chafa PACKAGECONFIG so that we explicitly disable it, and update
the graphite PACKAGECONFIG to use the graphite2 option as the old name is
deprecated.

(From OE-Core rev: d157e6eae6f72b8e4e0dbbc0ac4c8b008a813a92)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Ross Burton
16cdb6cc3b glib-2.0: libelf has a configure option now, specify it
GLib has had an option to control libelf since 2.67.0, so use it.

(From OE-Core rev: d2f028c53a2390c28685b373841c9a600e91819a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Alexander Kanavin
ebb1b629d2 gnutls: update 3.8.0 -> 3.8.1
(From OE-Core rev: 5f08d833669e96df5236773ae5a70bfb22f90b6b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Alexander Kanavin
a469cdcd34 gnupg: upgrade 2.4.2 -> 2.4.3
(From OE-Core rev: 0c2365540ae61fe6fab61fb076ddb976ca26ce47)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Alexander Kanavin
8e3523daad libgudev: upgrade 237 -> 238
Add patches to eudev to ensure compatibility with this version.

(From OE-Core rev: 476ed3f57efb0f7a24651fecc7ddf6489e9ac78a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Alexander Kanavin
bb0d11cd06 gpgme: upgrade 1.20.0 -> 1.22.0
Drop patch and --disable-lang-python-test option (upstream fixed the issue).

(From OE-Core rev: b82836dd4bcfe017c66b26c44430f6aa7671e7ce)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Alexander Kanavin
4d63bd3be1 libpthread-stubs: update 0.4 -> 0.5
(From OE-Core rev: 7b67cb1914fd3da66ad626d0fb26891137b5c18f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Alexander Kanavin
5ec7af42ec libglu: update 9.0.2 -> 9.0.3
Drop backport.

Set gl_provider explicitly, as upstream changed the default to glvnd.

(From OE-Core rev: 3f8627d8367720ec3160b337f46b4d383ebf431d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Alexander Kanavin
6c6643eb4a groff: update 1.22.4 -> 1.23.0
Drop backports.

Rebase
0001-Make-manpages-mulitlib-identical.patch
groff-not-search-fonts-on-build-host.patch

--without-doc has been removed upstream; replace
that with a dependency on groff-native and
substitution of groff executable from that.

Drop serial make; this was introduced in 2010 without
explanation and likely been solved long time ago.

Set urw fonts directory to something bogus to avoid host contamination.

(From OE-Core rev: 8ce301b6f62c3be4bdaf4fd03009e79095163010)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Alexander Kanavin
5b18d7a0c0 perl: update 5.36.1 -> 5.38.0
Rebase perl-configpm-switch.patch.

Add a patch to perl-cross to unbreak perl's line numbers printing.

(From OE-Core rev: f90922cdeef5a6a4b711c5be2156c05bdb20d5b5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Alexander Kanavin
3b693d1674 perlcross: update 1.4.1 -> 1.5
(From OE-Core rev: fc3318790e6dc32f5aa468956a85475556673fe9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Alexander Kanavin
97df11e158 libcgroup: update 3.0.0 -> 3.1.0
(From OE-Core rev: 833e8d6fa0b4bdb82baa3dbf0ebd77daaa11efe7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Alexander Kanavin
dee8fc6a97 connman: update 1.41 -> 1.42
Drop backports. 0001-vpn-Adding-support-for-latest-pppd-2.5.0-release.patch
is partially dropped, as upstream hasn't included the newly added header
into the tarball (issue addressed after the release).

(From OE-Core rev: eeb686876dc560b5f0fab6f37a2def3d78bb55db)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Alexander Kanavin
84ba56a144 gettext: upgrade 0.21.1 -> 0.22
Drop autoconf-2.73.patch as upstream did update the gnulib.

(From OE-Core rev: 7c29196f8e378cb12b82da31ab2a05f5e8d1b831)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Alexander Kanavin
1584613ca8 openssl: build and install manpages only if they are enabled
This significantly speeds up the build by default.

(From OE-Core rev: 2b5ee583c62dbe381cd429da14ecbba5ea32d506)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Richard Purdie
6ac5b545f2 mdadm: Disable further tests due to intermittent failures
I took the mdadm ptest enabling as I was told the tests were fine now.
They're not. Disable more of them as having intermittent issues.

(From OE-Core rev: 2993a0bd6aca81d4382c3de5ac2fd9b5dac94868)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Trevor Gamblin
d40b464dbe python3-sphinx: upgrade 7.1.1 -> 7.2.5
Changelog: https://github.com/sphinx-doc/sphinx/blob/master/CHANGES

(From OE-Core rev: 499a44748dea92f1484d7a64b88eac8430764b88)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:51 +01:00
Trevor Gamblin
6482b8b6fc python3-pytest: upgrade 7.4.0 -> 7.4.1
Changelog: https://docs.pytest.org/en/7.4.x/changelog.html

(From OE-Core rev: ba9e10da8887a2f6d1bf1e873c3e6e73a83b6c91)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:51 +01:00
Trevor Gamblin
6fa83ee206 python3-hypothesis: upgrade 6.82.7 -> 6.84.0
Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html

(From OE-Core rev: e36fc29136c8af011ec503563d54664c03580c06)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:51 +01:00
Trevor Gamblin
7d340a6439 python3-git: upgrade 3.1.32 -> 3.1.34
Changelog: https://github.com/gitpython-developers/GitPython/blob/main/doc/source/changes.rst

3.1.34 fixes a resource leak by properly closing a lockfile after
opening.

(From OE-Core rev: 14b55da3fcea9507a5a7b8dfcf8aae8abe124e4a)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:51 +01:00
Trevor Gamblin
f82c77f368 python3-poetry: upgrade 1.6.1 -> 1.7.0
Changelog: https://github.com/python-poetry/poetry-core/blob/main/CHANGELOG.md

typing_extensions was removed in commit a06650d when support for Python
3.7 was dropped, so that specific md5sum isn't required anymore.

(From OE-Core rev: af77c711ce39bac1253121fc318fab1a4a07c82e)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:51 +01:00
Ross Burton
e5581dc85e python3-build: upgrade to 1.0.0
(From OE-Core rev: 8f22d09d1f3d206c459862d80b7add5700344d90)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:51 +01:00
Khem Raj
f606c04ee4 rust-target-config: Map rust target to OE target
(From OE-Core rev: caca883b524a767d970d934744b0f2b0ef743e20)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:51 +01:00
Zang Ruochen
77ab29b04b qemuloongarch.inc:Change to use virtio-serial-pci
If virtio-serial-device is used, the following error occurs on loongarch64:
qemu-system-loongarch64: -device virtio-serial-device: No "virtio-bus" bus found for device "virtio-serial-device"

(From OE-Core rev: 08734ec0c2083e90207559ecc659809b86b8779d)

Signed-off-by: Zang Ruochen <zangruochen@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:51 +01:00
Zang Ruochen
8e4b6fdce5 goarch.bbclass: Add loongarch64 to go_map_arch
(From OE-Core rev: 97010a9c1b2bfc7ea01441f37c0682bc5cd4349b)

Signed-off-by: Zang Ruochen <zangruochen@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:51 +01:00
Zang Ruochen
4ed66fe83a gcc-sanitizers: Add loongarch as a compatible architecture.
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=600413c4f3d70392285192fb99634bcbeb97f83f

(From OE-Core rev: 50649aa576b161751fd9b11ed98fe4a26b0781f8)

Signed-off-by: Zang Ruochen <zangruochen@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:51 +01:00
Zang Ruochen
41973d2663 tcf-agent: Disable non-building features on loongarch64
(From OE-Core rev: 59401a737d21c82336dcec38dbed7d939602d1ee)

Signed-off-by: Zang Ruochen <zangruochen@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:51 +01:00
Yang Xu
392c1ffd69 meson: don't fail if no .pyc exists
If PYTHONDONTWRITEBYTECODE set to 1, do_install:append will fail because
no .pyc is removed.

Add -f flag to prevent command fail.

(From OE-Core rev: 2073b6f14f39c71199c07a1ba181b67984421a10)

Signed-off-by: Yang Xu <yang.xu@mediatek.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:51 +01:00
Mikko Rapeli
eab2b3f6b6 openssh: capture ptest regression test failure logs
When tests fail, capture the sshd and ssh client logs from
the failing test run. These are needed to investigate
the root cause.

Reference: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15178

(From OE-Core rev: 7c6a0ee7961dc976dddbfd1615f90c2306970626)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:51 +01:00
Ross Burton
de3f6ad173 qemu-system-native: enable PNG support
It might be useful to grab screenshots from qemu-system-native (for
example, for QA purposes).

(From OE-Core rev: ff8a2edb396dfe2e9be37ddda38eaa76e63874a2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:51 +01:00
Ross Burton
056a8bbe1e scripts/oe-find-native-sysroot: use bitbake-getvar
Instead of bitbake and grep, just use bitbake-getvar.

(From OE-Core rev: b5011a2fc248d88b5491cf6af1fc15e5974f6e45)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:51 +01:00
Ross Burton
0fce19ee9e glib-2.0: explicitly enable strlcpy()
We have glibc 2.38 which added strlcpy(), so enable the use of it
explicitly in the Meson cross file for when the target doesn't support
qemu-usermode (which will result in the default of not using it).

(From OE-Core rev: b29028a12cfa6747ba83e63e03e4ec9c8064c667)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:51 +01:00
Bruce Ashfield
40f407b7c6 linux-yocto/6.1: update to v6.1.51
Updating  to the latest korg -stable release that comprises
the following commits:

    c2cbfe5f5122 Linux 6.1.51
    ae0188f9c2a8 thunderbolt: Fix a backport error for display flickering issue
    583a8426abb3 kallsyms: Fix kallsyms_selftest failure
    5d54040e9d57 io_uring/parisc: Adjust pgoff in io_uring mmap() for parisc
    fff21bc26bbd parisc: sys_parisc: parisc_personality() is called from asm code
    e8ac4be71701 parisc: Cleanup mmap implementation regarding color alignment
    b3d099df68de lockdep: fix static memory detection even more
    1cb79e7e0572 ARM: module: Use module_init_layout_section() to spot init sections
    8d99105d6a10 arm64: module: Use module_init_layout_section() to spot init sections
    42efdb3531ab arm64: module-plts: inline linux/moduleloader.h
    207e228bf1f3 module: Expose module_init_layout_section()
    b0dc0aac2085 ACPI: thermal: Drop nocrt parameter

(From OE-Core rev: ade4bf6b95aca4c168c3d33c2bcfc429f41d49b8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:51 +01:00
Bruce Ashfield
c874957d46 linux-yocto/6.4: update to v6.4.14
Updating  to the latest korg -stable release that comprises
the following commits:

    babc8be398c3 Linux 6.4.14
    9a3ac3bf4dbf thunderbolt: Fix a backport error for display flickering issue
    bb899e081c6c kallsyms: Fix kallsyms_selftest failure
    ebc51587d0c5 parisc: sys_parisc: parisc_personality() is called from asm code
    895af97c9792 lockdep: fix static memory detection even more
    98e4c99b0576 ARM: module: Use module_init_layout_section() to spot init sections
    41ecb281f7c2 arm64: module: Use module_init_layout_section() to spot init sections
    49b7dbeddff3 arm64: module-plts: inline linux/moduleloader.h
    05dae005f50a module: Expose module_init_layout_section()
    d65d7487c1c2 module/decompress: use vmalloc() for zstd decompression workspace
    bf50fc751c46 ACPI: thermal: Drop nocrt parameter

(From OE-Core rev: 2fb2c8e9e40b0c4bcec8604e07338affaa1df866)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:51 +01:00
Bruce Ashfield
ce874bc9ef linux-yocto/6.4: update to v6.4.13
Updating  to the latest korg -stable release that comprises
the following commits:

    388f6d150784 Linux 6.4.13
    734cf5795f4b netfilter: nf_tables: fix kdoc warnings after gc rework
    ae2d1461ebcc TIOCSTI: Document CAP_SYS_ADMIN behaviour in Kconfig
    259ff81cee3c ASoC: amd: vangogh: select CONFIG_SND_AMD_ACP_CONFIG
    d641fa9fc8fc maple_tree: disable mas_wr_append() when other readers are possible
    163d62238efc ASoC: amd: yc: Fix a non-functional mic on Lenovo 82SJ
    45bb78bc2f57 gpio: sim: pass the GPIO device's software node to irq domain
    14540aa3eaba gpio: sim: dispose of irq mappings before destroying the irq_sim domain
    c6e1fcd50cbc dma-buf/sw_sync: Avoid recursive lock during fence signal
    8c776cd8f1db pinctrl: renesas: rza2: Add lock around pinctrl_generic{{add,remove}_group,{add,remove}_function}
    3efa0b7fc28d pinctrl: renesas: rzv2m: Fix NULL pointer dereference in rzv2m_dt_subnode_to_map()
    a1f12138b17d pinctrl: renesas: rzg2l: Fix NULL pointer dereference in rzg2l_dt_subnode_to_map()
    66bb9745f96e ASoC: cs35l56: Read firmware uuid from a device property instead of _SUB
    5e9db7d4d3bc ASoC: SOF: ipc4-pcm: fix possible null pointer deference
    dd07e9de2d82 clk: Fix undefined reference to `clk_rate_exclusive_{get,put}'
    686c9e8221f8 scsi: core: raid_class: Remove raid_component_add()
    2684b97b01eb scsi: ufs: ufs-qcom: Clear qunipro_g4_sel for HW major version > 5
    43dc0a70ed1e scsi: snic: Fix double free in snic_tgt_create()
    54fce635ee7f madvise:madvise_free_pte_range(): don't use mapcount() against large folio for sharing check
    63f230177510 madvise:madvise_cold_or_pageout_pte_range(): don't use mapcount() against large folio for sharing check
    26a2b7cec0dd drm/i915: Fix error handling if driver creation fails during probe
    0a47ffcac3c5 can: raw: add missing refcount for memory leak fix
    06614ca4f18e thunderbolt: Fix Thunderbolt 3 display flickering issue on 2nd hot plug onwards
    efe4d998330a PCI: acpiphp: Use pci_assign_unassigned_bridge_resources() only for non-root bus
    f80b4b818e5e media: vcodec: Fix potential array out-of-bounds in encoder queue_setup
    423e75565761 pinctrl: amd: Mask wake bits on probe again
    ce2e8904a817 of: dynamic: Refactor action prints to not use "%pOF" inside devtree_lock
    d92815c542d7 of: unittest: Fix EXPECT for parse_phandle_with_args_map() test
    fa700d9cda9a radix tree: remove unused variable
    8f6813c62d2f riscv: Fix build errors using binutils2.37 toolchains
    1b7ac88ef2e4 riscv: Handle zicsr/zifencei issue between gcc and binutils
    5039e4afc050 lib/clz_ctz.c: Fix __clzdi2() and __ctzdi2() for 32-bit kernels
    d64a94bc6ef7 ACPI: resource: Fix IRQ override quirk for PCSpecialist Elimina Pro 16 M
    4cb9ace298f3 batman-adv: Hold rtnl lock during MTU update via netlink
    55d18e4b2bfe batman-adv: Fix batadv_v_ogm_aggr_send memory leak
    e265dca9ba59 batman-adv: Fix TT global entry leak when client roamed back
    5effaa05704a batman-adv: Do not get eth header before batadv_check_management_packet
    1f82cd26c650 batman-adv: Don't increase MTU when set by user
    2c783344218d batman-adv: Trigger events for auto adjusted MTU
    21cd99431aae selinux: set next pointer before attaching to list
    14fa028a2e63 nfsd: Fix race to FREE_STATEID and cl_revoked
    a3a91119964d NFS: Fix a use after free in nfs_direct_join_group()
    c8df36eedb65 nilfs2: fix general protection fault in nilfs_lookup_dirty_data_buffers()
    bca3e63be00e mm: multi-gen LRU: don't spin during memcg release
    56d11051190d mm: memory-failure: fix unexpected return value in soft_offline_page()
    22178c6e6c2d mm: add a call to flush_cache_vmap() in vmap_pfn()
    0677bed47996 cgroup/cpuset: Free DL BW in case can_attach() fails
    d1cfa53e5e4e sched/deadline: Create DL BW alloc, free & check overflow interface
    c95a751498c9 cgroup/cpuset: Iterate only if DEADLINE tasks are present
    74fac5bb0d37 sched/cpuset: Keep track of SCHED_DEADLINE task in cpusets
    00f3719c85bf sched/cpuset: Bring back cpuset_mutex
    4d17b2ea4ee6 cgroup/cpuset: Rename functions dealing with DEADLINE accounting
    aefabccb1334 drm/i915: fix display probe for IVB Q and IVB D GT2 server
    6621912f4221 drm/i915/display: Handle GMD_ID identification in display code
    517771333fd4 x86/fpu: Set X86_FEATURE_OSXSAVE feature after enabling OSXSAVE in CR4
    4b04c422ea8d x86/fpu: Invalidate FPU state correctly on exec()
    0c2a9b7ba1b8 LoongArch: Fix hw_breakpoint_control() for watchpoints
    8771f80bafa3 drm/i915: Fix HPD polling, reenabling the output poll work as needed
    40b67b55337a drm/display/dp: Fix the DP DSC Receiver cap size
    503d787d303e drm/i915/dgfx: Enable d3cold at s2idle
    dd8683e0af50 drm/panfrost: Skip speed binning on EOPNOTSUPP
    933f1fc826a5 drm: Add an HPD poll helper to reschedule the poll work
    6969e4500d86 drm/vmwgfx: Fix possible invalid drm gem put calls
    5574b0cbb493 drm/vmwgfx: Fix shader stage validation
    980cde3ac4bb mm/gup: handle cont-PTE hugetlb pages correctly in gup_must_unshare() via GUP-fast
    2106dae0f19d mm/gup: reintroduce FOLL_NUMA as FOLL_HONOR_NUMA_FAULT
    a55dd240a9f1 mm: enable page walking API to lock vmas during the walk
    2dcc0e4b3c1c selftests/mm: FOLL_LONGTERM need to be updated to 0x100
    c02c4e76ccb9 ALSA: ymfpci: Fix the missing snd_card_free() call at probe error
    6218f967d579 shmem: fix smaps BUG sleeping while atomic
    535cdce0713e mm,ima,kexec,of: use memblock_free_late from ima_free_kexec_buffer
    c856ff4acd94 clk: Fix slab-out-of-bounds error in devm_clk_release()
    ed2e9e10a130 NFSv4: Fix dropped lock for racing OPEN and delegation return
    ed29b5fbf07f platform/x86: ideapad-laptop: Add support for new hotkeys found on ThinkBook 14s Yoga ITL
    3bdeb65ca9c8 platform/x86: lenovo-ymc: Add Lenovo Yoga 7 14ACN6 to ec_trigger_quirk_dmi_table
    28eee9b4e819 wifi: mac80211: limit reorder_buf_filtered to avoid UBSAN warning
    a3009e19f09b ibmveth: Use dcbf rather than dcbfl
    06a128cbe40e spi: spi-cadence: Fix data corruption issues in slave mode
    28b605e939b3 ASoC: cs35l41: Correct amp_gain_tlv values
    8c7fd1baeed0 ASoC: amd: yc: Add VivoBook Pro 15 to quirks list for acp6x
    1cc2d9685043 bonding: fix macvlan over alb bond support
    abdf60d759f7 rtnetlink: Reject negative ifindexes in RTM_NEWLINK
    beceaf2e5e33 netfilter: nf_tables: defer gc run if previous batch is still pending
    16cc42cc00fb netfilter: nf_tables: fix out of memory error handling
    e05b2a9f03b3 netfilter: nf_tables: use correct lock to protect gc_list
    e07e68823116 netfilter: nf_tables: GC transaction race with abort path
    4167aa477abc netfilter: nf_tables: flush pending destroy work before netlink notifier
    e290509f8be5 netfilter: nf_tables: validate all pending tables
    711ffb6fa5a0 i40e: fix potential NULL pointer dereferencing of pf->vf i40e_sync_vsi_filters()
    7ac409385e1c net/sched: fix a qdisc modification with ambiguous command request
    0717a95ba5ca igc: Fix the typo in the PTM Control macro
    8fe9d54f7ad4 igb: Avoid starting unnecessary workqueues
    ecebc0841362 can: isotp: fix support for transmission of SF without flow control
    65009906dff2 net: ethernet: mtk_eth_soc: fix NULL pointer on hw reset
    d56f8304bcc4 tg3: Use slab_build_skb() when needed
    be7d58c9a203 selftests: bonding: do not set port down before adding to bond
    b995365bbdd8 ice: Fix NULL pointer deref during VF reset
    929892877620 Revert "ice: Fix ice VF reset during iavf initialization"
    8aa038c25042 ice: fix receive buffer size miscalculation
    abee4c8eb778 ipv4: fix data-races around inet->inet_id
    3844e0c55977 net: validate veth and vxcan peer ifindexes
    691799211bf1 net: bcmgenet: Fix return value check for fixed_phy_register()
    d3a74a85fbb4 net: bgmac: Fix return value check for fixed_phy_register()
    a7cecd332c9e net: mdio: mdio-bitbang: Fix C45 read/write protocol
    7e7b2b50dcd9 net: dsa: mt7530: fix handling of 802.1X PAE frames
    b457f312e78e selftests: mlxsw: Fix test failure on Spectrum-4
    747e71ff06bf mlxsw: Fix the size of 'VIRT_ROUTER_MSB'
    5a76c5256501 mlxsw: reg: Fix SSPR register layout
    40ffbae5312a mlxsw: pci: Set time stamp fields also when its type is MIRROR_UTC
    3f5a3e027410 ipvlan: Fix a reference count leak warning in ipvlan_ns_exit()
    056e0ce1f1c0 dccp: annotate data-races in dccp_poll()
    2a7d2f2b8c2c sock: annotate data-races around prot->memory_pressure
    b8bcc45afcd3 net: dsa: felix: fix oversize frame dropping for always closed tc-taprio gates
    e3b4e5276ccd devlink: add missing unregister linecard notification
    0f0dd7b19ec6 octeontx2-af: SDP: fix receive link config
    2242640e9bd9 tracing: Fix memleak due to race between current_tracer and trace
    49834a2c43d5 tracing/synthetic: Allocate one additional element for size
    009e77a91690 tracing/synthetic: Skip first entry for stack traces
    5c2d886ea8cd tracing/synthetic: Use union instead of casts
    299e0033f1bd tracing: Fix cpu buffers unavailable due to 'record_disabled' missed
    f3acc61309e0 wifi: iwlwifi: mvm: add dependency for PTP clock
    7f35e5611730 can: raw: fix lockdep issue in raw_release()
    c8ddbaec835a can: raw: fix receiver memory leak
    019b59aeb2af jbd2: fix a race when checking checkpoint buffer busy
    557fda9ed70e jbd2: remove journal_clean_one_cp_list()
    2968fec1d56f jbd2: remove t_checkpoint_io_list
    1d9995c2ac80 PCI: acpiphp: Reassign resources on bridge if necessary
    a7342df30797 xprtrdma: Remap Receive buffers after a reconnect
    ef65498c8087 NFSv4: fix out path in __nfs4_get_acl_uncached
    9e2388d814ac NFSv4.2: fix error handling in nfs42_proc_getxattr

(From OE-Core rev: 7ae3cca2dcb48b524ca504c0d135d7fba365610e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:51 +01:00
Bruce Ashfield
eff7a186e4 linux-yocto/6.1: update to v6.1.50
Updating  to the latest korg -stable release that comprises
the following commits:

    a2943d2d9a00 Linux 6.1.50
    19641b979b24 ASoC: amd: vangogh: select CONFIG_SND_AMD_ACP_CONFIG
    9d5a3b4aee11 maple_tree: disable mas_wr_append() when other readers are possible
    936cf79649e0 ASoC: amd: yc: Fix a non-functional mic on Lenovo 82SJ
    d10ab996bd5c gpio: sim: pass the GPIO device's software node to irq domain
    3c839f8332df gpio: sim: dispose of irq mappings before destroying the irq_sim domain
    3282e79a85c1 dma-buf/sw_sync: Avoid recursive lock during fence signal
    6ed06b94f683 pinctrl: renesas: rza2: Add lock around pinctrl_generic{{add,remove}_group,{add,remove}_function}
    3fb1b959af17 pinctrl: renesas: rzv2m: Fix NULL pointer dereference in rzv2m_dt_subnode_to_map()
    4a75bf3f6f4f pinctrl: renesas: rzg2l: Fix NULL pointer dereference in rzg2l_dt_subnode_to_map()
    0ba9a242a6b3 clk: Fix undefined reference to `clk_rate_exclusive_{get,put}'
    70461151d0eb scsi: core: raid_class: Remove raid_component_add()
    774cb3de7ac9 scsi: snic: Fix double free in snic_tgt_create()
    bd20e20c4d64 madvise:madvise_free_pte_range(): don't use mapcount() against large folio for sharing check
    f67e3a725b49 can: raw: add missing refcount for memory leak fix
    b7803afc77be ublk: remove check IO_URING_F_SQE128 in ublk_ch_uring_cmd
    f016326d31d0 thunderbolt: Fix Thunderbolt 3 display flickering issue on 2nd hot plug onwards
    d3ff67076bed cgroup/cpuset: Free DL BW in case can_attach() fails
    f0135131bb0e sched/deadline: Create DL BW alloc, free & check overflow interface
    064b960dbe94 cgroup/cpuset: Iterate only if DEADLINE tasks are present
    d1b4262b78cc sched/cpuset: Keep track of SCHED_DEADLINE task in cpusets
    9bcfe1527882 sched/cpuset: Bring back cpuset_mutex
    7030fbf75f26 cgroup/cpuset: Rename functions dealing with DEADLINE accounting
    ce59b7c1b027 nfsd: use vfs setgid helper
    362ed5d93114 nfs: use vfs setgid helper
    a0ec52f36ce9 selftests/net: mv bpf/nat6to4.c to net folder
    f1fa6e6f85cb hwmon: (aquacomputer_d5next) Add selective 200ms delay after sending ctrl report
    d8f9a9cfdcd3 x86/fpu: Set X86_FEATURE_OSXSAVE feature after enabling OSXSAVE in CR4
    6bcb9c7d0435 x86/fpu: Invalidate FPU state correctly on exec()
    3bc9b0364a8c drm/display/dp: Fix the DP DSC Receiver cap size
    3abffee6091c drm/i915/dgfx: Enable d3cold at s2idle
    115f2ccd3a99 drm/vmwgfx: Fix shader stage validation
    1900e193b5dd PCI: acpiphp: Use pci_assign_unassigned_bridge_resources() only for non-root bus
    fe04122b9321 media: vcodec: Fix potential array out-of-bounds in encoder queue_setup
    4919043ab93b pinctrl: amd: Mask wake bits on probe again
    c6b7d8902025 of: dynamic: Refactor action prints to not use "%pOF" inside devtree_lock
    2d00ca90b81e of: unittest: Fix EXPECT for parse_phandle_with_args_map() test
    e75de82b3786 radix tree: remove unused variable
    aa096bc3c8c0 riscv: Fix build errors using binutils2.37 toolchains
    33835975740e riscv: Handle zicsr/zifencei issue between gcc and binutils
    30ffd5890a03 lib/clz_ctz.c: Fix __clzdi2() and __ctzdi2() for 32-bit kernels
    82bb5f8aba00 batman-adv: Hold rtnl lock during MTU update via netlink
    cb1f73e691bb batman-adv: Fix batadv_v_ogm_aggr_send memory leak
    f1bead97f0ad batman-adv: Fix TT global entry leak when client roamed back
    fc9b87d8b741 batman-adv: Do not get eth header before batadv_check_management_packet
    ed1eb19806ae batman-adv: Don't increase MTU when set by user
    efef746c5a38 batman-adv: Trigger events for auto adjusted MTU
    d6b64d710e9b selinux: set next pointer before attaching to list
    36c5aecc789d nfsd: Fix race to FREE_STATEID and cl_revoked
    96fb46ef8281 NFS: Fix a use after free in nfs_direct_join_group()
    bdc544a87d43 mm: memory-failure: fix unexpected return value in soft_offline_page()
    07fad410aa6e mm: add a call to flush_cache_vmap() in vmap_pfn()
    a8a60bc8027e mm/gup: handle cont-PTE hugetlb pages correctly in gup_must_unshare() via GUP-fast
    d4e11b85a269 ALSA: ymfpci: Fix the missing snd_card_free() call at probe error
    d13f3a63d236 shmem: fix smaps BUG sleeping while atomic
    091591f6e7c3 mm,ima,kexec,of: use memblock_free_late from ima_free_kexec_buffer
    a7d172252bfa clk: Fix slab-out-of-bounds error in devm_clk_release()
    14904f4d8bf8 NFSv4: Fix dropped lock for racing OPEN and delegation return
    ac467d7405fe platform/x86: ideapad-laptop: Add support for new hotkeys found on ThinkBook 14s Yoga ITL
    e6a60eccd0c8 wifi: mac80211: limit reorder_buf_filtered to avoid UBSAN warning
    b8b7243aafec ibmveth: Use dcbf rather than dcbfl
    85607ef399d9 ASoC: cs35l41: Correct amp_gain_tlv values
    014fec554010 ASoC: amd: yc: Add VivoBook Pro 15 to quirks list for acp6x
    22a406b3629a io_uring/msg_ring: fix missing lock on overflow for IOPOLL
    816c7cecf6a0 io_uring/msg_ring: move double lock/unlock helpers higher up
    4f5937528518 io_uring: extract a io_msg_install_complete helper
    0d617fb6d513 io_uring: get rid of double locking
    82d811ff5665 KVM: x86/mmu: Fix an sign-extension bug with mmu_seq that hangs vCPUs
    2800385fda53 KVM: x86: Preserve TDP MMU roots until they are explicitly invalidated
    a0559fd0e14e bonding: fix macvlan over alb bond support
    b15dea3de413 rtnetlink: Reject negative ifindexes in RTM_NEWLINK
    ed3fe5f9020c netfilter: nf_tables: fix out of memory error handling
    41841b585e53 netfilter: nf_tables: flush pending destroy work before netlink notifier
    136861956ad6 i40e: fix potential NULL pointer dereferencing of pf->vf i40e_sync_vsi_filters()
    581668893e31 net/sched: fix a qdisc modification with ambiguous command request
    f94f30e2abfa igc: Fix the typo in the PTM Control macro
    9b7fd6beec37 igb: Avoid starting unnecessary workqueues
    39d43b9cdfe8 can: isotp: fix support for transmission of SF without flow control
    f41781b9d8a4 selftests: bonding: do not set port down before adding to bond
    850e2322ae59 ice: Fix NULL pointer deref during VF reset
    7cddaed2a3f6 Revert "ice: Fix ice VF reset during iavf initialization"
    1188e9dd7af9 ice: fix receive buffer size miscalculation
    417e7ec0d61e ipv4: fix data-races around inet->inet_id
    4af1fe642f37 net: validate veth and vxcan peer ifindexes
    afc9d3d21793 net: bcmgenet: Fix return value check for fixed_phy_register()
    029e491b8c11 net: bgmac: Fix return value check for fixed_phy_register()
    ac259251487a net: dsa: mt7530: fix handling of 802.1X PAE frames
    c663607202f5 selftests: mlxsw: Fix test failure on Spectrum-4
    1288f9907514 mlxsw: Fix the size of 'VIRT_ROUTER_MSB'
    7134565a8207 mlxsw: reg: Fix SSPR register layout
    22f9b5468df5 mlxsw: pci: Set time stamp fields also when its type is MIRROR_UTC
    4496f6ccf599 ipvlan: Fix a reference count leak warning in ipvlan_ns_exit()
    265ed382e0f4 dccp: annotate data-races in dccp_poll()
    b516a24f4c07 sock: annotate data-races around prot->memory_pressure
    cfee17993d10 net: dsa: felix: fix oversize frame dropping for always closed tc-taprio gates
    b701b8d191da devlink: add missing unregister linecard notification
    1375d2061204 devlink: move code to a dedicated directory
    eaeef5c865ab octeontx2-af: SDP: fix receive link config
    2cb0c037c927 tracing: Fix memleak due to race between current_tracer and trace
    7d0c2b0de2db tracing: Fix cpu buffers unavailable due to 'record_disabled' missed
    7e862cce3491 drm/i915/gt: Support aux invalidation on all engines
    8e3f138b96f6 drm/i915/gt: Poll aux invalidation register bit on invalidation
    017d4404312a drm/i915/gt: Ensure memory quiesced before invalidation
    c23126f2c76a drm/i915: Add the gen12_needs_ccs_aux_inv helper
    d4f5dcf68c05 s390/zcrypt: fix reply buffer calculations for CCA replies
    246d763b79a5 s390/zcrypt: remove unnecessary (void *) conversions
    40dafcab9da9 can: raw: fix lockdep issue in raw_release()
    335987e21237 can: raw: fix receiver memory leak
    e5c768d809a8 jbd2: fix a race when checking checkpoint buffer busy
    5fda50e262e6 jbd2: remove journal_clean_one_cp_list()
    8168c96c24ec jbd2: remove t_checkpoint_io_list
    1fa68a781098 MIPS: cpu-features: Use boot_cpu_type for CPU type based features
    92c568c82ee7 MIPS: cpu-features: Enable octeon_cache by cpu_type
    3e4d038da33e PCI: acpiphp: Reassign resources on bridge if necessary
    28916927b762 video/aperture: Move vga handling to pci function
    4aad3b82b9de video/aperture: Only kick vgacon when the pdev is decoding vga
    437e99f2a1e9 drm/aperture: Remove primary argument
    cccfcbb9e51a drm/gma500: Use drm_aperture_remove_conflicting_pci_framebuffers
    6db53af15444 fbdev/radeon: use pci aperture helpers
    cd1f889c99ee drm/ast: Use drm_aperture_remove_conflicting_pci_framebuffers
    26ea8668b8aa xprtrdma: Remap Receive buffers after a reconnect
    d9aac9cdd6e2 NFSv4: fix out path in __nfs4_get_acl_uncached
    4a289d123f62 NFSv4.2: fix error handling in nfs42_proc_getxattr
    024f76bca9d0 Linux 6.1.49
    db05f8449bb3 Revert "f2fs: fix to do sanity check on direct node in truncate_dnode()"
    c5bd20577ff3 Revert "f2fs: fix to set flush_merge opt and show noflush_merge"
    76e18e6709c8 Revert "f2fs: don't reset unchangable mount option in f2fs_remount()"
    77c576602dc7 objtool/x86: Fix SRSO mess
    cd363bb9548e Linux 6.1.48
    7487244912b1 x86/srso: Correct the mitigation status when SMT is disabled
    4da4aae04b7f objtool/x86: Fixup frame-pointer vs rethunk
    c8b056a3b4eb x86/retpoline,kprobes: Fix position of thunk sections with CONFIG_LTO_CLANG
    dae93ed961a8 x86/srso: Disable the mitigation on unaffected configurations
    e4679a0342e0 x86/CPU/AMD: Fix the DIV(0) initial fix attempt
    b41eb316c95c x86/retpoline: Don't clobber RFLAGS during srso_safe_ret()
    c1f831425fe9 x86/static_call: Fix __static_call_fixup()
    c16d0b3baff4 x86/srso: Explain the untraining sequences a bit more
    529a9f087a7e x86/cpu: Cleanup the untrain mess
    e6b40d2cb5aa x86/cpu: Rename srso_(.*)_alias to srso_alias_\1
    54dde78a50a8 x86/cpu: Rename original retbleed methods
    44dbc912fd8a x86/cpu: Clean up SRSO return thunk mess
    53ebbe1c8c02 x86/alternative: Make custom return thunk unconditional
    8bb1ed390d35 x86/cpu: Fix up srso_safe_ret() and __x86_return_thunk()
    6e4dd7d2636d x86/cpu: Fix __x86_return_thunk symbol type
    802aacbbffe2 Linux 6.1.47
    0768ecc49ea7 mmc: f-sdh30: fix order of function calls in sdhci_f_sdh30_remove
    b2c55af89b51 net: fix the RTO timer retransmitting skb every 1ms if linear option is enabled
    3f27451c9f29 drm/nouveau/disp: fix use-after-free in error handling of nouveau_connector_create
    790c2f9d15b5 af_unix: Fix null-ptr-deref in unix_stream_sendpage().
    ab63f883bfdc drm/amdgpu: keep irq count in amdgpu_irq_disable_all
    8abce61273c2 drm/amd/pm: skip the RLC stop when S0i3 suspend for SMU v13.0.4/11
    21614ba60883 arm64/ptrace: Ensure that SME is set up for target when writing SSVE state
    1be35f5c1670 netfilter: set default timeout to 3 secs for sctp shutdown send and recv state
    1b4ce2952b4f hugetlb: do not clear hugetlb dtor until allocating vmemmap
    4bdfe20d85b3 drm/amd/display: Implement workaround for writing to OTG_PIXEL_RATE_DIV register
    8517d739923e sched/fair: Remove capacity inversion detection
    e8acf9971fbe sched/fair: unlink misfit task from cpu overutilized
    5274bf1f743f zsmalloc: allow only one active pool compaction context
    d4008eadfce5 drm/amd/display: disable RCO for DCN314
    b2f599c014f3 ASoC: amd: vangogh: select CONFIG_SND_AMD_ACP_CONFIG
    7de99bf5bcd6 drm/amdgpu/pm: fix throttle_status for other than MP1 11.0.7
    9c8c2cf9f9bc drm/amdgpu: skip fence GFX interrupts disable/enable for S0ix
    e1cbd5637f37 drm/amd: flush any delayed gfxoff on suspend entry
    df1566ce41ee drm/i915/sdvo: fix panel_type initialization
    a1fa8f0fc58e drm/qxl: fix UAF on handle creation
    5818da46a2b5 mmc: block: Fix in_flight[issue_type] value error
    dccd07b0d9e4 mmc: wbsd: fix double mmc_free_host() in wbsd_init()
    8ad3bfdd227e blk-crypto: dynamically allocate fallback profile
    65bcb07b1262 arm64: dts: rockchip: Fix Wifi/Bluetooth on ROCK Pi 4 boards
    fc66f8157917 virtio-net: Zero max_tx_vq field for VIRTIO_NET_CTRL_MQ_HASH_CONFIG case
    9e725386d426 cifs: Release folio lock on fscache read hit.
    bfd25f5e6400 ALSA: usb-audio: Add support for Mythware XA001AU capture and playback interfaces.
    0c05493341d6 serial: 8250: Fix oops for port->pm on uart_change_pm()
    af7ca7ad3753 riscv: uaccess: Return the number of bytes effectively not copied
    ea65d78ef999 ALSA: hda/realtek - Remodified 3k pull low procedure
    b662856b7134 soc: aspeed: socinfo: Add kfree for kstrdup
    15db1e594e2c soc: aspeed: uart-routing: Use __sysfs_match_string
    6c889d2123ba ALSA: hda/realtek: Add quirks for HP G11 Laptops
    7b041466ed42 ASoC: meson: axg-tdm-formatter: fix channel slot allocation
    f0451002a4d9 ASoC: rt5665: add missed regulator_bulk_disable
    2b34636b50bf arm64: dts: imx93: Fix anatop node size
    9ba52bd26774 ARM: dts: imx: Set default tuning step for imx6sx usdhc
    6777c4379bd8 arm64: dts: imx8mm: Drop CSI1 PHY reference clock configuration
    ca69bb145383 ARM: dts: imx6: phytec: fix RTC interrupt level
    d2d6d51d753a ARM: dts: imx: align LED node names with dtschema
    66d761a2290a arm64: dts: rockchip: Disable HS400 for eMMC on ROCK 4C+
    52d3607db0de arm64: dts: rockchip: Disable HS400 for eMMC on ROCK Pi 4
    9657a754c5de arm64: dts: qcom: qrb5165-rb5: fix thermal zone conflict
    fae3868be844 bus: ti-sysc: Flush posted write on enable before reset
    1c82d1b736ce ice: Block switchdev mode when ADQ is active and vice versa
    fbc7b1dad825 qede: fix firmware halt over suspend and resume
    2e03a92b2411 net: do not allow gso_size to be set to GSO_BY_FRAGS
    06b8f06f9302 sock: Fix misuse of sk_under_memory_pressure()
    3d820924c00c sfc: don't unregister flow_indr if it was never registered
    df83af3b996d net: dsa: mv88e6xxx: Wait for EEPROM done before HW reset
    740924313a1b i40e: fix misleading debug logs
    ea749b5e3b38 iavf: fix FDIR rule fields masks validation
    c965a5837614 net: openvswitch: reject negative ifindex
    d5e4c0e78f1d team: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
    85bd0af93994 net: phy: broadcom: stub c45 read/write for 54810
    7148bca63b21 netfilter: nft_dynset: disallow object maps
    7f8a160d40ef ipvs: fix racy memcpy in proc_do_sync_threshold
    00ea7eb1c69e netfilter: nf_tables: deactivate catchall elements in next generation
    a800fcd8f18d netfilter: nf_tables: fix false-positive lockdep splat
    75c724e2b714 octeon_ep: cancel tx_timeout_task later in remove sequence
    58a54bad3a76 net: macb: In ZynqMP resume always configure PS GTR for non-wakeup source
    06af678c6080 drm/panel: simple: Fix AUO G121EAN01 panel timings according to the docs
    2f07f1302ecb selftests: mirror_gre_changes: Tighten up the TTL test match
    cd4460b21741 net: phy: fix IRQ-based wake-on-lan over hibernate / power off
    a41e5a79a059 net: pcs: Add missing put_device call in miic_create
    120a89c36d3d virtio-net: set queues after driver_ok
    45085ba966fb virtio_net: notify MAC address change on device initialization
    a442cd170193 xfrm: add forgotten nla_policy for XFRMA_MTIMER_THRESH
    87b655f4936b xfrm: add NULL check in xfrm_update_ae_params
    2b05bf5dc437 ip_vti: fix potential slab-use-after-free in decode_session6
    55ad2309205c ip6_vti: fix slab-use-after-free in decode_session6
    0d27567fde5b xfrm: fix slab-use-after-free in decode_session6
    71dfe71df100 net: xfrm: Amend XFRMA_SEC_CTX nla_policy structure
    479884b4ce16 net: af_key: fix sadb_x_filter validation
    9a0056276f5f net: xfrm: Fix xfrm_address_filter OOB read
    5a47c2fa0d39 i2c: designware: Handle invalid SMBus block data response length value
    52114963307e i2c: designware: Correct length byte validation logic
    ceb9ba8e3083 btrfs: fix BUG_ON condition in btrfs_cancel_balance
    9f68e2105dd9 btrfs: fix incorrect splitting in btrfs_drop_extent_map_range
    0693c8f134f9 tty: serial: fsl_lpuart: Clear the error flags by writing 1 for lpuart32 platforms
    31311a9a4baa tty: n_gsm: fix the UAF caused by race condition in gsm_cleanup_mux
    d6aa03bda8c0 vdpa: Enable strict validation for netlinks ops
    ff71709445ac vdpa: Add max vqp attr to vdpa_nl_policy for nlattr length check
    8ad9bc25cbdc vdpa: Add queue index attr to vdpa_nl_policy for nlattr length check
    44b508cc9688 vdpa: Add features attr to vdpa_nl_policy for nlattr length check
    b8fee83aa4ed powerpc/rtas_flash: allow user copy to flash block cache objects
    9fedcd07abdc fbdev: mmp: fix value check in mmphw_probe()
    3461e6492ca2 i2c: tegra: Fix i2c-tegra DMA config option processing
    ba249011f665 i2c: hisi: Only handle the interrupt of the driver's transfer
    db0416c15572 i2c: bcm-iproc: Fix bcm_iproc_i2c_isr deadlock issue
    5ee28bcfbaac cifs: fix potential oops in cifs_oplock_break
    cba26abc3f94 vdpa/mlx5: Delete control vq iotlb in destroy_mr only when necessary
    bb4983ec9e75 vdpa/mlx5: Fix mr->initialized semantics
    e706675beeec vduse: Use proper spinlock for IRQ injection
    af5818c35173 virtio-mmio: don't break lifecycle of vm_dev
    6297644db23f btrfs: fix use-after-free of new block group that became unused
    29cebf80877b btrfs: convert btrfs_block_group::seq_zone to runtime flag
    94cde94169f0 btrfs: convert btrfs_block_group::needs_free_space to runtime flag
    01eca70ef8cf btrfs: move out now unused BG from the reclaim list
    485ec8f8e1d8 video/aperture: Only remove sysfb on the default vga pci device
    f83ab817effb fbdev/hyperv-fb: Do not set struct fb_info.apertures
    e41170d128e6 ARM: dts: nxp/imx6sll: fix wrong property name in usbphy node
    3d2d051be161 KVM: arm64: vgic-v4: Make the doorbell request robust w.r.t preemption
    402f1d86ea26 drm/amd/display: fix access hdcp_workqueue assert
    81e6cf447a2e drm/amd/display: phase3 mst hdcp for multiple displays
    d90f97cb3821 drm/amd/display: save restore hdcp state when display is unplugged from mst hub
    48f0671be281 igc: read before write to SRRCTL register
    128c06a34cfe ring-buffer: Do not swap cpu_buffer during resize process
    356fe907dfcd Bluetooth: MGMT: Use correct address for memcpy()
    a1ceb871284f powerpc/kasan: Disable KCOV in KASAN code
    6d06cf0f0238 ALSA: hda/realtek: Add quirk for ASUS ROG GZ301V
    2b248cf8b6db ALSA: hda/realtek: Add quirk for ASUS ROG GA402X
    c48616e52d5d ALSA: hda/realtek: Add quirk for ASUS ROG GX650P
    cdd412b528de ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync()
    63e0b5d76d75 ALSA: hda/realtek: Add quirks for Unis H3C Desktop B760 & Q760
    9e79f3e8f129 fs/ntfs3: Mark ntfs dirty when on-disk struct is corrupted
    1e2205568bb8 fs: ntfs3: Fix possible null-pointer dereferences in mi_read()
    4246bbef0442 fs/ntfs3: Enhance sanity check while generating attr_list
    dd0b3b367c38 drm/amdgpu: Fix potential fence use-after-free v2
    3a89f3bfbf53 ceph: try to dump the msgs when decoding fails
    d92613aa43da Bluetooth: btusb: Add MT7922 bluetooth ID for the Asus Ally
    149daab45922 Bluetooth: L2CAP: Fix use-after-free
    de8677ccf883 watchdog: sp5100_tco: support Hygon FCH/SCH (Server Controller Hub)
    9040adc38cf6 firewire: net: fix use after free in fwnet_finish_incoming_packet()
    ef87750caea5 thunderbolt: Limit Intel Barlow Ridge USB3 bandwidth
    acb9038e1d60 thunderbolt: Add Intel Barlow Ridge PCI ID
    e8a80cf06b4b pcmcia: rsrc_nonstatic: Fix memory leak in nonstatic_release_resource_db()
    a4f71523ed21 gfs2: Fix possible data races in gfs2_show_options()
    8277a215c872 usb: chipidea: imx: add missing USB PHY DPDM wakeup setting
    31f8efefa2a9 usb: chipidea: imx: don't request QoS for imx8ulp
    809625f4419c thunderbolt: Read retimer NVM authentication status prior tb_retimer_set_inbound_sbtx()
    b7bd48f0be84 media: platform: mediatek: vpu: fix NULL ptr dereference
    28d900836d47 usb: gadget: uvc: queue empty isoc requests if no video buffer is available
    49038877f948 usb: gadget: u_serial: Avoid spinlock recursion in __gs_console_push
    54a55c345c3b media: camss: set VFE bpl_alignment to 16 for sdm845 and sm8250
    c71aa5f1cf96 media: v4l2-mem2mem: add lock to protect parameter num_rdy
    6c9317f73b80 led: qcom-lpg: Fix resource leaks in for_each_available_child_of_node() loops
    bda3f463543f serial: stm32: Ignore return value of uart_remove_one_port() in .remove()
    7e4f5c3f01fb cifs: fix session state check in reconnect to avoid use-after-free issue
    945f4a7aff84 smb: client: fix warning in cifs_smb3_do_mount()
    a783230585e5 ALSA: hda/realtek: Add quirks for ROG ALLY CS35l41 audio
    de840f77f564 HID: intel-ish-hid: ipc: Add Arrow Lake PCI device ID
    055971715ff6 ASoC: SOF: core: Free the firmware trace before calling snd_sof_shutdown()
    359ec0952cbb drm/amd/display: Enable dcn314 DPP RCO
    5447155001e6 drm/amd/display: Skip DPP DTO update if root clock is gated
    5fe7815e784b RDMA/mlx5: Return the firmware result upon destroying QP/RQ
    fbd9332d32ec drm/amd/display: Apply 60us prefetch for DCFCLK <= 300Mhz
    78b25110eb8c drm/amdgpu: install stub fence into potential unused fence pointers
    96522cf9c71e iommu/amd: Introduce Disable IRTE Caching Support
    83c22663acb6 HID: logitech-hidpp: Add USB and Bluetooth IDs for the Logitech G915 TKL Keyboard
    d7933b92c4ca accel/habanalabs: add pci health check during heartbeat
    b7a34e30d42f dma-remap: use kvmalloc_array/kvfree for larger dma memory remap
    3dd5c90c48bf ASoC: SOF: Intel: fix SoundWire/HDaudio mutual exclusion
    ff1b4b1e02c3 iopoll: Call cpu_relax() in busy loops
    b3e662ece02e ASoC: Intel: sof_sdw: Add support for Rex soundwire
    c01ec45a7c4c ASoC: Intel: sof_sdw_rt_sdca_jack_common: test SOF_JACK_JDSRC in _exit
    31149bb94f77 ARM: dts: imx6dl: prtrvt, prtvt7, prti6q, prtwd2: fix USB related warnings
    a7d4d28d2c0b ASoC: amd: vangogh: Add check for acp config flags in vangogh platform
    633ac567bd9e drm: rcar-du: remove R-Car H3 ES1.* workarounds
    340dba127bbe drm/stm: ltdc: fix late dereference check
    f934cad91318 ASoC: SOF: amd: Add pci revision id check
    ea88c6c7819e PCI: tegra194: Fix possible array out of bounds access
    5c23d9bd5f5d ASoC: Intel: sof_sdw: add quirk for LNL RVP
    3f498ae94c54 ASoC: Intel: sof_sdw: add quirk for MTL RVP
    ce3288d8d654 drm/amdgpu: fix memory leak in mes self test
    9f55d300541c drm/amdgpu: Fix integer overflow in amdgpu_cs_pass1
    ab6f446c220d drm/amdgpu: fix calltrace warning in amddrm_buddy_fini
    caa2d40a0da2 net: phy: at803x: fix the wol setting functions
    7dcc894e1518 net: phy: at803x: Use devm_regulator_get_enable_optional()
    0d52759710fa net/smc: Fix setsockopt and sysctl to specify same buffer size again
    206381cee964 net/smc: replace mutex rmbs_lock and sndbufs_lock with rw_semaphore
    0fc3c55a3a4b selftests: forwarding: tc_actions: Use ncat instead of nc
    306a5dddfb12 selftests: forwarding: tc_actions: cleanup temporary files when test is aborted
    f872672edd5e zsmalloc: fix races between modifications of fullness and isolated
    802b34e99224 zsmalloc: consolidate zs_pool's migrate_lock and size_class's locks
    8a214f88e8ff cpuidle: psci: Move enabling OSI mode after power domains creation
    ad1fa1a028ee cpuidle: psci: Extend information in log about OSI/PC mode
    78721c8f9379 mmc: sdhci-f-sdh30: Replace with sdhci_pltfm

(From OE-Core rev: 4167fba25e39f0e6722ddb45d51bdf7a65e1a232)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:51 +01:00
Bruce Ashfield
89f253223a linux-yocto/6.4: update to v6.4.12
Updating  to the latest korg -stable release that comprises
the following commits:

    05d8970cca01 Linux 6.4.12
    b237550e1f1b net: fix the RTO timer retransmitting skb every 1ms if linear option is enabled
    4a3fcfc3b517 af_unix: Fix null-ptr-deref in unix_stream_sendpage().
    cdd01bada273 ASoC: SOF: intel: hda: Clean up link DMA for IPC3 during stop
    c1fc26cc6637 Revert "perf report: Append inlines to non-DWARF callchains"
    5b6284759656 drm/amdgpu: keep irq count in amdgpu_irq_disable_all
    6ccbdc0a018e drm/amd/pm: skip the RLC stop when S0i3 suspend for SMU v13.0.4/11
    04ee31fb4861 drm/amd/display: disable RCO for DCN314
    0469cd57d5da ASoC: amd: vangogh: select CONFIG_SND_AMD_ACP_CONFIG
    0fbdf79d003c drm/amdgpu/pm: fix throttle_status for other than MP1 11.0.7
    11c187026cce drm/amdgpu: skip fence GFX interrupts disable/enable for S0ix
    333f1edde0ad drm/amd: flush any delayed gfxoff on suspend entry
    fcb4a0bd819b drm/i915/sdvo: fix panel_type initialization
    19a213d106a1 Revert "Revert "drm/amdgpu/display: change pipe policy for DCN 2.0""
    d3ffc25912d6 Revert "drm/edid: Fix csync detailed mode parsing"
    a79aebe5bb68 drm/qxl: fix UAF on handle creation
    5c10ce0d815f mmc: sunplus: Fix error handling in spmmc_drv_probe()
    741a951f4192 mmc: sunplus: fix return value check of mmc_add_host()
    43a181a53c1a mmc: block: Fix in_flight[issue_type] value error
    62507bca734f mmc: wbsd: fix double mmc_free_host() in wbsd_init()
    cc3fa629bf13 mmc: f-sdh30: fix order of function calls in sdhci_f_sdh30_remove
    c65a1be58f09 dt-bindings: pinctrl: qcom,sa8775p-tlmm: add gpio function constant
    ceecb1bcaf7a media: uvcvideo: Fix menu count handling for userspace XU mappings
    531c6ed342d9 blk-crypto: dynamically allocate fallback profile
    8a33c9e15b7d arm64/ptrace: Ensure that the task sees ZT writes on first use
    e01af8e26c23 arm64/ptrace: Ensure that SME is set up for target when writing SSVE state
    44463c32622f arm64: dts: rockchip: Fix Wifi/Bluetooth on ROCK Pi 4 boards
    901ace2effdf virtio-net: Zero max_tx_vq field for VIRTIO_NET_CTRL_MQ_HASH_CONFIG case
    aa402a3b553b regulator: da9063: better fix null deref with partial DT
    abcd2a0b4f58 smb: client: fix null auth
    b8e7ee1d9c6b parisc: Fix CONFIG_TLB_PTLOCK to work with lightweight spinlock checks
    7a9fb689c1a1 cifs: Release folio lock on fscache read hit.
    8bd9786a1b57 ALSA: usb-audio: Add support for Mythware XA001AU capture and playback interfaces.
    375806616f8c serial: 8250: Fix oops for port->pm on uart_change_pm()
    258b867f40f0 riscv: uaccess: Return the number of bytes effectively not copied
    3f0605239fa2 riscv: correct riscv_insn_is_c_jr() and riscv_insn_is_c_jalr()
    761cf8f7a922 riscv: entry: set a0 = -ENOSYS only when syscall != -1
    4039f5e9e9d9 ALSA: hda/realtek - Remodified 3k pull low procedure
    d9a5ad4477d2 soc: aspeed: socinfo: Add kfree for kstrdup
    776133d21391 soc: aspeed: uart-routing: Use __sysfs_match_string
    7c315e716ba3 pinctrl: qcom: Add intr_target_width field to support increased number of interrupt targets
    44f3d2d2ae44 ALSA: hda/realtek: Add quirks for HP G11 Laptops
    cf2983df94de ASoC: meson: axg-tdm-formatter: fix channel slot allocation
    5de8e85b6734 ASoC: rt5665: add missed regulator_bulk_disable
    f163dc22e339 arm64: dts: imx93: Fix anatop node size
    5fb0d35fac3f ASoC: max98363: don't return on success reading revision ID
    66f202b1dcb6 ARM: dts: imx: Set default tuning step for imx6sx usdhc
    fe4d623f2e1b arm64: dts: imx8mm: Drop CSI1 PHY reference clock configuration
    a1aab731f0c8 ARM: dts: imx: Set default tuning step for imx7d usdhc
    969d3e64ebe7 ARM: dts: imx: Adjust dma-apbh node name
    506f787bd717 ARM: dts: imx6: phytec: fix RTC interrupt level
    0e67e84a2847 arm64: dts: rockchip: Disable HS400 for eMMC on ROCK 4C+
    749e4dbb3c96 arm64: dts: rockchip: Disable HS400 for eMMC on ROCK Pi 4
    59de878d1185 arm64: dts: qcom: qrb5165-rb5: fix thermal zone conflict
    28b634c9b328 bus: ti-sysc: Flush posted write on enable before reset
    24f0d69da35d ice: Block switchdev mode when ADQ is active and vice versa
    7d25579fb978 qede: fix firmware halt over suspend and resume
    e3636862f559 net: do not allow gso_size to be set to GSO_BY_FRAGS
    07ec025d7125 sock: Fix misuse of sk_under_memory_pressure()
    7575a3f1443c sfc: don't fail probe if MAE/TC setup fails
    80b707ac5d03 sfc: don't unregister flow_indr if it was never registered
    612b57e85162 sfc: add fallback action-set-lists for TC offload
    ff4ad046da4e net: dsa: mv88e6xxx: Wait for EEPROM done before HW reset
    872feeecd08c drm/nouveau/disp: fix use-after-free in error handling of nouveau_connector_create
    9a5d622b54dc net/mlx5e: XDP, Fix fifo overrun on XDP_REDIRECT
    8896f8498538 i40e: fix misleading debug logs
    62b46d6010f3 iavf: fix FDIR rule fields masks validation
    881faff9e548 net: openvswitch: reject negative ifindex
    1ac37294f952 team: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
    6095d0c396a9 net: phy: broadcom: stub c45 read/write for 54810
    8e249f8ffe16 netfilter: nft_dynset: disallow object maps
    c26cc57f41c6 netfilter: nf_tables: GC transaction race with netns dismantle
    3bdf400a1ad1 netfilter: nf_tables: fix GC transaction races with netns and netlink event exit path
    6650bebaa564 ipvs: fix racy memcpy in proc_do_sync_threshold
    c050b4c998f1 netfilter: set default timeout to 3 secs for sctp shutdown send and recv state
    156369a702c3 netfilter: nf_tables: don't fail inserts if duplicate has expired
    83ff16e449a6 netfilter: nf_tables: deactivate catchall elements in next generation
    a8f303445a5e netfilter: nf_tables: fix false-positive lockdep splat
    d410a96e5cb8 accel/qaic: Clean up integer overflow checking in map_user_pages()
    df45c3e46cdb accel/qaic: Fix slicing memory leak
    a0d348c61d08 net: veth: Page pool creation error handling for existing pools only
    62312e2f6466 octeon_ep: cancel queued works in probe error path
    067a5ec70ee1 octeon_ep: cancel ctrl_mbox_task after intr_poll_task
    1c5cc171ab10 octeon_ep: cancel tx_timeout_task later in remove sequence
    7757c240bf0e octeon_ep: fix timeout value for waiting on mbox response
    e6cf72c0330c net: macb: In ZynqMP resume always configure PS GTR for non-wakeup source
    8890f5b665a0 drm/i915/guc/slpc: Restore efficient freq earlier
    37e8031e134d drm/panel: simple: Fix AUO G121EAN01 panel timings according to the docs
    e75311fa503d selftests: mirror_gre_changes: Tighten up the TTL test match
    59f3d9198db7 net: phy: fix IRQ-based wake-on-lan over hibernate / power off
    2361c766093b net: pcs: Add missing put_device call in miic_create
    3c8608fb8d87 virtio-net: set queues after driver_ok
    c8ce01aad133 xfrm: don't skip free of empty state in acquire policy
    757eaa5d7625 xfrm: delete offloaded policy
    a9020514f175 xfrm: add forgotten nla_policy for XFRMA_MTIMER_THRESH
    53df4be4f522 xfrm: add NULL check in xfrm_update_ae_params
    78e397a43e1c ip_vti: fix potential slab-use-after-free in decode_session6
    c070688bfbe7 ip6_vti: fix slab-use-after-free in decode_session6
    86f15300a226 xfrm: fix slab-use-after-free in decode_session6
    21a3a70cf3ea xfrm: Silence warnings triggerable by bad packets
    6d1e6152778c net: xfrm: Amend XFRMA_SEC_CTX nla_policy structure
    66e1cd1b06c0 net: af_key: fix sadb_x_filter validation
    5713c7ca31f5 net: xfrm: Fix xfrm_address_filter OOB read
    e854497f5acf x86/srso: Correct the mitigation status when SMT is disabled
    dc4d07ddc4ff x86/retpoline,kprobes: Skip optprobe check for indirect jumps with retpolines and IBT
    aadb82bb7c65 x86/retpoline,kprobes: Fix position of thunk sections with CONFIG_LTO_CLANG
    51fc0a886211 x86/srso: Disable the mitigation on unaffected configurations
    1251b96d79fc x86/CPU/AMD: Fix the DIV(0) initial fix attempt
    48a558fbe848 x86/retpoline: Don't clobber RFLAGS during srso_safe_ret()
    92588f22a2a6 x86/static_call: Fix __static_call_fixup()
    37e6d8509c19 objtool/x86: Fixup frame-pointer vs rethunk
    c70e2efa972b x86/srso: Explain the untraining sequences a bit more
    04103096c1c3 x86/cpu/kvm: Provide UNTRAIN_RET_VM
    9588fd887886 x86/cpu: Cleanup the untrain mess
    ee621dddfe0f x86/cpu: Rename srso_(.*)_alias to srso_alias_\1
    5c510151d769 x86/cpu: Rename original retbleed methods
    4f0d18c28fcb x86/cpu: Clean up SRSO return thunk mess
    06bcb3dadce7 x86/alternative: Make custom return thunk unconditional
    2d4d8761e314 objtool/x86: Fix SRSO mess
    1e7b3334d180 x86/cpu: Fix up srso_safe_ret() and __x86_return_thunk()
    7047af224197 x86/cpu: Fix __x86_return_thunk symbol type
    385f438b5807 i2c: designware: Handle invalid SMBus block data response length value
    b2ef640ff40d i2c: designware: Correct length byte validation logic
    c4b460b5fa92 btrfs: only subtract from len_to_oe_boundary when it is tracking an extent
    8add2a9644e4 btrfs: fix replace/scrub failure with metadata_uuid
    ae81329f7de3 btrfs: fix BUG_ON condition in btrfs_cancel_balance
    b43a4c99d878 btrfs: fix incorrect splitting in btrfs_drop_extent_map_range
    5441532ffc9c btrfs: fix infinite directory reads
    c5be9bc0dff6 tty: serial: fsl_lpuart: Clear the error flags by writing 1 for lpuart32 platforms
    f40e70d7f40b tty: n_gsm: fix the UAF caused by race condition in gsm_cleanup_mux
    1c37d5101e40 smb3: display network namespace in debug information
    98085d20c49c vdpa: Enable strict validation for netlinks ops
    ea65e8b5e6b1 vdpa: Add max vqp attr to vdpa_nl_policy for nlattr length check
    ccb533b7070a vdpa: Add queue index attr to vdpa_nl_policy for nlattr length check
    645d17e06c50 vdpa: Add features attr to vdpa_nl_policy for nlattr length check
    6acb8a453388 powerpc/rtas_flash: allow user copy to flash block cache objects
    1ced17e05dc6 media: mtk-jpeg: Set platform driver data earlier
    92010480edc9 fbdev: mmp: fix value check in mmphw_probe()
    cd4ffdf56791 blk-cgroup: hold queue_lock when removing blkg->q_node
    3c38774dbaaa i2c: tegra: Fix i2c-tegra DMA config option processing
    4c07b591014e i2c: hisi: Only handle the interrupt of the driver's transfer
    64d83e2c2fcb i2c: bcm-iproc: Fix bcm_iproc_i2c_isr deadlock issue
    4f210ab49736 rust: macros: vtable: fix `HAS_*` redefinition (`gen_const_name`)
    6b67a6d2e506 cifs: fix potential oops in cifs_oplock_break
    8671f8bdc7c0 vdpa/mlx5: Delete control vq iotlb in destroy_mr only when necessary
    bfb5564d969e vdpa/mlx5: Fix mr->initialized semantics
    fa450621efab virtio-vdpa: Fix cpumask memory leak in virtio_vdpa_find_vqs()
    a44a443dd12d vduse: Use proper spinlock for IRQ injection
    2dcb368fe5a8 virtio-mmio: don't break lifecycle of vm_dev
    049a8ae7f818 regulator: qcom-rpmh: Fix LDO 12 regulator for PM8550
    7569c4294ba6 btrfs: fix use-after-free of new block group that became unused
    5d19abcffd84 btrfs: move out now unused BG from the reclaim list
    02e52d7daaa3 ring-buffer: Do not swap cpu_buffer during resize process
    f2b06472be43 Bluetooth: MGMT: Use correct address for memcpy()
    3cecad9f4b81 powerpc/kasan: Disable KCOV in KASAN code
    3447bfd9d5d1 ALSA: hda/realtek: Add quirk for ASUS ROG GZ301V
    6e8d944d9e60 ALSA: hda/realtek: Add quirk for ASUS ROG G614Jx
    345fa36353da ALSA: hda/realtek: Amend G634 quirk to enable rear speakers
    cd7bee74ed63 ALSA: hda/realtek: Add quirk for ASUS ROG GA402X
    485cbcb5089d ALSA: hda/realtek: Add quirk for ASUS ROG GX650P
    b32e40379e5b ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync()
    472b6955ec2c ALSA: hda/realtek: Add quirks for Unis H3C Desktop B760 & Q760
    ec904a70e02a fs/ntfs3: Alternative boot if primary boot is corrupted
    209b0468acea fs/ntfs3: Mark ntfs dirty when on-disk struct is corrupted
    c5d39f001526 fs: ntfs3: Fix possible null-pointer dereferences in mi_read()
    1474098b590a fs/ntfs3: Return error for inconsistent extended attributes
    64fab8bce523 fs/ntfs3: Enhance sanity check while generating attr_list
    f5db29ce2502 drm/amdgpu: Fix potential fence use-after-free v2
    6eb77ac68f7a ceph: try to dump the msgs when decoding fails
    c68268e1ba8a Bluetooth: btusb: Add MT7922 bluetooth ID for the Asus Ally
    255be6815029 Bluetooth: L2CAP: Fix use-after-free
    552a15a0b4dd watchdog: sp5100_tco: support Hygon FCH/SCH (Server Controller Hub)
    9860921ab452 firewire: net: fix use after free in fwnet_finish_incoming_packet()
    3ab42eba15a1 thunderbolt: Limit Intel Barlow Ridge USB3 bandwidth
    9f1bd1392336 thunderbolt: Add Intel Barlow Ridge PCI ID
    fd53a1f28fab pcmcia: rsrc_nonstatic: Fix memory leak in nonstatic_release_resource_db()
    42077d4de49e gfs2: Fix possible data races in gfs2_show_options()
    d7b9e07ed765 usb: chipidea: imx: add missing USB PHY DPDM wakeup setting
    97ce5c4e7e5e usb: chipidea: imx: turn off vbus comparator when suspend
    15494054b51f usb: chipidea: imx: don't request QoS for imx8ulp
    000dd3a768e9 xhci: get rid of XHCI_PLAT quirk that used to prevent MSI setup
    84ee48939551 thunderbolt: Read retimer NVM authentication status prior tb_retimer_set_inbound_sbtx()
    4d299e6e0ac3 media: platform: mediatek: vpu: fix NULL ptr dereference
    61c7abd743b0 usb: gadget: uvc: queue empty isoc requests if no video buffer is available
    e20a23b34245 usb: gadget: u_serial: Avoid spinlock recursion in __gs_console_push
    0d353e6cd313 media: camss: set VFE bpl_alignment to 16 for sdm845 and sm8250
    e01ea1c4191e media: v4l2-mem2mem: add lock to protect parameter num_rdy
    09b490f3bb2a led: qcom-lpg: Fix resource leaks in for_each_available_child_of_node() loops
    9eb0bd1eeaac serial: stm32: Ignore return value of uart_remove_one_port() in .remove()
    759ffc164d95 cifs: fix session state check in reconnect to avoid use-after-free issue
    eb79f8dfba34 smb: client: fix warning in cifs_smb3_do_mount()
    c4f7f31b3a0e Revert "[PATCH] uml: export symbols added by GCC hardened"
    2356f03d50c1 HID: intel-ish-hid: ipc: Add Arrow Lake PCI device ID
    12f415a07490 ASoC: SOF: core: Free the firmware trace before calling snd_sof_shutdown()
    49698f5f3c3e drm/amd/display: Enable dcn314 DPP RCO
    49d5f97be648 drm/amd/display: Skip DPP DTO update if root clock is gated
    48c9a6f964a0 RDMA/bnxt_re: consider timeout of destroy ah as success.
    04704c201bb0 RDMA/mlx5: Return the firmware result upon destroying QP/RQ
    a3a96bf843c3 drm/amdgpu: unmap and remove csa_va properly
    8fd4d6d3619a drm/amd/display: Apply 60us prefetch for DCFCLK <= 300Mhz
    dcfd5a3ecf91 drm/amd/display: Remove v_startup workaround for dcn3+
    aa9e9ba5748c drm/amdgpu: install stub fence into potential unused fence pointers
    f03bcd68082f iommu/amd: Introduce Disable IRTE Caching Support
    45c5f38073ef HID: logitech-hidpp: Add USB and Bluetooth IDs for the Logitech G915 TKL Keyboard
    cfe5e5d87e93 HID: i2c-hid: goodix: Add support for "goodix,no-reset-during-suspend" property
    b5f4d1915090 dt-bindings: input: goodix: Add "goodix,no-reset-during-suspend" property
    973e0890e526 accel/habanalabs: fix mem leak in capture user mappings
    7f59afa93ffc accel/habanalabs: add pci health check during heartbeat
    4503b78fe6cd dma-remap: use kvmalloc_array/kvfree for larger dma memory remap
    aa09a767b3ae ASoC: SOF: Intel: fix SoundWire/HDaudio mutual exclusion
    848149e899c3 iopoll: Call cpu_relax() in busy loops
    b1079090c9c2 ASoC: Intel: sof_sdw: Add support for Rex soundwire
    09c98d0de748 ASoC: Intel: sof_sdw: add quick for Dell SKU 0BDA
    6fc290c768fc ASoC: Intel: sof_sdw_rt_sdca_jack_common: test SOF_JACK_JDSRC in _exit
    a2394961ca96 ARM: dts: imx6dl: prtrvt, prtvt7, prti6q, prtwd2: fix USB related warnings
    9376002694e3 RDMA/mana_ib: Use v2 version of cfg_rx_steer_req to enable RX coalescing
    1260703fbc87 ASoC: amd: vangogh: Add check for acp config flags in vangogh platform
    c212c2b01db2 drm: rcar-du: remove R-Car H3 ES1.* workarounds
    a6e0079b14f0 arm64: dts: qcom: ipq5332: add QFPROM node
    04fe3b825282 drm/stm: ltdc: fix late dereference check
    7235fb8db5e7 ASoC: SOF: amd: Add pci revision id check
    a740b0c82f16 ASoC: cs35l56: Move DSP part string generation so that it is done only once
    de8d025da18e PCI: tegra194: Fix possible array out of bounds access
    2bb7ffec12b6 ASoC: Intel: sof_sdw: add quirk for LNL RVP
    0755560e39ad ASoC: Intel: sof_sdw: add quirk for MTL RVP
    f15682b9d366 Revert "drm/amd/display: disable SubVP + DRR to prevent underflow"
    8d8c96efcec9 drm/amdgpu: fix memory leak in mes self test
    c3deb091398e drm/amdgpu: Fix integer overflow in amdgpu_cs_pass1
    756d674117f5 drm/amdgpu: fix calltrace warning in amddrm_buddy_fini
    4bea16716950 drm/scheduler: set entity to NULL in drm_sched_entity_pop_job()
    dd2e5d3f806b drm/amd/display: Update DTBCLK for DCN32
    86fd1f1ec4dd net: phy: at803x: fix the wol setting functions
    b129b7537a56 net: phy: at803x: Use devm_regulator_get_enable_optional()
    0ba71114c3af crypto, cifs: fix error handling in extract_iter_to_sg()

(From OE-Core rev: c5c98b7f29fcd2f51c7ff835301e50688e2b07e8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:50 +01:00
Bruce Ashfield
46d6aa221f linux-yocto/6.1: fix CONFIG_F2FS_IO_TRACE configuration warning
Integrating the following commit(s) to linux-yocto/.:

    70924d2512b features/f2fs: remove CONFIG_F2FS_IO_TRACE

(From OE-Core rev: dabdc29e96e962e1b917bdcee2d38d654e28dab5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:50 +01:00
Bruce Ashfield
08b7b96dd8 linux-yocto/6.4: fix CONFIG_F2FS_IO_TRACE configuration warning
Integrating the following commit(s) to linux-yocto/.:

    97bba4db5ff features/f2fs: remove CONFIG_F2FS_IO_TRACE

(From OE-Core rev: 691bc6f7e064560d57d0546e163c524c64a5e79d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:50 +01:00
Richard Purdie
fad769ae8b qemu: Add patches to resolve x86 and then mips boot issues
qemu 8.1.0 doesn't boot on x86. After adding tcg fixes for that, mips boot
breaks so also add patches for that as well.

(From OE-Core rev: 3d3fa94ee6d7ea58e3ec64d28bd6414437806cfd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:50 +01:00
Richard Purdie
f694084dbc qemu: Upgrade 8.0.4 -> 8.1.0
This upgrade isn't straighforward as upstream made changes. A pyenv
is now needed containing meson. This doesn't work for us for reasons
as yet unclear however it does mean we need python3native inherited
for that to stand a chance of working as otherwise host system
dependencies may be missing. For now, allow meson to work from our
sysroot via a patch. Our meson is always deterministic anyway so
we don't need their help for that.

The submodules approach used previously has changed, switch the options
for new ones to disable downloads and docs.

Some of the images binaries shipped for s390 show QA warnings for
relocations in code sections. Drop those binaries to avoid the QA
warnings since we don't need them anyway.

Drop a backported patch and refresh another.

(From OE-Core rev: a7176c3b2a7e2041b9be5dabb6b0f1e62f235f76)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 07:53:50 +01:00
Yuta Hayama
dd2e4f417c linux/generate-cve-exclusions: print the generated time in UTC
Allow time comparisons to be made regardless of where the script was run.

(From OE-Core rev: 018e74f2ce0b1a4c0614c99bc19f07f787d61123)

Signed-off-by: Yuta Hayama <hayama@lineo.co.jp>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-06 17:52:45 +01:00
Lei Maohui
71d83f653a glibc-package: Fix conflict error when enable multilib.
file /usr/include/bits/math-vector.h from install of lib32-libc6-dev-2.38-r0.armv7ahf_neon conflicts with file from package libc6-dev-2.38-r0.aarch64

Reference to the git log of glibc, upstream modified math-vector.h for
aarch64, so this file has many differences from aarch32.
For detailed modifications, please refer to these two commit log of
glibc:
commit 4a9392ffc27ad280f84779eea3ba01f2c134d1d8
commit 78c01a5cbeb6717ffa2d4d66bb90ac5c39bd81a9

(From OE-Core rev: ecfa84f5bb238ef2252d6491a6cde2c5fd202213)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-06 17:52:45 +01:00
Khem Raj
e953b98c9f tcl: Add a way to skip ptests
Some tests hardcode assumptions on locales, which may not be present in
musl systems e.g., therefore add a way to skip such tests using -skip
option.

Skip unixInit-3* test on musl

(From OE-Core rev: fa66f1cee2d88c2276442e8b4aaeccde5490f9ea)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-06 17:52:45 +01:00
Kai Kang
5ea20893d6 webkitgtk: fix build failure with DEBUG_BUILD enabled
It fails to compile webkitgtk when debug build enabled:

| /path_to/tmp/work/core2-64-poky-linux/webkitgtk/2.40.5/webkitgtk-2.40.5/Source/bmalloc/libpas/src/libpas/pas_allocation_result.h:76:1:
  error: inlining failed in call to 'always_inline' 'pas_allocation_result pas_allocation_result_identity(pas_allocation_result)':
  function not considered for inlining
|    76 | pas_allocation_result_identity(pas_allocation_result result)
|       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Add a cmake variable WEBKIT_NO_INLINE_HINTS to disable gcc function
attribute `always_inline` when debug build is enabled.

And adjust indent as well.

(From OE-Core rev: 8a33cd60f89685eeda7c5b3513540561df06160d)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-06 17:52:45 +01:00
Ross Burton
0dd973297d linux: review some historic CVE_STATUS
Do manual review and disposition these CVEs as appropriate.

(From OE-Core rev: a8db0735e228465715cf885d3b889fddfd68efc6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-06 17:52:45 +01:00
Richard Purdie
733afeffd1 bitbake: server/process: Add more timing debug
It is helpful to have timestamps on the ping failures so that they
can be matched against the bitbake logs. It is also useful to understand
how long the server takes for form a reply verses when it is sent.

(Bitbake rev: 65969a7a8f5ae22c230431d2db080eb187a27708)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-05 08:14:50 +01:00
Martin Jansa
7e6d7315f9 bitbake: runqueue: show number of currently running bitbake threads when pressure changes
* it might be a bit confusing as it shows number of threads before making
  the decision to start more tasks and also it can show only a few tasks
  running, but not because of pressure when there just aren't many tasks
  left or wait for their dependencies to be finished first

* example output:
  NOTE: Pressure status changed to CPU: True, IO: None, Mem: None (CPU: 297589.5/200000.0, IO: 5522.2/None, Mem: 779.2/None) - using 7/8 bitbake threads
  NOTE: Pressure status changed to CPU: False, IO: None, Mem: None (CPU: 196381.2/200000.0, IO: 2667.9/None, Mem: 556.2/None) - using 2/8 bitbake threads

(Bitbake rev: b0b114f31f20c5fcde31e6c308937ad4102dfe0a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-05 08:13:13 +01:00
Michael Opdenacker
de243647d6 bitbake: doc: bitbake-user-manual: remove reference to SSTATE_MIRRORS variable
This variable is implemented in OE-Core, and therefore
only documented in the Yocto Project manual.

(Bitbake rev: 1019998e2f8682c8f2f13320fdb0de1a9a23e854)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-05 08:13:13 +01:00
Richard Purdie
f066aee598 bitbake: doc: Document challenges of tags with git fetcher
Using tags with the git fetcher may cause surprising behaviour. There
are reasons for this, document them.

(Bitbake rev: 56224da378ab63526d44fd7a70bcfd2cffe245cc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-05 08:13:13 +01:00
Ross Burton
e42e2cfc12 linux-yocto: update kernel CVE status
Handles the following CVEs:

6.1:
- CVE-2022-4098
- CVE-2023-0160
- CVE-2023-20569
- CVE-2023-20588
- CVE-2023-33250
- CVE-2023-34319
- CVE-2023-40283
- CVE-2023-4128
- CVE-2023-4155
- CVE-2023-4194
- CVE-2023-4273
- CVE-2023-4385
- CVE-2023-4387
- CVE-2023-4389

6.4:
- CVE-2022-40982
- CVE-2023-0160
- CVE-2023-20569
- CVE-2023-20588
- CVE-2023-33250
- CVE-2023-34319
- CVE-2023-40283
- CVE-2023-4128
- CVE-2023-4155
- CVE-2023-4194
- CVE-2023-4273
- CVE-2023-4385
- CVE-2023-4387
- CVE-2023-4389
- CVE-2023-4394
- CVE-2023-4459

(From OE-Core rev: 2020aee444868742590f44d149d11565fc9f58c4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-05 08:09:13 +01:00
Ross Burton
7837dcdb44 cve-extra-exclusions: remove BlueZ issues
These BlueZ issues were mislabelled as Linux issues, but now that the
CPE data is accurate this ignore can be removed.

(From OE-Core rev: 7f354aed364b17259a642cc97e30a0a2b8218134)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-05 08:09:13 +01:00
Ross Burton
c6f8b18316 cve-extra-exclusions: remove historic kernel CVEs which are handled now
The bulk of the historic kernel CVEs in this file are now handled by
the include files generated by linux/generate-cve-exclusions.py, so
remove them.

Those that remain date from 2017 or earlier, so rename the group to
'historic' and update the comment.

(From OE-Core rev: b46930641b9b5b38997b41ba8036e99387ed4225)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-05 08:09:13 +01:00
Benjamin Bara
75335fc2ee ghostscript: avoid neon on unsupported machines
Disable neon if the machine does not support it.

(From OE-Core rev: 22d40fcb984849bc8735bf03b306c3a3b11eb779)

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-05 08:09:13 +01:00
Richard Purdie
7dcf79b8f8 python3-numpy: Attempt to fix reproducibility issue
We've seen reproducibility failures where it appears an extra -O3 compiler flag ends
up in the multiarray library compilation. This can only really have come through
extra_info for BLASS support since it only affects just this library. Rather than
try and track down exactly where this came from in a rabbit warren of code, just
disable this since we don't have any of the dependencies anyway.

(From OE-Core rev: 1d07be514ccacedb4d1ac48e0fdd3a36ae098698)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-05 08:09:13 +01:00
Benjamin Bara
0fdd8f8c84 ffmpeg: avoid neon on unsupported machines
Disable neon if the machine does not support it.

(From OE-Core rev: 0c3a6a74531d3860a3849a1f53f6709d6a0e88a5)

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-04 20:14:14 +01:00
Benjamin Bara
b295f256b4 nettle: avoid neon on unsupported machines
Disable neon if the machine does not support it. --enable-fat also
includes the neon assembler code, therefore also disable it.

(From OE-Core rev: 768c6bb46e1cc4a1d8c12c6f30408bb821ec4534)

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-04 20:14:14 +01:00
Benjamin Bara
1862468784 pixman: avoid neon on unsupported machines
Disable neon if the machine does not support it.

(From OE-Core rev: 9ea1a98bcfe30a46898765e41e0fc9ebb0086738)

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-04 20:14:14 +01:00
Changqing Li
03d23dca92 sqlite3: set CVE_STATUS for CVE-2023-36191
The error is a bug. It has been fixed upstream. But it is not a
vulnerability. You may safely ignore the CVE.

Refer:
[1] https://www.sqlite.org/forum/forumpost/19f55ef73b

(From OE-Core rev: 34874433c1e6c9e21d45d9ba686e4bb15479659d)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-04 20:14:14 +01:00
Khem Raj
13be32f883 python3: Fix ptests on musl
Adjust locale dependencies to help run tests sadly, tr-tr is not
available yet in musl-locale so keep that specific to glibc

Add an exclusion list for tests and populate it for musl for the failing
tests

(From OE-Core rev: db76ac9968ceddc01e48069dbacc212eb4f88574)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-04 20:14:14 +01:00
Benjamin Bara
7ee50486d1 README: fix mail address in git example command
(From OE-Core rev: ff1c5ee9201cb792bb60f3338a5ee6d2d9f11ef9)

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-04 10:27:46 +01:00
Khem Raj
40f215c0d6 dos2unix: upgrade 7.5.0 -> 7.5.1
(From OE-Core rev: 67c287c8131c7e896f6992d32a26d097cbd6414e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-03 10:34:21 +01:00
Sudip Mukherjee
e4ac4b116c openssh: upgrade to v9.4p1
Changes:
Update sha256sum
Remove backported patch

(From OE-Core rev: 51a6e56fcb28ec97ba3a4b40bbcd3d64e6d390d5)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-03 10:34:20 +01:00
Sudip Mukherjee
e2d82c3691 dpkg: upgrade to v1.22.0
Changes:
Use main branch
Rebase patch

(From OE-Core rev: 7620c855b77937b664b18f6aae29541f883a81f0)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-03 10:34:20 +01:00
Peter Marko
838aaa214d gcc-runtime: remove bashism
Debian 12 no longer supports replacing dash with bash as default shell.
Therefore to achieve compatibility with Debian 12, all bashisms need
to be removed.

Shell comparison via == gives an error with dash and thus the condition
is always false.

(From OE-Core rev: 3723b26f82219ff71823335d550dbf29086d63d4)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-03 10:34:20 +01:00
Michael Opdenacker
b08b5169f3 README: update/fix contribution guidelines
- Ask to CC the docs@lists.yoctoproject.org mailing list
- doc/README: fix the command to generate the manual

(Bitbake rev: 8332664f9141d2c12f70589ebd2eed7eeddd8f77)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-03 10:31:11 +01:00
Martin Jansa
e25914a99e Makefile: remove from top-level directory
* https://git.openembedded.org/bitbake/commit/?id=a7c47f1eac8caac607a2b5f12d07235dff4d740f
  was somehow badly imported as:
  just a rename from bitbake/doc/Makefile.sphinx to Makefile:
  https://git.yoctoproject.org/poky/commit/?id=1fd9c4b2c0ae927df29f7a0d34c3e595bcf48e89

  The missing bitbake/doc/Makefile was later restored in:
  https://git.yoctoproject.org/poky/commit/?id=415962ad94149de121a1c01215073a52bb54dc14
  but the doc/README change is still missing in poky

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-03 10:31:11 +01:00
Wang Mingyu
f94083ce08 python3-wheel: upgrade 0.41.1 -> 0.41.2
Changelog:
============
-Fixed platform tag detection for GraalPy and 32-bit python running on an
 aarch64 kernel
-Fixed wheel tags to not list directories in RECORD files
-Fixed ABI tag generation for GraalPy

(From OE-Core rev: 05538017cce6ada76f98dc3fa99239f3d4db0eb7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:29:29 +01:00
Wang Mingyu
8cffc8d97b python3-sphinx-rtd-theme: upgrade 1.2.2 -> 1.3.0
(From OE-Core rev: 57670c550e42748719f4e2dcc8d9809190261cbb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:29:29 +01:00
Wang Mingyu
f448ebc9ce python3-pluggy: upgrade 1.2.0 -> 1.3.0
Changelog:
===========
    #426: Python 3.7 is no longer supported.
    #428: Pluggy now exposes its typings to static type checkers.

(From OE-Core rev: 5294490af327c80d80069070b0e68194e6ee23a3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:29:29 +01:00
Wang Mingyu
058c638a54 python3-hypothesis: upgrade 6.82.5 -> 6.82.7
Changelog:
=========
- updates our autoformatting tools, improving our code style without any API changes.
- enables and fixes many more of ruff‘s lint rules.

(From OE-Core rev: 14f58560c40a24d5a1466781ad4e3cfc35fd1f46)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:29:29 +01:00
Wang Mingyu
de5e1bc5dd zlib: upgrade 1.2.13 -> 1.3
Changelog:
============
- Remove K&R function definitions and zlib2ansi
- Fix bug in deflateBound() for level 0 and memLevel 9
- Fix bug when gzungetc() is used immediately after gzopen()
- Fix bug when using gzflush() with a very small buffer
- Fix crash when gzsetparams() attempted for transparent write
- Fix test/example.c to work with FORCE_STORED
- Rewrite of zran in examples (see zran.c version history)
- Fix minizip to allow it to open an empty zip file
- Fix reading disk number start on zip64 files in minizip
- Fix logic error in minizip argument processing
- Add minizip testing to Makefile
- Read multiple bytes instead of byte-by-byte in minizip unzip.c
- Add memory sanitizer to configure (--memory)
- Various portability improvements
- Various documentation improvements
- Various spelling and typo corrections

(From OE-Core rev: 369780c635cb99a3d93c38dc4e3944eba5a2c2cd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:06 +01:00
Wang Mingyu
0d1f93d628 xz: upgrade 5.4.3 -> 5.4.4
Changelog:
===========
* liblzma and xzdec can now build against WASI SDK when threading
  support is disabled. xz and tests don't build yet.

* CMake:

    - Fixed a bug preventing other projects from including liblzma
      multiple times using find_package().

    - Don't create broken symlinks in Cygwin and MSYS2 unless
      supported by the environment. This prevented building for the
      default MSYS2 environment. The problem was introduced in
      xz 5.4.0.

* Documentation:

    - Small improvements to man pages.

    - Small improvements and typo fixes for liblzma API
      documentation.

* Tests:

    - Added a new section to INSTALL to describe basic test usage
      and address recent questions about building the tests when
      cross compiling.

    - Small fixes and improvements to the tests.

* Translations:

    - Fixed a mistake that caused one of the error messages to not
      be translated. This only affected versions 5.4.2 and 5.4.3.

    - Updated the Chinese (simplified), Croatian, Esperanto, German,
      Korean, Polish, Romanian, Spanish, Swedish, Ukrainian, and
      Vietnamese translations.

    - Updated the German, Korean, Romanian, and Ukrainian man page
      translations.

(From OE-Core rev: 1cc37e3f7aca7e04b03de99f9ce4b8068a61510d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:06 +01:00
Wang Mingyu
b64374be63 sysklogd: upgrade 2.5.0 -> 2.5.2
Changelog:
- Issue #67: restore support for reading kernel logs from '/proc/kmsg',
  regression introduced in v2.4.0, issue #48.
- Issue #37: improved accuracy of the MARK timer, optional, default: 20
  minutes.  Generates log messages to files, which have had no activity
  within the MARK interval.  Was off by up to 'interval / 2' minutes.
  It may now be off by up to '1 / 2' minutes, i.e.g, 30 seconds.
- Issue #64: sub-second faking of kernel timestamps was always zero

(From OE-Core rev: 64d7c4af897cb052b6951dce6519a705cf2ac0ac)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:06 +01:00
Wang Mingyu
84bd7580d4 sqlite3: upgrade 3.42.0 -> 3.43.0
Changelog:
==========
-Add support for Contentless-Delete FTS5 Indexes.
-Enhancements to the date and time functions:
-Added the octet_length(X) SQL function.
-Added the sqlite3_stmt_explain() API.

(From OE-Core rev: d398efb21ec8a67f6b52ba27fd5eb8e85e851b15)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:06 +01:00
Wang Mingyu
5b3d73ee71 shaderc: upgrade 2023.5 -> 2023.6
Changelog:
- Update dependencies, including SPIRV-Tools v2023.4.rc2

(From OE-Core rev: 2763612e474fcde2a77ed391287bd5ace4ec2bc7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:06 +01:00
Wang Mingyu
f7c669e876 repo: upgrade 2.35 -> 2.36.1
(From OE-Core rev: 015a8ae3da1d367dae1667064d0eb9b1e7469aad)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:06 +01:00
Wang Mingyu
372321ca4b python3-setuptools: upgrade 68.1.0 -> 68.1.2
0001-conditionally-do-not-fetch-code-by-easy_install.patch
refreshed for new version.

Changelog:
-Fix editable install finder handling of nested packages, by only handling 1
 level of nesting and relying on importlib.machinery to find the remaining
 modules based on the parent package path.

(From OE-Core rev: 27d3e5bc7ea949c4e7691674617cf29c80b3035f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:06 +01:00
Wang Mingyu
1189a846e4 pkgconf: upgrade 1.9.5 -> 2.0.2
Changelog:
===========
* Fix long-standing bug where package identifiers for "uninstalled"
  packages incorrectly included the "-uninstalled" suffix.
* The behavior of --modversion was largely reverted back to the traditional
  pkg-config behavior, but still operates on a solved dependency graph.
* A new flag, --verbose, has been added.
* When flattening the dependency graph, retain the latest seen edges
  rather than the earliest.
* Fix a long-standing bug where the dependency resolution queue was
  evaluated in reverse.  This bug masked the aforementioned dependency
  flattening bug in many cases.
* Fix handling of --with-path, which was appending paths to the search
  list rather than prepending them as intended.
* Error when --modversion is requested with more than one package, as
  the output is ambiguous.

(From OE-Core rev: 4a2947fb92626c0e4d1605799e317f61a8a5967c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:06 +01:00
Wang Mingyu
c05e07afff pigz: upgrade 2.7 -> 2.8
(From OE-Core rev: eaf8cf1a24b6459877139105a4a2917751de3998)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:06 +01:00
Wang Mingyu
ef06de958e pango: upgrade 1.50.14 -> 1.51.0
Changelog:
===========
- itemize: Improve script itemization
- build: Check for cairo DWrite dependency
- win32: Fix various issues and crashes
- layout: Add a missing switch case

(From OE-Core rev: 5595ef3a04d90f73941f0f2e14a5b6a1f0b2da28)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:06 +01:00
Wang Mingyu
0184420b15 python3: upgrade 3.11.4 -> 3.11.5
Changelog:
============
-gh-104432: Fix potential unaligned memory access on C APIs involving returned
 sequences of char * pointers within the grp and socket modules. These were
 revealed using a -fsaniziter=alignment build on ARM macOS.
-gh-77377: Ensure that multiprocessing synchronization objects created in a fork
 context are not sent to a different process created in a spawn context.
 This changes a segfault into an actionable RuntimeError in the parent process.
-gh-106092: Fix a segmentation fault caused by a use-after-free bug in frame_dealloc when the trashcan delays the deallocation of a PyFrameObject.
-gh-106719: No longer suppress arbitrary errors in the __annotations__ getter and setter in the type and module types.
-gh-106723: Propagate frozen_modules to multiprocessing spawned process interpreters.
-gh-105979: Fix crash in _imp.get_frozen_object() due to improper exception handling.
-gh-105840: Fix possible crashes when specializing function calls with too many __defaults__.
-gh-105588: Fix an issue that could result in crashes when compiling malformed ast nodes.
-gh-105375: Fix bugs in the builtins module where exceptions could end up being overwritten.
-gh-105375: Fix bug in the compiler where an exception could end up being overwritten.
-gh-105375: Improve error handling in PyUnicode_BuildEncodingMap() where an exception could end up being overwritten.
-gh-105235: Prevent out-of-bounds memory access during mmap.find() calls.
--gh-101006: Improve error handling when read marshal data.

(From OE-Core rev: 70df63c2fe59ab781152b6981caf0828ececc54e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:06 +01:00
Wang Mingyu
dbeb9fdfc6 neard: upgrade 0.18 -> 0.19
Changelog:
===========
  Fixed missing DBus org.neard.se.conf.
  Sync Linux kernel UAPI nfc.h header with newer kernel.
  NFC tag: Implement readout of tag UID via DBus interface.

(From OE-Core rev: 02cc07dbdf0dcb52d736f39fc01f406030f8339b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:05 +01:00
Wang Mingyu
6d96fc1f42 mpfr: upgrade 4.2.0 -> 4.2.1
Changelog:
===========
- Bug fixes (see <https://www.mpfr.org/mpfr-4.2.0/#fixed> and/or the
  ChangeLog file).
- Improved MPFR manual.
- Configure tests: replaced the test of the link with GMP, in order to
  avoid the use of a function without a prototype (Autoconf issue), as
  this is obsolescent in ISO C. The new test should be more robust.

(From OE-Core rev: 7d0699e176ad1b50c26c5981c0ee976615994729)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:05 +01:00
Wang Mingyu
bf0b19cf8d mc: upgrade 4.8.29 -> 4.8.30
0001-mc-replace-perl-w-with-use-warnings.patch
removed since it's included in 4.8.30

Changelog:
==========
- Core
--------
    * Support PCRE2 as search engine (via ----with-search-engine=pcre2) (#4450)
    * Implement panelization buffers for both file panels (#4370)

- VFS
-------
    * tar: support extended headers (including long file names and sparse files) (#1952, #2201)
    * extfs helpers: replace "perl -w" with "use warnings" (MidnightCommander/mc#174)
    * extfs/patchfs: be more specific in error message (#4485)

- Editor
---------
    * Add syntax highlighting:
        - Jenkinsfiles (#4469)
        - B language (#4470)
    * Improve syntax highlighting:
        - ECMAScript (MidnightCommander/mc#172)
        - ECMAScript in TypeScript (MidnightCommander/mc#172)
        - use diff syntax highlighting for git commit messages (COMMIT_EDITMSG) (MidnightCommander/mc#85)

- Misc
--------
    * Code cleanup (#4426, #4438)
    * Filehighlight:
        - recognize vsix files as zip files (MidnightCommander/mc#171)
    * Skin updates:
        - julia256 (#4441, #4445)

- Fixes
----------
    * Usage of 'sed' in build system/makefiles is not portable (#4459, #4466)
    * Unportable '$<' in Makefiles (#4460)
    * FTBFS if ncurses used without --with-ncurses-includes= configure parameter (#4462)
    * Ncurses library is duplicated in MCLIBS (#4463, #4465)
    * FTBFS without ext2fs attributes support (#4464)
    * Wrong sort order after swapping panels (#4432)
    * Incorrect time delimiter in the copy/move progress window (#4437)
    * Incorrect redraw of overlapped file panels (#4408)
    * Subshell/Command line prompt is empty/missing (#3121)
    * Find file: relative ignore directory is applied to the start search directory (#4235)
    * Diff viewer: options are not applied on second run (#4486)
    * mc.ext.ini: 'Edit' command from 'Default' section is ignored (#4434)
    * mc.ext.ini: .md files are not recognized as Markdown ones by extension (#4444)
    * mcedit: off-by-one error in paragraph formatting (#4446)
    * ftp: incomplete file listing: block and character devices, pipes, sockets are missed (#4472)
    * Various typos in the source code (MidnightCommander/mc#177, MidnightCommander/mc#178)

(From OE-Core rev: 9ba1f7042de6e430c687970657173740eec9ea7b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:05 +01:00
Wang Mingyu
c80bd5be88 libxml2: upgrade 2.11.4 -> 2.11.5
Changelog:
==========
### Regressions
---------------
- parser: Make xmlSwitchEncoding always skip the BOM
- autotools: Improve iconv check

### Bug fixes
--------------
- valid: Fix c1->parent pointer in xmlCopyDocElementContent
- encoding: Always call ucnv_convertEx with flush set to false

### Portability
---------------
- autotools: fix Python module file ext for cygwin/msys2

### Tests
----------
- runtest: Fix compilation without LIBXML_HTML_ENABLED

(From OE-Core rev: 9e1bcaac1da6907d6664c5628e7c6196cfa5fcc7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:05 +01:00
Wang Mingyu
179e39f7b5 libsndfile1: upgrade 1.2.0 -> 1.2.2
Changelog:
=========
* Fixed invalid regex in src/create_symbols_file.py
* Fixed passing null pointer to printf %s in tests

(From OE-Core rev: ff22e9ae6a237d8c48aa9eaee65de3157f52307b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:05 +01:00
Wang Mingyu
2bf202c726 libsecret: upgrade 0.20.5 -> 0.21.0
Changelog:
===========
 * Unlock the keyring before getting secret attributes [!105]
 * file-backend: avoid deadlock when portal op is canceled [!118, !120]
 * Properly chain-up GTasks around GDBusProxy::init_async [!106]
 * Fix nullable in secret_collection_for_alias_* [!110]
 * Fix finish function for searchv [!112]
 * secret-paths: Fix a little memory leak [!109]
 * Stop using GSlice [!116]
 * docs: port to gi-docgen [!101]
 * docs: fix example in usage docs [!117]
 * Several CI fixes [!111, !114]
 * Updated translations

(From OE-Core rev: 6b122519c043b5549fdd36631ba0bd8806958fde)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:05 +01:00
Wang Mingyu
59be349670 librepo: upgrade 1.15.1 -> 1.15.2
Changelog:
=============
    Fixes and optimizations in header files
    Fix lr_gpg_list_keys function when keys are empty
    Update PGP test vectors
    Fix CMake warnings
    Bump glib version

(From OE-Core rev: 583882c25eec915cfc37e334fcb7e41d6ea6d88e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:05 +01:00
Wang Mingyu
8c88b32f3c libgit2: upgrade 1.7.0 -> 1.7.1
Changelog:
===========
Bug fixes
-----------
    proxy: Return an error for invalid proxy URLs instead of crashing.
    ssh: fix known_hosts leak in _git_ssh_setup_conn
    repository: make cleanup safe for re-use with grafts
    fix: Add missing include for oidarray.
    Revert "CMake: Search for ssh2 instead of libssh2."

Compatibility improvements
--------------------------
    stransport: macOS: replace errSSLNetworkTimeout, with hard-coded value

(From OE-Core rev: 2f919229df9248b91c4a3be2ea4d267163044978)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:05 +01:00
Wang Mingyu
9f94a9bb0c libedit: upgrade 20221030-3.1 -> 20230828-3.1
Changelog:
============
   * src/chartype.c: Add missing stdint.h
   * all: sync with upstream source

(From OE-Core rev: fdcd30f636d26f65acc47a37385cb97275dda68f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:05 +01:00
Wang Mingyu
9cad6c6933 libdrm: upgrade 2.4.115 -> 2.4.116
(From OE-Core rev: 69f741c496bf08bce2859b326efd0cd662823fd5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:05 +01:00
Wang Mingyu
850987481a libconvert-asn1-perl: upgrade 0.33 -> 0.34
Changelog:
===========
  * Fixes: #47 2nd - Debug output using print instead of printf
  * Fixes #47 Debug output using print instead of printf
  * ASN1.pod: fix minor typo

(From OE-Core rev: db8c33b58baacd73781cf7184bfeac66c3801e0c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:05 +01:00
Wang Mingyu
1abbcb3797 kbd: upgrade 2.6.1 -> 2.6.2
Changelog:
==========
loadkeys:
    Don't look for keymap in the current directory.

keymaps:
    Add colemak mod-dh keymaps.

(From OE-Core rev: 7fba3ecff0deef906d9a257a53fae95036d66e51)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:05 +01:00
Wang Mingyu
7fa37228dd git: upgrade 2.41.0 -> 2.42.0
(From OE-Core rev: a2524932909680cb3e8ed146f650e7acaa9dbbe7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:05 +01:00
Wang Mingyu
46b954be10 ell: upgrade 0.57 -> 0.58
Changelog:
 Add support for handling sysctl settings.

(From OE-Core rev: 76d0d0d18498c95945e9a4334de7d44d1024e2d1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:05 +01:00
Wang Mingyu
c0ba5e1c77 bluez5: upgrade 5.68 -> 5.69
fix-check-ell-path.patch
removed since it's included in 5.69

Changelog:
=========
 Fix issue with BAP enabling state correctly when resuming.
 Fix issue with detaching source ASEs only after Stop Ready.
 Fix issue with handling VCP audio location and descriptor.
 Fix issue with generating IRK for adapter with privacy enabled.
 Add support for BAP broadcast sink.

(From OE-Core rev: e964b7f4bbd398bef3f48ec9ddd441a7f5df9987)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:05 +01:00
Wang Mingyu
62144a1199 bind: upgrade 9.18.17 -> 9.18.18
Changelog:
============
 Deprecate the 'dialup' and 'heartbeat-interval' options.
 Ignore 'max-zone-ttl' on 'dnssec-policy insecure'.
 Return REFUSED to GSS-API TKEY requests if GSS-API support is not configured.
 Mark a primary server as temporarily unreachable if the TCP connection attempt times out.
 Don't process detach and close netmgr events when the netmgr has been paused.

(From OE-Core rev: e78ec619beea6e541b2d83a5dc845ce57ff12564)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:05 +01:00
Chen Qi
597c42f3df oe-depends-dot: improve '-w' behavior
The '-w' option is not giving very helpful information. For example,
if we add 'spice' to IMAGE_INSTALL, bitbake -g core-image-minimal,
and then run `oe-depends-dot -k nspr -w task-depends.dot', the result is:

  $ oe-depends-dot -k nspr -w task-depends.dot
  Because: core-image-minimal nss
  core-image-minimal -> nss -> nspr

The result is not showing the full dependency chain which brings in nspr.
With this patch, the result is:

  $ oe-depends-dot -k nspr -w task-depends.dot
  Because: core-image-minimal nss libcacard spice
  core-image-minimal -> spice -> libcacard -> nss -> nspr

This patch also fixes a typo in help message: recipe-depends.dot -> task-depends.dot.

(From OE-Core rev: 222302810c472c8eb2efceaa757a253dcac5618f)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:05 +01:00
Chen Qi
81b2eedb69 stress-ng: disable DEBUG_BUILD
We get do_compile error when DEBUG_BUILD is enabled:

  error: inlining failed in call to 'always_inline' '_mm512_storeu_si512': target specific option mismatch

To reproduce the issue, set the following lines in local.conf
and then `bitbake stress-ng'.

  MACHINE = "qemux86-64"
  DEBUG_BUILD = "1"

A new issue is filed for stress-ng to track it:
https://github.com/ColinIanKing/stress-ng/issues/315

(From OE-Core rev: 3270f6f3bcb7811fd5e576808c086428f1a8c568)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 18:23:05 +01:00
Joshua Watt
d51176429d bitbake: fetch2: git: Remove useless try..else clause
There is no reason to have the else clause in this try block, as it can
be moved into the try block, which is clearer.

(Bitbake rev: 5625849e9327fc71a38eea00d4506f80abc11bc6)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 11:48:05 +01:00
Ryan Eatmon
81af7cd406 kernel.bbclass: Add force flag to rm calls
The latest 6.5 kernels do not appear to create the source file in
${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source so the
recipe errors out when trying to remove it.  Simple fix is to add the
-f (force) flag to the call.

(From OE-Core rev: 2e669bf797b15d803e7d6a700e449bdc467a4bcc)

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 11:47:50 +01:00
Markus Volk
42e6df5222 gtk4: upgrade 4.12.0 -> 4.12.1
Overview of Changes in 4.12.1, 25-08-2023
=========================================

* GtkGridView:
* Wayland:
 - Fix a crash with compositors other than gnome-shell

* Translation updates:
 Polish
 Swedish

(From OE-Core rev: cb58ae2e288afaf14898b1ee261d010736cd0090)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 11:47:50 +01:00
Jose Quaresma
3bfd50beab systemd-boot: remove old gummiboot TUNE_CCARGS
Looks like this only is required when build with clang toolchain
and the fix is alredy merged [1] on meta-clang.

[1] 83c94b8690

(From OE-Core rev: 6448af4940f6c67bca7224ab44d2adf30dc82b35)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 11:47:50 +01:00
Jaeyoon Jung
d4664d2b79 cml1: Fix KCONFIG_CONFIG_COMMAND not conveyed fully in do_menuconfig
Variable overrides in KCONFIG_CONFIG_COMMAND do not work as expected due
to double quote mismatches. The issue is reproducible in an environment
where gold is the default linker. Below is an example snippet of
run.do_terminal generated by do_menuconfig.

do_terminal() {
exec sh -c "make menuconfig   CC="aarch64-webos-linux-gcc ..."
LD="aarch64-webos-linux-ld.bfd ..."
...
}

Although LD override is set to bfd correctly, it is not passed to make
and make menuconfig ends up with messages like:
| gold linker is not supported as it is not capable of linking the kernel proper.
| scripts/Kconfig.include:56: Sorry, this linker is not supported.

(From OE-Core rev: 9c483765db762dbe8020423c8778518612b7e5f7)

Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 11:47:50 +01:00
Joshua Watt
93388921ab wic: Add gpt-hybrid partition layout
Add support for formatting a disk with a hybrid MBR & GPT partition
scheme. In this scheme, the primary partitioning method is GPT, but a
valid MBR header is also written than can point to a subset of the GPT
partitions on the disk (any partitions marked with the `--mbr` flag will
be included in this MBR). The primary purpose of this method is to allow
for SoCs that can only find a bootloader in an MBR partition to use GPT
once the bootloader is running. As an example, older versions of the
Raspberry Pi firmware can only parse MBR partitions to find a kernel (or
other bootloader like u-boot), but once those have booted GPT partitions
can be used.

In addition to the partitions annotated with the `--mbr`, a "protective"
GPT partition of type 0xEE is added, as the existence of such a
partition is the indication to tooling that this a hybrid MBR and that
the GPT partition table should be parsed instead.

(From OE-Core rev: e50e4c2a5ada6947b3503ca4d8e9c30d359e8a5d)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 11:47:50 +01:00
Ross Burton
9d9c7d4b0b glib-networking: use gnutls backend for TLS sockets
As per upstream:

  There are hacks in half the tests where this backend doesn't return
  the expected error code or doesn't work as expected. I do hope to
  enable this backend by default in the future. For now, it's not there
  yet.

8e1d80c1e0

[RP: Add note to recipe about reasoning]
(From OE-Core rev: 6ca7fe3d9f209a05daf094ad051175cf56b5cebd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 11:47:50 +01:00
Ross Burton
1fd22a4cd8 glib-networking: enable build with GnuTLS if PKCS#11 was disabled
If GnuTLS is built without PKCS#11 support then glib-networking will
fail to build the tests. Backport a patch to fix this issue.

(From OE-Core rev: 6fd615ec2350d190b52784a0596c09cdaafec4bf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 11:47:50 +01:00
Ross Burton
1949790712 inetutils: remove obsolete cruft from do_configure
glob/ doesn't exist and the other files are copied by autotools.bbclass

(From OE-Core rev: f11fac5430c1308347f673c6e1fb6c5b2c7ff9c0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 11:47:50 +01:00
Ross Burton
cc025f14a2 inetutils: remove obsolete patches
fix-disable-ipv6.patch: we don't support uclibc, and most libcs don't
have optional support for IPv6.

inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch and
inetutils-1.8-0003-wchar.patch: these don't appear to be needed anymore.

inetutils-only-check-pam_appl.h-when-pam-enabled.patch: configure.ac
doesn't fail if PAM is disabled anymore.

(From OE-Core rev: abcc8273a788981bd06867d141b78aa0cfedddf4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 11:47:50 +01:00
Ross Burton
da317d8dfc inetutils: don't guess target paths
inetutils guesses a lot of target paths in cross builds, and warns that
some of them are known to be wrong (for example, whether /proc/net/dev
exists is guessed as 'no').

Add a post-configure function to check for these warnings, and pass
--with-path-* as appropriate to set the paths explicitly.

This means we can remove the patch which was setting PATH_PROCNET_DEV,
and the autoconf cache value inetutils_cv_path_login.

The downside is that these --with-path-* options are not real autoconf
options, so the "unknown options" warning is emitted.  Losing those is
an acceptable compromise, so disable it.

Musl doesn't implement utmp and has stub defines for _PATH_UTMP but not
_PATH_UTMPX, so we need to set the X variants explicitly.

(From OE-Core rev: 91179f89db127063dbdf998e15d63e04d6be53f7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 11:47:50 +01:00
Ulrich Ölmann
daa89365ff weston: fix comment
Fixes: be7da75827b4 ("weston: update 11.0.1 -> 12.0.1")
(From OE-Core rev: 79d453eb0caf304454146c9c59744150b678e64d)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 07:47:43 +01:00
Richard Purdie
cb70fec913 README: Clarify/standardise contributions process
Now we have a contributor guide combining various wiki pages, point at
that and standarise our approach across layers.

(From meta-yocto rev: 000bc83cf581aeb47798a5a30299bb0d5c767984)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 07:46:40 +01:00
Richard Purdie
3bdabde2df bitbake: command: Avoid time intensive distractions for ping
We noticed some users were seeing very slow ping response times which
caused 'server timeout' issues. There were some function calls in runCommand
which could be slow such as the inotify callback processing.

Mark up the ping command such that it doesn't need configuration information,
it is allowed on a readonly server and specifically skip the inofity processing
too since ping would never need that.

This will hopefully resolve various ping timeout issues that were being reported.

(Bitbake rev: 0fc821a22f2b49cbd336d9658d92942c0d733be1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 07:46:40 +01:00
Richard Purdie
229f88f5b5 bitbake: README: Update to point to new contributor guide
Now we have a contributor guide combining various wiki pages, point at
that.

(Bitbake rev: fb19d647697d56e7554722abb5f4903c774d4213)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 07:46:40 +01:00
Ross Burton
9c758b1833 site: remove at-spi2-core values
at-spi2-core is built with Meson now, so these values are not needed.

(From OE-Core rev: 319249ea639991d4d0a5f34be171d0ce7b44da0c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 07:45:29 +01:00
Michael Halstead
17351d2a26 yocto-uninative: Update to 4.3
Add in stable updates to glibc 2.38 to fix malloc bugs

(From OE-Core rev: 39f987fcb20ad7c0e45425b9f508d463c50ce0c1)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 07:45:29 +01:00
Richard Purdie
7fbceac63b README: Update to point to new contributor guide
Now we have a contributor guide combining various wiki pages, point at
that.

(From OE-Core rev: 43a3ab6b412186b6c7494e928809662c4ec462f9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 07:45:29 +01:00
Richard Purdie
75a46cf843 glibc: Add glibc 2.38 stable updates
Pull in the following stable branch updates:

1aed90c9c8f8be9f68b58e96b6e4cd0fc08eb2b1 sysdeps: tst-bz21269: fix -Wreturn-type
ad9b8399537670a990572c4b0c4da5411e3b68cf sysdeps: tst-bz21269: handle ENOSYS & skip appropriately
c8ecda6251dd4a0dfe074e0a6011211cadeef742 sysdeps: tst-bz21269: fix test parameter
2af141bda3cd407abd4bedf615f9e45fe79518e2 malloc: Remove bin scanning from memalign (bug 30723)
98c293c61f770b6b7a22f89a6ea81b711ecb1952 malloc: Enable merging of remainders in memalign (bug 30723)
7ac405a74c6069b0627dc2d8449a82a621f8ff06 i686: Fix build with --disable-multiarch
6135d50e44233d8c89ca788f78c669941ad09fb9 x86_64: Fix build with --disable-multiarch (BZ 30721)
5ea70cc02626d9b85f1570153873d8648a47bf95 x86: Fix incorrect scope of setting `shared_per_thread` [BZ# 30745]
6b99458d197ab779ebb6ff632c168e2cbfa4f543 nscd: Do not rebuild getaddrinfo (bug 30709)
ced101ed9d3b7cfd12d97ef24940cb00b8658c81 x86: Fix for cache computation on AMD legacy cpus.
d97cca1e5df812be0e4de1e38091f02bb1e7ec4e stdlib: Improve tst-realpath compatibility with source fortification

(From OE-Core rev: f65f0811e32b4fb57536f3331cc2422c4d71e9bf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-01 18:26:58 +01:00
Etienne Cordonnier
bdc74e5ff3 migration-guides: system-conf -> systemd-conf
Fix this typo. There is no system-conf recipe.

(From yocto-docs rev: 6c1ef81cce2e211ad2fd2cf5f98ce0cfebbf56f7)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:55:39 +01:00
Michael Opdenacker
266cab4530 contributor-guide: submit-changes: how to request push access to repositories
Including content currently on
http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded

(From yocto-docs rev: 34b22fd3c48d55bcddbf725395f9ee4e389ae354)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Michael Opdenacker
81f99caf91 contributor-guide: submit-changes: commit guidelines for recipes
Adding text currently on
http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded

(From yocto-docs rev: 716756045b75e64846421dcecdd044a06b88052a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Michael Opdenacker
c6f0512d22 contributor-guide: submit-changes: improvements to mailing lists section
- Add missing reference to openembedded-devel list

- Improve the text to clarify explanations, remove redundant information
  and include information currently on
  http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded

(From yocto-docs rev: a359be596138d0454c7596ccbfd48f7ad307980a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Michael Opdenacker
a878e1591b contributor-guide: submit-changes: reorganize and develop sections
In particular, develop the sections about sending patches.
Reorder sections for a more logical flow.
Remove unnecessary or duplicate details too.

(From yocto-docs rev: 6c37d5bd9be7e65c923c3e95f478afc0e6064e8f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Michael Opdenacker
e05baab43c manuals: README: update list of manuals
(From yocto-docs rev: 30166df4a85a2bbd1da98440e701de72e56fa9f3)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Michael Opdenacker
ab25d680aa contributor-guide: submit-changes: develop sending patches section
(From yocto-docs rev: 0cfb8417236a8a82eebe7901bc24164227cfe4b2)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Michael Opdenacker
74be88d8af contributor-guide: submit-changes: detail commit and patch creation
Add missing steps and try to provide better guidance and more modern
solutions, for example keeping track of the cover letter in the branch
itself.

Also add subsections to divide the instructions into easier
to understand parts.

(From yocto-docs rev: 4abe87cb20d3f023d5b0178450823d072d3321c8)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Michael Opdenacker
e22eb85e92 contributor-guide: identify component: provide link to repositories
(From yocto-docs rev: 634d1a946ec872b3e8e20bb9a726649a8d7a0d60)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Michael Opdenacker
90b99c1a03 contributor-guide: submit-changes: simplify note
(From yocto-docs rev: fb507fb37fe0c078144932ff39ba0ef952614361)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Michael Opdenacker
d0897ffd8a contributor-guide: move to 2nd place in top menu
To give it more visibility

(From yocto-docs rev: f5770f554d01c3f53058425ecb16c642e36c6806)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Michael Opdenacker
dabc3dc087 dev-manual: disk-space: mention faster "find" command to trim sstate cache
[YOCTO #15182]

(From yocto-docs rev: 6fd067639e7d6ae87bda9ea8795ebf54b8827056)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Yoann CONGAL <yoann.congal@smile.fr>
Reported-by: Randy MacLeod <randy.macleod@windriver.com>
Reported-by: Josef Holzmayr <jester@theyoctojester.info>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Michael Opdenacker
9bf8250a40 contributor guide: update instructions for making and sharing changes
- Shifting the focus to multiple changes instead of just one
- Advising to create a branch for changes
- Removing unnecessary or too verbose explanations
- Adding useful resources and examples

(From yocto-docs rev: e7e47121fd979e034f8f40a043912640a6a25a5e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Michael Opdenacker
82533714c1 contributor-guide: clarification about patchtest
- Highlight that patchtest still needs improving
- Fix reference to this tool

(From yocto-docs rev: bdd5541b491729dcfa9e92a9acfc932c427a8ea0)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Michael Opdenacker
9e3b852770 contributor guide: remove unnecessary information about mailing lists
The mailing lists for sending code are sufficient!

(From yocto-docs rev: 2ea840c34043d4d630ad2deae0ffd285503d1078)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Michael Opdenacker
f004fa65c6 contributor-guide: remove obsolete pkg-config guidelines
They were coming from obsolete notes from the times
when people directly created or modified .pc files
from their recipes. Nobody should be doing that
any more and keep this can be confusing.

(From yocto-docs rev: 6b3bbf9507ac7014e95926d69383b585c5e19371)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Michael Opdenacker
0c8b5d0e69 contributor guide: call section "Reporting a defect"
Instead of "Submitting a defect".

We all write bugs, and nobody needs documentation
support for doing so!

(From yocto-docs rev: ce94f6ed029afc8c69e84354c03bd0a9ab14f867)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Michael Opdenacker
16dff2be01 ref-manual: remove AUTHOR variable
Following https://git.openembedded.org/openembedded-core/commit/?id=9d5edd124b7dddb995ceddd79f8a7fc8cf44badf

(From yocto-docs rev: e7da4d122313f369be1c680dadd76ea53ba8dd04)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Daniel Semkowicz
59256bc92b dev-manual: wic.rst: Update native tools build command
Requirements list seems to be outdated. It is not possible to follow
instructions for Raw Mode as not all of the native tools are available.
All wic dependencies are gathered under wic-tools package. Some commands
in the instruction already use wic-tools native sysroot, but this
dependency is not specified in the requirements.
Update the command for building native tools to use wic-tools instead
of the seperate packages.

(From yocto-docs rev: 06facd8962e5b31f088ea3c152a7a48e8f346c31)

Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Michael Opdenacker
8a00ac35de contributor-guide: add recipe style guide
(From yocto-docs rev: a61a7677adb9bf22dc0d28e72a8fedf2df27e80a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Michael Opdenacker
80d1c907e6 contributor-guide: add section about why we use mailing lists
(From yocto-docs rev: dda13405221102b66b0e08bee3004d0ce1c0c000)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Michael Opdenacker
63c0a2cc77 contributor-guide: add missing links to mailing lists
And fix such a link too.

(From yocto-docs rev: 7528d6afec675080a9140f1a1f0064b4a76f39b0)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Michael Opdenacker
34864ad94c ref-manual: update supported distro versions
- Update according to changes in SANITY_TESTED_DISTROS
  (meta-poky/conf/distro/poky.conf)

- No longer declare as "Supported" the distributions versions
  which are End of Life for their vendors, as some of them
  (Ubuntu for example) ship updates to subscribers only,
  which the Yocto Project has no access to.

- List distribution versions which were previously tested
  for the branch of the Yocto Project being considered
  (should be an empty list on master, until the next
  release is made).

(From yocto-docs rev: a2c0918493fb85235d90edd782ec14fa75d10cf1)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Michael Opdenacker
2090a416ad ref-manual: classes.rst: fix location of _ref-classes-ccache
(From yocto-docs rev: c2204f3b61ec2fbd36c6f216a66fe5495edd6b90)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Frederic Martinsons
0537f6f4fc ref-manual: classes.rst: suppress rust-hello-world reference, add ptest-cargo class
(From yocto-docs rev: 8b1f41ebef4e02d9b0d50ce7e69cb90c83eb4324)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
Michael Opdenacker
8a11abf6a9 manuals: create a dedicated "Contributor Guide" document
Starting from the original contents of dev-manual/changes.rst
and from text contributed by Richard Purdie.

(From yocto-docs rev: 55587d9dd009cbc92273376e0f7665b2d574d280)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 15:54:59 +01:00
David Reyna
ddf3b3ecd4 bitbake: toaster: accommodate missing 'Image Name' value in buildinfohelper
The value "Image Name" in bitbake events was missing for certain builds. Update 'buildinfohelper' to extract the
image name elsewhere in this circumstance and not crash.

[YOCTO #13191]

(Bitbake rev: 703792c48c818025163de9c2f35f6ac815500607)

Signed-off-by: Kieran McNulty <Kieran.McNulty@windriver.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 10:41:54 +01:00
David Reyna
6553377bea bitbake: toaster: import only used layers
If you import a build directory, Toaster still adds openembedded-core,
meta-poky and meta-yocto-bsp to the newly created project. Toaster
should only be including in the project the layers that it imported.

[YOCTO #13764]

(Bitbake rev: e73c4d7685a3bd6b806a8f1a3600a3a86266f0b6)

Signed-off-by: Kieran McNulty <Kieran.McNulty@windriver.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 10:41:54 +01:00
David Reyna
9ccaee95d6 bitbake: toaster: Update to Django 4.2
Update Toaster to support Django 4.2, to match current
hosts and to address CVEs.

[YOCTO #15152]

(Bitbake rev: 4f5b1f5bede402295bf4dfc8845fe2f38973e157)

Signed-off-by: Kieran McNulty <Kieran.McNulty@windriver.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 10:41:54 +01:00
Joshua Watt
10f38157a0 bitbake: fetch2: git: Check if clone directory is a git repo
If the clone target directory exists and is a valid git repo, but the
git directory is not a child, it needs to be erased and re-cloned. One
example of how this can happen is if a clone creates the directory, but
then fails to actual clone and make it a git repository. This left-over
directory can be particularly problematic if the download directory is a
descent of some top layer git repo (e.g. the default with poky), as the
commands that operate on the remote later will then mangle the layers
git repository instead of the download git repo.

(Bitbake rev: 2117db3146ce38bb4a6e2df40b6cd2ab11b514d5)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 10:41:54 +01:00
Randolph Sapp
264e5fef9e bitbake: gitsm: tolerate git-lfs in submodules
Explicitly pass down the lfs parameter from the source repo URI to
submodules. Add smudge skip to final checkout phase to make sure we
don't access the network here. Everything should have been fetched and
setup from the lfs logic in the git fetcher at this point.

(Bitbake rev: 1f8f21fe024b391d3a6670c64b839db0eee083c3)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 10:41:54 +01:00
Yi Zhao
c9843dfd1c dhcpcd: fix buffer overflow
Backport a patch to fix buffer overflow for strlcpy:

$ dhcpcd enp0s3
dhcpcd-10.0.2 starting
*** buffer overflow detected ***: terminated
dhcpcd_fork_cb: truncated read 0 (expected 4)

(From OE-Core rev: d0bd1c823c10af9a0ef7e5ce05b770c1d8bb247c)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 09:56:13 +01:00
Yi Zhao
eeea001e9b dhcpcd: upgrade 10.0.1 -> 10.0.2
Changelog:
https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.0.2

(From OE-Core rev: 037fd7c8e772bae0949d6e096c34564eaa2a3858)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 09:56:13 +01:00
Chen Qi
ef50da8f5b uninative.bbclass: sync to use UNINATIVE_STAGING_DIR
All other places in this bbclass are using ${UNINATIVE_STAGING_DIR}-uninative,
we should sync to use that too, although UNINATIVE_STAGING_DIR's default
value is STAGING_DIR.

(From OE-Core rev: a51fbe7975b15b1cb250974ced711cbd863dd88d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 09:56:13 +01:00
Alexander Kanavin
637994a701 systemd-bootchart: musl fixes have been rejected upstream
Systemd upstream has reiterated that the only supported libc
implementation is glibc.

(From OE-Core rev: 3655b965a0b13518e35b3312e1ae7b59b1f231a6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 09:56:13 +01:00
Mingli Yu
2757c7c82f webkitgtk: Add opengl to REQUIRED_DISTRO_FEATURES
webkitgtk depends on gtk4 which has the below logic, so add the
same logic for webkitgtk.
REQUIRED_DISTRO_FEATURES = "opengl"

Fixes:
  ERROR: Nothing PROVIDES 'gtk4' (but /build/layers/oe-core/meta/recipes-sato/webkit/webkitgtk_2.40.5.bb DEPENDS on or otherwise requires it)
  gtk4 was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
  ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
  Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'webkitgtk', 'gtk4']

(From OE-Core rev: ac9fd3afa56f91bb43ebff4653b49ccc3af50e4c)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 09:56:13 +01:00
Khem Raj
33182628b2 core-image-ptest: Define a fallback for SUMMARY field
Fixes errors like below seen with bitbake core-image-ptest-fast

WARNING: core-image-ptest-apr-util-1.0-r0 do_recipe_qa: QA Issue: Recipe core-image-ptest-apr-util in /mnt/b/yoe/master/sources/poky/meta/recipes-core/images/core-image-ptest.bb does not contain a SUMMARY. Please a
dd an entry. [missing-metadata]

(From OE-Core rev: 307381c9267eb3a3e687c577a0afd552d44248f7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 09:56:13 +01:00
Khem Raj
ca098d1728 qemu: Fix CVE-2023-40360
(From OE-Core rev: 5b68ec70ecc9779146789cc635d8ab60928e9233)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 09:56:13 +01:00
Khem Raj
b59fa412bd inetutils: Apply devtool formatting suggestions
(From OE-Core rev: 5bbcf129b83d2b78cae7ecb1fe19bab72e54b3f7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 09:56:13 +01:00
Khem Raj
031dad3c8b inetutils: Fix CVE-2023-40303
(From OE-Core rev: 211942410ec0fb5ebe906b4fed7f1feb13b7cf39)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 09:56:13 +01:00
Khem Raj
b90ab186f7 python3: Increase default thread stack size on musl
default stack size for threads is approx 140k on musl which is fine in
most cases but some of python apps e.g. python3-lz4 bindings run into
thread stack size overflow. Increase the default size to 2M on musl,
glibc defaults to 8M, so we are good there.

This default stack size change is limited to interpreter and stdlib
modules only, thats why CFLAGS_NODIST instead of CFLAGS

(From OE-Core rev: 7f9c14aa51fe9180e56cc6922415aef873de9cb6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 09:56:13 +01:00
Stéphane Veyret
907aa954b2 nfs-utils: Add needed library to client
The nfs-utils recipe creates a nfs-utils-client package, which can be
used if we need to install only the client side of nfs-utils.
Unfortunately, rpc.idmapd is part of this package, and requires the
dynamic library libnfsidmap.so, which is included in the main package
nfs-utils. Therefore, nfs-utils-client has a dependency on nfs-utils, so
the server is installed, and try to be started, even on system where the
appropriate modules are not present, which causes errors.

This patch adds the needed library to the nfs-utils-client package, so
that it is now complete and does not require nfs-utils anymore.

(From OE-Core rev: c04b28ee26ae1ccce1722c4143961ee6fd87b40e)

Signed-off-by: Stéphane Veyret <sveyret@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 09:56:13 +01:00
Sudip Mukherjee
81f66af261 cmake: upgrade to v3.27.4
Changes:
Update cmcurl license checksum: change in copyright year.
Update sha256sum for new version.
Use cmake provided cppdap.
Disable debugger.

(From OE-Core rev: 6724382f2a063cfc0a9a79fcbd84b0dc9d2eb45a)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 09:56:13 +01:00
Ross Burton
173a772145 linux-yocto: update CVE exclusions files
No changes to the data, but the version checks are added.

(From OE-Core rev: aac27011172dea37eb3687af57d05c9546b831ae)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 09:56:13 +01:00
Ross Burton
2b0eac4dd6 linux/generate-cve-exclusions: add version check warning
Embed the version that this file was generated for in the include, and
compare it to the version that is being checked.

This should act as a reminder to update the file when the kernel is
upgraded.

(From OE-Core rev: 645066ecec0f52eac0225a144285f44882003856)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 09:56:13 +01:00
Alexander Kanavin
d2d5b2ad3c python3-sphinx: correct version check
(From OE-Core rev: 490b9357d5ede15fbcbb01971591abddb115a3b0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 09:56:12 +01:00
Alexander Kanavin
d3e4f25993 lib/oe/recipeutils.py: accommodate SRCPV being optional and deprecated in version check regex
(From OE-Core rev: 84794b59940cb08ec44e5ee7718a464d24136812)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 09:56:12 +01:00
Alberto Planas
b6469ed7d6 bitbake.conf: add bunzip2 in HOSTTOOLS
rpm2cpio.sh can make calls to bunzip2 to uncompress the RPM payload that
conform the cpio file.

bzip2 is already part of HOSTTOOLS, as a link to the system installed
bzip2.

This patch add bunzip2 in HOSTOOLS list as a non-optional binary, so is
available to rpm2cpio.sh when it is required.

The currect rpm2cpio.sh has other calls to gunzip (present in HOSTOOLS),
xzcat (missing), unlzma (missing) and unzstd (present in HOSTTOOLS since
bff58d337890e804d33d7decbaa46065a4d3bba4)

Adding the missing ones will not add any new host dependency as xz-utils
is already listed as a requirement.

(From OE-Core rev: fd376a11ed8d1b79633c2572ec0b4341d3ca2f1c)

Signed-off-by: Alberto Planas <aplanas@suse.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 08:43:03 +01:00
Joshua Watt
cfa0ad6822 classes/image_types: Add vfat image type
Adds support for creating FAT formatted file system images (useful for
boot partitions on some SoCs).

Note that FAT partitions are limited in what they can represent (no
symlinks or device files), so they can't really be used for general
purpose root file systems. As such, they are skipped when testing for
that purpose.

(From OE-Core rev: 440fa508d362b8a449beb1b82dd999e980b753b7)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-30 08:43:03 +01:00
Ross Burton
142b6921bd libtraceevent: build with Meson
After what I presume is the recent kernel upgrade, perf started to fail
to configure.  This was actually due to libtraceevent racing during its
build and failing to put one of the .o files into the .so (reminder:
Make is terrible). This doesn't cause the libtraceevent build to fail so
once the broken .so is in sstate, it causes all future perf builds to
fail.

Instead of rewriting the Makefile rules to fix this race it's easier to
switch to Meson which doesn't have this sort of problem. However the
Meson support is pretty new and has some rough edges, so we need a patch
to make it do the right thing.

I will submit the libtraceevent fixes upstream shortly.

[ YOCTO #15201 ]

(From OE-Core rev: 5d060725e706476751b0bda8e6d9f3670aa4b7de)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-29 09:41:07 +01:00
Joshua Watt
6da9c2b29e buildtools-tarball: Add libacl
Hash equivalence need to include the ACLs in the output hash, and libacl
is used to do that so include the library in the buildtools-tarball.

(From OE-Core rev: d152dfe784f231fa369d59f9bce8195ad09c5482)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-29 09:41:07 +01:00
Markus Volk
513c21b8fc qemu: add packageconfigs for fuse and dbus-display
glib-2.0-native is needed to provide gdbus-codegen

(From OE-Core rev: 0df2247c7b670401fa9efda0a818fbad30f8f921)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-29 09:41:07 +01:00
Markus Volk
be3f83029c qemu: build pulseaudio support depending on distro_feature
(From OE-Core rev: 6104325d32c95864830ba2d39f711d7e6e52bc00)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-29 09:41:07 +01:00
Markus Volk
53774ffaf7 qemu: fix libudev packageconfig for systemd images
eudev is needed to provide libudev when not using systemd,
but including eudev breaks things for systemd. We can't
include eudev here since systemd provides libudev itself.

(From OE-Core rev: e86b572f260fae7837694aa4c6d61de639bc71e8)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-29 09:41:07 +01:00
Julien Stephan
038d646d7e vulkan-samples: convert debugfix.patch to git format patch
devtool modify on vulkan-samples fails to apply the debugfix.patch
because it is not in one of git's known formats.

Here is the error:
ERROR: Applying patch 'debugfix.patch' on target directory '<..>/build/tmp/work/core2-64-poky-linux/vulkan-samples/git/devtooltmp-38uz7jyq/workdir/git'
CmdError("sh -c 'git add -f -A .'", 0, 'stdout:
stderr: fatal: not a git repository (or any of the parent directories):
.git
')

Also, rename debugfix.patch to something more meaningfull

(From OE-Core rev: c05c508cf3141a6923d87e1d04f7387ce3c91a9d)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-29 09:41:07 +01:00
Julien Stephan
060f285e58 patch.py: use --absolute-git-dir instead of --show-toplevel to retrieve gitdir
[YOCTO #14141]

Currently the gitdir is manually constructed using `git
rev-parse --show-toplevel` and appending `.git`. This is most of the time
correct but not always: `.git` can be a file with the following content:

gitdir: <some_folder>

This is the case for submodules, so when using devtool modify on a recipe
using submodules *and* patching files inside one of the submodules, do_patch
fails with the following error:

ERROR: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:patch_do_patch(d)
     0003:
File: '<..>/poky/meta/classes-global/patch.bbclass', lineno: 157, function: patch_do_patch
     0153:        except Exception as exc:
     0154:            bb.utils.remove(process_tmpdir, True)
     0155:            bb.fatal("Importing patch '%s' with striplevel '%s'\n%s" % (parm['patchname'], parm['striplevel'], repr(exc).replace("\\n", "\n")))
     0156:        try:
 *** 0157:            resolver.Resolve()
     0158:        except bb.BBHandledException as e:
     0159:            bb.utils.remove(process_tmpdir, True)
     0160:            bb.fatal("Applying patch '%s' on target directory '%s'\n%s" % (parm['patchname'], patchdir, repr(e).replace("\\n", "\n")))
     0161:
File: '<..>/poky/meta/lib/oe/patch.py', lineno: 769, function: Resolve
     0765:    def Resolve(self):
     0766:        olddir = os.path.abspath(os.curdir)
     0767:        os.chdir(self.patchset.dir)
     0768:        try:
 *** 0769:            self.patchset.Push()
     0770:        except Exception:
     0771:            import sys
     0772:            os.chdir(olddir)
     0773:            raise
File: '<..>/poky/meta/lib/oe/patch.py', lineno: 274, function: Push
     0270:            else:
     0271:                next = 0
     0272:
     0273:            bb.note("applying patch %s" % self.patches[next])
 *** 0274:            ret = self._applypatch(self.patches[next], force)
     0275:
     0276:            self._current = next
     0277:            return ret
     0278:
File: '<..>/poky/meta/lib/oe/patch.py', lineno: 556, function: _applypatch
     0552:        if os.path.lexists(hooks_dir_backup):
     0553:            raise Exception("Git hooks backup directory already exists: %s" % hooks_dir_backup)
     0554:        if os.path.lexists(hooks_dir):
     0555:            shutil.move(hooks_dir, hooks_dir_backup)
 *** 0556:        os.mkdir(hooks_dir)
     0557:        commithook = os.path.join(hooks_dir, 'commit-msg')
     0558:        applyhook = os.path.join(hooks_dir, 'applypatch-msg')
     0559:        with open(commithook, 'w') as f:
     0560:            # NOTE: the formatting here is significant; if you change it you'll also need to
Exception: NotADirectoryError: [Errno 20] Not a directory: '<..>/build/tmp/work/core2-64-poky-linux/vulkan-samples/git/devtooltmp-n87_zx1i/workdir/git/third_party/spdlog/.git/hooks'

Using `git rev-parse --absolute-git-dir` instead of `git rev-parse
--show-toplevel` ensure we get the correct gitdir

(From OE-Core rev: f74879dd95b19504ce8a8554636d2310d0336806)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-29 09:41:07 +01:00
Dmitry Baryshkov
3664a232fe linux-firmware: package Dragonboard 845c sensors DSP firmware
Add package with sensors DSP firmware for Qualcomm RB3 aka Dragonboard
845c platform.

(From OE-Core rev: 632a8955ce8f6cd8fe66fef4b116747e11fa7085)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-29 09:41:07 +01:00
Dmitry Baryshkov
d76a4aec14 linux-firmware: package audio topology for Lenovo X13s
Add audio topology description to the qcom-sc8280xp-lenovo-x13s-audio
package. The file is licensed is copyright by Linaro and licensed under
BSD 3-clause license.

(From OE-Core rev: 958d6a209edf059d31ff07bdd55179fc21ea7079)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-29 09:41:07 +01:00
Dmitry Baryshkov
b5b0813a94 linux-firmware: upgrade 20230625 -> 20230804
License-Update: additional firmwares

(From OE-Core rev: 6a36c10cd51382bd2356fe6589e4c1d3be8179cd)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-29 09:41:07 +01:00
Joe Slater
3cffa34a9c file: fix call to localtime_r()
Depending on the version of glibc, localtime_r() must
be preceded by a call to tzset() or it will ignore any
value of TZ in the environment.  This problem will only
be seen when building file-native on outdated hosts.

(From OE-Core rev: 791145f3064d7807630d3591b9e7c7b2dc37152c)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-29 09:41:07 +01:00
Chen Qi
68e468b3e9 cmake.bbclass: fix allarch override syntax
The override syntax should be ":allarch" instead of "_allarch".

(From OE-Core rev: bea74c9942a3bb4f71aca0f722b4a7306ae52fb4)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-29 09:41:07 +01:00
Chen Qi
026fe2b8e0 cmake: drop OE specific environment variable support
CMAKE_TOOLCHAIN_FILE is now also a supported environment
variable, we can export it directly. There's no need to
use a OE specific patch to add OE_CMAKE_TOOLCHAIN_FILE
support.

(From OE-Core rev: b061149ad06ff3b9d30de0bbd2b698c711a241c7)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-29 09:41:07 +01:00
Julien Stephan
da67e9e9cd less: add ptest support
add ptest support for less

root@qemux86-64:~# ptest-runner less
START: ptest-runner
2023-08-21T14:22
BEGIN: /usr/lib/less/ptest
TEST chinese1.lt
PASS: chinese1 (30 steps)
TEST colorbars.lt
PASS: colorbars (222 steps)
TEST github216.lt
PASS: github216 (143 steps)
TEST github265.lt
PASS: github265 (17 steps)
TEST github329.lt
PASS: github329 (28 steps)
TEST hdr-unicode.lt
PASS: hdr-unicode (164 steps)
TEST hdr-unicode1.lt
PASS: hdr-unicode (107 steps)
TEST proc-special.lt
PASS: proc-special (107 steps)
TEST seq200.lt
PASS: seq200 (18 steps)
TEST subsearch.lt
PASS: subsearch (59 steps)
TEST table-50x200.lt
PASS: table-50x200 (467 steps)
TEST utf8-2.txt.lt
PASS: utf8-2.txt (309 steps)
TEST version.c.lt
PASS: version.c (38 steps)
RAN  13 tests with 0 errors
DURATION: 184
END: /usr/lib/less/ptest
2023-08-21T14:25
STOP: ptest-runner
TOTAL: 1 FAIL: 0

[YOCTO #15073]

(From OE-Core rev: 1d20e7990656c2135570640a329c80b7df879675)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-29 09:41:07 +01:00
Julien Stephan
64de3746ad less: upgrade 633 -> 643
(From OE-Core rev: 8557ecc23c52de0d171807fa9a982374e2caa746)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-29 09:41:07 +01:00
Markus Niebel
4a56d0cc93 oeqa: wic: Add test for --no-table option
Add basic test for the --no-table wic part option.

(From OE-Core rev: ad89d7e6039da2d79c1d55fe7fdc8bb9c235dacf)

Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-29 09:41:07 +01:00
Khem Raj
8cd5d264af arch-armv8,arch-armv9: Add sve based tune options
(From OE-Core rev: 3109a48740546f6defc652fa1a6736dc484e6021)

(From OE-Core rev: d388bf00314639f82cd9143e786c482731d2719b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-29 09:41:07 +01:00
Khem Raj
e4be03be5b tunes: Add support for sve instructions on armv8/armv9
This helps in defining correct compiler options and configure options
for glibc and overall ABI for toolchain

(From OE-Core rev: 58330ce58719bd82530b1143623db7af7a85e897)

(From OE-Core rev: 43c980ad688cc4df5a5e687b0f693cf46778ce64)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-29 09:41:07 +01:00
Samantha Jalabert
c8e9590a37 bitbake: Fix disk space monitoring on cephfs
Error occured while running bitbake on cephfs:

WARNING: The free inode of path is running low (-0.001K left)
ERROR: Immediately halt since the disk space monitor action is "HALT"!

(Bitbake rev: 95088b447f563c5e1d9630e6acb32787b5ebed9c)

Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-25 07:55:34 +01:00
Peter Kjellerstedt
c7061c5bde poky.conf: Switch to post release name/version
(From meta-yocto rev: 803ef4a3f2304350484d2993fc0e811a6d8e1fa7)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-24 21:30:28 +01:00
Ross Burton
fe09892082 perf: disable perl support
The perf support was broken and if enabled results in non-reproducible
binaries, so disable it for now.

(From OE-Core rev: 55463c1898c220b79b77da95b2d0dd9bdc1628a2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-24 16:50:24 +01:00
Ross Burton
d37eff3907 perf: split scripting PACKAGECONFIG into perl and python
There's no reason for Python and Perl support to be tied together, so
split the PACKAGECONFIG into two.

(From OE-Core rev: af1511065120b12600e39725d8507fa2c018ae1b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-24 16:50:24 +01:00
Ross Burton
8eb4223c22 perf: fix perl binding support
The build of the perl integration has been broken for some time.

Update the PERL_* variables so that it can find libperl in the new
location.

This then fails because the Perl headers cause warnings and the feature
checks run with -Werror, so disable the errors.

The perf-dbg package then has target build paths, so set INSANE_SKIP for
now until this is resolved.

(From OE-Core rev: a59e31c78b5468fac461067e5bacf263c2cf23ad)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-24 16:50:24 +01:00
Ross Burton
0fa81bddd6 perf: add more PACKAGECONFIGs
libpfm4 and babeltrace are enabled if they're found, so add
PACKAGECONFIGs so that our configuration is explicit.

(From OE-Core rev: 8818a259495310f3054abc2918771587e6f82ae9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-24 16:50:24 +01:00
Ross Burton
04f625d0d1 perf: enable verbose feature detection
Having verbose feature detection is helpful to see exactly what has been
enabled or disabled.

(From OE-Core rev: d08de74d09a83d3bc94cce80f886bd2c6add416b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-24 16:50:24 +01:00
Peter Kjellerstedt
d0ddefc7b7 insane.bbclass: Remove an unused variable
The use of coremeta_path was removed with commit 61a881fdbe (insane:
Improve patch-status layer filtering) when the patch-status QA test was
generalized.

(From OE-Core rev: 71a2c7b2608640dfa45d065692541d537149052e)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-24 16:50:24 +01:00
Trevor Gamblin
ceeb8e5639 python3-dtc: upgrade 1.6.1 -> 1.7.0
Changelog: 039a99414e

Remove custom PV from the recipe since the relevant functionality is in
1.7.0:

[tgamblin@megalith dtc]$ git tag --contains c001fc01a43e7a06447c06ea3d50bd60641322b8
v1.7.0

(From OE-Core rev: 55208224f492af0ad929555ffc9b95ff1d301c5f)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-24 16:50:24 +01:00
Richard Purdie
65318019cd recipes/classes/scripts: Drop SRCPV usage in OE-Core
Now that SRCPV isn't needed we can simplify things in a few places...

(From OE-Core rev: 843f82a246a535c353e08072f252d1dc78217872)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-24 16:50:24 +01:00
Richard Purdie
62afa02d01 base/package: Move source revision information from PV to PKGV
Source control information being present in PV used to be a hard requirement
for bitbake to operate correctly. Now that hashes are a required part of task
stamps, this requirement no longer exists.

This means we can defer the hash pieces to PKGV and simplify PV.

Use new bitbake fetcher API to inject the source revisions directly into the hash
allowing removal of some horrible code from base.bbclass and avoiding any hardcoding
about how SRCREV may or may not be used.

Use that API to object the string to append to PKGV and append that directly.

The user visible effect of this change is that PV will no longer have revision
information in it and this will now be appended to PV through PKGV when the
packages are written. Since PV is used in STAMP and WORKDIR, users will see
small directory naming and stamp naming changes.

This will mean that sstate reuse through hash equivalence where the source
revision changes but the output does not will become possible as the sstate
naming will become less specific and no longer contain the revision.

The SRCPV variable will no longer be needed in PV and is effectively now just
a null operation. Usage can be removed over time.

(From OE-Core rev: a8e7b0f932b9ea69b3a218fca18041676c65aba0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-24 16:50:24 +01:00
Joshua Watt
871a4ac6e7 bitbake: lib/bb: Add xattr and acl libraries
Adds Python wrappers around the xattr API from libc and the ACL API from
libacl.

(Bitbake rev: 538011256964d0253f8e3ab7ff1d6fd62c7c2f89)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-24 16:49:38 +01:00
Martin Jansa
8087c261b0 bitbake: runqueue: show more pressure data
* with latest bitbake I'm seeing very low number of bitbake tasks
  executed in parallel, probably due to pressure regulation
  show the values this is based on in the note

* also simplify a bit by counting the pressure and exceeds signs
  only once

(Bitbake rev: 21c17968f801e406ef7f328656587fadd9ef7f5d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-24 16:49:38 +01:00
Richard Purdie
c9400d0157 bitbake: fetch2: Add new srcrev fetcher API
Add new functions to return some of the get_srcrev data in new and different
ways. We need two different forms of the data, one is a string to inject into
PKGV, the other is the full revisions as a string to include in hash computations
so that the hash changes when the input revisions change.

This allows us to clean up and simplify the code in OE-Core and move the
version information from PV to PKGV.

(Bitbake rev: ae4dfa2a31c74c0c6c2b14cece822ed1f3d79723)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-24 16:49:38 +01:00
Paulo Neves
65cd9697f9 bitbake: siggen.py: Improve taskhash reproducibility
file checksums are part of the data checksummed
to generate the task hash. The list of file checksums
was not ordered.

In this commit we make sure the task hash checksum takes
a list of checksum data that is ordered by unique file name
thus guaranteeing reproducibility.

(Bitbake rev: 5293a1b36eeb89f57577cb709ec7f293909039a1)

Signed-off-by: Paulo Neves <paulo@myneves.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-24 16:47:31 +01:00
Alexis Lothoré
359a105de6 oeqa/utils/gitarchive: replace warning with info when reading local tags
Whenever a script needs to list tags, if it falls back to the third method
(reading local tags only), it emits a warning. While this warning is useful
for future diagnostic if some tagging issues re-appear, it makes buildperf
autobuilds status as "Passed with warnings", which is not desirable

(From OE-Core rev: b2c1d8a83a3b2134a8f9a445cbf00103e63ed0b3)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-24 13:34:34 +01:00
Alexis Lothoré
db6ace80a0 oeqa/utils/gitarchive: fall back to local tags when listing existing tags
e9cff55e73 has switched tag listing from bare "git tag" to "git
ls-remote" to make sure not to miss remote tags which are not fetched
locally. This mechanism first checks for configured remote repository, next
for possibly passed url, and then fails if none worked.

However there are still cases where no remote repository is
configured and no url is provided (for instance: buildperf tests use an
empty git directory to store tests). Fix those cases by putting back the
old behavior (local tags check) as last resort, with at least a warning for
future diagnostics if we still encounter tagging issues

Fixes: e9cff55e73 ("oeqa/utils/gitarchive: fix tag computation when creating archive")
(From OE-Core rev: 34e1f845687d2f7169f5d6c1bb54e1a7ab5412c4)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-23 22:33:39 +01:00
Alexis Lothoré
3c1ee6d8b0 oeqa/utils/gitarchive: allow to pass a logger to get_tags
Propagate a "log" parameter to get_tags in order to know what method is
used to retrieve existing tags

(From OE-Core rev: f8212eda45444dfb330e4d930eeceefde936adeb)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-23 22:33:39 +01:00
Jasper Orschulko
92983dba65 cve_check: Fix cpe_id generation
Use "*" (wildcard) instead of "a" (application)in cpe_id generation,
as the product is not necessarily of type application, e.g.
linux_kernel, which is of type "o" (operating system).

(From OE-Core rev: cae9528b002c06143bf048b991b9d7e93968cb6b)

(From OE-Core rev: e7c1def3c3c3a72249802ef6fb64292277a7a53e)

Signed-off-by: Jasper Orschulko <jasper@fancydomain.eu>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-22 15:13:54 +01:00
Ross Burton
bedbda8561 linux/cve-exclusions: update CVE_STATUS exclusions
(From OE-Core rev: b499411734d0bf7fa817f214f89717c07186af02)

(From OE-Core rev: 0d8c651ddcdf2dc95a12db52c8f7aa45b986432d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-22 15:13:54 +01:00
Ross Burton
a105e7d254 linux/generate-cve-exclusions.py: fix comparison
The backport detection logic didn't handle issues which were backported
to the current version.

(From OE-Core rev: 1c7b01627b47604744f723d5eeedd455df6307e2)

(From OE-Core rev: 568d65ccfb0e44ef3a40951d9da297036e7f345d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-22 15:13:54 +01:00
Etienne Cordonnier
844dd42d1f vim: update obsolete comment
vim 8.3 has been out for a long time, so this comment is obsolete.
However we still need UPSTREAM_VERSION_UNKNOWN, since we ignore
the last digit of the upstream version number.

Test result:
$ devtool check-upgrade-status vim
  ...
  INFO: vim                       9.0.1592        UNKNOWN         Tom Rini <trini@konsulko.com> c0370529c027abc5b1698d53fcfb8c02a0c515da

(From OE-Core rev: 65f5de85c3f488136d1ec2b1f7fe8d8426d6c5b3)

(From OE-Core rev: 868a19357841470eb55fb7f1c4ab1af09dea99ed)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-22 15:13:54 +01:00
Ross Burton
3b6ebc1111 procps: backport fix for CVE-2023-4016
(From OE-Core rev: 255515e1b52fea6d72d37fae61667db08eb5b086)

(From OE-Core rev: eae2a94f5de78b95590ec45e11e930655dbd5caf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-22 15:13:54 +01:00
Ross Burton
11e2bbc9fe python3: ignore disputed CVE-2023-36632
For some reason in the migration of CVE_CHECK_IGNORE to CVE_STATUS[1], this
CVE was commented out.

[1] oe-core 1634ed40

(From OE-Core rev: 07deefea29169ba8d663c869f26b31d3f37a1c9f)

(From OE-Core rev: 20a8f5d928c0b3022609678d7c21b06912df058f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-22 15:13:54 +01:00
Luca Ceresoli
d40fed311e Revert "oeqa/runtime/parselogs: Exclude preempt-rt error for now"
There's now a real fix in commits "linux-yocto/6.*: fix IRQ-80 warnings".

This reverts commit 1451df346a0e2433714774421ce8f339a37a844a.

(From OE-Core rev: f5c1b0f2b17814315bc2a09acc3aaa20f2522cff)

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-22 15:13:54 +01:00
Bruce Ashfield
6a7cf469b9 linux-yocto/6.4: fix IRQ-80 warnings
Integrating the following commit(s) to linux-yocto/6.4:

    9753b4497951 tick/rcu: fix false positive "softirq work is pending" messages on RT

Paul Gortmaker has found and fixed the root cause of why we are
getting "softirq work is pending" messages on boot with -rt ..
although the issue is not rt-specific.

The fix has been submitted to lkml, but we are integrating it
to avoid the delay of -stable picking it up and then linux-yocto
doing the same.

(From OE-Core rev: 5617d2c03833830c0100d1c775a15d4ad1c02fdd)

(From OE-Core rev: 75ca8527bb90c98b7139ad92e4e5f1baf790e75d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-22 15:13:54 +01:00
Bruce Ashfield
7b421cae3c linux-yocto/6.1: fix IRQ-80 warnings
Integrating the following commit(s) to linux-yocto/6.1:

    44fd0c7a5a79 tick/rcu: fix false positive "softirq work is pending" messages on RT

Paul Gortmaker has found and fixed the root cause of why we are
getting "softirq work is pending" messages on boot with -rt ..
although the issue is not rt-specific.

The fix has been submitted to lkml, but we are integrating it
to avoid the delay of -stable picking it up and then linux-yocto
doing the same.

(From OE-Core rev: 69fffaa7ed863f8811254843e169cfbf3a0400b0)

(From OE-Core rev: 2099b728c48d920aa3914f4297563105a672e174)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-22 15:13:54 +01:00
Bruce Ashfield
37724982d6 linux-yocto/6.1: update to v6.1.46
Updating  to the latest korg -stable release that comprises
the following commits:

    6c44e13dc284 Linux 6.1.46
    5525c289dbcf drm/amd/pm/smu7: move variables to where they are used
    4346a66ad198 sch_netem: fix issues in netem_change() vs get_dist_table()
    3ae919c317dd alpha: remove __init annotation from exported page_is_ram()
    cbce265f959f ACPI: scan: Create platform device for CS35L56
    afc4ddd9507f platform/x86: serial-multi-instantiate: Auto detect IRQ resource for CSC3551
    38b0020f68b7 scsi: qedf: Fix firmware halt over suspend and resume
    a9518f4a4978 scsi: qedi: Fix firmware halt over suspend and resume
    fb004497b3ea scsi: fnic: Replace return codes in fnic_clean_pending_aborts()
    b191ff1f075c scsi: core: Fix possible memory leak if device_add() fails
    7723a5d5d187 scsi: snic: Fix possible memory leak if device_add() fails
    9fdb273ede6f scsi: 53c700: Check that command slot is not NULL
    8282d0b35880 scsi: ufs: renesas: Fix private allocation
    ed70fa5629a8 scsi: storvsc: Fix handling of virtual Fibre Channel timeouts
    0e1605ec5bea scsi: core: Fix legacy /proc parsing buffer overflow
    f3f0f95a0233 netfilter: nf_tables: report use refcount overflow
    c21fddce7e45 nvme-rdma: fix potential unbalanced freeze & unfreeze
    cddbaa8dee7e nvme-tcp: fix potential unbalanced freeze & unfreeze
    bf67802453d3 btrfs: set cache_block_group_error if we find an error
    3ae93b316ca4 btrfs: reject invalid reloc tree root keys with stack dump
    9d04716e3665 btrfs: exit gracefully if reloc roots don't match
    7112abc9e8f2 btrfs: properly clear end of the unreserved range in cow_file_range
    504d81c512f6 btrfs: don't stop integrity writeback too early
    4e18c827d61b btrfs: wait for actual caching progress during allocation
    b8cd871d0a18 gpio: sim: mark the GPIO chip as a one that can sleep
    227bd2c1eab1 gpio: ws16c48: Fix off-by-one error in WS16C48 resource region extent
    5e17b8ee64c1 ibmvnic: Ensure login failure recovery is safe from other resets
    206ccf4f0977 ibmvnic: Do partial reset on login failure
    31ccd1ba20d8 ibmvnic: Handle DMA unmapping of login buffs in release functions
    24556c1cc9db ibmvnic: Unmap DMA login rsp buffer on send login fail
    2c5dd8805e6c ibmvnic: Enforce stronger sanity checks on login response
    ad0f73cbace4 net/mlx5: Reload auxiliary devices in pci error handlers
    88ec484ef8e2 net/mlx5: Skip clock update work when device is in error state
    4276f3e7ae4a net/mlx5: LAG, Check correct bucket when modifying LAG
    a824d012ad8f net/mlx5: Allow 0 for total host VFs
    ab06983c5bbd dmaengine: owl-dma: Modify mismatched function name
    dff220037148 dmaengine: mcf-edma: Fix a potential un-allocated memory access
    c4f7de3e8ce1 net: hns3: fix strscpy causing content truncation issue
    87d7e140081f nexthop: Fix infinite nexthop bucket dump when using maximum nexthop ID
    8d6df2c523e2 nexthop: Make nexthop bucket dump more efficient
    0b10d8d1cf85 nexthop: Fix infinite nexthop dump when using maximum nexthop ID
    743f7c1762e0 net: hns3: fix deadlock issue when externel_lb and reset are executed together
    59bad9190ac7 net: hns3: add wait until mac link down
    667ce6a0ff80 net: hns3: refactor hclge_mac_link_status_wait for interface reuse
    758dbcfb257e net: dsa: ocelot: call dsa_tag_8021q_unregister() under rtnl_lock() on driver remove
    001b7d6706e2 net: phy: at803x: remove set/get wol callbacks for AR8032
    a3e5f3b7f25d net: marvell: prestera: fix handling IPv4 routes with nhid
    059ec8287fd3 net: tls: avoid discarding data on record close
    05e6b93da45d RDMA/umem: Set iova in ODP flow
    521860ddf314 wifi: cfg80211: fix sband iftype data lookup for AP_VLAN
    94916b314861 drm/rockchip: Don't spam logs in atomic check
    ac6640f4193d IB/hfi1: Fix possible panic during hotplug remove
    c2efcaf304fb iavf: fix potential races for FDIR filters
    bcbc48b12092 drivers: vxlan: vnifilter: free percpu vni stats on error path
    eeb0e4c1dbdf drivers: net: prevent tun_build_skb() to exceed the packet size limit
    a6ddc1c77487 dccp: fix data-race around dp->dccps_mss_cache
    00f033d451c4 bonding: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
    15b453cf7348 xsk: fix refcount underflow in error path
    da5f42a6e748 tunnels: fix kasan splat when generating ipv4 pmtu error
    f20a941bc2c5 tcp: add missing family to tcp_set_ca_state() tracepoint
    ddebdaec1af2 net/smc: Use correct buffer sizes when switching between TCP and SMC
    584a783270c1 net/packet: annotate data-races around tp->status
    b249c510b43e mptcp: fix the incorrect judgment for msk->cb_flags
    fc0b41ac1106 macsec: use DEV_STATS_INC()
    ebceef298c56 mISDN: Update parameter type of dsp_cmx_send()
    6b2824b198a6 bpf, sockmap: Fix bug that strp_done cannot be called
    ed90fe7435c5 bpf, sockmap: Fix map type error in sock_map_del_link
    20acffcdc2b7 net: core: remove unnecessary frame_sz check in bpf_xdp_adjust_tail()
    e59a2e5a3123 selftests: forwarding: tc_flower: Relax success criterion
    352dc3ee33c6 selftests: forwarding: Switch off timeout
    2df0e4373507 selftests: forwarding: Skip test when no interfaces are specified
    9ff7465b9160 selftests: forwarding: hw_stats_l3_gre: Skip when using veth pairs
    693c0a5a02e1 selftests: forwarding: ethtool_extended_state: Skip when using veth pairs
    10519d0b260d selftests: forwarding: ethtool: Skip when using veth pairs
    1455765e28ce selftests: forwarding: Add a helper to skip test when using veth pairs
    e146162dcf2e selftests/rseq: Fix build with undefined __weak
    e12b1ebc758a interconnect: qcom: sm8450: add enable_mask for bcm nodes
    8d0e2802b111 interconnect: qcom: Add support for mask-based BCMs
    312f04ede209 iio: core: Prevent invalid memory access when there is no parent
    98e470dc73a9 drm/nouveau/disp: Revert a NULL check inside nouveau_connector_get_modes
    19e7feda8966 x86: Move gds_ucode_mitigated() declaration to header
    f276899f8dbc x86/speculation: Add cpu_show_gds() prototype
    179430c2aa46 x86/sev: Do not try to parse for the CC blob on non-AMD hardware
    9ad49178c00a x86/mm: Fix VDSO and VVAR placement on 5-level paging machines
    25085250a150 x86/cpu/amd: Enable Zenbleed fix for AMD Custom APU 0405
    d93eeac34e75 x86/srso: Fix build breakage with the LLVM linker
    6f75e0934354 usb: typec: altmodes/displayport: Signal hpd when configuring pin assignment
    57b8f5fb8f17 usb: typec: tcpm: Fix response to vsafe0V event
    e3b37754988a usb: common: usb-conn-gpio: Prevent bailing out if initial role is none
    bed19d95fcb9 USB: Gadget: core: Help prevent panic during UVC unconfigure
    d2a4ded0ee99 usb: dwc3: Properly handle processing of pending events
    0d2d5282d39a usb-storage: alauda: Fix uninit-value in alauda_check_media()
    8ee39ec47914 misc: rtsx: judge ASPM Mode to set PETXCFG Reg
    f11a26633eb6 binder: fix memory leak in binder_init()
    77b689cc27d4 iio: adc: ina2xx: avoid NULL pointer dereference on OF device match
    2f8ebbd0f03e iio: adc: ad7192: Fix ac excitation feature
    5e1ed816a0e1 iio: frequency: admv1013: propagate errors from regulator_get_voltage()
    366563c14f1f iio: cros_ec: Fix the allocation size for cros_ec_command
    5aac2726b693 io_uring: correct check for O_TMPFILE
    b61a06eca15c drm/amd/display: trigger timing sync only if TG is running
    07152d9e87ef drm/amd/display: fix the build when DRM_AMD_DC_DCN is not set
    647e12741e6d drm/amd/display: Retain phantom plane/stream if validation fails
    e61f0ad73668 drm/amd/display: Disable phantom OTG after enable for plane disable
    9caac2a9f69f drm/amd/display: Use update plane and stream routine for DCN32x
    e93ae6e6b660 drm/amd/display: Avoid ABM when ODM combine is enabled for eDP
    4fe91c51aa93 drm/amd/display: Update OTG instance in the commit stream
    b2415df0afba drm/amd/display: Handle seamless boot stream
    9b1a1f168c03 drm/amd/display: Add function for validate and update new stream
    60334c0cba2f drm/amd/display: Handle virtual hardware detect
    0f19195d6397 drm/amd/pm: avoid unintentional shutdown due to temperature momentary fluctuation
    b064f9ccf11c drm/amd/pm: fulfill powerplay peak profiling mode shader/memory clock settings
    b844033ea813 drm/amd/pm: expose swctf threshold setting for legacy powerplay
    2368afd60f64 drm/amd/pm: fulfill swsmu peak profiling mode shader/memory clock settings
    7532ff6edbf5 nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iput
    79a96970293b radix tree test suite: fix incorrect allocation size for pthreads
    0176533f5a39 hwmon: (pmbus/bel-pfe) Enable PMBUS_SKIP_STATUS_CHECK for pfe1100
    088773aaafef cpuidle: dt_idle_genpd: Add helper function to remove genpd topology
    3d3fd58bfca1 drm/amd/display: limit DPIA link rate to HBR3
    10347b115da1 drm/amd: Disable S/G for APUs when 64GB or more host memory
    f6166ca452b8 drm/amdgpu: add S/G display parameter
    c3d2d4b02e5e drm/amd/display: check attr flag before set cursor degamma on DCN3+
    9a2393af1f35 drm/amdgpu: fix possible UAF in amdgpu_cs_pass1()
    2322dd8c9d3d drm/shmem-helper: Reset vma->vm_ops before calling dma_buf_mmap()
    a372c3f0db81 drm/nouveau/nvkm/dp: Add workaround to fix DP 1.3+ DPCD issues
    e179b058d720 drm/nouveau/gr: enable memory loads on helper invocation on all channels
    56c79fcae6f3 nvme-pci: add NVME_QUIRK_BOGUS_NID for Samsung PM9B1 256G and 512G
    3fdaa7fbc81b riscv/kexec: handle R_RISCV_CALL_PLT relocation type
    b374684018e4 riscv,mmio: Fix readX()-to-delay() ordering
    98a34f50c15f riscv/kexec: load initrd high in available memory
    593615bf14c9 net: mana: Fix MANA VF unload when hardware is unresponsive
    aec1ce9a30d4 dmaengine: pl330: Return DMA_PAUSED when transaction is paused
    ded9f5551ce5 mptcp: fix disconnect vs accept race
    84aa65a52561 mptcp: avoid bogus reset on fallback close
    d143c736020f selftests: mptcp: join: fix 'implicit EP' test
    aae988c09650 selftests: mptcp: join: fix 'delete and re-add' test
    a537fd9096a1 ipv6: adjust ndisc_is_useropt() to also return true for PIO
    ecab78febff0 mmc: moxart: read scr register without changing byte order
    260ec73757c1 wireguard: allowedips: expand maximum node depth
    839aae189e1f selftests: forwarding: Set default IPv6 traceroute utility
    aa4b5895a80f wifi: rtw89: fix 8852AE disconnection caused by RX full flags
    e642eb67b8c1 wifi: nl80211: fix integer overflow in nl80211_parse_mbssid_elems()
    5bdf1c1f346c KVM: SEV: only access GHCB fields once
    ec18273e41d9 KVM: SEV: snapshot the GHCB before accessing it
    f339d76a3a97 ksmbd: fix wrong next length validation of ea buffer in smb2_set_ea()
    c6bef3bc30fd ksmbd: validate command request size
    ccb1700ed606 tpm: Add a helper for checking hwrng enabled
    d8a7d6136cbf tpm: Disable RNG for all AMD fTPMs
    ed2f8701fb9b Revert "loongarch/cpu: Switch to arch_cpu_finalize_init()"
    65383fe06065 gcc-plugins: Reorganize gimple includes for GCC 13

(From OE-Core rev: 91711cc075d0b44a1a1adab5b3c27da95264dc6f)

(From OE-Core rev: 6c758bece326cf43eb46c95a420f0c9eb42e36ad)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-22 15:13:54 +01:00
Bruce Ashfield
beb31cb1c4 linux-yocto/6.4: update to v6.4.11
Updating  to the latest korg -stable release that comprises
the following commits:

    eb3cdb587879 Linux 6.4.11
    0fc364d079fd alpha: remove __init annotation from exported page_is_ram()
    7438f63562fa ACPI: scan: Create platform device for CS35L56
    fee4731266af platform/x86: serial-multi-instantiate: Auto detect IRQ resource for CSC3551
    cada3f116e8d platform: mellanox: Fix order in exit flow
    26cca33e5d2b platform: mellanox: mlx-platform: Modify graceful shutdown callback and power down mask
    90516af4b63c platform: mellanox: mlx-platform: Fix signals polarity and latch mask
    9005ce6ecd31 platform: mellanox: Change register offset addresses
    53f2cbc03aa5 platform/x86: lenovo-ymc: Only bind on machines with a convertible DMI chassis-type
    791a666573d1 platform/x86: msi-ec: Fix the build
    52620dae7c33 scsi: qedf: Fix firmware halt over suspend and resume
    78dca9ac06fc scsi: qedi: Fix firmware halt over suspend and resume
    d4326d5256cc scsi: fnic: Replace return codes in fnic_clean_pending_aborts()
    43c0e16d0c5e scsi: core: Fix possible memory leak if device_add() fails
    ed0acb1ee2e9 scsi: snic: Fix possible memory leak if device_add() fails
    0e85ca3f9272 scsi: 53c700: Check that command slot is not NULL
    9a731466afc5 scsi: ufs: renesas: Fix private allocation
    763c06565055 scsi: storvsc: Fix handling of virtual Fibre Channel timeouts
    20831760ea77 scsi: core: Fix legacy /proc parsing buffer overflow
    e044b1b286ec btrfs: set cache_block_group_error if we find an error
    84256e00eeca btrfs: reject invalid reloc tree root keys with stack dump
    a96b6519ac71 btrfs: exit gracefully if reloc roots don't match
    663c9949ba5c btrfs: properly clear end of the unreserved range in cow_file_range
    15da6eaecc2f btrfs: don't wait for writeback on clean pages in extent_write_cache_pages
    f1f2e3a418ff btrfs: don't stop integrity writeback too early
    793525c287c9 btrfs: wait for actual caching progress during allocation
    373b7dbe1c3d gpio: sim: mark the GPIO chip as a one that can sleep
    c2e0d39e76be gpio: ws16c48: Fix off-by-one error in WS16C48 resource region extent
    753bcd16bdf4 ibmvnic: Ensure login failure recovery is safe from other resets
    7024d79d01bb ibmvnic: Do partial reset on login failure
    3e4ae6669a0a ibmvnic: Handle DMA unmapping of login buffs in release functions
    7abe2a2033af ibmvnic: Unmap DMA login rsp buffer on send login fail
    2a394e5511fb ibmvnic: Enforce stronger sanity checks on login response
    62ef77587905 net/mlx5: Reload auxiliary devices in pci error handlers
    6a604ea891ba net/mlx5: Skip clock update work when device is in error state
    498e7e243458 net/mlx5: LAG, Check correct bucket when modifying LAG
    dc91dae14f6f net/mlx5e: Unoffload post act rule when handling FIB events
    4321bbc16fee net/mlx5: Allow 0 for total host VFs
    c256f96535bd net/mlx5: DR, Fix wrong allocation of modify hdr pattern
    bc1918bac0f3 net/mlx5e: TC, Fix internal port memory leak
    16b7775ae438 net/mlx5e: Take RTNL lock when needed before calling xdp_set_features()
    8c23a2878c82 dmaengine: owl-dma: Modify mismatched function name
    0d2bbddb0578 dmaengine: idxd: Clear PRS disable flag when disabling IDXD device
    957c8fbde39a dmaengine: mcf-edma: Fix a potential un-allocated memory access
    07f970ebe6dd net: hns3: fix strscpy causing content truncation issue
    d25665f52855 nexthop: Fix infinite nexthop bucket dump when using maximum nexthop ID
    0fb288559cd0 nexthop: Make nexthop bucket dump more efficient
    b6732dd0228c nexthop: Fix infinite nexthop dump when using maximum nexthop ID
    e691f864c043 net: enetc: reimplement RFS/RSS memory clearing as PCI quirk
    ef2d6bf96956 net: hns3: fix deadlock issue when externel_lb and reset are executed together
    008b9c6167bd net: hns3: add wait until mac link down
    6a5e230a8a17 net: hns3: refactor hclge_mac_link_status_wait for interface reuse
    7ae8fa6b7097 net: dsa: ocelot: call dsa_tag_8021q_unregister() under rtnl_lock() on driver remove
    15d362ca86c7 net: phy: at803x: remove set/get wol callbacks for AR8032
    8373dca3c1f8 net: marvell: prestera: fix handling IPv4 routes with nhid
    3fde6360e63c net: tls: avoid discarding data on record close
    f5ebe0d12d59 RDMA/bnxt_re: Fix error handling in probe failure path
    c95863f6d970 RDMA/bnxt_re: Properly order ib_device_unalloc() to avoid UAF
    1035af5a3bc5 RDMA/umem: Set iova in ODP flow
    e64babe4b8e1 wifi: cfg80211: fix sband iftype data lookup for AP_VLAN
    8ae32cdfa568 wifi: brcm80211: handle params_v1 allocation failure
    f16e9bfb574b drm/rockchip: Don't spam logs in atomic check
    bd7b1430a21b drm/nouveau: remove unused tu102_gr_load() function
    7eacde7fb948 drm/bridge: it6505: Check power state with it6505->powered in IRQ handler
    059412083cf7 drm/amd/display: Don't show stack trace for missing eDP
    d32a5e9b825d IB/hfi1: Fix possible panic during hotplug remove
    1b5006a37aa8 iavf: fix potential races for FDIR filters
    1b57f1794cf2 drivers: vxlan: vnifilter: free percpu vni stats on error path
    6b730822e4f1 drivers: net: prevent tun_build_skb() to exceed the packet size limit
    d1f38d313bdf dccp: fix data-race around dp->dccps_mss_cache
    eef72d9d719c bonding: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
    3e7722c31d41 xsk: fix refcount underflow in error path
    fe6a9f751673 tunnels: fix kasan splat when generating ipv4 pmtu error
    04a1dd890231 tcp: add missing family to tcp_set_ca_state() tracepoint
    3a1889c18558 PCI: move OF status = "disabled" detection to dev->match_driver
    1fa769379f16 net/smc: Use correct buffer sizes when switching between TCP and SMC
    452b2d7a4b1f net/smc: Fix setsockopt and sysctl to specify same buffer size again
    6664320bc2b0 net/packet: annotate data-races around tp->status
    813aa9981a6d ionic: Add missing err handling for queue reconfig
    d753b5f6b3f1 igc: Add lock to safeguard global Qbv variables
    c951a1eeff18 mptcp: fix the incorrect judgment for msk->cb_flags
    019928ce14fe macsec: use DEV_STATS_INC()
    ea7a38287d1f mISDN: Update parameter type of dsp_cmx_send()
    16ce06695c92 hwmon: (aquacomputer_d5next) Add selective 200ms delay after sending ctrl report
    4975d45c2631 bpf, sockmap: Fix bug that strp_done cannot be called
    1270c6299af3 bpf, sockmap: Fix map type error in sock_map_del_link
    d9252d67ed2f net: core: remove unnecessary frame_sz check in bpf_xdp_adjust_tail()
    3ee001d3aca5 selftests: forwarding: bridge_mdb: Make test more robust
    42543ba66de6 selftests: forwarding: bridge_mdb: Fix failing test with old libnet
    d847c5ee4a64 selftests: forwarding: bridge_mdb_max: Fix failing test with old libnet
    f6fcd58181f4 selftests: forwarding: tc_flower: Relax success criterion
    2d3edc009931 selftests: forwarding: tc_actions: Use ncat instead of nc
    ee5f0f837a3f selftests: forwarding: Switch off timeout
    98206738e761 selftests: forwarding: Skip test when no interfaces are specified
    16e6760d6d58 selftests: forwarding: hw_stats_l3_gre: Skip when using veth pairs
    17135cfe4752 selftests: forwarding: ethtool_extended_state: Skip when using veth pairs
    2235d0171f0e selftests: forwarding: ethtool: Skip when using veth pairs
    f00c016b0aa6 selftests: forwarding: Add a helper to skip test when using veth pairs
    0b1745accf6b selftests/rseq: Fix build with undefined __weak
    cf16eeb9816c selftests/bpf: fix a CI failure caused by vsock sockmap test
    3896d810d6fc dmaengine: xilinx: xdma: Fix Judgment of the return value
    65b884018c99 dmaengine: xilinx: xdma: Fix typo
    af406bdbf3b1 KVM: arm64: Fix hardware enable/disable flows for pKVM
    4d3fd2be849a selftests: forwarding: bridge_mdb: Check iproute2 version
    5853f362fcc6 selftests: forwarding: bridge_mdb_max: Check iproute2 version
    df96d95b7a76 selftests: forwarding: ethtool_mm: Skip when MAC Merge is not supported
    5025e4318a03 selftests: forwarding: tc_tunnel_key: Make filters more specific
    e431ff5cef6c interconnect: qcom: sm8550: add enable_mask for bcm nodes
    88131e424650 interconnect: qcom: sm8450: add enable_mask for bcm nodes
    8928567f460f interconnect: qcom: sa8775p: add enable_mask for bcm nodes
    37dcb0e7bc39 interconnect: qcom: Add support for mask-based BCMs
    8e744d466db6 iio: light: bu27034: Fix scale format
    a4b34cccff14 iio: core: Prevent invalid memory access when there is no parent
    3865436d2114 iio: imu: lsm6dsx: Fix mount matrix retrieval
    b686f6074c7b netfilter: nft_set_hash: mark set element as dead when deleting from packet path
    e4d71d6a9c7d netfilter: nf_tables: adapt set backend to use GC transaction API
    0624f190b574 netfilter: nf_tables: GC transaction API to avoid race with control plane
    bd156ce9553d netfilter: nf_tables: don't skip expired elements during walk
    e41bc6e0ec52 drm/nouveau/disp: Revert a NULL check inside nouveau_connector_get_modes
    456eac27a474 Revert "PCI: mvebu: Mark driver as BROKEN"
    c4ea4f7241dc x86: Move gds_ucode_mitigated() declaration to header
    f0d3379b4ea6 x86/speculation: Add cpu_show_gds() prototype
    c67ee610c9f9 x86/linkage: Fix typo of BUILD_VDSO in asm/linkage.h
    b85f340e5a9b x86/sev: Do not try to parse for the CC blob on non-AMD hardware
    5c0d1eda1f82 x86/mm: Fix VDSO and VVAR placement on 5-level paging machines
    0a638acf3367 x86/cpu/amd: Enable Zenbleed fix for AMD Custom APU 0405
    84bf9e4a4637 x86/vdso: Choose the right GDT_ENTRY_CPUNODE for 32-bit getcpu() on 64-bit kernel
    593d6381e646 x86/srso: Fix build breakage with the LLVM linker
    ce1ebdd6e639 usb: typec: altmodes/displayport: Signal hpd when configuring pin assignment
    aba8c65bb9e4 usb: typec: tcpm: Fix response to vsafe0V event
    7fd656100d59 usb: common: usb-conn-gpio: Prevent bailing out if initial role is none
    8c1edc00db65 USB: Gadget: core: Help prevent panic during UVC unconfigure
    558bcb5e7288 usb: dwc3: Properly handle processing of pending events
    373e0ab8c4c5 usb-storage: alauda: Fix uninit-value in alauda_check_media()
    0752bb32aed2 thunderbolt: Fix memory leak in tb_handle_dp_bandwidth_request()
    69304c8d285b misc: rtsx: judge ASPM Mode to set PETXCFG Reg
    ee95051c0c19 binder: fix memory leak in binder_init()
    13f3ce53b65a iio: adc: ina2xx: avoid NULL pointer dereference on OF device match
    a3751305397d iio: adc: meson: fix core clock enable/disable moment
    9656c2baeb54 iio: adc: ad7192: Fix ac excitation feature
    d28e4f9b5716 iio: frequency: admv1013: propagate errors from regulator_get_voltage()
    773cf6b3b64a iio: cros_ec: Fix the allocation size for cros_ec_command
    737d519e7b38 drm/amd/pm: avoid unintentional shutdown due to temperature momentary fluctuation
    a4e94b8816b6 drm/amd/pm: expose swctf threshold setting for legacy powerplay
    3a38bc2f475b mm: memory-failure: avoid false hwpoison page mapped error info
    97d06fb1e8a4 mm: memory-failure: fix potential unexpected return value from unpoison_memory()
    b41c0999b35f selftests: mm: ksm: fix incorrect evaluation of parameter
    da7beebb49c6 mm/damon/core: initialize damo_filter->list from damos_new_filter()
    9a1a43a0e7e9 hugetlb: do not clear hugetlb dtor until allocating vmemmap
    4747cc404258 accel/ivpu: Add set_pages_array_wc/uc for internal buffers
    5828d5f5dc87 nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iput
    6accf02034f2 fs/proc/kcore: reinstate bounce buffer for KCORE_TEXT regions
    ddcfc33a2038 cpufreq: amd-pstate: fix global sysfs attribute type
    965a20ed518a radix tree test suite: fix incorrect allocation size for pthreads
    651ed8d88521 hwmon: (pmbus/bel-pfe) Enable PMBUS_SKIP_STATUS_CHECK for pfe1100
    ad0bcbd2d19f zsmalloc: fix races between modifications of fullness and isolated
    f042605998da io_uring: correct check for O_TMPFILE
    6befa74c70fa cpuidle: psci: Move enabling OSI mode after power domains creation
    05dca3a190c7 cpuidle: dt_idle_genpd: Add helper function to remove genpd topology
    d78177be9b01 tpm_tis: Opt-in interrupts
    27722a5a5c30 tpm: tpm_tis: Fix UPX-i11 DMI_MATCH condition
    349a7b42bcd5 drm/amd: Disable S/G for APUs when 64GB or more host memory
    40df9ac4a936 drm/amd/display: check attr flag before set cursor degamma on DCN3+
    9206004c9540 drm/amd/display: Fix a regression on Polaris cards
    cef7a321d82f drm/amd/pm: correct the pcie width for smu 13.0.0
    e08e9dd09809 drm/amdgpu: fix possible UAF in amdgpu_cs_pass1()
    8996eeaac498 drm/shmem-helper: Reset vma->vm_ops before calling dma_buf_mmap()
    ab4ae028f973 drm/nouveau/nvkm/dp: Add workaround to fix DP 1.3+ DPCD issues
    1092c929bb78 drm/nouveau/gr: enable memory loads on helper invocation on all channels
    061fbf64825f nvme-pci: add NVME_QUIRK_BOGUS_NID for Samsung PM9B1 256G and 512G
    1e59c7194dc5 nvme-rdma: fix potential unbalanced freeze & unfreeze
    0c48e4590aa7 nvme-tcp: fix potential unbalanced freeze & unfreeze
    0712a9ef6b0b nvme: fix possible hang when removing a controller during error recovery
    b6c506a14686 riscv: mm: fix 2 instances of -Wmissing-variable-declarations
    e1bcaa14194b riscv/kexec: handle R_RISCV_CALL_PLT relocation type
    0b00f20d453e riscv,mmio: Fix readX()-to-delay() ordering
    ef6169c76999 riscv/kexec: load initrd high in available memory
    8486218eb60d riscv: Start of DRAM should at least be aligned on PMD size for the direct mapping
    24555c3794bc parisc: Fix lightweight spinlock checks to not break futexes
    7dc5a1f27989 io_uring/parisc: Adjust pgoff in io_uring mmap() for parisc
    729881aeec33 zram: take device and not only bvec offset into account
    0f70a470e2ed ACPI: resource: Add IRQ override quirk for PCSpecialist Elimina Pro 16 M
    2756f4353d26 ACPI: resource: Honor MADT INT_SRC_OVR settings for IRQ1 on AMD Zen
    8bb595a262bc ACPI: resource: Always use MADT override IRQ settings for all legacy non i8042 IRQs
    d9dbddc66461 ACPI: resource: revert "Remove "Zen" specific match and quirks"
    13716b91514c net: mana: Fix MANA VF unload when hardware is unresponsive
    d5c2c893e2f8 dmaengine: xilinx: xdma: Fix interrupt vector setting
    16ab6a83809d dmaengine: pl330: Return DMA_PAUSED when transaction is paused
    b2b4c84eb714 mptcp: fix disconnect vs accept race
    3c78824221ba mptcp: avoid bogus reset on fallback close
    4f733a06809c selftests: mptcp: join: fix 'implicit EP' test
    a762ac80dd6d selftests: mptcp: join: fix 'delete and re-add' test
    10d0726c4680 ipv6: adjust ndisc_is_useropt() to also return true for PIO
    8235a0ecabd3 mmc: sdhci-f-sdh30: Replace with sdhci_pltfm
    d361d76fdf9e mmc: moxart: read scr register without changing byte order
    d36914ba66c4 wireguard: allowedips: expand maximum node depth
    c0e1eebfe99e selftests: forwarding: Set default IPv6 traceroute utility
    d48663156f19 wifi: rtw89: fix 8852AE disconnection caused by RX full flags
    7d09f9f255a5 wifi: nl80211: fix integer overflow in nl80211_parse_mbssid_elems()
    ab8e9a874574 KVM: SEV: only access GHCB fields once
    b85422c221d5 KVM: SEV: snapshot the GHCB before accessing it
    4bf629262f91 ksmbd: fix wrong next length validation of ea buffer in smb2_set_ea()
    ff7236b66d69 ksmbd: validate command request size
    d75c2b5e06bc tpm: Add a helper for checking hwrng enabled
    6b718101cd99 tpm/tpm_tis: Disable interrupts for Lenovo P620 devices
    872fe964648c tpm: Disable RNG for all AMD fTPMs
    bc3d1e146f83 tpm/tpm_tis: Disable interrupts for TUXEDO InfinityBook S 15/17 Gen7

(From OE-Core rev: 6d831173b206f16ae62a61c79c3a4d73f940a5e8)

(From OE-Core rev: dae2be4ea2f6fd08ed0b1a89ebc5e5eafd574614)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-22 15:13:54 +01:00
Bruce Ashfield
d65e9aa756 linux-yocto/6.4: fix uninitialized read in nohz_full/isolcpus setup
Integrating the following commit(s) to linux-yocto/6.4:

    4675ec8d0b9a kernel/sched: Fix uninitialized read in nohz_full/isolcpus setup

The carry forward of commit from the v5.15 linux-yocto kernel:

https://git.yoctoproject.org/linux-yocto/commit/?id=97c96388922

...in which case the sanity checks are properly *after* the allocation
and processing of the bootargs into the cpumask.

However, it seems patch (or wiggle?) apparently decided to put the
sanity checks *before* the population of the cpumask during the
carry-forward and generation of the new v6.1 kernel.  Meaning they are
validating uninitialized memory and hence nohz_full= and isolcpus= are
subject to random failures even for valid input ranges.

(From OE-Core rev: b3a71c7d36e3a4833e90728499e08543257042a1)

(From OE-Core rev: bb5865b10316754213711551fa68a53a4fb741d9)

Signed-off-by: Adrian Cinal <adriancinal1@gmail.com>
Acked-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-22 15:13:54 +01:00
Bruce Ashfield
0dba974a14 linux-yocto/6.1: fix uninitialized read in nohz_full/isolcpus setup
Integrating the following commit(s) to linux-yocto/6.1:

    4675ec8d0b9a kernel/sched: Fix uninitialized read in nohz_full/isolcpus setup

The carry forward of commit from the v5.15 linux-yocto kernel:

https://git.yoctoproject.org/linux-yocto/commit/?id=97c96388922

...in which case the sanity checks are properly *after* the allocation
and processing of the bootargs into the cpumask.

However, it seems patch (or wiggle?) apparently decided to put the
sanity checks *before* the population of the cpumask during the
carry-forward and generation of the new v6.1 kernel.  Meaning they are
validating uninitialized memory and hence nohz_full= and isolcpus= are
subject to random failures even for valid input ranges.

(From OE-Core rev: 4b349ee66eab8ebe3150ac4c1b449ea5c264a5be)

(From OE-Core rev: 92642acd1166b7990fb520337b78a4d37ce7cbe4)

Signed-off-by: Adrian Cinal <adriancinal1@gmail.com>
Acked-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-22 15:13:54 +01:00
Bruce Ashfield
5e8e48567c kern-tools: include utility to post process config diffs
Trevor Woerner contributed a simple utility that cleans up a .config
diff to produce a fragment.

    kconfig-diff2frag.py: introduce a utility to post process a config diff

    Add a python tool to generate a config fragment from a unified diff of two
    kernel configurations. The diff is read from stdin and the fragment is printed
    to stdout.

    Usage:
            $ diff -u config1 config2 | kconfig-diff2frag.py

(From OE-Core rev: f9fc16e1776452d3f0c4d6dd8f8eece66722128a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-22 15:13:54 +01:00
Bruce Ashfield
ec51230f86 linux-yocto/6.1: update to v6.1.45
Updating  to the latest korg -stable release that comprises
the following commits:

    1321ab403b38 Linux 6.1.45
    f2615bb47be4 x86/CPU/AMD: Do not leak quotient data after a division by 0
    673cdde74fd1 Revert "drm/i915: Disable DC states for all commits"
    af7215182417 drm/amdgpu: Use apt name for FW reserved region
    3d0a34c42f0d drm/amdgpu: Remove unnecessary domain argument
    526defeec474 drm/amdgpu: add vram reservation based on vram_usagebyfirmware_v2_2
    99255a2b6849 arm64/ptrace: Don't enable SVE when setting streaming SVE
    c2fdf827f8fc exfat: check if filename entries exceeds max filename length
    e2fb24ce37ca f2fs: don't reset unchangable mount option in f2fs_remount()
    6ba0594a81f9 f2fs: fix to set flush_merge opt and show noflush_merge
    e355972affb6 selftests/rseq: Play nice with binaries statically linked against glibc 2.35+
    56562676102e drm/amd/display: skip CLEAR_PAYLOAD_ID_TABLE if device mst_en is 0
    63eeb50fa110 drm/amd/display: Ensure that planes are in the same order
    740d4cae248a drm/imx/ipuv3: Fix front porch adjustment upon hactive aligning
    a492b8281c36 powerpc/mm/altmap: Fix altmap boundary check
    f4b700c71802 mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op()
    b71c00256da4 mtd: rawnand: rockchip: Align hwecc vs. raw page helper layouts
    5a8a35b71bd3 mtd: rawnand: rockchip: fix oobfree offset and description
    6c591fce484e mtd: rawnand: omap_elm: Fix incorrect type in assignment
    88b1958fb57d io_uring: annotate offset timeout races
    a78a8bcdc26d f2fs: fix to do sanity check on direct node in truncate_dnode()
    23e72231f828 btrfs: remove BUG_ON()'s in add_new_free_space()
    56c0d76a9722 ext2: Drop fragment support
    295ef44a2aba fs: Protect reconfiguration of sb read-write from racing writes
    1bebbd9b8037 net: usbnet: Fix WARNING in usbnet_start_xmit/usb_submit_urb
    203d58930d4a debugobjects: Recheck debug_objects_enabled before reporting
    29fac1849933 Bluetooth: L2CAP: Fix use-after-free in l2cap_sock_ready_cb
    1416eebaad80 fs/sysv: Null check to prevent null-ptr-deref bug
    ccc6de4d4f34 fs/ntfs3: Use __GFP_NOWARN allocation at ntfs_load_attr_list()
    33d9490b27e5 mm: kmem: fix a NULL pointer dereference in obj_stock_flush_required()
    4968484ac8ef file: reinstate f_pos locking optimization for regular files
    7a1178a3671b bpf, cpumap: Make sure kthread is running before map update returns
    8a211e9118d5 clk: imx93: Propagate correct error in imx93_clocks_probe()
    37f6073f7db3 drm/i915/gt: Cleanup aux invalidation registers
    4db8b39418a6 drm/i915: Fix premature release of request's reusable memory
    1fdd16d89c01 drm/ttm: check null pointer before accessing when swapping
    4f03b0471ee0 open: make RESOLVE_CACHED correctly test for O_TMPFILE
    61f96da37dd4 arm64/fpsimd: Sync FPSIMD state with SVE for SME only systems
    654c1dd350c7 arm64/fpsimd: Clear SME state in the target task when setting the VL
    bae353469a28 arm64/fpsimd: Sync and zero pad FPSIMD state for streaming SVE
    b8ea2a46913b powerpc/ftrace: Create a dummy stackframe to fix stack unwind
    36dd8ca330b7 bpf: Disable preemption in bpf_event_output
    ec062367fa0c rbd: prevent busy loop when requesting exclusive lock
    98cccbd0a19a x86/hyperv: Disable IBT when hypercall page lacks ENDBR instruction
    0526119bf59e wifi: mt76: mt7615: do not advertise 5 GHz on first phy of MT7615D (DBDC)
    767800fc402d net: tap_open(): set sk_uid from current_fsuid()
    b6846d7c408b net: tun_chr_open(): set sk_uid from current_fsuid()
    367fdf369dc7 arm64: dts: stratix10: fix incorrect I2C property for SCL signal
    3654ed5daf49 bpf: Disable preemption in bpf_perf_event_output
    680f4d8aec1b mtd: rawnand: meson: fix OOB available bytes for ECC
    67327cadba59 mtd: spinand: toshiba: Fix ecc_get_status
    724ce05212d0 exfat: release s_lock before calling dir_emit()
    1427a7e96fb9 exfat: use kvmalloc_array/kvfree instead of kmalloc_array/kfree
    bc41119995e4 firmware: arm_scmi: Drop OF node reference in the transport channel setup
    a062da58ed97 ceph: defer stopping mdsc delayed_work
    ad82aac732c2 USB: zaurus: Add ID for A-300/B-500/C-700
    be52667ba243 libceph: fix potential hang in ceph_osdc_notify()
    f62faadc791e scsi: storvsc: Limit max_sectors for virtual Fibre Channel devices
    645603ab5fa8 scsi: zfcp: Defer fc_rport blocking until after ADISC response
    f0618c305b41 rust: allocator: Prevent mis-aligned allocation
    cd4bdf8f98ef tcp_metrics: fix data-race in tcpm_suck_dst() vs fastopen
    e53917e7efea tcp_metrics: annotate data-races around tm->tcpm_net
    6dea95d8caff tcp_metrics: annotate data-races around tm->tcpm_vals[]
    fee608e80271 tcp_metrics: annotate data-races around tm->tcpm_lock
    4a77a0f7526c tcp_metrics: annotate data-races around tm->tcpm_stamp
    71f891a25405 tcp_metrics: fix addr_same() helper
    afac854f8221 prestera: fix fallback to previous version on same major version
    72b3aea3450e net/mlx5: fs_core: Skip the FTs in the same FS_TYPE_PRIO_CHAINS fs_prio
    1ca50e5de43a net/mlx5: fs_core: Make find_closest_ft more generic
    7b8717658dff vxlan: Fix nexthop hash size
    691a09eecad9 ip6mr: Fix skb_under_panic in ip6mr_cache_report()
    86818409f989 s390/qeth: Don't call dev_close/dev_open (DOWN/UP)
    ecff20e19320 net: dcb: choose correct policy to parse DCB_ATTR_BCN
    421e02bda057 bnxt_en: Fix max_mtu setting for multi-buf XDP
    e9f11bfc03fb bnxt_en: Fix page pool logic for page size >= 64K
    64763dd851fa net: netsec: Ignore 'phy-mode' on SynQuacer in DT mode
    8afe27770dea net: korina: handle clk prepare error in korina_probe()
    58660666b464 net: ll_temac: fix error checking of irq_of_parse_and_map()
    834422b06c8b bpf: sockmap: Remove preempt_disable in sock_map_sk_acquire
    d4d3b53a4c66 net/sched: cls_route: No longer copy tcf_result on update to avoid use-after-free
    7f691439b29b net/sched: cls_fw: No longer copy tcf_result on update to avoid use-after-free
    aab2d095ce4d net/sched: cls_u32: No longer copy tcf_result on update to avoid use-after-free
    cbd000451885 bpf, cpumap: Handle skb as well when clean up ptr_ring
    4461b2cae326 ice: Fix RDMA VSI removal during queue rebuild
    0b45af982a4d net/sched: taprio: Limit TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME to INT_MAX.
    12d4ba181424 net: annotate data-races around sk->sk_priority
    6326c83ee27e net: add missing data-race annotation for sk_ll_usec
    dd7a1ff07c6c net: add missing data-race annotations around sk->sk_peek_off
    b53468041d20 net: annotate data-races around sk->sk_mark
    c7bb6860645f net: add missing READ_ONCE(sk->sk_rcvbuf) annotation
    10c832159622 net: add missing READ_ONCE(sk->sk_sndbuf) annotation
    0a40103c9191 net: add missing READ_ONCE(sk->sk_rcvlowat) annotation
    be43c8f1c916 net: annotate data-races around sk->sk_max_pacing_rate
    0317c8322d9a net: annotate data-race around sk->sk_txrehash
    60d92bc9c094 net: annotate data-races around sk->sk_reserved_mem
    9da9ea9b132c qed: Fix scheduling in a tasklet while getting stats
    3c42307abe97 mISDN: hfcpci: Fix potential deadlock on &hc->lock
    d652c080b67c net: sched: cls_u32: Fix match key mis-addressing
    22709d85373f perf test uprobe_from_different_cu: Skip if there is no gcc
    5ef5b6e9c17b net: dsa: fix value check in bcm_sf2_sw_probe()
    8dfac8071d58 rtnetlink: let rtnl_bridge_setlink checks IFLA_BRIDGE_MODE length
    24772cc31f00 bpf: Add length check for SK_DIAG_BPF_STORAGE_REQ_MAP_FD parsing
    d628ba98eb16 net/mlx5e: Move representor neigh cleanup to profile cleanup_tx
    94a0eb9c12be net/mlx5e: Fix crash moving to switchdev mode when ntuple offload is set
    a7b5f001004c net/mlx5e: fix return value check in mlx5e_ipsec_remove_trailer()
    0582a3caaa3e net/mlx5: fix potential memory leak in mlx5e_init_rep_rx
    3169c3854397 net/mlx5: DR, fix memory leak in mlx5dr_cmd_create_reformat_ctx
    c818fff3b6cb net/mlx5e: fix double free in macsec_fs_tx_create_crypto_table_groups
    7a6fad03f54c wifi: cfg80211: Fix return value in scan logic
    05e0952ddb75 erofs: fix wrong primary bvec selection on deduplicated extents
    a759972d2549 KVM: s390: fix sthyi error handling
    f168188174b3 word-at-a-time: use the same return type for has_zero regardless of endianness
    5b53b2b44f0c firmware: arm_scmi: Fix chan_free cleanup on SMC
    6289d5486d36 lib/bitmap: workaround const_eval test build failure
    0ca5de8309f9 firmware: smccc: Fix use of uninitialised results structure
    7b0582dddd7e arm64: dts: freescale: Fix VPU G2 clock
    5841d3d0c352 arm64: dts: imx8mn-var-som: add missing pull-up for onboard PHY reset pinmux
    a24f67b71ad2 arm64: dts: phycore-imx8mm: Correction in gpio-line-names
    753a927c5841 arm64: dts: phycore-imx8mm: Label typo-fix of VPU
    608ac7ea5f05 arm64: dts: imx8mm-venice-gw7904: disable disp_blk_ctrl
    d060bbb2fed8 arm64: dts: imx8mm-venice-gw7903: disable disp_blk_ctrl
    8ddb3183c439 iommu/arm-smmu-v3: Document nesting-related errata
    42d04acf1d9b iommu/arm-smmu-v3: Add explicit feature for nesting
    57ae3671ece5 iommu/arm-smmu-v3: Document MMU-700 erratum 2812531
    e3399bd014e9 iommu/arm-smmu-v3: Work around MMU-600 erratum 1076982
    50c24f0c9407 net: ipa: only reset hashed tables when supported
    93f5b881125e net/mlx5: Free irqs only on shutdown callback
    15c22cd1de50 perf: Fix function pointer case
    c7920f992840 io_uring: gate iowait schedule on having pending requests

(From OE-Core rev: 9cdf022205d4bfe30ed71a4b1ac2edfb88eff560)

(From OE-Core rev: e8b3099f472201410cba6c3f30745d3b83e15a21)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-22 15:13:54 +01:00
Bruce Ashfield
db79275071 linux-yocto/6.4: update to v6.4.10
Updating  to the latest korg -stable release that comprises
the following commits:

    b269b0268d41 Linux 6.4.10
    c9c0b889e2d3 x86/CPU/AMD: Do not leak quotient data after a division by 0
    493c80a4f20b drm/i915/gt: Enable the CCS_FLUSH bit in the pipe control and in the CS
    43f5167d2cdc drm/i915/gt: Support aux invalidation on all engines
    e66e37671c18 drm/i915/gt: Poll aux invalidation register bit on invalidation
    10be2cb87f0a drm/i915/gt: Rename flags with bit_group_X according to the datasheet
    73400908a97b drm/i915/gt: Add workaround 14016712196
    17b66e10b134 drm/i915/gt: Ensure memory quiesced before invalidation
    c0660d36ecd8 drm/i915: Add the gen12_needs_ccs_aux_inv helper
    7f87080d2e97 ARM: dts: nxp/imx6sll: fix wrong property name in usbphy node
    544fdf64d698 selftests/rseq: Play nice with binaries statically linked against glibc 2.35+
    33f735ef8dfe drm/amdgpu: Use apt name for FW reserved region
    61977b1526ba drm/imx/ipuv3: Fix front porch adjustment upon hactive aligning
    bbfa34c97d8b powerpc/mm/altmap: Fix altmap boundary check
    49e57caf967a mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op()
    65df5d2ecc2c mtd: spi-nor: avoid holes in struct spi_mem_op
    45d69917a4af clk: mediatek: mt8183: Add back SSPM related clocks
    182ac84852a8 mtd: rawnand: rockchip: Align hwecc vs. raw page helper layouts
    550322382c5c mtd: rawnand: rockchip: fix oobfree offset and description
    b3e2e796be07 mtd: rawnand: omap_elm: Fix incorrect type in assignment
    a126124c86c5 io_uring: annotate offset timeout races
    af0f716ad3b0 f2fs: fix to do sanity check on direct node in truncate_dnode()
    f775ceb0cb53 btrfs: remove BUG_ON()'s in add_new_free_space()
    27f92aad4f17 ext2: Drop fragment support
    d160941e1537 mm/gup: do not return 0 from pin_user_pages_fast() for bad args
    4abda85197ba fs: Protect reconfiguration of sb read-write from racing writes
    0dd3e0c31bf3 net: usbnet: Fix WARNING in usbnet_start_xmit/usb_submit_urb
    6da717fc5d90 debugobjects: Recheck debug_objects_enabled before reporting
    10426afe65c8 Bluetooth: L2CAP: Fix use-after-free in l2cap_sock_ready_cb
    e28f376dd8df fs/sysv: Null check to prevent null-ptr-deref bug
    e0a30f9d1a5e kasan,kmsan: remove __GFP_KSWAPD_RECLAIM usage from kasan/kmsan
    664dbb356f67 fs/ntfs3: Use __GFP_NOWARN allocation at ntfs_load_attr_list()
    33391c7e1a2a mm: kmem: fix a NULL pointer dereference in obj_stock_flush_required()
    11e760b5e7f2 file: reinstate f_pos locking optimization for regular files
    158b3678c86b clk: imx93: Propagate correct error in imx93_clocks_probe()
    ee9968d72af8 sunvnet: fix sparc64 build error after gso code split
    5415dde3e76a Revert "page cache: fix page_cache_next/prev_miss off by one"
    6df7dd9270c5 drm/i915/gt: Cleanup aux invalidation registers
    ed7ac41cfcef drm/i915: Fix premature release of request's reusable memory
    49b3b979e79f drm/ttm: check null pointer before accessing when swapping
    e3c24712441e open: make RESOLVE_CACHED correctly test for O_TMPFILE
    64b7ae70678b arm64/ptrace: Don't enable SVE when setting streaming SVE
    0d22576f1903 arm64/ptrace: Flush FP state when setting ZT0
    cfb2b39db538 arm64/fpsimd: Sync FPSIMD state with SVE for SME only systems
    789c015d9a18 arm64/fpsimd: Clear SME state in the target task when setting the VL
    0693012274fd arm64/fpsimd: Sync and zero pad FPSIMD state for streaming SVE
    434ebb3960b7 parisc/mm: preallocate fixmap page tables at init
    410b0d2d54e6 powerpc/ftrace: Create a dummy stackframe to fix stack unwind
    f2556c93c388 smb: client: fix dfs link mount against w2k8
    063c9ce8e74e bpf: Disable preemption in bpf_event_output
    7bb7b479d111 rbd: prevent busy loop when requesting exclusive lock
    73626b70b361 x86/hyperv: Disable IBT when hypercall page lacks ENDBR instruction
    01c3a34f5ed7 wifi: mt76: mt7615: do not advertise 5 GHz on first phy of MT7615D (DBDC)
    ea6cce8d6899 net: tap_open(): set sk_uid from current_fsuid()
    36161e7d40e7 net: tun_chr_open(): set sk_uid from current_fsuid()
    040d7f19f206 arm64: dts: stratix10: fix incorrect I2C property for SCL signal
    a0ac32cf61e5 bpf: Disable preemption in bpf_perf_event_output
    d92b04b2eae0 riscv: Export va_kernel_pa_offset in vmcoreinfo
    501a38b801f4 mtd: rawnand: meson: fix OOB available bytes for ECC
    6c26c42e076e mtd: spinand: winbond: Fix ecc_get_status
    fa4cfb7d204c mtd: spinand: toshiba: Fix ecc_get_status
    e705b1680001 exfat: release s_lock before calling dir_emit()
    e1a73ba43cf8 exfat: check if filename entries exceeds max filename length
    0c5c3e8a2550 exfat: use kvmalloc_array/kvfree instead of kmalloc_array/kfree
    3d4d2e55b31c firmware: arm_scmi: Drop OF node reference in the transport channel setup
    0b39dfaf255b ceph: defer stopping mdsc delayed_work
    c29cc7eef96b USB: zaurus: Add ID for A-300/B-500/C-700
    7d4b6fd65815 libceph: fix potential hang in ceph_osdc_notify()
    b31ef844d430 Documentation: kdump: Add va_kernel_pa_offset for RISCV64
    d678df66b1af scsi: storvsc: Limit max_sectors for virtual Fibre Channel devices
    2c2aa8d0e2a5 scsi: zfcp: Defer fc_rport blocking until after ADISC response
    0c8515842b82 rust: allocator: Prevent mis-aligned allocation
    3a2543be8a7e test/vsock: remove vsock_perf executable on `make clean`
    d6d195f2e7b1 tcp_metrics: fix data-race in tcpm_suck_dst() vs fastopen
    fd147efc9610 tcp_metrics: annotate data-races around tm->tcpm_net
    6f27b67fc329 tcp_metrics: annotate data-races around tm->tcpm_vals[]
    d8064e2859ae tcp_metrics: annotate data-races around tm->tcpm_lock
    cbe9433586be tcp_metrics: annotate data-races around tm->tcpm_stamp
    f47cff05d3b3 tcp_metrics: fix addr_same() helper
    9defb2b3843c prestera: fix fallback to previous version on same major version
    ac2b423db9b1 net/mlx5e: Set proper IPsec source port in L4 selector
    a1e071efa766 net/mlx5: fs_core: Skip the FTs in the same FS_TYPE_PRIO_CHAINS fs_prio
    b1aa1b267b91 net/mlx5: fs_core: Make find_closest_ft more generic
    23c195ce6f4a vxlan: Fix nexthop hash size
    3326c711f18d ip6mr: Fix skb_under_panic in ip6mr_cache_report()
    29d6fe395087 s390/qeth: Don't call dev_close/dev_open (DOWN/UP)
    199fde04bd87 net: dcb: choose correct policy to parse DCB_ATTR_BCN
    893096a7e5fd bnxt_en: Fix max_mtu setting for multi-buf XDP
    ae0e135dc900 bnxt_en: Fix page pool logic for page size >= 64K
    5d015db7e60d selftest: net: Assert on a proper value in so_incoming_cpu.c.
    0c1763e20c66 net: netsec: Ignore 'phy-mode' on SynQuacer in DT mode
    d948a2ab44ea net: korina: handle clk prepare error in korina_probe()
    18e647c01749 net: ll_temac: fix error checking of irq_of_parse_and_map()
    1b7c8cbbd6f6 bpf: sockmap: Remove preempt_disable in sock_map_sk_acquire
    a836184b670f net/sched: cls_route: No longer copy tcf_result on update to avoid use-after-free
    7d848d718aeb net/sched: cls_fw: No longer copy tcf_result on update to avoid use-after-free
    4b717802428f net/sched: cls_u32: No longer copy tcf_result on update to avoid use-after-free
    937345720d18 bpf, cpumap: Handle skb as well when clean up ptr_ring
    ecb45b852af5 bpf, cpumap: Make sure kthread is running before map update returns
    382535c063de bpf: Centralize permissions checks for all BPF map types
    514b9c25ffe6 bpf: Inline map creation logic in map_create() function
    3cf214f2755b bpf: Move unprivileged checks into map_create() and bpf_prog_load()
    0acc483f9b4d octeon_ep: initialize mbox mutexes
    34115ad1e5b5 bnxt: don't handle XDP in netpoll
    f7cdae9fbda2 ice: Fix RDMA VSI removal during queue rebuild
    a54bf862ccad net: usb: lan78xx: reorder cleanup operations to avoid UAF bugs
    57b3fe08ae06 net/sched: taprio: Limit TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME to INT_MAX.
    7e7c4fdee5c7 net: annotate data-races around sk->sk_priority
    9ceaff1556dc net: add missing data-race annotation for sk_ll_usec
    eb2604f073ee net: add missing data-race annotations around sk->sk_peek_off
    b76d2fa662b7 net: annotate data-races around sk->sk_mark
    ea47de09819b net: add missing READ_ONCE(sk->sk_rcvbuf) annotation
    4b5bda4502dd net: add missing READ_ONCE(sk->sk_sndbuf) annotation
    4685a86b9f25 net: add missing READ_ONCE(sk->sk_rcvlowat) annotation
    98ee7a0fe181 net: annotate data-races around sk->sk_max_pacing_rate
    d0e273bc559b net: annotate data-race around sk->sk_txrehash
    6269d3eaf443 net: annotate data-races around sk->sk_reserved_mem
    5ac34598be7b net: gro: fix misuse of CB in udp socket lookup
    bbe07adbaf39 net: move gso declarations and functions to their own files
    3e0d2545f94a qed: Fix scheduling in a tasklet while getting stats
    3a234a486791 net: stmmac: tegra: Properly allocate clock bulk data
    ea496e48d656 mISDN: hfcpci: Fix potential deadlock on &hc->lock
    de14cff7164d net: sched: cls_u32: Fix match key mis-addressing
    4034838ab0d5 perf test uprobe_from_different_cu: Skip if there is no gcc
    76d0f82f68a2 net: dsa: fix value check in bcm_sf2_sw_probe()
    00757f58e37b rtnetlink: let rtnl_bridge_setlink checks IFLA_BRIDGE_MODE length
    95b2e27b1139 bpf: Add length check for SK_DIAG_BPF_STORAGE_REQ_MAP_FD parsing
    471f59b34553 net/mlx5: Unregister devlink params in case interface is down
    3280f8a40190 net/mlx5: fs_chains: Fix ft prio if ignore_flow_level is not supported
    bd964343338e net/mlx5e: kTLS, Fix protection domain in use syndrome when devlink reload
    02a84eb2af6b net/mlx5e: xsk: Fix crash on regular rq reactivation
    58a113a35846 net/mlx5e: xsk: Fix invalid buffer access for legacy rq
    36697c592cd0 net/mlx5e: Move representor neigh cleanup to profile cleanup_tx
    90c226e46785 net/mlx5e: Fix crash moving to switchdev mode when ntuple offload is set
    2e76da7bda60 net/mlx5e: Don't hold encap tbl lock if there is no encap action
    0302414ca593 net/mlx5: Honor user input for migratable port fn attr
    cc94d516c3a9 net/mlx5e: fix return value check in mlx5e_ipsec_remove_trailer()
    c265d8c2e255 net/mlx5: fix potential memory leak in mlx5e_init_rep_rx
    622d71d99124 net/mlx5: DR, fix memory leak in mlx5dr_cmd_create_reformat_ctx
    957702c389a8 net/mlx5e: fix double free in macsec_fs_tx_create_crypto_table_groups
    1d23e51cc6a6 wifi: cfg80211: Fix return value in scan logic
    0ab6fac37032 perf pmu arm64: Fix reading the PMU cpu slots in sysfs
    b845249a4e5e erofs: fix wrong primary bvec selection on deduplicated extents
    53980121e1a6 KVM: s390: fix sthyi error handling
    601e467e29a9 s390/vmem: split pages when debug pagealloc is enabled
    cfa54fb51357 word-at-a-time: use the same return type for has_zero regardless of endianness
    0326a5bd6f58 ARM: dts: at91: sam9x60: fix the SOC detection
    08491e1cadd6 ARM: dts: at91: use generic name for shutdown controller
    ccec3e7f2b79 ARM: dts: at91: use clock-controller name for sckc nodes
    51a34cb21fd6 ARM: dts: at91: use clock-controller name for PMC nodes
    a5bdeb37a053 firmware: arm_scmi: Fix chan_free cleanup on SMC
    5dcc40b28c3f soc: imx: imx8mp-blk-ctrl: register HSIO PLL clock as bus_power_dev child
    2b41891b9cc1 ARM: dts: nxp/imx: limit sk-imx53 supported frequencies
    8626358813be lib/bitmap: workaround const_eval test build failure
    9851630bbd45 firmware: arm_scmi: Fix signed error return values handling
    32e44b7d7acc firmware: smccc: Fix use of uninitialised results structure
    4cfbe33a8897 arm64: dts: freescale: Fix VPU G2 clock
    25ee70d51d0a arm64: dts: imx8mn-var-som: add missing pull-up for onboard PHY reset pinmux
    d5d5cbb0d051 arm64: dts: phycore-imx8mm: Correction in gpio-line-names
    3fe4b022bbb5 arm64: dts: phycore-imx8mm: Label typo-fix of VPU
    599c6d1ce1b6 arm64: dts: imx8mm-venice-gw7904: disable disp_blk_ctrl
    132d600e52a7 arm64: dts: imx8mm-venice-gw7903: disable disp_blk_ctrl
    5ed4b021a3ba iommu/arm-smmu-v3: Document nesting-related errata
    c7af8840f215 iommu/arm-smmu-v3: Add explicit feature for nesting
    8f2c8d8a8dec iommu/arm-smmu-v3: Document MMU-700 erratum 2812531
    f6a58dbe36d7 iommu/arm-smmu-v3: Work around MMU-600 erratum 1076982
    93a0b7d43de5 mm: lock_vma_under_rcu() must check vma->anon_vma under vma lock

(From OE-Core rev: e9a34ef96868b64b37d12061e4daef7da978c38d)

(From OE-Core rev: 89e78af9657cf41a5e6cedf4addd064b3c4dec28)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-22 15:13:54 +01:00
Bruce Ashfield
c734aad7ce linux-yocto/6.1: update to v6.1.44
Updating  to the latest korg -stable release that comprises
the following commits:

    0a4a7855302d Linux 6.1.44
    dd5f2ef16e3c x86: fix backwards merge of GDS/SRSO bit
    fa5b932b77c8 xen/netback: Fix buffer overrun triggered by unusual packet
    4f25355540ad x86/srso: Tie SBPB bit setting to microcode patch detection
    77cf32d0dbfb x86/srso: Add a forgotten NOENDBR annotation
    c7f2cd045542 x86/srso: Fix return thunks in generated code
    c9ae63d773ca x86/srso: Add IBPB on VMEXIT
    79c8091888ef x86/srso: Add IBPB
    98f62883e751 x86/srso: Add SRSO_NO support
    9139f4b6dd4f x86/srso: Add IBPB_BRTYPE support
    ac41e90d8daa x86/srso: Add a Speculative RAS Overflow mitigation
    dec3b91f2c4b x86/cpu, kvm: Add support for CPUID_80000021_EAX
    dfede4cb8ef7 x86/bugs: Increase the x86 bugs vector size to two u32s
    dacb0bac2edb Documentation/x86: Fix backwards on/off logic about YMM support
    051f5dcf144a x86/mm: Initialize text poking earlier
    e0fd83a193c5 mm: Move mm_cachep initialization to mm_init()
    9ae15aaff39c x86/mm: Use mm_alloc() in poking_init()
    d972c8c08f96 x86/mm: fix poking_init() for Xen PV guests
    7f3982de36c6 x86/xen: Fix secondary processors' FPU initialization
    baa7b7501e41 x86/mem_encrypt: Unbreak the AMD_MEM_ENCRYPT=n build
    b6fd07c41b4c KVM: Add GDS_NO support to KVM
    c04579e95492 x86/speculation: Add Kconfig option for GDS
    92fc27c79bc7 x86/speculation: Add force option to GDS mitigation
    c66ebe070d96 x86/speculation: Add Gather Data Sampling mitigation
    f25ad76d9217 x86/fpu: Move FPU initialization into arch_cpu_finalize_init()
    e26932942b2c x86/fpu: Mark init functions __init
    9e8d9d399094 x86/fpu: Remove cpuinfo argument from init functions
    c956807d8462 x86/init: Initialize signal frame size late
    b0837880fa65 init, x86: Move mem_encrypt_init() into arch_cpu_finalize_init()
    8183a89caf67 init: Invoke arch_cpu_finalize_init() earlier
    a3342c60dcc5 init: Remove check_bugs() leftovers
    8beabde0ed8d um/cpu: Switch to arch_cpu_finalize_init()
    ce97072e10cc sparc/cpu: Switch to arch_cpu_finalize_init()
    84f585542ec6 sh/cpu: Switch to arch_cpu_finalize_init()
    6a90583dbd9b mips/cpu: Switch to arch_cpu_finalize_init()
    489ae02c8993 m68k/cpu: Switch to arch_cpu_finalize_init()
    08e86d42e2c9 loongarch/cpu: Switch to arch_cpu_finalize_init()
    403e4cc67e4c ia64/cpu: Switch to arch_cpu_finalize_init()
    e2e06240ae47 ARM: cpu: Switch to arch_cpu_finalize_init()
    7918a3555a25 x86/cpu: Switch to arch_cpu_finalize_init()
    d5501f2ff80d init: Provide arch_cpu_finalize_init()

(From OE-Core rev: c8b669d53b3444191c83f171768b03f96913f4eb)

(From OE-Core rev: ee0f9bb134ed2167bd014aaa0fafa551215a6f28)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-22 15:13:54 +01:00
Richard Purdie
5710958460 build-sysroots: Ensure dependency chains are minimal
We need to ensure this recipe doesn't have dependencies on others. The SPDX
classes/tasks introduce dependenies quilt-native and patch-native which can
introduce races on files in the sysroots. Avoid the races by removing the
tasks we don't need.

[YOCTO #15186]

(From OE-Core rev: a5dc278b077edba8f4099f0f6dfb97e97f680320)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-22 15:13:54 +01:00
Richard Purdie
33fec625ad binutils: Add missing DEPENDS on pod2man
Otherwise this can be used from the host leading to output determinism issues
where the output may have zero length files for man pages without it.

Limit it to target only since we don't need this for native/cross.

(From OE-Core rev: 77f615fd49efe4b38db030c602eff709e3bc0f14)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-22 15:13:54 +01:00
Frederic Martinsons
37ebe9907a oeqa/runtime/rust: correct rust test
Since setUp of RustCompileTest use cls.tc.copyTo, those tests needs the scp command:

NOTE: ======================================================================
NOTE: FAIL: test_cargo_compile (rust.RustCompileTest)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
  File "/home/jenkins/yocto-poky-master/poky/meta/lib/oeqa/core/case.py", line 53, in _oeSetUp
    self.setUpMethod()
  File "/home/jenkins/yocto-poky-master/poky/meta/lib/oeqa/runtime/cases/rust.py", line 17, in setUp
    cls.tc.target.copyTo(src, dst)
  File "/home/jenkins/yocto-poky-master/poky/meta/lib/oeqa/core/target/ssh.py", line 132, in copyTo
    return self._run(scpCmd, ignore_status=False)
  File "/home/jenkins/yocto-poky-master/poky/meta/lib/oeqa/core/target/ssh.py", line 81, in _run
    raise AssertionError("Command '%s' returned non-zero exit "
AssertionError: Command '['scp', '-o', 'ServerAliveCountMax=2', '-o', 'ServerAliveInterval=30', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-o', 'LogLevel=ERROR', '-r', '-P', '2222', '/home/jenkins/yocto-poky-master/poky/meta/lib/oeqa/files/test.rs', 'root@127.0.0.1:/tmp/']' returned non-zero exit status 1:
sh: scp: not found
lost connection

(From OE-Core rev: 1bf24df9be44c73e5d8e90feb446ecfcd542228c)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 16:15:35 +01:00
Frederic Martinsons
5116f2b2cf rust: provide examples for C library generation in rust
rust-c-lib-example is a little rust code which provide
a single function to print a formatted date (via the chrono crate)
from an input timestamp in millisecond. It has the necessary FFI
annotation and inherit cargo_c class for the C ABI compatible
library generation.

rust-c-lib-example is meson project for the C code which
will call the print_date function from rust-c-lib-example
if no argument is provided, if any argument is provided
it will print "Hello world in rust from C!"

add a runtime test case to check if all went well.

(From OE-Core rev: bb177c7764b1bc47157d57d7a34930e59a7acef3)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 16:15:35 +01:00
Frederic Martinsons
c318d1914e classes-recipe: add cargo_c.bbclass
This class can be used inside rust recipe to generate
a rust library that can be called by C/C++ code.

The rust recipe which uses this class has to only replace
"inherit cargo" by "inherit cargo_c".

(From OE-Core rev: 1e4862db1d6293872b76b62acee1e4a5e2597367)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 16:15:35 +01:00
Frederic Martinsons
ed5702223b rust: add cargo-c native recipe
This package make it easier to generate C/C++ ABI compatible
header, library and also generate package config file.

It is built around cbindgen (https://github.com/mozilla/cbindgen)
for the header generation, it compiles the library (static or dynamic)
through cargo and finally handle the generation of a custom
package config file.

(From OE-Core rev: dfce5f9ffb5240aadae311c2a2e912a315afc703)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 16:15:35 +01:00
Anuj Mittal
f45975373f stress-ng: upgrade 0.15.08 -> 0.16.04
(From OE-Core rev: 5fa07f6e882c35df4bb0d0f13804510ed2bea6f8)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 16:15:35 +01:00
Anuj Mittal
9d8c7f6ec3 harfbuzz: upgrade 8.0.1 -> 8.1.1
(From OE-Core rev: 4c88fbb45ade45a1002d807aa767de9467f12a9f)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 16:15:35 +01:00
Anuj Mittal
327a2b515a gstreamer1.0: upgrade 1.22.4 -> 1.22.5
(From OE-Core rev: a894c9499863f127380c38f0b17d51b356391821)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 16:15:35 +01:00
Trevor Gamblin
99ac0c38eb python3-setuptools: upgrade 68.0.0 -> 68.1.0
Changelog: https://github.com/pypa/setuptools/blob/main/NEWS.rst

(From OE-Core rev: e7671b34f479989e059fd0baa2028807331988c4)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 16:15:35 +01:00
Trevor Gamblin
1d7f413a33 python3-trove-classfiers: upgrade 2023.7.6 -> 2023.8.7
Changelog: https://github.com/pypa/trove-classifiers/releases

- Add Trove classifier for Python 3.13 (#150)

(From OE-Core rev: a23534e605c0227c3d5f2a4aa74a8164ac0dfea1)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 16:15:35 +01:00
Trevor Gamblin
0444222fd3 python3-numpy: upgrade 1.25.1 -> 1.25.2
Changelog: https://github.com/numpy/numpy/releases/tag/v1.25.2

(From OE-Core rev: 1b28f8109bd61b12c60d7e1c058e4d26ec476ca5)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 16:15:35 +01:00
Trevor Gamblin
d7d73df18f python3-dbusmock: upgrade 0.29.0 -> 0.29.1
Changelog: https://github.com/martinpitt/python-dbusmock/releases

- spec: Update License: to SPDX format
- Test fixes (thanks Marco Trevisan)

(From OE-Core rev: 47e4cd0fe22516b61b9a22552c51d0806f568755)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 16:15:35 +01:00
Trevor Gamblin
cc488967ad oe-buildenv-internal: update required Python version
The system requirements in the current version of the reference manual
state that Python 3.8.0 is the minimum version, but oe-buildenv-internal
still only checks for 3.5.0 or newer. Update the script to match.

(From OE-Core rev: 3e655a07f2de64dbf39189c3ece56803f6bc334e)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 16:15:35 +01:00
Alexis Lothoré
9519610870 oeqa/selftest/gitarchive: add tests about tags lisiting when no remote is configured
Add specific tests on gitarchive for when tag listing is required but no
remote is configured in target directory: it should either succeed if valid
url is provided, or fail is url is not provided or wrong

(From OE-Core rev: 5e9d84d82fde81d66550d8c694ea70f0911fa4f7)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Alexis Lothoré
e9cff55e73 oeqa/utils/gitarchive: fix tag computation when creating archive
Sporadic errors have been observed in autobuilder when trying to store new
tests results:

error: failed to push some refs to 'push.yoctoproject.org:yocto-testresults'
hint: Updates were rejected because the tag already exists in the remote.

The new tag name is generated by gitarchive based on known tags from the
repository (learnt with git tag). In autobuilder case, this repository is a
shallow clone, so git tag only returns most recent tags, which mean we
could miss some older tags which exist in remote but not locally. In this
case, gitarchive will likely create a tag which already exists in remote,
and so will fail to push

Fix this tag duplication by using git ls-remote to learn about existing
tags instead of git tag. To do so, create a helper ("get_tags") which
manages both nominal case (target directory is a git repository with a
proper remote) and fallback case (target directory is not from a clone, no
remote has been configured)

Fixes [YOCTO #15140]

(From OE-Core rev: 9cbbe9689866158825a7ae774b7965b41ff5c461)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Alexis Lothoré
f30867795c oeqa/selftest: introduce gitarchive tests
Add a test suite for gitarchive.py. For now, only introduce tests on
methods which needs to read existing tags

The tests rely on tmpdirs to create local, "fake" results repository in
order to allow basic git commands

(From OE-Core rev: bc9b8ef4bc3e51ba7fca372ab7e532a80975d819)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Trevor Gamblin
169b71c11f maintainers.inc: Add self for unmaintained Python recipes
(From OE-Core rev: 3a7021f5029ad30f5cf9adf02c91029e63ef0ef8)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Trevor Gamblin
1c18f7c886 python3-wheel: upgrade 0.41.0 -> 0.41.1
Changelog: https://wheel.readthedocs.io/en/stable/news.html

- Fixed naming of the data_dir directory in the presence of local
  version segment given via egg_info.tag_build (PR by Anderson
  Bravalheri)
- Fixed version specifiers in Requires-Dist being wrapped in parentheses

(From OE-Core rev: 3f990f80bc56381a71e3ae231d8006d50b380166)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Trevor Gamblin
9697f87bfb python3-pygments: upgrade 2.15.1 -> 2.16.1
Changelog: https://github.com/pygments/pygments/blob/master/CHANGES

(From OE-Core rev: 1358180db001d598a8c4726a162fe4da4c9bd443)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Trevor Gamblin
d8c2a721d3 python3-more-itertools: upgrade 10.0.0 -> 10.1.0
Changelog: https://github.com/more-itertools/more-itertools/blob/master/docs/versions.rst

(From OE-Core rev: 1ac3a453d199114b41c4bd36f24ac3e7bc6ce1ee)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Trevor Gamblin
7959646a09 python3-hypothesis: upgrade 6.82.0 -> 6.82.5
Changelog: https://github.com/HypothesisWorks/hypothesis/blob/master/hypothesis-python/docs/changes.rst

(From OE-Core rev: 10f5c131e5de6363ba9cbd6960717c2943005c0e)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Dmitry Baryshkov
ac0f329806 mdadm: disable strace on rv32 arch
strace program is not yet ported to RiscV 32 arch. Disable corresponding
dependency and test to remove dependency on the non-existing package,
which otherwise breaks building of core images:

ERROR: Nothing RPROVIDES 'strace' (but /oe/poky/meta/recipes-extended/mdadm/mdadm_4.2.bb RDEPENDS on or otherwise requires it)
strace was skipped: incompatible with host riscv32-poky-linux (not in COMPATIBLE_HOST)
NOTE: Runtime target 'strace' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['strace']
NOTE: Runtime target 'mdadm' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['mdadm', 'strace']
NOTE: Runtime target 'matchbox-terminal' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['matchbox-terminal', 'gtk+3', 'glib-2.0', 'util-linux', 'mdadm', 'strace']
ERROR: Required build target 'core-image-weston' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-weston', 'matchbox-terminal', 'gtk+3', 'glib-2.0', 'util-linux', 'mdadm', 'strace']

(From OE-Core rev: 9eca859f3bad9a881162f514d6147be5fd1351d9)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Peter Kjellerstedt
b7b382101b bin_package.bbclass: Inhibit the default dependencies
Nothing is being built so there is no need for the cross-compiler.

(From OE-Core rev: d1d09bd4d7be88f0e341d5fccbfbefeb98d4b727)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Narpat Mali
081f4ecaed ffmpeg: add CVE_STATUS for CVE-2023-39018
CVE-2023-39018 belongs to ffmpeg-cli-wrapper (Java wrapper around the FFmpeg CLI)
and not ffmpeg itself. As per CVE description, it is mentioned as FFmpeg 0.7.0 which
is the version for ffmpeg-cli-wrapper and ffmpeg don't have 0.7.0 version at all.

Debian & Bugzilla trackers have already marked as NOT-FOR-US/RESOLVED-INVALID.
As it won't be affecting the ffmpeg package so, we can ignore the CVE-2023-39018
in ffmpeg recipe.

References:
https://github.com/bramp/ffmpeg-cli-wrapper
https://github.com/FFmpeg/FFmpeg
https://security-tracker.debian.org/tracker/CVE-2023-39018
https://bugzilla.suse.com/show_bug.cgi?id=CVE-2023-39018

(From OE-Core rev: c21ed498b423c13463a4ae0bb475883cc7901847)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Ovidiu Panait
f32ff564f3 mdadm: skip running 04update-uuid and 07revert-inplace testcases
04update-uuid and 07revert-inplace tests are unreliable and fail intermittently
on the autobuilder (BZ#15181 and BZ#15159). Unfortunately, the failures cannot
be reproduced locally and the logs cannot be retrieved from the AB.

Mark the testcases as BROKEN to skip them when running ptest.

(From OE-Core rev: eb219aff7cfe1cff1da93107ac7b22c678c0000f)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Markus Niebel
c5013075f2 wic: fix wrong attempt to create file system in upartitioned regions
The kickstart parser defaults fstype to "vfat". This leads to an attempt
to create an empty file system even for regions configured with "--no-table"
if used without fstype when no --sourceparams given.

The fix tests for fstype "none" or no_table in Partition prepare method.
This will omit the file system creation an the potential error for small
region with --no-table option.

(From OE-Core rev: db771a4cd36bf291a8b68edfd905e03243f2c8b3)

Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Martin Jansa
3fac9a06a0 cross-localedef-native: fix build on hosts with older glibc
Older glibc on host might be missing __glibc_has_attribute added in glibc-2.34 with:

https://sourceware.org/git/?p=glibc.git;a=blobdiff;f=misc/sys/cdefs.h;h=8e244a77cf6271f09cbd26d18b1e07b1d1641404;hp=57ca262bdfb642bf4a945645532f2319ec1ff437;hb=c8ba52ab3350c334d6e34b1439a4c0c1431351f3;hpb=7dd416491e080456fc7742d884c520526509413e

Fixes:
In file included from ../git/localedef/include/programs/xmalloc.h:21,
                 from glibc/locale/programs/localedef.h:124,
                 from glibc/locale/programs/localedef.c:36:
../git/localedef/include/sys/cdefs.h:85:51: error: missing binary operator before token "("
   85 | #if __GNUC_PREREQ (4, 3) || __glibc_has_attribute (__cold__)
      |                                                   ^

Only commit included:
e0eca29 cdefs.h: define __glibc_has_attribute

(From OE-Core rev: 62c464bb4e3ebb6b50864ede7b352651b2c81e3c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Martin Jansa
d9a71a83d3 tcl: prevent installing another copy of tzdata
It checks build host filesystem and if it doesn't find UTC or GMT
files it installs another copy of tzdata files in:
/usr/lib/tcl8.6/tzdata

Buildhistory shows the difference:
-PKGSIZE = 2227075
+PKGSIZE = 3433088

See the autodetection in configure.in:
  #------------------------------------------------------------------------
  #       Check whether the timezone data is supplied by the OS or has
  #       to be installed by Tcl. The default is autodetection, but can
  #       be overridden on the configure command line either way.
  #------------------------------------------------------------------------

  AC_MSG_CHECKING([for timezone data])
  AC_ARG_WITH(tzdata,
      AC_HELP_STRING([--with-tzdata],
          [install timezone data (default: autodetect)]),
      [tcl_ok=$withval], [tcl_ok=auto])

  #
  # Any directories that get added here must also be added to the
  # search path in ::tcl::clock::Initialize (library/clock.tcl).
  #
  case $tcl_ok in
      no)
          AC_MSG_RESULT([supplied by OS vendor])
      ;;
      yes)
          # nothing to do here
      ;;
      auto*)
          AC_CACHE_VAL([tcl_cv_dir_zoneinfo], [
          for dir in /usr/share/zoneinfo \
                  /usr/share/lib/zoneinfo \
                  /usr/lib/zoneinfo
          do
                  if test -f $dir/UTC -o -f $dir/GMT
                  then
                          tcl_cv_dir_zoneinfo="$dir"
                          break
                  fi
          done])
          if test -n "$tcl_cv_dir_zoneinfo"; then
              tcl_ok=no
              AC_MSG_RESULT([$dir])
          else
              tcl_ok=yes
          fi
      ;;
      *)
          AC_MSG_ERROR([invalid argument: $tcl_ok])
      ;;
  esac
  if test $tcl_ok = yes
  then
      AC_MSG_RESULT([supplied by Tcl])
      INSTALL_TZDATA=install-tzdata
  fi

(From OE-Core rev: 3ace9fbfeb42ebf920812e3dd6d665b8b20a1ca0)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Angelo Ribeiro
8f98a81394 ccache.bbclass: Add allowed list for native recipes
Native recipes are not able to use ccache currently, due to a circular
dependency between ccache-native and cmake-native.
This affects also other native recipes, but not all, imposing a
limitation in build time optimizations.

The introduction of CCACHE_NATIVE_RECIPES_ALLOWED allows the user to specify
which native recipes should use ccache, keeping it disable by default for all
native recipes.

(From OE-Core rev: 87cb2be71e0c0c123eaae6a5ae135900c95535db)

Signed-off-by: Angelo Ribeiro <Angelo.Ribeiro@criticaltechworks.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Poonam Jadhav
853e98f54b pixman: Remove duplication of license MIT
Remove duplication of license MIT from pixman bbfile.

(From OE-Core rev: e6c87b267252376ca85b534e3c9ee9b77ff665ca)

Signed-off-by: Poonam Jadhav <poonam.jadhav@kpit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Khem Raj
a5a8e15bd0 build-sysroots: Add SUMMARY field
Fixes build QA warning about [missing-metadata]

(From OE-Core rev: 4f4c7130f11c069ab18c374dcbfb1276ef37be60)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Ross Burton
f194a8dcfe graphene: fix runtime detection of IEEE754 behaviour
Graphene gates a runtime check on whether it is cross-compiling, when it
should be whether it can run target binaries.

(From OE-Core rev: 61bb4086bea61a0446f469ed3cb0d525860a1a31)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Ross Burton
e484c6cbef python3-pygobject: add explicit check for qemu-usermode MACHINE_FEATURE
When building for the target this recipe absolutely needs
gobject-introspection to be enabled, so add an explict

(From OE-Core rev: 86941419ef2d315db6bf5645491bf97ec129eb34)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Ross Burton
06cf343e14 gi-docgen: depend on qemu-usermode MACHINE_FEATURES
gi-docgen uses GObject Introspection, so depends on qemu-usermode working.

(From OE-Core rev: 524eab0e39c53ea9006b95c9e08ea1f071f1d1f2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Ross Burton
48e174c386 p11-kit: fix build without qemu-usermode
If qemu-usermode is not available then p11-kit fails to configure:

  meson.build:313:24: ERROR: Can not run test applications in this cross environment.

This has already been fixed upstream, so backport the patches.

(From OE-Core rev: 3de715feaaaab9ac1e882a6913e2202203178170)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Ross Burton
7f58848a32 systemd-boot: improve cross file generation
The meson.cross generated by the class already has c and objcopy
entries, so these can be removed.

Pass the --cross-file option in MESON_CROSS_FILE to ensure the ordering
is always correct.

(From OE-Core rev: 302551de19edb1eb7333a6d1d5fdddacdbb9c349)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Wang Mingyu
90801cd8cb tar: upgrade 1.34 -> 1.35
CVE-2022-48303.patch
removed since it's included in 1.35

License-Update: http changed to https

Changelog:
===========
* Fail when building GNU tar, if the platform supports 64-bit time_t
  but the build uses only 32-bit time_t.
* Leave the devmajor and devminor fields empty (rather than zero) for
  non-special files, as this is more compatible with traditional tar.
* Bug fixes
** Fix interaction of --update with --wildcards.
** When extracting archives into an empty directory, do not create
   hard links to files outside that directory.
** Handle partial reads from regular files.
** Warn "file changed as we read it" less often.
** Fix --ignore-failed-read to ignore file-changed read errors
** Fix --remove-files to not remove a file that changed while we read it.
** Fix --atime-preserve=replace to not fail if there was no need to replace,
   either because we did not read the file, or the atime did not change.
** Fix race when creating a parent directory while another process is
   also doing so.
** Fix handling of prefix keywords not followed by "." in pax headers.
** Fix handling of out-of-range sparse entries in pax headers.
** Fix handling of --transform='s/s/@/2'.
** Fix treatment of options ending in / in files-from list.
** Fix crash on 'tar --checkpoint-action exec=\"'.
** Fix low-memory crash when reading incremental dumps.
** Fix --exclude-vcs-ignores memory allocation misuse.

(From OE-Core rev: c63769de05ce08c0627d302d14316ced31816b4d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Wang Mingyu
cfc13491e4 libarchive: upgrade 3.6.2 -> 3.7.1
Changelog:
=========
    SEGV and stack buffer overflow in verbose mode of cpio
    bsdunzip updated to match latest upstream code
    miscellaneous functional bugfixes
    build fixes on multiple platforms
    bsdunzip: new tool ported from FreeBSD
    drop-in replacement for Info-ZIP unzip, not yet ported for Windows
    7zip reader: support for Zstandard compression
    7zip reader: support for ARM64 filter
    zstd filter: support for multi-frame zstd archives
    pax: fix year 2038 problem on platforms with 64-bit time_t
    Windows: Universal Windows Platform (UWP) fixes and improvements
    Windows: bcrypt usage fixes and improvements
    Windows: time function usage fixes and improvements

(From OE-Core rev: 186bf084301b3d088dd1f100d870937b39d1389a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Jon Mason
b08a06a5bb linux-yocto-dev: correct qemuarmv5 device tree location
In Linux kernel commit 724ba6751532055db75992fc6ae21c3e322e94a7
all arm arch device tree files were moved into vendor directories
(similar to what was being done in arm64).  This is causing the
following error when building for qemuarmv5 with linux-yocto-dev:

| make[2]: *** No rule to make target 'arch/arm/boot/dts/versatile-pb.dtb'.  Stop.

Correcting the location to add the vendor directory of "arm" addresses
the issue (and is what is being done for arm64 machines already).

(From OE-Core rev: 42d5e8ef12934db65c35c1c5f0cabb5c21dbea43)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-17 22:22:40 +01:00
Richard Purdie
a3c294691f pseudo: Fix to work with glibc 2.38
This adds a horrible hack to get pseudo working with glibc 2.38. We can't
drop _GNU_SOURCE to something like _DEFAULT_SOURCE since we need the defines
the gnu options bring in. That leaves using internal glibc defines to disable
the c23 versions of strtol/fscanf and friends. Which would break pseudo
build with 2.38 from running on hosts with older glibc.

We'll probably need to come up with something better but this gets glibc 2.38
and working and avoids autobuilder failures.

(From OE-Core rev: 596fb699d470d7779bfa694e04908929ffeabcf7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-17 22:19:43 +01:00
Richard Purdie
12d9280c3d lttng-tools: Upgrade 2.13.9 -> 2.13.10
(From OE-Core rev: 6dffea78a6de286de67524b558bb1527fedd673e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-17 07:42:07 +01:00
Richard Purdie
6b81363786 lttng-modules: Upgrade 2.13.9 -> 2.13.10
(From OE-Core rev: bfc0118e21ac8a287f5bc4398a1ca02c788b17ae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-17 07:42:07 +01:00
Michael Halstead
ffd73bef9b yocto-uninative: Update to 4.2 for glibc 2.38
Uninative 4.2 adds glibc 2.38.

(From OE-Core rev: c6654fab00a1b4e4bb05eec8b77c8c60e1f8a709)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-17 07:42:07 +01:00
Joshua Watt
13734bb520 bitbake: cooker: Fix error message
"Not" should be "No"

(Bitbake rev: a06619951a43acb80b80d92e0caac560657ca249)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-16 09:43:49 +01:00
Joshua Watt
fb51e196a9 bitbake: bblayers/query: Add multiconfig support to show-appends
Adds a --mc argument to `bitbake-layers show-appends` so that users can
filter appends for a specific multiconfig (instead of always showing the
default configuration)

(Bitbake rev: f4dcbf114554c829467623b5587314d16ebdf3eb)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-16 09:43:49 +01:00
Richard Purdie
f9dff104bd Revert "oeqa/utils/gitarchive: fix tag computation when creating archive"
This reverts commit 5a0a7da85a3acfd4a20a07478eabefdab60f313a.

This caused failres on the build performance tests on the autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-16 07:56:15 +01:00
Ross Burton
c854927701 systemd-boot: use MESON_TARGET
Instead of re-implementing do_compile, use MESON_TARGET.

(From OE-Core rev: d37c0f3449e1a20e3acc490150fa4c7c6ea46bd1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-16 07:54:38 +01:00
Ross Burton
de6505c8fa meson.bbclass:: update do_write_config vardeps
Add OBJCOPY and EXEWRAPPER_ENABLED, remove LD as it isn't used anymore.

(From OE-Core rev: 920f6cb25c06fde679f641a076a8e17dc36a828e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-16 07:54:38 +01:00
Ross Burton
d0cedc4039 meson.bbclass: add MESON_TARGET
Add a variable to control what target gets built in do_compile.  By
default this value is unset so meson builds the default target, but by
setting MESON_TARGET a specific target can be built.

(From OE-Core rev: bd82ccc819ec90af08216fe780af6a66f1d347b3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-16 07:54:38 +01:00
Khem Raj
64789f18f3 kernel.bbclass: Use KERNEL_STRIP instead of STRIP
Kernel uses its own variables KERNEL_* instead of general toolchain env
variables, therefore use KERNEL_STRIP here explicitly, Problems happen
when using llvm-strip as default STRIP in distro settings, since kernel
defaults to using gcc, system does not stage llvm/clang toolchain into
kernel's staging sysroot and this function ends up with

FileNotFoundError: [Errno 2] No such file or directory: 'riscv64-yoe-linux-llvm-strip'

(From OE-Core rev: 2db0ef8fe6381c893791ad645748f6e7c8134e5f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-16 07:54:38 +01:00
Markus Volk
f27ab9ffcd gtk4: upgrade 4.10.5 -> 4.12.0
gtk.h: gtkscrollinfo.h was added, no change of license
gdk.h: gdkpixbuf.h was deprecated, no change of license

update renamed build-options

Overview of Changes in 4.12.0, 05-08-2023
=========================================

* List widgets:
 - Add scroll_to APIs

* GtkFileLauncher:
 - Add an always-ask property

* GtkTextView:
 - Make backspace behavior match GtkEntry

* gsk:
 - Fix handling of luminance in mask nodes

* Text rendering:
 - Automate the setting of gtk-hint-font-metrics from the
   scale factor. This improves font rendering in flatpaks

* Wayland:
 - Fix behavior of stylus buttons
 - Support suspended window state

* Vulkan:
 - Many improvements

* Tools:
 - Add gtk4-rendernode-tool

* Debugging:
 - Drop the GTK_DEBUG_TOUCHSCREEN flag

* Build:
 - Some build options have been renamed:
     gtk_doc -> documentation
     update_screenshots -> screenshots
   The old names still work

Overview of Changes in 4.11.4, 03-07-2023
=========================================

* GtkFileChooser:
 - Default to sorting folders first
 - Fix a crash when visiting recent files

* GtkTextView:
 - Fix corner cases in word navigation

* GtkMenuButton:
 - Normalize label layout

* GtkDropDown:
 - Add support for sections

* GtkVideo:
 - Make the overlay icon clickable

* GtkWindow:
 - Clear the resize cursors to avoid artifacts

* GtkFileDialog:
 - Always set initial-folder

* GtkDropDown:
 - Update on expression changes

* GtkMapListModel:
 - Implement GtkSectionModel

* Accessibility:
 - Improvements all over the place: GtkButton, GtkPasswordEntry,
   GtkFontChooserDialog, GtkColorChooserDialog, GtkShortcutsWindow,
   GtkMenuButton, GtkAboutDialog, GtkFileChooserDialog, GtkStackSidebar,
   GtkStackSwitcher, GtkMediaControls, GtkColorDialogButton, GtkDropDown,
   GtkInfoBar, GtkNotebook, GtkPrintUnixDialog, GtkModelButton
 - Make name computation follow the ARIA spec more closely
 - Adapt name computation for the common 'nested button' scenario
 - Change many containers to use `generic` instead of `group`
 - Use `generic` as the default role
 - Use `application` instead of `window` for windows
 - Add properties for accessible names of not directly exposed
   widgets in GtkListView, GtkGridView and GtkColumnView

* DND:
 - Fix criticals when drops are rejected

* X11:
 - Fix regressions in GLX setup

* Windows:
 - Center newly created transient windows

* Vulkan:
 - Add antialising for gradients
 - Do less work on clipped away nodes
 - Redo image uploading
 - Support different image depths and formats
 - Add a pipeline cache

* Demos:
 - gtk4-demo: Improve window sizing
 - gtk4-demo: Improve focus behavior
 - gtk4-demo: Add many missing a11y properties

* Tools:
 - gtk4-builder-tool: Make render an alias screenshot

* Inspector:
 - Show more information in the a11y tab
 - Add an accessibility overlay with warnings and recommendations
 - Limit the width of the a11y tab

* Build:
 - Require GLib 2.76
 - Make asan builds work again
 - Fix the build if ld is not ld.bdf

Overview of Changes in 4.11.3, 05-06-2023
=========================================

* GtkGridView:
 - Respect css border-spacing
 - Don't leak the factories

* GtkListView:
 - Don't leak the factories

* GtkColumnView:
 - Support displaying sections

* GtkNotebook:
 - Make the pages model implement GtkSelectionModel

* GtkScrolledWindow:
 - Propagate child measure size whenever possible

* GtkPopoverMenu:
 - Avoid unnecessary left padding

* GtkSearchEntry:
 - Improve size allocation for the clear icon

* GtkBoxLayout:
 - Fix a regression from recent baseline work

* CSS:
 - Add new binding-friendly css provider apis

* Theme:
 - Show focus in the shortcuts window

* GDK:
 - Support grayscale and alpha texture formats for loading
   and saving to png and tiff, and in GL
 - Fix some regressions in GL context initialization

* GSK:
 - Support grayscale and alpha texture formats in the GL renderer
 - Support straight alpha textures in the GL renderer
 - Many improvements to the experimental Vulkan renderer

* Wayland:
 - Make exporting surface handles more flexible

* X11:
 - Trap XRandr errors
 - Stop using passive grabs during DND

* Windows:
 - Many cleanups and simplifications

* Tests:
 - Improve test coverage

* Build:
 - Some build options have been renamed:
     demos -> build-demos
     profile -> demo-profile
   The old names still work

* Deprecations:
 - gtk_css_provider_load_from_data
 - gdk_wayland_toplevel_unexport_handle
 - gdk_pixbuf_get_from_surface
 - gdk_pixbuf_get_from_texture
 - gtk_image_new_from_pixbuf
 - gtk_image_set_from_pixbuf
 - gtk_picture_new_for_pixbuf
 - gtk_picture_set_pixbuf

Overview of Changes in 4.11.2, 09-05-2023
=========================================

* GtkGLArea:
 - Add an allowed-apis property

* GtkListBox:
 - Fix a problem with gtk_list_box_remove_all

* Add the GtkSectionModel interface, and implement it in most
  of our list models

* GtkListView:
 - Support displaying sections

* GtkCenterBox:
 - Add a shrink-center-last property

* GtkButton, GtkMenuButton:
 - Add a can-shrink property

* GtkPopover:
 - Fix problems with grabs

* GtkFileChooser:
 - Fix a problem with removing files
 - Make the date, time and location columns work
 - Fix filtering in the save entry popup
 - A few memory leak fixes
 - Handle webdav in the pathbar

* GtkBox:
 - Support baselines in vertical orientation with GtkBox:baseline-child

* Dialogs:
 - Destroy windows promptly when the async callback finishes
 - Detect absence of the OpenURI portal and fall back

* Theme:
 - Add explicit style classes to a number of widgets
 - Fix some contrast issues in the dark theme

* Accessibility:
 - Fix alert dialogs in the a11y tree
 - Improve accessibility of GtkShortcutsWindow

* Layout:
 - Some fixes to baseline alignment
 - Separate GTK_ALIGN_BASELINE_CENTER and _FILL

* CSS:
 - Fix a crash with color transitions

* GSK:
 - Fix problems with negative scales
 - Improve scaling of offscreens for (cross-fades, masks, blends)

* GL:
 - Add GdkGLTextureBuilder, a more flexible api for creating textures
 - Support setting update regions for GL textures
 - Ensure that we work with GLES 2

* Vulkan:
 - More fixes to the experimental Vulkan renderer
 - Rework glyph caching

* Wayland:
 - Don't destroy wl_surfaces on hide
 - Plug leaks of compositor-side resources

* X11:
 - Fix artifacts in gnome-shell frame decorations

* Windows:
 - Fix GL context initialization

* Inspector:
 - Improve the action list
 - Improve the accessibility pane
 - Fix a crash

* Tools:
 - gtk4-node-editor: Improve scaling
 - gtk4-node-editor: Preserve aspect ratio of textures
 - gtk4-node-editor: Add some smarter editing
 - gtk4-demo: Make the stylus demo work with mice

* Deprecations:
 - gtk_widget_get_allocated_width/height/baseline
 - GTK_ALIGN_BASELINE

Overview of Changes in 4.11.1, 03-04-2023
=========================================

* GtkLabel, GtkLinkButton:
 - Make file:// uris work again

* GtkListView/GtkColumnView/GtkGridView:
 - Fix clipping issues
 - Handle focus movement better
 - Introduce ::tab-behavior properties
 - Introduce GtkListItem::focusable
 - Introduce GtkColumnViewCell
 - Introduce row factories in GtkColumnView
 - Make list grid and column views inert when not rendering

* Drag-and-Drop:
 - Support resizing drag surfaces, using the new
   GdkDragSurface::compute-size signal

* Theme:
 - Port .boxed-list style from Adwaita
 - Make insensitive pictures appear grayed out

* Accessibility:
 - Fix memory leaks
 - Fix a crash

* GDK:
 - Add gdk_surface_get_scale to get the fractional scale
 - Use fractional scales on Wayland with cairo
 - Use fractional scales on Wayland with GL if GDK_DEBUG=gl-fractional
   is set. This support is still experimental

* GSK:
 - Allow limiting texture sizes with GSK_MAX_TEXTURE_SIZE
 - Use samplers for GL texture filtering
 - Fix problems with texture slicing
 - Avoid re-uploading textures when possible
 - Use mipmaps when it is beneficial

* Wayland:
 - Fix handling of Drag hotspots
 - Fix a crash with cursor size 0
 - Support absolute paths in WAYLAND_DISPLAY
 - Use the fractional scale protocol
 - Use a viewporter to set buffer scale

* Windows:
 - Fix problems with WGL

* Vulkan:
 - Some fixes to the experimental Vulkan renderer
 - Support fractional scaling

* Debugging:
 - Show more Wayland-specific information in the inspector

* Deprecations:
 - gtk_widget_translate_coordinates
 - gdk_surface_create_similar_surface

* Documentation:
 - Add a section on coordinate systems

* Build:
 - Require wayland-protocols 1.31

(From OE-Core rev: e65da672a022ff0e1bc16c7e423e588f765afc7c)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-16 07:54:38 +01:00
Peter Marko
71193e58b0 openssl: Upgrade 3.1.1 -> 3.1.2
https://github.com/openssl/openssl/blob/openssl-3.1/NEWS.md#major-changes-between-openssl-311-and-openssl-312-1-aug-2023
Major changes between OpenSSL 3.1.1 and OpenSSL 3.1.2 [1 Aug 2023]
* Fix excessive time spent checking DH q parameter value (CVE-2023-3817)
* Fix DH_check() excessive time with over sized modulus (CVE-2023-3446)
* Do not ignore empty associated data entries with AES-SIV (CVE-2023-2975)
* When building with the enable-fips option and using the resulting FIPS provider, TLS 1.2 will, by default, mandate the use of an extended master secret and the Hash and HMAC DRBGs will not operate with truncated digests.

(From OE-Core rev: e65802383b02df6f502af859a927309d881bbb27)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-16 07:54:38 +01:00
Richard Purdie
d724ec6f04 lib/package_manager: Improve repo artefact filtering
If you run an arm build followed by an x86 one and then ask for a
full repo to be created, it will include all of the arm and x86 packages.
testexport will then find the arm socat package rather than the x86 one
and try and run arm binaries within an x86 qemu image with no success.

The reproducer for this was:

oe-selftest -r fitimage.FitImageTests.test_initramfs_bundle runtime_test.TestImage.test_testimage_install

This patch only symlinks in the compatible package archictures rather
than all of them which fixes the failure and the resulting autobuilder
intermittent failure too.

[YOCTO #15190]

(From OE-Core rev: 30b45bcf49bf8207fd96bb45a55d7708661f3359)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-16 07:54:38 +01:00
Khem Raj
40d0b3c9a5 glibc-tests: Add missing libgcc runtime dependency
Some tests e.g. tst-y2039-time64 from glibc 2.38+ needs it.

(From OE-Core rev: d41e6b8c9ff1d42fd6211fd2c24f666cac188f79)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-16 07:54:38 +01:00
Khem Raj
0ffc861b49 glibc: Fix SVE detection on aarch64
(From OE-Core rev: 10e1ae119e8087598947dd45c163d5fe6569839d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-16 07:54:38 +01:00
Khem Raj
0a8e0691e0 glibc: Drop --enable-tunables
Its removed and is implicit default in 2.38+ [1]

[1] https://mail.gnu.org/archive/html/info-gnu/2023-07/msg00010.html

(From OE-Core rev: e2af021f5b918c619396eecb20fa30a71cf5e776)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-16 07:54:38 +01:00
Khem Raj
69f402ad7b glibc: Enable fortify sources by defaults
(From OE-Core rev: f71d9d87e638ebeea5be1a64ad98a9460ee3d1f2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-16 07:54:38 +01:00
Khem Raj
842fda61cf glibc: Upgrade to 2.38 release
Announcement - https://mail.gnu.org/archive/html/info-gnu/2023-07/msg00010.html

(From OE-Core rev: 16aff29593d7991d7ae953d5fb526a897c5a7268)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-16 07:54:38 +01:00
Bruce Ashfield
5fb7398b77 poky/poky-tiny: set preferred linux-yocto version to 6.4
Bumping poky and poky tiny to test the latest refernce kernel. We
leave poky-alt on 6.1 for LTS coverage.

(From meta-yocto rev: bb261e23b458b7631006ccd6ce38b91fa096b451)

(From meta-yocto rev: 11efa4cf80928cb1036c350a26e221d2de4817cc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-16 07:49:17 +01:00
Bruce Ashfield
ad9b04b051 conf/machine: set preferred kernel to be 6.4
(From OE-Core rev: b544e62827d2a3606fbc886ea520256c948e197c)

(From OE-Core rev: 505ea7fe653d4c61f348e737c409d43bb490ee4f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-16 07:49:17 +01:00
Richard Purdie
05affd7d0d qemu: Upgrade 8.0.3 -> 8.0.4
(From OE-Core rev: ed1789638d025447db8f28d71d119de85a696b09)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-15 08:15:25 +01:00
Mingli Yu
3abd781d34 qemu: Add qemu-common package
We split the qemu package [1] to add support to make user can install
one qemu arch emulation rpm to ease the concerns who care much about
the rpm size in embedded device.

But for the user who only install the qemu-*.rpm can't do anything
except they install the qemu emulation rpm like qemu-system-x86-64-*.rpm
explicitly.

So add qemu-common package to package all thing into qemu-common when
not split the package, and package only the basic into qemu-common and
other arch related to each qemu arch emulation rpm when split the package
to fix the backward compatibility.

qenu-*.rpm which is meta package rdepends on qemu-common and the available
qemu arch emulation rpm like qemu-system-x86-64-*.rpm and etc.

[1] https://git.openembedded.org/openembedded-core/commit/?id=893846ead7ee54d53e9076150cd655e0c8bca5db

(From OE-Core rev: 91c47aa06170081b64500471a39999b42cb1f400)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-15 08:15:25 +01:00
Richard Purdie
d57e6de496 oeqa/runtime/parselogs: Exclude preempt-rt error for now
With the new 6.4 kernel we see this preempt-rt error. It is blocking changing
to the new kernel and has sat on mailing lists unresolved for a long time. Ignore
it in testing for now and allow upgrading until we can better understand the
issues.

(From OE-Core rev: 1451df346a0e2433714774421ce8f339a37a844a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-15 08:15:25 +01:00
Richard Purdie
2404188958 gcc: Add patch to improve testsuite failures, particularly mips
Disable loongson-mmi runtine, qemu doesn't appear to fully support them even if some
of the instruction decoding is there.

Also disable MSA mips runtime extensions. For some reason qemu appears to accept the test
code when it shouldn't. Our selected MIPS cpu for QEMU doesn't support them.

MIPS is unusual in the gcc testsuite as it uses EFFECTIVE_TARGETS and loops
multiple times through the vector testsuite. In the case of the two above, we can
compile/link them but not run them. Even with the runtime disabled, if the code
marks it as a runtime test, it will elevate itself to that. Setting the default
target to compile therefore isn't enough.

Therefore add code to downgrade runtime tests to link tests if the hardware
support isn't there to run them. This avoids thousands of test failures. To do
this we have to hook downgrade code into the main test runner.

Enable that downgrading for other cases where hardware to run vector extensions is
unavailable to remove test failures on other architectures too.

Also, for gcc.target tests, add checks on wheter loongson or msa code can
be run before trying that, allowing downgrading of tests there to work too.

Parts of the patch may be able to be split off and acceptable to upstream with
discussion. Need to investigate why qemu-user passes the 'bad' instructions'.

For now, this should at least remove hundreds of test failures and improve test
failures on non-mips too now a root cause of some was identified.

(From OE-Core rev: bdb744edfec77d3fb000da0fe432689089b20d02)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-15 08:15:25 +01:00
Richard Purdie
450d5ba9b0 arch-mips: Ensure TUNE_LDARGS is set correctly
Similarly to x86, ensure we have the flags to the linker operating correctly (it
defaults to 32 bit). Normally it is driven by gcc so this hasn't shown up but
it does lead to hundreds of binutils test failures.

(From OE-Core rev: 2cf9013fd8df2bb67f93ffd44ccc23453cedf42a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-15 08:15:25 +01:00
Richard Purdie
8fff33d541 binutils-cross-testsuite: Pass TUNE_LDARGS to tests
In some cases we need to pass the linker arguments to the linker, particularly when
the default in LD differs to that which gcc and our compiler flags are using (mips
defaults to 32 bit). Ensure these are passed in.

(From OE-Core rev: 0243af31f404f0b9187cebef192e626e290ead49)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-15 08:15:25 +01:00
Richard Purdie
23ec0e5e74 mips/tune-mips64r2: Set qemu cpu option correctly
Ensure the CPU enabled in QEMU is correct for this architecture.

(From OE-Core rev: 6e0d176c4ce2bbbd975b74e41f63e60df7e3a554)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-15 08:15:25 +01:00
Richard Purdie
58ca420c35 gcc-testsuite: Set qemu options for mips correctly
MIPS sets QEMU CPU values similarly to ppc and doens't support 'max'.
Allow this to filter through correctly to the toolchain testing.

(From OE-Core rev: 8c939780228d1440190a87cc24abd72d26aade74)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-15 08:15:25 +01:00
Richard Purdie
911532040a gcc-testsuite: Fix qemu binary filtering code logic error
This code doesn't do what it first might appear to, it would for example remove
'm' characters from the left side of qemu-mips leaving 'ips'. Fix it to stop
anyone else being confused by the subtle logic error.

(From OE-Core rev: 888a7edf1c611eaf99eaf10a072ecc82cb386735)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-15 08:15:25 +01:00
Richard Purdie
8a9cbf62d3 resulttool/report: Avoid divide by zero
Avoid a divide by zero traceback if unfortunate test counts are encountered.

(From OE-Core rev: c5aeea53dfacb53dedb8445cb3523dc3a8cb6dca)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-15 08:15:25 +01:00
Khem Raj
30f2431acc systemd-boot: Fix build on musl
systemd efi.h defines wchar_t from compiler provided __WCHAR_TYPE__
therefore we do not want it to come from alltypes.h in musl case which
otherwise will end up with conflicting definitions of wchar_t, defining
__DEFINED_wchar_t ensures that alltypes.h does not provide it

(From OE-Core rev: 7b84fe344a2067b63d0c222fbc68d5916fa7903f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-15 08:15:25 +01:00
Alexis Lothoré
788f6a0e16 oeqa/utils/gitarchive: fix tag computation when creating archive
Sporadic errors have been observed in autobuilder when trying to store new
tests results:

error: failed to push some refs to 'push.yoctoproject.org:yocto-testresults'
hint: Updates were rejected because the tag already exists in the remote.

The new tag name is generated by gitarchive based on known tags from the
repository (learnt with git tag). In autobuilder case, this repository is a
shallow clone, so git tag only returns most recent tags, which mean we
could miss some older tags which exist in remote but not locally. In this
case, gitarchive will likely create a tag which already exists in remote,
and so will fail to push

Fix this tag duplication by using git ls-remote to learn about existing
tags instead of git tag. Two places which wrongly read only local tags has
been identified in gitarchive:  expand_tag_strings and get_test_runs

Fixes [YOCTO #15140]

(From OE-Core rev: 5a0a7da85a3acfd4a20a07478eabefdab60f313a)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-15 08:15:25 +01:00
Emil Ekmečić
d151ba95f6 Add GCP fetcher to list of supported protocols
If accepted, this patch should merge with the corresponding BitBake
patch titled "fetch2: add Google Cloud Platform (GCP) fetcher".

(From OE-Core rev: 1e2e596bcdff031d7d7dc1d6f6adbb03d9ec2995)

Signed-off-by: Emil Ekmečić <eekmecic@snap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14 12:51:21 +01:00
Markus Volk
64d593e7d8 libadwaita: upgrade 1.3.3 -> 1.3.4
=============
Version 1.3.4
=============

- AdwAboutWindow
  - Fix :translator-credits property
- AdwComboRow
  - Fix accessible role on the dropdown arrow
- AdwEntryRow
  - Fix accessibility
- AdwLeaflet
  - Fix back/forward mouse button handling
- AdwTabBar
  - Fix accessibility
- AdwTabThumbnail
  - Fix duplicate thumbnail during transitions
  - Fix the transition curve
- AdwViewSwitcher
  - Set correct accessible role for icons
- AdwWindowTitle
  - Fix initial title visibility
- Stylesheet
  - Fix .card buttons within .osd
  - Fix single-item menu height

(From OE-Core rev: 1b4cb7c52f0bfc14af09904b0ca9b37ecd6fd1f1)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14 12:51:21 +01:00
Markus Volk
7841cdd3cb gtk4: upgrade 4.10.4 -> 4.10.5
Overview of Changes in 4.10.5, 05-08-2023
=========================================

* Fix ordering problems with filter model signals

* Avoid lingering resize cursors

* Fix alignment issues on sparc

* Fix a problem with CSS corner values

* Translation updates
 Brazilian Portuguese
 Czech
 Greek
 Spanish
 Vietnamese

(From OE-Core rev: 99deaf528acdd8ef7031e251a821721191968644)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14 12:51:21 +01:00
Wang Mingyu
8f73cfe9d2 sudo: upgrade 1.9.14p2 -> 1.9.14p3
Changelog:
===========
 * Fixed a crash with Python 3.12 when the sudo Python python is
   unloaded.  This only affects "make check" for the Python plugin.
 * Adapted the sudo Python plugin test output to match Python 3.12.

(From OE-Core rev: 63859b9e402e88ab704abef3060d66c8221a944e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14 12:51:21 +01:00
Wang Mingyu
3f7e34c90d shaderc: upgrade 2023.4 -> 2023.5
Changelog:
==========
 - Update dependencies
 - Update to Android NDK r25c
 - Update Android API level for test project (#1333)
 - For testing, add a dependency on Abseil's C++ library
 - Fix MSVC runtime library linking in CMake (#1339)

(From OE-Core rev: a0f25ae7751cd5b6d622cef78e93eb5b25d998cf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14 12:51:21 +01:00
Wang Mingyu
79e79ba645 re2c: upgrade 3.0 -> 3.1
Changelog:
==========
- Added capturing groups with leftmost greedy semantics:
- Added non-capturing groups:
- Regenerated Unicode include header to support a newer standard
- Published TDFA paper: https://arxiv.org/abs/2206.01398, co-authored with
  Angelo Borsotti
- Removed experimental algorithms that are superseded by TDFA(1) and
  generally less efficient:
- Fixed parsing of raw UTF-8 characters in Flex compatibility mode
- Added header file to the dependencies generated with "--depfile" option
- Fixed stack overflow on large regular expressions by rewriting recursive
    functions in iterative form and limited stack to 256K on GithubActions CI
- Added minimal http://bazel.build integration
- Added configure option "--enable-parsers" that regenerates bison parsers
- Added CMake option "RE2C_REBUILD_PARSERS"
- Moved the entire codebase to C++11.
- Added uniform error handling (return codes are now properly checked and
 returned to the caller).
- Reorganized codegen subsystem in four well-defined phases (analyze,
 generate, fixup, render) and separated codegen from parsing phase.
- Improved memory allocation by using slab allocators instead of global free
 lists.
- Moved to pure API for bison parsers.
- Unified code style.
- Added "--verbose" flag to run_tests.py and suppressed verbose output by
 default.
- Multiple improvements of continuous testing with GithubActions.

(From OE-Core rev: 43e646a99f8be07fd410fd4af19a31fc98508a76)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14 12:51:21 +01:00
Wang Mingyu
98073bfea7 python3-pyparsing: upgrade 3.1.0 -> 3.1.1
Changelog:
============
- Fixed regression in Word(min)
- Fixed bug in bad exception messages raised by Forward expressions.
- Fixed regression in SkipTo, where ignored expressions were not checked when looking
  for the target expression.
- Fixed type annotation for enable_packrat
- Some general internal code cleanup.

(From OE-Core rev: 6671d50bb053060813d34692d50a9360da767dcc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14 12:51:21 +01:00
Wang Mingyu
b5939e1e3e python3-pip: upgrade 23.2 -> 23.2.1
Changelog:
 Disable PEP 658 metadata fetching with the legacy resolver.

(From OE-Core rev: 38d6687b9ca10aeea6167067d3c80827be98e4de)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14 12:51:21 +01:00
Wang Mingyu
f36f9d5f44 python3-pathspec: upgrade 0.11.1 -> 0.11.2
Changelog:
=========
- Issue #80: match_files with negated path spec. pathspec.PathSpec.match_*()
  now have a negate parameter to make using .gitignore logic easier and more efficient.
- Pull #76: Add edge case: patterns that end with an escaped space
- Issue #77/Pull #78: Negate with caret symbol as with the exclamation mark.

(From OE-Core rev: 2b36eb04ad71f01da5a8495a6e00fcb2bc89fa3b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14 12:51:21 +01:00
Wang Mingyu
8cdecbab02 python3-markdown: upgrade 3.4.3 -> 3.4.4
Changelog:
==========
 Add a special case for initial 's to smarty extension (#1305).
 Unescape any backslash escaped inline raw HTML (#1358).
 Unescape backslash escaped TOC token names (#1360).

(From OE-Core rev: cd32e3cfbfc95cf34b29c44f1b7bcbadcda56c92)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14 12:51:21 +01:00
Wang Mingyu
2bd519fbd1 python3-editables: upgrade 0.4 -> 0.5
Changelog:
 Fix a bug that broke importlib.invalidate_caches

(From OE-Core rev: 22b19db8011c73793a07c4f2ca677a0bfcaa02d1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14 12:51:21 +01:00
Wang Mingyu
9d7f2fb80f xxhash: upgrade 0.8.1 -> 0.8.2
Changelog:
==========
- fix  : XXH3 S390x vector implementation
- fix  : PowerPC vector compilation with IBM XL compiler
- perf : improved WASM speed by x2/x3 using SIMD128
- perf : improved speed (+20%) for XXH3 on ARM NEON
- cli  : Fix filename contain /LF character
- cli  : Support # comment lines in --check files
- cli  : Support commands --binary and --ignore-missing
- build: fix -Og compilation
- build: fix pkgconfig generation with cmake
- build: fix icc compilation
- build: fix cmake install directories
- build: new build options XXH_NO_XXH3, XXH_SIZE_OPT and XXH_NO_STREAM to reduce binary size
- build: dedicated install targets
- build: support DISPATCH mode in cmake
- portability: fix x86dispatch when building with Visual + clang-cl
- portability: SVE vector implementation of XXH3
- portability: compatibility with freestanding environments, using XXH_NO_STDLIB
- portability: can build on Haiku
- portability: validated on m68k and risc-v
- doc  : XXH3 specification
- doc  : improved doxygen documentation
- misc : dedicated sanity test binary

License-Update: Copyright year updated to 2021

(From OE-Core rev: e3286a35139b22e0744ff9a98021de1ec4598d12)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14 12:51:21 +01:00
Wang Mingyu
c707605642 gmp: upgrade 6.2.1 -> 6.3.0
cve-2021-43618.patch
removed since it's included in 6.3.0

Changelog:
============
  BUGS FIXED
  * A possible overflow of type int is avoided for mpz_cmp on huge operands.

  * A possible error condition when a malformed file is read with
    mpz_inp_raw is now correctly handled.

  FEATURES
  * New public function mpz_prevprime, companion of the existing
    mpz_nextprime.

  * New documented pointer types mpz_ptr, mpz_srcptr, and similar for
    other GMP types. Refer to the manual for full list and suggested
    usage. These types have been present in gmp.h at least since
    GMP-4.0, but previously not advertised to users.

  * Support for 64-bit Arm under Macos.

  * Support for the loongarch64 CPU family.

  * Support for building with LTO, link-time optimisations.

  SPEEDUPS
  * New special code for base = 2 in mpz_powm reduces the average time
    for the functions that test primality.

  * Speedup for the function mpz_nextprime on large operands.

  * Speedup for multiplications (some sizes only) thanks to new
    internal functions to compute small negacyclic products.

  * Special assembly code for IBM z13 and later "mainframe" CPUs, resulting in
    a huge speedup.

  * Improved assembly for several 64-bit x86 CPUs, Risc-V, 64-bit Arm.

(From OE-Core rev: 49b625116b67a19abfd17670431ba3f96031b86e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14 12:51:21 +01:00
Wang Mingyu
c020239284 file: upgrade 5.44 -> 5.45
Changelog:
==========
-PR/465: psrok1: Avoid muslc asctime_r crash
-add SIMH tape format support
-bump the max size of the elf section notes to be read to 128K
 and make it configurable
-PR/415: Fix decompression with program returning empty
-PR/408: fix -p with seccomp
-PR/412: fix MinGW compilation

(From OE-Core rev: facef006da35e22394a4cbb13243769586d10f31)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14 12:51:21 +01:00
Wang Mingyu
c6bbb1c8c1 curl: upgrade 8.2.0 -> 8.2.1
Changelog:
=========
   amigaos: fix sys/mbuf.h m_len macro clash
   amissl: add missing signal.h include
   amissl: fix AmiSSL v5 detection
   cfilters: rename close/connect functions to avoid clashes
   ciphers.d: put URL in first column
   cmake: add `libcurlu`/`libcurltool` for unit tests
   cmake: update ngtcp2 detection
   configure: check for nghttp2_session_get_stream_local_window_size
   CONTRIBUTE: drop mention of copyright year ranges
   CONTRIBUTE: fix syntax in commit message description
   curl_multi_wait.3: fix arg quoting to doc macro .BR
   docs: mark two TLS options for TLS, not SSL
   docs: provide more see also for cipher options
   hostip: return IPv6 first for localhost resolves
   http2: fix regression on upload EOF handling
   http: VLH, very large header test and fixes
   libcurl-errors.3: add CURLUE_OK
   os400: correct EXPECTED_STRING_LASTZEROTERMINATED
   quiche: fix lookup of transfer at multi
   quiche: fix segfault and other things
   rustls: update rustls-ffi 0.10.0
   socks: print ipv6 address within brackets
   src/mkhelp: strip off escape sequences
   tool: fix tool_seek_cb build when SIZEOF_CURL_OFF_T > SIZEOF_OFF_T
   transfer: do not clear the credentials on redirect to absolute URL
   unittest: remove unneeded *_LDADD
   websocket: rename arguments/variables to match docs

(From OE-Core rev: bc868329c4bac1d5d3831a7d86b561849ca533a3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14 12:51:21 +01:00
Wang Mingyu
99a28218c6 btrfs-tools: upgrade 6.3.1 -> 6.3.3
Changelog:
===========
 * mkfs: option -R deprecated, options unified in -O (-R still works)
 * mkfs: fix potential race with udev leading to EBUSY due to repeatedly
   opened file descriptors
 * block-group-tree is out of experimental mode
    * available as 'mkfs.btrfs -O block-group-tree'
    * btrfstune can do in-place conversion to/from (use with care)
 * balance: fix recognizing old and new syntax
 * subvol snapshot: specific error if a failure is caused by an active swapfile
 * tree-stats: rephrase warning when run on a mounted filesystem
 * completion: 'filesystem du' also completes files
 * check: fix docs, help text and warning that --force + --repair works on a
   mounted filesystem
 * build: fix static build when static libudev is available
 * documentation:
    * more updates from wiki, developer docs, changelogs
    * reformatting
    * updates and fixes
 * other:
    * test updates and fixes
    * CI cleanups and old files removed
    * integration with Github actions

(From OE-Core rev: bda3ba69154ac8eb58e60da09ecfee20f72253d4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14 12:51:21 +01:00
Sudip Mukherjee
0e21e3ef53 kea: upgrade to v2.4.0
Changes:
Update license checksum: change in copyright year.
Update sha256sum for new version.

An additinal patch to fix the reproducible build failure which is
still under discussion with upstream.

(From OE-Core rev: 99f61d952467076abb68bf50f9220e422ed98e60)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14 12:51:21 +01:00
Khem Raj
57a19a352f gnu-efi: Fix build on musl
Build with musl emits extra warnings about pointer incompatibility due
to different type of wchar_t than glibc which turns to be error in the
end, disable -Werror for musl.

(From OE-Core rev: 645d2bd6dee1d33a722e962d9f916540c2ef68a4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14 12:51:21 +01:00
Ross Burton
88e46ee15a connman-conf: don't take over any ethernet devices, not just eth0
The goal of connman-conf in qemu environments is to stop connman from
trying to control the network device, because runqemu will set it up
appropriately.

It currently hardcodes eth0, but 6.2 kernels onwards will rename eth0 to
en* even when the interface is already up[1]. So that this recipe
continues to work as intended, expand the list to "eth,en" so that
connman ignores _all_ ethernet devices with either the new or old names.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit?id=bd039b5ea2a91ea707ee8539df26456bd5be80af

(From OE-Core rev: 56baa430f8a577ff280676dc2e8a2debbc85bc21)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14 12:51:21 +01:00
Benjamin Bara
7865ffaf57 rust-target-config: fix target_features for vfpv3d16
A build with vfpv3d16 (armv7at2hf-vfpv3d16) tune currently warns:
'+d16' is not a recognized feature for this target (ignoring feature)

This correlates with the supported target_features for arm[1].

With the now enabled features, rustc might use vdiv.f64 with register
d17, which leads to an illegal instruction on the given platform.

Therefore, adapt the features s.t. they correspond to the
armv7_unknown_linux_gnueabihf target[2].

Additionally, only set the latest supported version of VFP.

[1] https://github.com/rust-lang/rust/blob/1.70.0/compiler/rustc_codegen_ssa/src/target_features.rs#L32
[2] https://github.com/rust-lang/rust/blob/1.70.0/compiler/rustc_target/src/spec/armv7_unknown_linux_gnueabihf.rs#L15

(From OE-Core rev: d79f0a0702b667625e12c9e131932e02cb08bada)

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14 12:51:21 +01:00
Jose Quaresma
3a54693243 systemd: fix efi dependency
Last version of systemd dpends now on pyelftools to build the efi support
but the required tool is the native ones and not the target.
The systemd-boot has the corrected dependencie so fix this in the main recipe.

| Program python3 (jinja2) found: YES (/build/tmp-lmp/work/corei7-64-lmp-linux/systemd/1_254-r0/recipe-sysroot-native/usr/bin/python3-native/python3) modules: jinja2
| Checking if "32bit build possible" : links: NO
| Program python3 (elftools) found: NO
|
| ../git/meson.build:2147:8: ERROR: Problem encountered: EFI bootloader support requires pyelftools.
|
| A full log can be found at /build/tmp-lmp/work/corei7-64-lmp-linux/systemd/1_254-r0/build/meson-logs/meson-log.txt

(From OE-Core rev: 69d37620a7a0626eaee1c0b37057be2ac2687290)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14 12:51:21 +01:00
Michael Opdenacker
2b86db9c51 scripts/create-pull-request: update URLs to git repositories
Also remove the git.pokylinux.org URL, no longer used.

(From OE-Core rev: 47b88d143c2fc61ce0e03b7eb3a9dbcffadbf5b1)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14 12:51:21 +01:00
Richard Purdie
29c0ba4bc8 bitbake: siggen: Update debug
The debug in the comments was out of date. It is still useful so update the
code sample to the new code needed.

(Bitbake rev: fa2724069ea7028939d816cb5ccd0e7c1bed09a1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-13 10:32:02 +01:00
Richard Purdie
f75bfa87a1 bitbake: siggen: Fix indentation
(Bitbake rev: 9a98851ef86adea3b05c4eb7c44e7ea3fbbb4420)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-13 10:32:02 +01:00
Chen Qi
653ff4d85c bitbake: runqueue.py: fix PSI check logic
The current calculation is not correct because if tdiff is less than
1.0, it's not taken into consideration when calculating the current
pressure.

Also, make it clear that the 1.0s is the psi accumulation cycle,
which might be changed in the future. We have this cycle because it
could largely avoid the 0 result issue, that is, if the interval
between checks are too small, the result might be 0. With this
accumulation logic, which has been there but let's make it clear,
this 0 result problem could be mitigated.

(Bitbake rev: 95fa8fb5fb4d5a72e79b11d69792613bfd494e72)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11 17:00:40 +01:00
Emil Ekmečić
ac5512b0ac bitbake: fetch2: add Google Cloud Platform (GCP) fetcher
This fetcher allows BitBake to fetch from a Google Cloud Storage
bucket. The fetcher expects a gs:// URI of the following form:

SSTATE_MIRRORS = "file://.* gs://<bucket name>/PATH"

The fetcher uses the Google Cloud Storage Python Client, and
expects it to be installed, configured, and authenticated prior
to use.

If accepted, this patch should merge in with the corresponding oe-core
patch titled "Add GCP fetcher to list of supported protocols".

Some comments on the patch:

There is also documentation for the fetcher added to the User
Manual. I'm still not completely sure about the recommends_checksum()
being set to True. As I've noted in the mailing list, it will throw
warnings if the fetcher is used in recipes without specifying a
checksum. Please let me know if this is intended behavior or if it
should be modified.

Here is how this fetcher conforms to the fetcher expectations
described at this link:
https://git.yoctoproject.org/poky/tree/bitbake/lib/bb/fetch2/README

a) Yes, network fetching only happens in the fetcher

b) The fetcher has nothing to do with the unpack phase so there is no
network access there

c) This change doesn't affect the behavior of DL_DIR. The GCP fetcher
only downloads to the DL_DIR in the same way that other fetchers,
namely the S3 and Azure fetchers do.

d) The fetcher is identical to the S3 and Azure fetchers in this
context

e) Yes, the fetcher output is deterministic because it is downloading
tarballs from a bucket and not modifying them in any way.

f) I set up a local proxy using tinyproxy and set the http_proxy
variable to test whether the Python API respected the proxy. It
appears that it did as I could see traffic passing through the
proxy. I also did some searching online and found posts indicating
that the Google Cloud Python APIs supported the classic Linux proxy
variables, namely:
  - https://github.com/googleapis/google-api-python-client/issues/1260

g) Access is minimal, only checking if the file exists and downloading
it if it does.

h) Not applicable, BitBake already knows which version it wants and
the version infomation is encoded in the filename. The fetcher has no
concept of versions.

i) Not applicable

j) Not applicable

k) No tests were added as part of this change. I didn't see any tests
for the S3 or Azure changes either, is that OK?

l) I'm not 100% familiar but I don't believe this fetcher is using any
tools during parse time. Please correct me if I'm wrong.

(Bitbake rev: 8e7e5719c1de79eb488732818871add3a6fc238b)

Signed-off-by: Emil Ekmečić <eekmecic@snap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11 16:23:01 +01:00
Richard Purdie
71282bbc53 qemuboot: Update hardcoded path to match new layout
Obviously this code is horrible and shouldn't hardcode it. Update it to match
the WORKDIR change to drop PE/PR for now.

(From OE-Core rev: 05095c116602d1a8c388cc02afffcc36230138f7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11 13:22:01 +01:00
Richard Purdie
d7ce7d6799 bitbake.conf: Drop PE and PR from WORKDIR and STAMP
Once, we relied upon stamps changing to rebuild. PE and PR are packaging
variables and are reflected in the taskhashes when/where they're used so
they do not need to be in STAMP.

Similarly, once, multiple versions were something which was useful in
WORKDIR but this is really just noise causing long pathnames now.

Drop PR and PE from these variables to clean up the paths a bit.

This may break some tool assumptions about paths but those are probably
things we need to fix.

(From OE-Core rev: cc83e45484656a6b577ff84817131735023daad4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11 13:22:01 +01:00
Luca Boccassi
c4e6a67a8a systemd: add usrmerge to REQUIRED_DISTRO_FEATURES
Support for unmerged-usr is deprecated upstream, taints the system and
has been removed for v255 (next release).
Enforce building merged-usr images when using systemd. This allows one
release cycle where it can be tested for any remaining issue, and can
still be overridden, before it stops working completely.

(From OE-Core rev: 802e853eeddf16d73db1900546cc5f045d1fb7ed)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11 13:22:01 +01:00
Richard Purdie
d4933d1006 conf/init-mamager-systemd: Add usrmerge to DISTRO_FEATURES
usrmerge is now required by systemd, ensure this is also added to DISTRO_FEATURES
when systemd is selected.

(From OE-Core rev: fa8c59c49940af4cb03df49f5b6a2a53d50fbefb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11 13:22:01 +01:00
Richard Purdie
67a8dcabda selftest: Ensure usrmerge is enabled with systemd
systemd now requires usrmerge, ensure this is always the case in
our test cases.

(From OE-Core rev: 465bf84c523403ccc7dc6ed8c2a9c32d85929e8c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11 13:22:01 +01:00
Peter Suti
2c4cb6dba3 externalsrc: fix dependency chain issues
Instead of deleting setscene tasks, now SSTATE_SKIP_CREATION is set instead.

This seems to fix the compile issues where the populate_sysroot task was
not run when an externalsrc recipe was built as a dependency.

[YOCTO #15164]

[RP addition: The deltask was added by me in 2012 when the class was created.
The trouble is bitbake assumes 'sstate' tasks have a setscene task and by deleting
the setscene task, bitbake stops thinking the task can be accelerated. There is other
code in the sysroot code which assumes some tasks are always sstate tasks.

We cannot delete the task without changes to the way bitbake learns about 'setscene'
tasks so the patch is correct, avoiding creating files is the better approach given
the way the world works now.

There would be concerns about exisitng sstate reuse however this shouldn't occur
since SRC_URI changes and that will change the underlying hashes. Hash equivalency
could potentially cause issues by joining hashes together again however if the output
matches, that shouldn't in theory cause any issue.]

(From OE-Core rev: ee4667a24ccdd8c9d547e73aecf661e6a1283890)

Signed-off-by: Peter Suti <peter.suti@streamunlimited.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11 09:36:05 +01:00
Richard Purdie
2850991c37 gnupg: Fix reproducibility failure
yat2m can be found within the build or from the recipe-sysroot-native if
runtime dependencies are present. The sysroot version has version differences
to the in tree copy. Specify the one we want to make the build determinstic.

(From OE-Core rev: 1feb5274db6e985e10f58359b148dabb4076917a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11 09:36:05 +01:00
Richard Purdie
c4c58b13c2 selftest/reproducible: Update config to match ongoing changes
We can't have systemd here any longer without usrmerge. We don't really
want to enable the latter since having separate usr will likely result in
a class of reproducibility and host contamination issues that enabling it
might hide.

Also drop INHIBIT_PACKAGE_STRIP since we generally don't build with that
and the debug binaries should be generated regardless. I suspect this
is legacy from older issues.

(From OE-Core rev: 7b7411788e805fa067dd672c9771dcaf2af918a0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11 09:36:05 +01:00
Michael Halstead
5df06735ac yocto-uninative: Update hashes for uninative 4.1
This version includes fixes to patchelf.

(From OE-Core rev: 1c5c8ff97ba0a7f9adc592d702b865b3d166a24b)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11 09:36:05 +01:00
Yang Xu
b77e23c541 bitbake: server/process: fix sig handle
process.signal_received is a list for signum and not iterable,
change a suitable method to handle sig.

(Bitbake rev: bfc53b190bd2530c2bfcea0690127d7eff620f45)

Signed-off-by: Yang Xu <yang.xu@mediatek.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11 07:58:31 +01:00
Richard Purdie
b9813c6a4a Revert "kea: upgrade to v2.5.0"
This reverts commit 4048ddf7fdd6859c43aeb82d85ee0851b3a9177b.

2.5.0 is a development series and the upgrade should have been to 2.4.x.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10 09:30:53 +01:00
Sudip Mukherjee
a05abc02fa kea: upgrade to v2.5.0
Changes:
Update license checksum: change in copyright year.
Update sha256sum for new version.

An additinal patch to fix the reproducible build failure.

(From OE-Core rev: 4048ddf7fdd6859c43aeb82d85ee0851b3a9177b)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10 09:18:54 +01:00
Bruce Ashfield
06335eab2f linux-yocto-tiny/6.4: fix HID configuration warning
Integrating the following commit(s):

    88ed9ec4909 qemuarm(a15): fix HID warnings in -tiny

During the update to 6.4, qemuarm was missed when updating the HID
configuration to avoid the following warning:

   WARNING: linux-yocto-tiny-6.4.9+gitAUTOINC+8dc4f68eb8_72bad8cd75-r0
   do_kernel_configcheck: [kernel config]: specified values did not make it
   into the kernel's final configuration:

       [NOTE]: 'CONFIG_USB_HID' last val (y) and .config val (n) do not match
       [INFO]: CONFIG_USB_HID : n
       [INFO]: raw config text:

           config USB_HID
                   tristate "USB HID transport layer"
                   default y
                   select HID
                   depends on USB && INPUT && USB && HID_SUPPORT
                   help
                     Say Y here if you want to connect USB keyboards,
                     mice, joysticks, graphic tablets, or any other HID based devices
                     to your computer via USB, as well as Uninterruptible Power Supply
                     (UPS) and monitor control devices.

                     You can't use this driver and the HIDBP (Boot Protocol) keyboard
                     and mouse drivers at the same time. More information is available:
                     <file:Documentation/input/input.rst>.

                     If unsure, say Y.

                     To compile this driver as a module, choose M here: the
                     module will be called usbhid.

           Config 'USB_HID' has the following Direct dependencies (USB_HID=n):
                   USB(=y) && INPUT(=y) && HID_SUPPORT(=n)
           Parent dependencies are:
                USB [y] HID_SUPPORT [n] INPUT [y]
       [INFO]: config 'CONFIG_USB_HID' was set, but it wasn't assignable, check (parent) dependencies

(From OE-Core rev: caa6df71a56ef56710c5c62f3e647322b42efd99)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10 09:18:54 +01:00
Khem Raj
795420850b pm-utils: Do not require GNU grep at runtime
This was added to fix bug reported here [1]

back then busybox grep applet did not implement -x option
and it would fail as reported in the bug, in due course
busybox now has implemented -x option [2] and the expression

using grep -x in /usr/lib/pm-utils/functions:219 works fine

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=1887
[2] https://git.busybox.net/busybox/commit/?id=cd09e81520b7917adebcffd7c361671f913325eb

(From OE-Core rev: ba52209acc699d71de865e7eddf64c8acb67b491)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10 09:18:54 +01:00
Marek Vasut
b4b218b069 linux-firmware: Fix mediatek mt7601u firmware path
The following linux-firmware commit moved the mt7601u firmware blob
into a mediatek/ subdirectory, update the path accordingly.
8451c2b1 ("mt76xx: Move the old Mediatek WiFi firmware to mediatek")

Fixes: 64603f602d ("linux-firmware: upgrade 20230404 -> 20230515")
(From OE-Core rev: 6fa5c4967a7e70192e9233c92534f27ec3e394c8)

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10 09:18:54 +01:00
Mark Hatle
2abbc358ba tcf-agent: Update to 1.8.0 release
New 1.8 release of tcf-agent.  Implements DWARF 5 support and various
bug fixes.

Changelog since last SRCREV:
   Releng: Upversion TCF to 1.8
   Fixed possible SEGFAULT after error message queue overflow
   Fixed misspelling in a comment
   TCF Agent: update breakpoint error message
   Fixed regression: possible segfault in run_safe_events()
   Bug 581978 - TCF agent wrong handle the call frame debug info generated by LLVM 16 for RISC-V
   DWARF: a bit faster implementation of dio_ReadAddressX()
   Bug 581971 - Failed to handle loclist for DWARF 5
   Fixed handling of situation when a context resumed or exited during breakpoint evaluation
   Bug 581799 - when loads .debug_info section from dwarf 5 file, the content of some part are zero
   Updated examples/daytime/readme.txt

(From OE-Core rev: 0c2c7c910fa933bc46f69207f1f7641c1e7b77e0)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10 09:18:54 +01:00
Julien Stephan
c610b8dcd9 libexif: add ptest support
adds ptest support for libexif

Ptest was executed on a core-image-minimal:
root@qemux86-64:~# ptest-runner libexif
START: ptest-runner
2023-07-12T15:45
BEGIN: /usr/lib/libexif/ptest
[...]
i====================
All 13 tests passed
(1 test was not run)
====================
[...]
DURATION: 35
END: /usr/lib/libexif/ptest
2023-07-12T15:45
STOP: ptest-runner
TOTAL: 1 FAIL: 0

(From OE-Core rev: 4e2340dfecdfbe22b07161e89de4e25d466820bb)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10 09:18:54 +01:00
Sudip Mukherjee
524a49f5de bind: upgrade to v9.18.17
Changes:
Update license checksum: only whitespace change.
Update sha256sum for new version.

Additional change:
Do not use version with the foldername, which will result in less diffstat
with future upgrades.

(From OE-Core rev: 1eda31b370ab4129ad149c45f1e43a44d6db9241)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10 09:18:54 +01:00
Sakib Sajal
a85c8a5789 go: upgrade 1.20.6 -> 1.20.7
Upgrade to latest 1.20.x release [1]:

$ git log --oneline go1.20.6..go1.20.7 origin/release-branch.go1.20
adb775e309 (tag: go1.20.7, origin/release-branch.go1.20) [release-branch.go1.20] go1.20.7
659f2a2207 [release-branch.go1.20] crypto/tls: restrict RSA keys in certificates to <= 8192 bits
10d85fa0f6 [release-branch.go1.20] cmd/asm, cmd/internal/obj: generate proper atomic ops for riscv64
bd3a1f24e7 [release-branch.go1.20] net: tolerate permission errors in interface tests
6211a024b4 [release-branch.go1.20] cmd/compile: on PPC64, fix sign/zero extension when masking

[1] https://github.com/golang/go/compare/go1.20.6...go1.20.7

(From OE-Core rev: 039324d917ed124228a14ac1effdd66b27d9e82b)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10 09:18:54 +01:00
Joel Stanley
b40619a5b3 kernel: don't fail if Modules.symvers doesn't exist
Kernels that do not use modules do not have the Modules.symvers file,
which causes the previous one-liner to fail.  Invert the logic so that
the absence of the Modules.symvers is a passing situation but we still
get failure checking on the install operation.

(From OE-Core rev: 856c916ffbf3438d8cf5d8bed344473bde03b56e)

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10 09:18:54 +01:00
Ovidiu Panait
b06d0238c7 mdadm: save ptest logs
Run test script with --save-logs and --logdir parameters, so the log files can
be retrieved in case of failure.

(From OE-Core rev: 32fe21e420b1c2a4e7ef9d7c768a22c9a7caa115)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10 09:18:54 +01:00
Chen Qi
8cd7786bca openssh: sync with upstream's default
This change sync the contents of this file with upstream's
ssh_config except for the locally added line
'Include /etc/ssh/ssh_config.d/*.conf'.

More specifically the ForwardXXX options are disabled by default,
this sync with what ssh_config(5) says about these two items.

In addition, the RSAAuthentication items are removed as they are v1 protocol.
See the contents of Changelog file in openssh project as below:
"""
commit bfe19197a92b7916f64a121fbd3c179abf15e218
Author: Darren Tucker <dtucker@dtucker.net>
Date:   Fri Jul 2 15:43:28 2021 +1000

    Remove now-unused SSHv1 enums.

    sRhostsRSAAuthentication and sRSAAuthentication are protocol 1 options
    and are no longer used.
"""

(From OE-Core rev: 01174262c6cb8f6d7b9dbe5292d0f93f72a15691)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10 09:18:54 +01:00
Chen Qi
71370b5ecd gcc-crosssdk: ignore MULTILIB_VARIANTS in signature computation
The gcc_multilib_setup function is a function that is run at the
do_configure step, so it's counted into the signature computation.
The MULTILIB_VARIANTS this function uses is also extracted to be
taken into consideration. After the change of setting MULTILIB_VARIANTS
explictly vardeps on MULTILIBS, the change of MULTILIBS changes the
signature, thus causing rebuilding. However, in case of gcc-crosssdk,
the setting of multilib should have no effect on it, as it's used
to build nativesdk packages, not the target packages. So ignore
MULTILIB_VARIANTS in signature computation. This fixes oe-selftest
case sstatetests.SStateHashSameSigs2.test_sstate_nativesdk_samesigs_multilib.

(From OE-Core rev: 537c71162a711dec32a63a657c4b101269a3e267)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10 09:18:53 +01:00
Chen Qi
418f160959 multilib.conf: explicitly make MULTILIB_VARIANTS vardeps on MULTILIBS
This patch is to ensure recipes get rebuilt correctly and avoid
incorrect sstate cache reuse when toggling multilib.

The following steps show one example of such incorrect sstate cache reuse.
1. enable multilib && bitbake <some_image> -c populate_sdk
2. disable multilib && bitbake <some_image> -c populate_sdk

The error message is as below:
Error:
 Problem: conflicting requests
   - nothing provides binutils-cross-canadian-i686 needed by packagegroup-cross-canadian-intel-x86-64-1.0-r0.x86_64_nativesdk
   - nothing provides gcc-cross-canadian-i686 needed by packagegroup-cross-canadian-intel-x86-64-1.0-r0.x86_64_nativesdk
   - nothing provides gdb-cross-canadian-i686 needed by packagegroup-cross-canadian-intel-x86-64-1.0-r0.x86_64_nativesdk
 (try to add '--skip-broken' to skip uninstallable packages)

We get this error because packagegroup-cross-canadian recipe is
not rebuilt when it should be.

Current codes have tracked the dependency to MULTILIB_VARIANTS, as
shown in the following chain:
RDEPENDS:packagegroup-cross-canadian-intel-x86-64 ->
all_multilib_tune_values -> MULTILIB_VARIANTS.

However, MULTILIB_VARIANTS cannot automatically depend on MULTILIBS.
See some results from 'bitbake-dumpsigs' below:
List of dependencies for variable MULTILIB_VARIANTS is ['extend_variants']
Variable MULTILIB_VARIANTS value is ${@extend_variants(d,'MULTILIBS','multilib')}

It's obvious that the value of MULTILIB_VARIANTS depend on the
value of MULTILIBS, so let's set this dependency manually.

(From OE-Core rev: 9f47d8eb51816d16078a23c0cef4d697555f913f)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10 09:18:53 +01:00
Sudip Mukherjee
afeb3baa8a libgit2: upgrade to v1.7.0
(From OE-Core rev: 02f34e608197a9a270704dd76e460df8ee0bf6f0)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10 09:18:53 +01:00
Tim Orling
9af6495ee4 python3-cryptography{-vectors}: upgrade -> 41.0.3
https://cryptography.io/en/latest/changelog/#v41-0-3

* Fixed performance regression loading DH public keys.
* Fixed a memory leak when using ChaCha20Poly1305.
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.1.2.

(From OE-Core rev: 51f540260e858e77031c569721eb01dba24365c9)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10 09:18:53 +01:00
Tim Orling
515532b5c3 python3-chardet: upgrade 5.1.0 -> 5.2.0
https://github.com/chardet/chardet/compare/5.1.0...5.2.0

* Adds support for running chardet CLI via python -m chardet
  (0e9b7bc, @dan-blanchard)

(From OE-Core rev: 68a80de82010757524c71b4a8399bd879425320d)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10 09:18:53 +01:00
Trevor Gamblin
e56b895866 python3: add additional timing-related test skips
The following tests have been seen failing intermittently on the
autobuilder:

test.test_multiprocessing_forkserver.WithManagerTestBarrier.test_timeout
test.test_time.TimeTestCase.test_thread_time

Since these could be affected by AB systems under heavy load, disable
them. New test outputs:

test_timeout (test.test_multiprocessing_fork.WithProcessesTestBarrier.test_timeout)
SKIP: Test wait(timeout) 'timing related test, dependent on load'
...
SKIP: test_thread_time (test.test_time.TimeTestCase.test_thread_time) 'timing related test, dependent on load'

[YOCTO # 15131]
[YOCTO # 15177]

(From OE-Core rev: 4da3b653e0fad52e7af97328b49e40d5179ddfe5)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10 09:18:53 +01:00
Markus Volk
89fdb041f7 epiphany: upgrade 44.5 -> 44.6
44.6 - July 28, 2023
====================

 * Hide "Search the Web for" context menu item in web app mode (#2097, Cleo Menezes Jr.)
 * Fix Save Password? permission requests, broken since 44.4 (#2113)
 * Fix unencoded % characters in URLs causing session to fail to save (#2128, Vanadiae)
 * Fix web views not being destroyed when window is closed (#2130)
 * Hopefully fix crash in ephy_sqlite_connection_create_statement (#2132)

(From OE-Core rev: 048c10296b843f49e6155cfbd7af92a43763a1c3)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10 09:18:53 +01:00
Markus Volk
75f22c4773 webkitgtk: upgrade 2.40.2 -> 2.40.5
- Remove unneeded patches

    What’s new in the WebKitGTK 2.40.5 release?
    - Fix several crashes and rendering issues.

    What’s new in the WebKitGTK 2.40.4 release?
    - Fix a bug in JavaScript reading variable arguments in a call.

    What’s new in the WebKitGTK 2.40.3 release?
    - Make memory pressure monitor honor memory.memsw.usage_in_bytes if exists.
    - Include key modifiers in wheel events.
    - Apply cookie blocking policy to WebSocket handshakes.
    - Remove accidental dependency on GLib 2.70.
    - Fix the build with BUBBLEWRAP_SANDBOX disabled.
    - Fix several crashes and rendering issues.

(From OE-Core rev: c2f10d54341d84dcb21aaabe0828bff774de4f6e)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10 09:18:53 +01:00
Michael Opdenacker
a26970fa3a recipes: remove unused AUTHOR variable
No longer used in generating packages
Also creates a possible confusion with the recipe maintainer
name.

(From OE-Core rev: 9d5edd124b7dddb995ceddd79f8a7fc8cf44badf)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10 09:18:53 +01:00
Ross Burton
b0152a3464 linux-yocto: extract generic kernel CVE_STATUS
Some of the CVE_STATUS assignments are not specific to the version, so
move them to an unversioned file and include it in the recipes.

For example: some CVEs are disputed, or are specific to other
distributions.

(From OE-Core rev: d8656d9d4dfcaef6b492f5bf4cb003f16d7a3a4b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 21:48:11 +01:00
Ross Burton
63e4205cda librsvg: upgrade to 2.56.3
This includes the fix for CVE-2023-38633.

(From OE-Core rev: 26df3c30a7dfed79b7b8c724eb1ef03e463b79b4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 21:48:11 +01:00
Ross Burton
1f9434d51b openssh: upgrade to 9.3p2
9795c401 (tag: V_9_3_P2) OpenSSH 9.3p2
bde3635f update version in README
f673f2f3 update RPM spec versions
d7790cdc disallow remote addition of FIDO/PKCS11 keys
b23fe83f terminate pkcs11 process for bad libraries

This includes the fix for CVE-2023-38408.

(From OE-Core rev: 7ae89bdeaa97c8d6a0b63e92da31290548f03168)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 21:48:11 +01:00
Ross Burton
e6eb540236 ghostscript: ignore CVE-2023-38560
The ghostscript recipe isn't vulnerable to CVE-2023-38560, as this is an
issue in the GhostPCL release, whereas this recipe is the Ghostscript
release.

(From OE-Core rev: f82a13beabc784da1455f86064ce9f0f225b6e5a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 21:48:11 +01:00
Ross Burton
4adb195619 ghostscript: backport fix for CVE-2023-38559
(From OE-Core rev: 38478a82598260e5e0616598e8cf78416dac1867)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 21:48:11 +01:00
Ross Burton
04a4bac6d2 linux-yocto: add script to generate kernel CVE_STATUS entries
Instead of manually looking up new CVEs and determining what point
releases the fixes are incorporated into, add a script to generate the
CVE_STATUS data automatically.

First, note that this is very much an interim solution until the
cve-check class fetches data from www.linuxkernelcves.com directly.

The script should be passed the path to a local clone of the
linuxkernelcves repository[1] and the kernel version number. It will
then write to standard output the CVE_STATUS entries for every known
kernel CVE.

The script should be periodically reran as CVEs are backported and
kernels upgraded frequently.

[1] https://github.com/nluedtke/linux_kernel_cves

(From OE-Core rev: 8cb184f9de9b0ce5f465ea12ba24beafd6673f01)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 21:48:11 +01:00
Alexandre Belloni
6c03509349 wic: bootimg-efi: Stop hardcoding VMA offsets
Section VMA's are currently hardcoded. This doesn't work anymore starting
with systemd-boot v254.

Follow the actually solution to this which is documented here:
https://wiki.archlinux.org/title/Unified_kernel_image#Manually

This is also used by dracut. Later on, we may want to switch to ukify
instead but this is not ready yet.

(From OE-Core rev: 3abf99a6c6bde2fb8770f54dba609b35f6c6ee5a)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 21:43:33 +01:00
Markus Volk
8e6dc32e5e systemd: add a packageconfig to support colored logs
journald uses less to display logs. less.busybox can do the
job, but it rips out support for color/highlighting.

(From OE-Core rev: 2e9b41b23695bb3517ad33ccb02ae19ca30326c6)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 21:43:33 +01:00
Khem Raj
be13263987 systemd-boot: Ensure EFI_LD is also passed to compiler driver
Where compiler driver is used for linking ensure bfd linker is used as
well so its consistent when called directly or via compiler

(From OE-Core rev: d497362d52bd934101e7d7a49eeee0fffb0f4f46)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 21:43:33 +01:00
Jose Quaresma
c558fddff7 systemd: fix efi stubs
Before the patch:

| $ objdump -h deploy/images/intel-corei7-64/linuxx64.efi.stub
| objdump: deploy/images/intel-corei7-64/linuxx64.efi.stub (.reloc): section flag STYP_GROUP (0x4) ignored
| objdump: deploy/images/intel-corei7-64/linuxx64.efi.stub (.reloc): section flag STYP_GROUP (0x4) ignored
| objdump: deploy/images/intel-corei7-64/linuxx64.efi.stub: file format not recognized

After the patch:

| $objdump -h deploy/images/intel-corei7-64/linuxx64.efi.stub
|
| deploy/images/intel-corei7-64/linuxx64.efi.stub:     file format pei-x86-64
|
| Sections:
| Idx Name          Size      VMA               LMA               File off  Algn
|   0 .text         0000f99f  000000014df91000  000000014df91000  00000400  2**4
|                   CONTENTS, ALLOC, LOAD, READONLY, CODE
|   1 .rodata       00002c40  000000014dfa1000  000000014dfa1000  0000fe00  2**2
|                   CONTENTS, ALLOC, LOAD, READONLY, DATA
|   2 .data         000002d8  000000014dfa4000  000000014dfa4000  00012c00  2**4
|                   CONTENTS, ALLOC, LOAD, DATA
|   3 .sdmagic      00000032  000000014dfa5000  000000014dfa5000  00013000  2**2
|                   CONTENTS, ALLOC, LOAD, READONLY, DATA
|   4 .reloc        00000080  000000014dfa6000  000000014dfa6000  00013200  2**2
|                   CONTENTS, ALLOC, LOAD, READONLY, DATA

(From OE-Core rev: 2d4a5305c8b7a5fb15086a86dfdc64630c686602)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 21:43:33 +01:00
Yang Xu
1bdcd76d29 oeqa/selftest/ssate: Add test for find_siginfo
Previously some dependencies couldn't be followed through their siginfo
files. This has been fixed, add a test to ensure this doesn't regress.

(From OE-Core rev: a59cd1502ff14c5d8ccb04385bf4a3ad338d998d)

Signed-off-by: Yang Xu <yang.xu@mediatek.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 13:23:33 +01:00
Richard Purdie
fa640ae676 sstatesig: Update to match bitbake changes to runtaskdeps
Bitbake has changes to runtaskdeps in siginfo files to fix bugs in being
able to locate them for sstate and hash debugging purposes.

This patch updates to match the changes to the format.

(From OE-Core rev: 4f1148eeab2500022d7e17feadf80027a01a51f1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 13:23:33 +01:00
Richard Purdie
84a7485025 bitbake: siggen: Improve runtaskdeps data to fix sstate debugging
The runtaskdep data in siginfo files was written out with full paths to
the bb files, matching bitbake's internal "unique key" ID for recipes/tasks.
When originally implemented this made sense.

Over time, the main use for the data in siginfo files has become to match
against other siginfo files to debug changes of hash calcuations. The
recipename data is not useful for this as the siginfo filenames use PN
instead which can often be derived from the recipe filename but not always.

It is time to throw away the 'tid' data format and switch over the use a
hybrid PN form which includes the multiconfig. That can be easily stripped
off in the find_siginfo code in oe-core.

The other purpose of having a sortable dependency ID is retained and the
multiconfig needs to be included to allow the taskhashes to be processed
and calculated correctly. PN is meant to be unique between recipes, only
one would ever be built so using PN in this location is fine.

The one risk of this change is there isn't any compatibility to the old
format. I'm not convinced we should spend time complicating the code
with it. This change will change the taskhashes everywhere so the only
mixing of old and new siginfo files will be either through hash equivalence
or through users using the tool against old and new info files manually
which will give some weird output but it should be clear they're in
different formats as there would be large paths from the old files not
present in the new ones.

We have options to add backwards compatibility if some issue is found
to need that.

(Bitbake rev: 637933e2e5a59228a8d17aae4160551cab5f2f61)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 13:23:33 +01:00
Richard Purdie
afcd4b9cbc qemuboot/runqemu: Fix 6.2 and later kernel network device naming
With kernel 6.2 and later network devices are renamed by systemd. This does not
match with the current network device naming assumed in our configuration.

We may or may not change that naming but for now, pass the right kernel commandline
so things work as expected with newer kernels and removing a blocker on upgrading
to the 6.4 kernel by default.

(From OE-Core rev: 9e9c33d51e401fe2b4a632db74ccb3449e4b23ee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 13:22:00 +01:00
Frederic Martinsons
e9a09c8012 rust-hello-world: Drop recipe
we now have more rust/cargo recipes and tests that cover various use cases
so this is no longer needed.

(From OE-Core rev: 8baaf94d200f5355791ecd980727698b1ab0e539)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 13:22:00 +01:00
Frederic Martinsons
2dd04232e7 cargo_common.bbclass: Handle Cargo.lock modifications for git dependencies
Now we use --frozen, Cargo.lock cannot be modified by cargo build.
These patched git dependencies requires that the git url is removed
from Cargo.lock.

Fixes #15104

(From OE-Core rev: b80f756dd480fc92f58d7e10105d3a2427a32795)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 13:22:00 +01:00
Frederic Martinsons
d4c14304c9 cargo.bbclass: Use --frozen flag for cargo operations
It supersed the --offline flag and guarantee that Cargo.lock
file will not be modified during the build.

(From OE-Core rev: 9ff9e6523bd7eb6cdc854adcbd031085c536e0e6)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 13:22:00 +01:00
Alexander Kanavin
5020abf342 curl: ensure all ptest failures are caught
Piping results through sed is masking failures that aren't
picked up by sed expressions.

One such failure probes the source tree, and so isn't
relevant for target testing, and can be disabled.

(From OE-Core rev: 86c96cbf68d986b44fdb45e988343ce29d6b8cc7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 12:44:52 +01:00
Alexandre Belloni
f09444ffd1 base-files: bump PR because conf files are now sorted
(From OE-Core rev: 5da3a7a5654ce36bba664c5ccdd5d3fba27a4647)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 12:44:52 +01:00
Jean-Marie Lemetayer
fbcce87a3a package: always sort the conffiles
To improve package reproducibility, the conffiles order should not be
directly linked to the file system.

Sorting the conffiles solves this issue.

(From OE-Core rev: c7800fa825fa610327e3d2ee8c5707973b726a83)

Signed-off-by: Jean-Marie Lemetayer <j.lemetayer@kerlink.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 12:44:52 +01:00
Ross Burton
150feb7a64 systemd: depend on util-linux's swapon/off
systemd brings up swap partitions with swapon --fixpgsz, which busybox's
implementation doesn't support.

(From OE-Core rev: c7b39bb6319f21c6df6c2d25086f82154efdf5f6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 12:44:52 +01:00
Ross Burton
96caf05219 systemd: set correct paths for kdb binaries
The kbd binaries (loadkeys and setfont) are installed to bindir, not
base_bindir.

Fixes: 94ccc7acc4a871f5bb7ab8e135e70b5519eff6ad
(From OE-Core rev: 458fdd085beb14572e5a1ed0f94861cf10648725)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 12:44:52 +01:00
Bruce Ashfield
5ec6e05cbc linux-yocto/6.4: fix qemuarm boot failure
Integrating the following commit(s) to linux-yocto/6.4:

    72bad8cd7540 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var

(From OE-Core rev: 366d7876a70ab8833ccc0cb6607aac7e8a0311b8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 12:40:14 +01:00
Bruce Ashfield
bc08748b3b linux-yocto/6.4: update to v6.4.9
Updating  to the latest korg -stable release that comprises
the following commits:

    38ca69782268 Linux 6.4.9
    2692b1574ad9 x86: fix backwards merge of GDS/SRSO bit
    cf482893f721 xen/netback: Fix buffer overrun triggered by unusual packet
    9b73a2a43f4d x86/srso: Tie SBPB bit setting to microcode patch detection
    4974bd4b1385 x86/srso: Add a forgotten NOENDBR annotation
    b155f54a92b0 x86/srso: Fix return thunks in generated code
    b31eb84b6756 x86/srso: Add IBPB on VMEXIT
    948e43310c20 x86/srso: Add IBPB
    bf46b6249f26 x86/srso: Add SRSO_NO support
    dc399c66209b x86/srso: Add IBPB_BRTYPE support
    acdc883eb61e x86/srso: Add a Speculative RAS Overflow mitigation
    d351cc7c14a6 x86/bugs: Increase the x86 bugs vector size to two u32s
    7be4a6b1128c Documentation/x86: Fix backwards on/off logic about YMM support
    2f94fb4a4231 x86/xen: Fix secondary processors' FPU initialization
    6a592d977a0d x86/mem_encrypt: Unbreak the AMD_MEM_ENCRYPT=n build
    6f29afbba8fc KVM: Add GDS_NO support to KVM
    4da542e6b2bb x86/speculation: Add Kconfig option for GDS
    c73393948612 x86/speculation: Add force option to GDS mitigation
    ff0642207e24 x86/speculation: Add Gather Data Sampling mitigation
    71c140aa6327 x86/fpu: Move FPU initialization into arch_cpu_finalize_init()
    7e56c238ff4a x86/fpu: Mark init functions __init
    6c69f14c3e67 x86/fpu: Remove cpuinfo argument from init functions
    121887418638 x86/init: Initialize signal frame size late
    03e244a37a41 init, x86: Move mem_encrypt_init() into arch_cpu_finalize_init()
    5dc85ed21b9c init: Invoke arch_cpu_finalize_init() earlier
    f9a4f2ba337c init: Remove check_bugs() leftovers
    50455d685b65 um/cpu: Switch to arch_cpu_finalize_init()
    4b61f3683da0 sparc/cpu: Switch to arch_cpu_finalize_init()
    65b2da915cf9 sh/cpu: Switch to arch_cpu_finalize_init()
    09afafc754b3 mips/cpu: Switch to arch_cpu_finalize_init()
    626fefa0ba15 m68k/cpu: Switch to arch_cpu_finalize_init()
    3868a6a35c95 loongarch/cpu: Switch to arch_cpu_finalize_init()
    2156182d8f66 ia64/cpu: Switch to arch_cpu_finalize_init()
    81da5576db4e ARM: cpu: Switch to arch_cpu_finalize_init()
    f2aef93c0bc7 x86/cpu: Switch to arch_cpu_finalize_init()
    e5b3acb81bd2 init: Provide arch_cpu_finalize_init()

(From OE-Core rev: 5bed09b127c977214f66ebaf63f2bdc1e1d4bde5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 12:40:14 +01:00
Bruce Ashfield
cdf0cf72ef linux-yocto/6.1: update to v6.1.43
Updating  to the latest korg -stable release that comprises
the following commits:

    52a953d0934b Linux 6.1.43
    c3d576baa6c8 dma-buf: fix an error pointer vs NULL bug
    23acc2b850ba dma-buf: keep the signaling time of merged fences v3
    665e6fd71468 test_firmware: return ENOMEM instead of ENOSPC on failed memory allocation
    0ab95d5ce8be selftests: mptcp: sockopt: use 'iptables-legacy' if available
    bd2decac7345 mptcp: ensure subflow is unhashed before cleaning the backlog
    ab79c7541d84 cpufreq: intel_pstate: Drop ACPI _PSS states table patching
    602a1cbc24a2 ACPI: processor: perflib: Avoid updating frequency QoS unnecessarily
    f7fcc0f1b26b ACPI: processor: perflib: Use the "no limit" frequency QoS
    d701687c898e drm/amd/display: Write to correct dirty_rect
    d58fb94f24f8 drm/amd/display: perform a bounds check before filling dirty rectangles
    0441c4415442 tracing: Fix trace_event_raw_event_synth() if else statement
    f5e8f7a02c15 drm/amd/display: set per pipe dppclk to 0 when dpp is off
    73679f8c455e rbd: retrieve and check lock owner twice before blocklisting
    0c0b6412c966 rbd: harden get_lock_owner_info() a bit
    c0d067c79b23 rbd: make get_lock_owner_info() return a single locker or NULL
    3d215ad49c6a dm cache policy smq: ensure IO doesn't prevent cleaner policy progress
    507f70c06aa9 drm/i915/dpt: Use shmem for dpt objects
    e046aecb73e0 ceph: never send metrics if disable_send_metrics is set
    8ab9ad163804 PM: sleep: wakeirq: fix wake irq arming
    356e711640ae arm64/sme: Set new vector length before reallocating
    ff54cb993b31 ASoC: wm8904: Fill the cache for WM8904_ADC_TEST_0 register
    6deb8727f2a5 s390/dasd: print copy pair message only for the correct error
    c4ae208cc335 s390/dasd: fix hanging device after quiesce/resume
    2b58bd384730 LoongArch: BPF: Enable bpf_probe_read{, str}() on LoongArch
    8a5e0c1f71dc LoongArch: BPF: Fix check condition to call lu32id in move_imm()
    024ed3b9b8e3 Revert "um: Use swap() to make code cleaner"
    e1d54962a63b soundwire: fix enumeration completion
    dda7cfcaa46b selftests: mptcp: join: only check for ip6tables if needed
    aedec6019d7c net: dsa: qca8k: fix mdb add/del case with 0 VID
    828f9526f061 net: dsa: qca8k: fix broken search_and_del
    d42c326288ac net: dsa: qca8k: fix search_and_insert wrong handling of new rule
    e1fda7c1250f virtio-net: fix race between set queues and probe
    cd1a8952ff52 xen: speed up grant-table reclaim
    af7aa4fe94b3 proc/vmcore: fix signedness bug in read_from_oldmem()
    7f1715d827dc locking/rtmutex: Fix task->pi_waiters integrity
    d392d2d72af3 irqchip/gic-v4.1: Properly lock VPEs when doing a directLPI invalidation
    a80d2cb27d39 irq-bcm6345-l1: Do not assume a fixed block to cpu mapping
    2edb87931afd tpm_tis: Explicitly check for error code
    c9af433b1138 ACPI/IORT: Remove erroneous id_count check in iort_node_get_rmr_info()
    d79f730bb807 nfsd: Remove incorrect check in nfsd4_validate_stateid
    e5a87723e8c7 file: always lock position for FMODE_ATOMIC_POS
    2663e2cb91a7 x86/MCE/AMD: Decrement threshold_bank refcount when removing threshold blocks
    360c98f5830d btrfs: check for commit error at btrfs_attach_transaction_barrier()
    a7b85dc31644 btrfs: check if the transaction was aborted at btrfs_wait_for_commit()
    cbec34d3021d btrfs: account block group tree when calculating global reserve size
    5fec6f7903f9 hwmon: (nct7802) Fix for temp6 (PECI1) processed even if PECI1 disabled
    85f8077893ec hwmon: (k10temp) Enable AMD3255 Proc to show negative temperature
    bf7b30dc16da ALSA: hda/relatek: Enable Mute LED on HP 250 G8
    db3c5ca31400 ALSA: hda/realtek: Support ASUS G713PV laptop
    96a0b80eb1b0 Revert "xhci: add quirk for host controllers that don't update endpoint DCS"
    9615ca54bc13 tty: n_gsm: fix UAF in gsm_cleanup_mux
    7ae9f55a4950 staging: ks7010: potential buffer overflow in ks_wlan_set_encode_ext()
    41e05572e871 staging: r8712: Fix memory leak in _r8712_init_xmit_priv()
    ef301c41a10e Documentation: security-bugs.rst: clarify CVE handling
    ddb9503d1c2e Documentation: security-bugs.rst: update preferences when dealing with the linux-distros group
    9ae3d7941f8d Revert "usb: xhci: tegra: Fix error check"
    cf8203ea19ef usb: xhci-mtk: set the dma max_seg_size
    c0ebcc7e7fb1 usb: cdns3: fix incorrect calculation of ep_buf_size when more than one config
    9590eeef4d65 USB: quirks: add quirk for Focusrite Scarlett
    98a6054d51cc usb: ohci-at91: Fix the unhandle interrupt when resume
    a28062554190 usb: misc: ehset: fix wrong if condition
    c1fad1695bef usb: dwc3: don't reset device side if dwc3 was configured as host-only
    84ff2e988b0b usb: dwc3: pci: skip BYT GPIO lookup table for hardwired phy
    bf4986fbeb21 Revert "usb: dwc3: core: Enable AutoRetry feature in the controller"
    60816ac26f2f usb: typec: Use sysfs_emit_at when concatenating the string
    9e4c1e68bf6a usb: typec: Iterate pds array when showing the pd list
    59feda7f3889 usb: typec: Set port->pd before adding device for typec_port
    efd354eb7955 can: gs_usb: gs_can_close(): add missing set of CAN state to CAN_STATE_STOPPED
    60dea45ea317 USB: serial: simple: sort driver entries
    889122fe36f4 USB: serial: simple: add Kaufmann RKS+CAN VCP
    6341ef50ca26 USB: serial: option: add Quectel EC200A module support
    f13b7a9f16db USB: serial: option: support Quectel EM060K_128
    71bef922ff9a serial: sifive: Fix sifive_serial_console_setup() section
    ace0efeb56f4 serial: 8250_dw: Preserve original value of DLF register
    016a4a2a7587 serial: qcom-geni: drop bogus runtime pm state update
    eb1a542824ee KVM: x86: Disallow KVM_SET_SREGS{2} if incoming CR0 is invalid
    d8eb0c480f1e KVM: VMX: Don't fudge CR0 and CR4 for restricted L2 guest
    ed8bbe6627cf KVM: Grab a reference to KVM for VM and vCPU stats file descriptors
    c80b7c8f9d52 usb: gadget: core: remove unbalanced mutex_unlock in usb_gadget_activate
    de77000c1923 USB: gadget: Fix the memory leak in raw_gadget driver
    0f23a9eb8abf usb: gadget: call usb_gadget_check_config() to verify UDC capability
    0cf9741aa323 Revert "usb: gadget: tegra-xudc: Fix error check in tegra_xudc_powerdomain_init()"
    a3a3c7bddab9 tracing: Fix warning in trace_buffered_event_disable()
    77996fa5c64f ring-buffer: Fix wrong stat of cpu_buffer->read
    9d0a4a7777cc ata: pata_ns87415: mark ns87560_tf_read static
    84415f934ad4 ublk: fail to recover device if queue setup is interrupted
    0d5916c43957 ublk: fail to start device if queue setup is interrupted
    c741076a3c76 ublk_drv: move ublk_get_device_from_id into ublk_ctrl_uring_cmd
    a39bf13f8640 drm/msm: Disallow submit with fence id 0
    3398e8b2833f drm/msm: Switch idr_lock to spinlock
    d722661362ca RDMA/irdma: Report correct WC error
    fe3409cd013c RDMA/irdma: Fix op_type reporting in CQEs
    e139cc2974b8 drm/amd/display: Unlock on error path in dm_handle_mst_sideband_msg_ready_event()
    5c58d120bf81 drm/amd: Fix an error handling mistake in psp_sw_init()
    ce114218f74e dm raid: protect md_stop() with 'reconfig_mutex'
    e08db3f85df2 dm raid: clean up four equivalent goto tags in raid_ctr()
    d43c7edfeb94 dm raid: fix missing reconfig_mutex unlock in raid_ctr() error paths
    37b5a0bdb896 xenbus: check xen_domain in xenbus_probe_initcall
    a71cd15a8592 drm/i915: Fix an error handling path in igt_write_huge()
    ddac66e802ce smb3: do not set NTLMSSP_VERSION flag for negotiate not auth request
    55704f087f78 block: Fix a source code comment in include/uapi/linux/blkzoned.h
    f656ba177f69 ASoC: fsl_spdif: Silence output on stop
    6806494ed4a0 cxl/acpi: Return 'rc' instead of '0' in cxl_parse_cfmws()
    748fadc08bcb cxl/acpi: Fix a use-after-free in cxl_parse_cfmws()
    1b8b83537338 drm/msm: Fix IS_ERR_OR_NULL() vs NULL check in a5xx_submit_in_rb()
    b8500538b8f5 RDMA/bnxt_re: Prevent handling any completions after qp destroy
    d335b5fb332e RDMA/mthca: Fix crash when polling CQ for shared QPs
    5986e96be7d0 RDMA/irdma: Fix data race on CQP request done
    4e1a5842a359 RDMA/irdma: Fix data race on CQP completion stats
    b83e4c1e4c72 RDMA/irdma: Add missing read barriers
    14627d02b103 drm/msm/adreno: Fix snapshot BINDLESS_DATA size
    b6432b68700f drm/msm/dpu: drop enum dpu_core_perf_data_bus_id
    10b5920c33c1 RDMA/mlx4: Make check for invalid flags stricter
    539cf23cb488 tipc: stop tipc crypto on failure in tipc_node_create
    5f6a842db178 tipc: check return value of pskb_trim()
    0069a11a6f00 benet: fix return value check in be_lancer_xmit_workarounds()
    0f7432b7c3b5 net/sched: mqprio: Add length check for TCA_MQPRIO_{MAX/MIN}_RATE64
    eefc0b32159a net/sched: mqprio: add extack to mqprio_parse_nlattr()
    5523d2e31935 net/sched: mqprio: refactor nlattr parsing to a separate function
    7218974aba07 mm: suppress mm fault logging if fatal signal already pending
    268cb07ef3ee netfilter: nf_tables: disallow rule addition to bound chain via NFTA_RULE_CHAIN_ID
    4237462a073e netfilter: nf_tables: skip immediate deactivate in _PREPARE_ERROR
    89a4d1a89751 netfilter: nft_set_rbtree: fix overlap expiration walk
    c09df09241fd igc: Fix Kernel Panic during ndo_tx_timeout callback
    1ecdbf2467ae x86/traps: Fix load_unaligned_zeropad() handling for shared TDX memory
    cb160f4f90d1 platform/x86: msi-laptop: Fix rfkill out-of-sync on MSI Wind U100
    847265678ec5 net: stmmac: Apply redundant write work around on 4.xx too
    17e67a071b60 octeontx2-af: Fix hash extraction enable configuration
    9b0c968a13fa octeontx2-af: Removed unnecessary debug messages.
    517a4f3b093c team: reset team's flags when down link is P2P device
    4c50927853f6 bonding: reset bond's flags when down link is P2P device
    46bf2459d6de ice: Fix memory management in ice_ethtool_fdir.c
    51aea7e9d521 tcp: Reduce chance of collisions in inet6_hashfn().
    776da4eca034 ipv6 addrconf: fix bug where deleting a mngtmpaddr can create a new temporary address
    6ed1e466ef69 ethernet: atheros: fix return value check in atl1e_tso_csum()
    85c38ac62c13 atheros: fix return value check in atl1_tso()
    01cb355bb92e phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe()
    69534f5ab784 vxlan: fix GRO with VXLAN-GPE
    9e22b434ff4a vxlan: generalize vxlan_parse_gpe_hdr and remove unused args
    ddc6ab3834bc vxlan: calculate correct header length for GPE
    4de5cd8d8939 net: hns3: fix wrong bw weight of disabled tc issue
    487b685c815b net: hns3: fix wrong tc bandwidth weight data issue
    b93161779b45 net: hns3: fix the imp capability bit cannot exceed 32 bits issue
    e3339d44e016 net: phy: marvell10g: fix 88x3310 power up
    c76d3742b688 iavf: check for removal state before IAVF_FLAG_PF_COMMS_FAILED
    469879eda36d iavf: fix potential deadlock on allocation failure
    c0fa9a5a7a3f i40e: Fix an NULL vs IS_ERR() bug for debugfs_create_dir()
    940a2c75f5e9 media: amphion: Fix firmware path to match linux-firmware
    70f9f05abaad media: staging: atomisp: select V4L2_FWNODE
    accc838fd66a soundwire: qcom: update status correctly with mask
    cf52320a391a phy: qcom-snps-femto-v2: properly enable ref clock
    01d8e499999c phy: qcom-snps-femto-v2: keep cfg_ahb_clk enabled during runtime suspend
    b6132813be93 phy: qcom-snps: correct struct qcom_snps_hsphy kerneldoc
    3a5dbdc53a5f phy: phy-mtk-dp: Fix an error code in probe()
    15c94c3151d9 drm/amd/display: Prevent vtotal from being set to 0
    d5741133e6e2 drm/amd/display: Fix possible underflow for displays with large vblank
    342ec1696d2d drm/amd/display: update extended blank for dcn314 onwards
    27931ea53ce5 drm/amd/display: Add FAMS validation before trying to use it
    6415d5de13f5 drm/amd/display: fix dc/core/dc.c kernel-doc
    549f20581996 drm/amd/display: Rework comments on dc file
    4eed29e8a8fd maple_tree: fix 32 bit mas_next testing
    1b6e8744ed7c maple_tree: add __init and __exit to test module
    cba7ddf552bb test_maple_tree: test modifications while iterating
    a6e2a0e4144c tracing/probes: Fix to record 0-length data_loc in fetch_store_string*() if fails
    bee994668855 Revert "tracing: Add "(fault)" name injection to kernel probes"
    f3baa42afeea tracing: Allow synthetic events to pass around stacktraces
    d92ee6bce196 tracing/probes: Fix to avoid double count of the string length on the array
    16cc22202611 tracing/probes: Add symstr type for dynamic events
    f5ded0c11d4b mptcp: do not rely on implicit state check in mptcp_listen()
    fbe9fa195ef2 mptcp: introduce 'sk' to replace 'sock->sk' in mptcp_listen()
    cde7f2fd6323 arm64: errata: Mitigate Ampere1 erratum AC03_CPU_38 at stage-2
    eb1de0a2347c KVM: arm64: Condition HW AF updates on config option
    17e188e0feb0 drm/ttm: never consider pinned BOs for eviction&swap
    a7451c38e15b tty: fix hang on tty device with no_room set
    72deb1755011 n_tty: Rename tail to old_tail in n_tty_read()
    e9c44738cb1f drm/ttm: Don't leak a resource on eviction error
    3a8f9b8ccf2b drm/ttm: Don't print error message if eviction was interrupted
    76fcfc6ae3a6 drm/amd/display: Set minimum requirement for using PSR-SU on Phoenix
    f8b61a2c29fc drm/amd/display: Set minimum requirement for using PSR-SU on Rembrandt
    41c666e2b751 drm/amd/display: Update correct DCN314 register header
    8f0582fb6d0e drm/amd/display: fix dcn315 single stream crb allocation
    38fa05cad9df drm/amd/display: add pixel rate based CRB allocation support
    ad8c20954406 drm/amd/display: fix unbounded requesting for high pixel rate modes on dcn315
    acba20a5b2c8 drm/amd/display: use low clocks for no plane configs
    8d515d39d800 drm/amd/display: add ODM case when looking for first split pipe
    3a88351318bb drm/amd/display: Use min transition for all SubVP plane add/remove
    a5397c85f0b8 drm/amd/display: Include surface of unaffected streams
    d5b3e4cf9942 drm/amd/display: Copy DC context in the commit streams
    4efb2d22003f drm/amd/display: Enable new commit sequence only for DCN32x
    bc2c7003888b drm/amd/display: Rework context change check
    810329d3d418 drm/amd/display: Check if link state is valid
    f1edb2f58adb drm/amd/display: add FB_DAMAGE_CLIPS support
    ed92b595af43 PCI: rockchip: Don't advertise MSI-X in PCIe capabilities
    7b65231b65cc PCI: rockchip: Fix window mapping and address translation for endpoint
    3b117fd8cf43 PCI: rockchip: Remove writes to unused registers
    13b9c5f6059f PCI/ASPM: Avoid link retraining race
    4d1cd90cea2e PCI/ASPM: Factor out pcie_wait_for_retrain()
    8dfeae80825f PCI/ASPM: Return 0 or -ETIMEDOUT from pcie_retrain_link()
    ecd9da1d0599 MIPS: Loongson: Fix build error when make modules_install
    3fac9a39f8bb MIPS: Loongson: Move arch cflags to MIPS top level Makefile
    70957ae16093 i2c: nomadik: Remove a useless call in the remove function
    a9be061237aa i2c: nomadik: Use devm_clk_get_enabled()
    82dee5b2586c i2c: nomadik: Remove unnecessary goto label
    1dc23fb83b71 i2c: Improve size determinations
    38a8983ae1d0 i2c: Delete error messages for failed memory allocations
    7b7291ab2912 btrfs: fix race between quota disable and relocation
    44e2afbf650f gpio: mvebu: fix irq domain leak
    8ee94aab9970 gpio: mvebu: Make use of devm_pwmchip_add
    19156bcb881c pwm: Add a stub for devm_pwmchip_add()
    b2d8ac988f3c gpio: tps68470: Make tps68470_gpio_output() always set the initial value
    04f7d4917471 io_uring: don't audit the capability check in io_uring_create()
    017f686bcb53 KVM: s390: pv: fix index value of replaced ASCE
    e8df12986066 powerpc/pseries/vas: Hold mmap_mutex after mmap lock during window close
    557ea2ff0519 blk-mq: Fix stall due to recursive flush plug
    0935bbbf6e5a jbd2: Fix wrongly judgement for buffer head removing while doing checkpoint
    6e385845eea1 drm/amd: Align SMU11 SMU_MSG_OverridePcieParameters implementation with SMU13
    32631ac27c91 drm/amd: Move helper for dynamic speed switch check out of smu13
    53dd2ca2c02f ovl: fix null pointer dereference in ovl_permission()
    a9174f0d7add drm/amd/display: Keep PHY active for dp config
    2bb912161697 platform/x86/amd/pmf: reduce verbosity of apmf_get_system_params
    fd14866ebedd platform/x86/amd/pmf: Notify OS power slider update
    b068314fd8ce netfilter: nf_tables: fix underflow in chain reference counter
    35651fde1a7b netfilter: nf_tables: fix underflow in object reference counter
    d2a6dc4eaf6d Linux 6.1.42
    1d4607f2a50c Revert "drm/amd/display: edp do not add non-edid timings"
    2f2ba3c16230 drm/amd/display: Add polling method to handle MST reply packet
    78ea2ed76ce9 drm/amd/display: fix linux dp link lost handled only one time
    b31143b0fbbd drm/amd/display: Clean up errors & warnings in amdgpu_dm.c
    c14702daf1f5 drm/amd/display: force connector state when bpc changes during compliance
    00f68f5c1be1 drm/dp_mst: Clear MSG_RDY flag before sending new message
    c085ffaf67db drm/amd/display: fix some coding style issues
    374735cbe2f1 drm/amd/display: use max_dsc_bpp in amdgpu_dm
    268bfb378256 selftests/bpf: Fix sk_assign on s390x
    fd1e31d1bcb7 selftests/bpf: Workaround verification failure for fexit_bpf2bpf/func_replace_return_code
    a7c1eb9cb86f selftests/bpf: make test_align selftest more robust
    4c8f30a2ad94 bpf: aggressively forget precise markings during state checkpointing
    8b57a37d0ee7 bpf: stop setting precise in current state
    56675ddcb011 bpf: allow precision tracking for programs with subprogs
    dd33fbe4af2c scripts/kallsyms: update the usage in the comment block
    5fab8c91e59c scripts/kallsyms.c Make the comment up-to-date with current implementation
    320f980bc0bb kallsyms: add kallsyms_seqs_of_names to list of special symbols
    7531eb07b254 spi: dw: Remove misleading comment for Mount Evans SoC
    70a3015683b0 drm/ttm: fix bulk_move corruption when adding a entry
    61622fa37914 tracing/histograms: Return an error if we fail to add histogram to hist_vars list
    bae17da3ae4c jbd2: recheck chechpointing non-dirty buffer
    b9f0f20ab014 net: phy: prevent stale pointer dereference in phy_init()
    f311c7680014 tcp: annotate data-races around fastopenq.max_qlen
    01a1563a09c0 tcp: annotate data-races around icsk->icsk_user_timeout
    918a1beb0abf tcp: annotate data-races around tp->notsent_lowat
    b02f8fce7cc5 tcp: annotate data-races around rskq_defer_accept
    17c3d7583399 tcp: annotate data-races around tp->linger2
    e63939720243 tcp: annotate data-races around icsk->icsk_syn_retries
    d27a1aa37e32 tcp: annotate data-races around tp->keepalive_probes
    161b069389dd tcp: annotate data-races around tp->keepalive_intvl
    87b8466eb0cd tcp: annotate data-races around tp->keepalive_time
    2c84a3d78ad8 tcp: annotate data-races around tp->tsoffset
    949eb838803a tcp: annotate data-races around tp->tcp_tx_delay
    0d4d6b083da9 Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_remove_adv_monitor()
    e969bfed84c1 Bluetooth: ISO: fix iso_conn related locking and validity issues
    59bd1e476bbc Bluetooth: hci_event: call disconnect callback before deleting conn
    13ad45ad14df Bluetooth: use RCU for hci_conn_params and iterate safely in hci_sync
    e18922ce3e31 netfilter: nf_tables: skip bound chain on rule flush
    ec3e856075c5 netfilter: nf_tables: skip bound chain in netns release path
    90c3955beb85 netfilter: nft_set_pipapo: fix improper element removal
    f372992820be netfilter: nf_tables: can't schedule in nft_chain_validate
    6026fa4f4702 netfilter: nf_tables: fix spurious set element insertion failure
    c1dc350a371a ALSA: hda/realtek: Fix generic fixup definition for cs35l41 amp
    050c24656a94 llc: Don't drop packet from non-root netns.
    50e4b32d2e58 fbdev: au1200fb: Fix missing IRQ check in au1200fb_drv_probe
    a44ff125731f Revert "tcp: avoid the lookup process failing to get sk in ehash table"
    d1a4d697a9ec net:ipv6: check return value of pskb_trim()
    205bad1b3042 net: ipv4: Use kfree_sensitive instead of kfree
    fac47182d3c2 tcp: annotate data-races around tcp_rsk(req)->ts_recent
    aa32235da43c tcp: annotate data-races around tcp_rsk(req)->txhash
    f62a00b7d135 net: ipv4: use consistent txhash in TIME_WAIT and SYN_RECV
    1d8e3ec4f0a6 igc: Prevent garbled TX queue with XDP ZEROCOPY
    c0268bc0d7ad igc: Avoid transmit queue timeout for XDP
    bb6ae775ff7f bpf, arm64: Fix BTI type used for freplace attached functions
    8620c53ced63 bpf: Repeat check_max_stack_depth for async callbacks
    d55ff358b049 bpf: Fix subprog idx logic in check_max_stack_depth
    c355f3a27b11 octeontx2-pf: Dont allocate BPIDs for LBK interfaces
    0f56bfe19aa6 security: keys: Modify mismatched function name
    3fc081edddf3 iavf: fix reset task race with iavf_remove()
    2647ff59c52e iavf: fix a deadlock caused by rtnl and driver's lock circular dependencies
    9743519240c6 iavf: Wait for reset in callbacks which trigger it
    f43ab442a8eb iavf: make functions static where possible
    9e36533d666d iavf: send VLAN offloading caps once after VFR
    5d1c0ac33d81 iavf: Move netdev_update_features() into watchdog task
    6d9d01689b82 iavf: use internal state to free traffic IRQs
    6e1d8f133207 iavf: Fix out-of-bounds when setting channels on remove
    ca12b98e04b5 iavf: Fix use-after-free in free_netdev
    ce3ec3fc64e0 net: dsa: microchip: correct KSZ8795 static MAC table access
    54830adfd9a5 net: dsa: microchip: ksz8_r_sta_mac_table(): Avoid using error code for empty entries
    8a60427c8abd net: dsa: microchip: ksz8: Make ksz8_r_sta_mac_table() static
    e4820a764e95 net: dsa: microchip: ksz8: Separate static MAC table operations for code reuse
    155f59453414 net: sched: cls_bpf: Undo tcf_bind_filter in case of an error
    2256b27f542b net: sched: cls_u32: Undo refcount decrement in case update failed
    a9345793469b net: sched: cls_u32: Undo tcf_bind_filter if u32_replace_hw_knode
    fa753f865677 net: sched: cls_matchall: Undo tcf_bind_filter in case of failure after mall_set_parms
    813572a08d49 ASoC: SOF: ipc3-dtrace: uninitialized data in dfsentry_trace_filter_write()
    c55901d381a2 cifs: fix mid leak during reconnection after timeout threshold
    855643c8d289 net: ethernet: mtk_eth_soc: handle probe deferral
    6924f3c89846 bridge: Add extack warning when enabling STP in netns.
    3325b8ddfe29 net: ethernet: ti: cpsw_ale: Fix cpsw_ale_get_field()/cpsw_ale_set_field()
    4148d6c766c4 dsa: mv88e6xxx: Do a final check before timing out
    f4c0a6b8ce17 kallsyms: strip LTO-only suffixes from promoted global functions
    5004d383fe8c kallsyms: Correctly sequence symbols when CONFIG_LTO_CLANG=y
    28fdfda791d4 kallsyms: Improve the performance of kallsyms_lookup_name()
    c401b72836ca spi: s3c64xx: clear loopback bit after loopback test
    9c85f71d3fc8 btrfs: be a bit more careful when setting mirror_num_ret in btrfs_map_block
    08bdd70974a8 perf build: Fix library not found error when using CSLIBS
    6aa851f6276f fbdev: imxfb: Removed unneeded release_mem_region
    e7bb9436ea97 fbdev: imxfb: warn about invalid left/right margin
    7a2d80a8c24a spi: bcm63xx: fix max prepend length
    6af800f91747 pinctrl: renesas: rzg2l: Handle non-unique subnode names
    be087281dc79 pinctrl: renesas: rzv2m: Handle non-unique subnode names
    92cc0153324b sched/psi: use kernfs polling functions for PSI trigger polling
    d5dca1977685 sched/psi: Allow unprivileged polling of N*2s period
    fb4bc32fc1be sched/psi: Extract update_triggers side effect
    c1623d4d0bef sched/psi: Rename existing poll members in preparation
    c176dda0a6a6 sched/psi: Rearrange polling code in preparation
    7d8bba4da1a8 sched/psi: Fix avgs_work re-arm in psi_avgs_work()
    45f739e8fb34 sched/fair: Use recent_used_cpu to test p->cpus_ptr
    6ede0d0f8865 ASoC: qcom: q6apm: do not close GPR port before closing graph
    5da98d0438bd ASoC: codecs: wcd938x: fix dB range for HPHL and HPHR
    e3495bc99464 ASoC: codecs: wcd938x: fix mbhc impedance loglevel
    3122e90b5cb0 ASoC: amd: acp: fix for invalid dai id handling in acp_get_byte_count()
    da64c8889fcd net: hns3: fix strncpy() not using dest-buf length as length issue
    39695e87d86f igb: Fix igb_down hung on surprise removal
    6887f3588171 wifi: iwlwifi: pcie: add device id 51F1 for killer 1675
    6862557e9afe wifi: iwlwifi: mvm: avoid baid size integer overflow
    a46a62491460 wifi: iwlwifi: Add support for new PCI Id
    8e0a94e31ade wifi: wext-core: Fix -Wstringop-overflow warning in ioctl_standard_iw_point()
    408d40c729cb devlink: report devlink_port_type_warn source device
    0d1426415522 net: ethernet: litex: add support for 64 bit stats
    86f9330a49d1 wifi: ath11k: fix memory leak in WMI firmware stats
    766e606536b9 spi: dw: Add compatible for Intel Mount Evans SoC
    d0124848c794 wifi: mac80211_hwsim: Fix possible NULL dereference
    8656b31d2efd wifi: ath11k: add support default regdb while searching board-2.bin for WCN6855
    4e291a07af77 bpf: tcp: Avoid taking fast sock lock in iterator
    c006fe361cfd bpf: Address KCSAN report on bpf_lru_list
    10fa03a9c1bc bpf: Print a warning only if writing to unprivileged_bpf_disabled.
    8d1342108c2b wifi: ath11k: fix registration of 6Ghz-only phy without the full channel range
    78a5f711efce sched/fair: Don't balance task to its current running CPU
    896f4d6046b3 rcu: Mark additional concurrent load from ->cpu_no_qs.b.exp
    9027d69221ff rcu-tasks: Avoid pr_info() with spin lock in cblist_init_generic()
    e055d0ec8809 ACPI: video: Add backlight=native DMI quirk for Dell Studio 1569
    aa7cdf487ab3 FS: JFS: Check for read-only mounted filesystem in txBegin
    3e5eb6c5ecd8 FS: JFS: Fix null-ptr-deref Read in txBegin
    da0a7c697595 MIPS: dec: prom: Address -Warray-bounds warning
    bdf07ab1595b fs: jfs: Fix UBSAN: array-index-out-of-bounds in dbAllocDmapLev
    a68241498093 udf: Fix uninitialized array access for some pathnames
    cce9107c315f ovl: check type and offset of struct vfsmount in ovl_entry
    5228d4d50528 HID: add quirk for 03f0:464a HP Elite Presenter Mouse
    6432843debe1 quota: fix warning in dqgrab()
    1f2ec87f4ab8 quota: Properly disable quotas when add_dquot_ref() fails
    2a97ec78092f ALSA: emu10k1: roll up loops in DSP setup code for Audigy
    2e1be420b869 drm/radeon: Fix integer overflow in radeon_cs_parser_init
    0ca376853412 ext4: correct inline offset when handling xattrs in inode body
    aba8f85eca81 ASoC: codecs: wcd938x: fix soundwire initialisation race
    1a261a4193b5 ASoC: codecs: wcd938x: fix codec initialisation race
    8b11d2f0e525 ASoC: codecs: wcd934x: fix resource leaks on component remove
    bb241ae928c6 ASoC: codecs: wcd938x: fix missing mbhc init error handling
    4eac89ffc510 ASoC: codecs: wcd938x: fix resource leaks on component remove
    c584b5eca3fb ASoC: tegra: Fix AMX byte map
    d55fc2bdaaa8 ASoC: qdsp6: audioreach: fix topology probe deferral
    17feff71d06c ASoC: codecs: wcd-mbhc-v2: fix resource leaks on component remove
    b0fbf3c353af ASoC: codecs: wcd938x: fix missing clsh ctrl error handling
    1dd61a5b5cca ASoC: cs42l51: fix driver to properly autoload with automatic module loading
    0e3cf6432466 ASoC: rt5640: Fix sleep in atomic context
    e5b2389e04d9 ASoC: tegra: Fix ADX byte map
    24bed70aa617 ASoC: fsl_sai: Revert "ASoC: fsl_sai: Enable MCTL_MCLK_EN bit for master mode"
    651881287770 ASoC: fsl_sai: Disable bit clock with transmitter
    b9741ba942f3 drm/amd/display: Keep PHY active for DP displays on DCN31
    889bac5fd796 drm/amd/display: check TG is non-null before checking if enabled
    9f28e8c2be1e drm/amd/display: Disable MPC split by default on special asic
    438542074174 drm/amd/display: only accept async flips for fast updates
    917bef37cfac drm/client: Fix memory leak in drm_client_modeset_probe
    b5359d7a5087 drm/client: Fix memory leak in drm_client_target_cloned
    91bd7acf89cb drm/amdgpu/pm: make mclk consistent for smu 13.0.7
    0b4f3d9a5c8a drm/amdgpu/pm: make gfxclock consistent for sienna cichlid
    13cb7bfbccb5 drm/amdgpu/vkms: relax timer deactivation by hrtimer_try_to_cancel
    19e7b9f1f7e1 dma-buf/dma-resv: Stop leaking on krealloc() failure
    25ad24969941 selftests: tc: add ConnTrack procfs kconfig
    54950747d5e7 can: gs_usb: gs_can_open(): improve error handling
    995f47d76647 can: bcm: Fix UAF in bcm_proc_show()
    a2d31762d73b can: mcp251xfd: __mcp251xfd_chip_set_mode(): increase poll timeout
    aa5cf8bd1318 arm64/fpsimd: Ensure SME storage is allocated after SVE VL changes
    3e463a4f3801 regmap: Account for register length in SMBus I/O limits
    ef7ad397fb8c of: Preserve "of-display" device name for compatibility
    f16c2eb6945b regmap: Drop initial version of maximum transfer length fixes
    efeac348cdc2 selftests: tc: add 'ct' action kconfig dep
    4986dd1b5132 selftests: tc: set timeout to 15 minutes
    ddf7e8984c83 btrfs: fix race between balance and cancel/pause
    c828e913c8dc fuse: ioctl: translate ENOSYS in outarg
    c35ea6061962 btrfs: zoned: fix memory leak after finding block group with super blocks
    0a5e0bc8e861 btrfs: set_page_extent_mapped after read_folio in btrfs_cont_expand
    549f5093e9d6 fuse: Apply flags2 only when userspace set the FUSE_INIT_EXT
    af6d1fc5b8a6 fuse: revalidate: don't invalidate if interrupted
    89e994688e96 btrfs: fix warning when putting transaction with qgroups enabled after abort
    c1b3d1a9c6be perf probe: Add test for regression introduced by switch to die_get_decl_file()
    00edfa6d4fe0 keys: Fix linking a duplicate key to a keyring's assoc_array
    4984a10a21c6 maple_tree: fix node allocation testing on 32 bit
    85718972b004 maple_tree: set the node limit when creating a new root node
    e0c3e25cfc57 ALSA: hda/realtek: Enable Mute LED on HP Laptop 15s-eq2xxx
    0f493b5bfe37 ALSA: hda/realtek: Add quirk for Clevo NS70AU
    7ed4e5297390 ALSA: hda/realtek - remove 3k pull low procedure
    1b87f546a035 io_uring: treat -EAGAIN for REQ_F_NOWAIT as final for io-wq

(From OE-Core rev: 0bf3be6fe59d8c14d7b783a80020806c7453a2a6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 12:40:14 +01:00
Bruce Ashfield
04851826d1 linux-yocto/6.4: update to v6.4.8
Updating  to the latest korg -stable release that comprises
the following commits:

    714a286bf9ee Linux 6.4.8
    3d308a163115 dma-buf: fix an error pointer vs NULL bug
    6bd9952eade5 dma-buf: keep the signaling time of merged fences v3
    e872d6b6ea49 mm/mempolicy: Take VMA lock before replacing policy
    da84cd9b5e03 mm/memory-failure: fix hardware poison check in unpoison_memory()
    bdb3106af2b2 mm: fix memory ordering for mm_lock_seq and vm_lock_seq
    b53745bdb03e mm: lock VMA in dup_anon_vma() before setting ->anon_vma
    58f4cbe0cc87 rbd: retrieve and check lock owner twice before blocklisting
    44f442aa19f0 rbd: harden get_lock_owner_info() a bit
    0a83f816a8f1 rbd: make get_lock_owner_info() return a single locker or NULL
    441b3dd88f78 dm cache policy smq: ensure IO doesn't prevent cleaner policy progress
    cf83bf01b528 drm/i915/dpt: Use shmem for dpt objects
    c5126152c6f6 ceph: never send metrics if disable_send_metrics is set
    adce49089412 thermal: of: fix double-free on unregistration
    5dac557301d8 PM: sleep: wakeirq: fix wake irq arming
    807ada0e4aa3 arm64/sme: Set new vector length before reallocating
    684c1a948ece ASoC: wm8904: Fill the cache for WM8904_ADC_TEST_0 register
    c58951ccef60 mptcp: more accurate NL event generation
    8aba7fb2544a s390/dasd: print copy pair message only for the correct error
    274b5383e999 s390/dasd: fix hanging device after quiesce/resume
    592b0c50e3fb fs/9p: remove unnecessary invalidate_inode_pages2
    cd27c7f79056 fs/9p: fix type mismatch in file cache mode helper
    f7fb8699068f fs/9p: fix typo in comparison logic for cache mode
    00c6ee38522e fs/9p: remove unnecessary and overrestrictive check
    f1e24c44ab4d 9p: fix ignored return value in v9fs_dir_release
    c9d7e61044f5 LoongArch: BPF: Enable bpf_probe_read{, str}() on LoongArch
    47f0ef81b15e LoongArch: BPF: Fix check condition to call lu32id in move_imm()
    a04cb0c40887 LoongArch: Fix return value underflow in exception path
    453af7c2cc90 Revert "um: Use swap() to make code cleaner"
    c5265691cd06 soundwire: fix enumeration completion
    c9491c0b24f8 selftests: mptcp: join: only check for ip6tables if needed
    176f36a376c4 iommufd: Set end correctly when doing batch carry
    45484d96d599 io_uring: gate iowait schedule on having pending requests
    29cf01eed50f net: dsa: qca8k: fix mdb add/del case with 0 VID
    bb7b454fff66 net: dsa: qca8k: fix broken search_and_del
    3797de3d4b0f net: dsa: qca8k: fix search_and_insert wrong handling of new rule
    d04084d09f7c net: dsa: qca8k: enable use_single_write for qca8xxx
    c00af3a818cc net: ipa: only reset hashed tables when supported
    2488a91b54b5 virtio-net: fix race between set queues and probe
    c76d96c55589 xen: speed up grant-table reclaim
    6efc575dd2a6 proc/vmcore: fix signedness bug in read_from_oldmem()
    e7b25896f447 locking/rtmutex: Fix task->pi_waiters integrity
    018be618bcdb irqchip/gic-v4.1: Properly lock VPEs when doing a directLPI invalidation
    a0c05710f0cb irq-bcm6345-l1: Do not assume a fixed block to cpu mapping
    b077d6531a67 tpm_tis: Explicitly check for error code
    40c627dd6de3 ACPI/IORT: Remove erroneous id_count check in iort_node_get_rmr_info()
    0e625d273365 ksmbd: check if a mount point is crossed during path lookup
    293f39e1d0ae nfsd: Remove incorrect check in nfsd4_validate_stateid
    ab8160583f56 file: always lock position for FMODE_ATOMIC_POS
    e96954065d7f x86/cpu: Enable STIBP on AMD if Automatic IBRS is enabled
    fdcd4b0d5197 x86/MCE/AMD: Decrement threshold_bank refcount when removing threshold blocks
    db73d812bb95 btrfs: check for commit error at btrfs_attach_transaction_barrier()
    ec0a56ae9519 btrfs: check if the transaction was aborted at btrfs_wait_for_commit()
    1e8087589b5c btrfs: account block group tree when calculating global reserve size
    2c28c5c52eaf btrfs: zoned: do not enable async discard
    843b4e161773 hwmon: (pmbus_core) Fix Deadlock in pmbus_regulator_get_status
    7444253cacd9 hwmon: (pmbus_core) Fix NULL pointer dereference
    db11ee9b500f hwmon: (pmbus_core) Fix pmbus_is_enabled()
    76f9deecf6eb hwmon: (aquacomputer_d5next) Fix incorrect PWM value readout
    7665493f77c9 hwmon: (nct7802) Fix for temp6 (PECI1) processed even if PECI1 disabled
    c6790a9b035e hwmon: (k10temp) Enable AMD3255 Proc to show negative temperature
    d205b153a417 ALSA: hda/relatek: Enable Mute LED on HP 250 G8
    a13620ff3b43 ALSA: hda/realtek: Support ASUS G713PV laptop
    6a007b162610 Revert "xhci: add quirk for host controllers that don't update endpoint DCS"
    74a8d6f50cc9 tty: n_gsm: fix UAF in gsm_cleanup_mux
    b1b04b56745b staging: ks7010: potential buffer overflow in ks_wlan_set_encode_ext()
    874555472c73 staging: r8712: Fix memory leak in _r8712_init_xmit_priv()
    5d73dfff46d6 Documentation: security-bugs.rst: clarify CVE handling
    90cd6f5e9154 Documentation: security-bugs.rst: update preferences when dealing with the linux-distros group
    14e8e4a3f3cf Revert "usb: xhci: tegra: Fix error check"
    6068d152870a usb: xhci-mtk: set the dma max_seg_size
    d88c69c9e4cc usb: cdns3: fix incorrect calculation of ep_buf_size when more than one config
    15cea3344f78 USB: quirks: add quirk for Focusrite Scarlett
    a4b763650261 usb: ohci-at91: Fix the unhandle interrupt when resume
    ef61d54319fc usb: misc: ehset: fix wrong if condition
    317d6e4c12b4 usb: dwc3: don't reset device side if dwc3 was configured as host-only
    965b1f03e1d1 usb: dwc3: pci: skip BYT GPIO lookup table for hardwired phy
    1590819eac4a Revert "usb: dwc3: core: Enable AutoRetry feature in the controller"
    816569fddc4e usb: typec: Use sysfs_emit_at when concatenating the string
    bd90eafbacf4 usb: typec: Iterate pds array when showing the pd list
    54c6d5fa59d2 usb: typec: Set port->pd before adding device for typec_port
    41c60abd3eee TIOCSTI: always enable for CAP_SYS_ADMIN
    f8416e85c8c4 can: gs_usb: gs_can_close(): add missing set of CAN state to CAN_STATE_STOPPED
    5b656220e65e USB: serial: simple: sort driver entries
    0e44d051c872 USB: serial: simple: add Kaufmann RKS+CAN VCP
    d62a293e0ad3 USB: serial: option: add Quectel EC200A module support
    56637bd2de53 USB: serial: option: support Quectel EM060K_128
    c83261b1a5c0 serial: sifive: Fix sifive_serial_console_setup() section
    12a529e625cb serial: 8250_dw: Preserve original value of DLF register
    867bf51492d6 tty: serial: sh-sci: Fix sleeping in atomic context
    7ceb28ca8a67 serial: qcom-geni: drop bogus runtime pm state update
    31d7fc013aa4 KVM: x86: Disallow KVM_SET_SREGS{2} if incoming CR0 is invalid
    00ab40209428 KVM: VMX: Don't fudge CR0 and CR4 for restricted L2 guest
    fa69c355a429 KVM: Grab a reference to KVM for VM and vCPU stats file descriptors
    7175cc32ff51 usb: gadget: core: remove unbalanced mutex_unlock in usb_gadget_activate
    9934e5d07c0d USB: gadget: Fix the memory leak in raw_gadget driver
    9820f6e036d0 usb: gadget: call usb_gadget_check_config() to verify UDC capability
    1099be4ad9d2 Revert "usb: gadget: tegra-xudc: Fix error check in tegra_xudc_powerdomain_init()"
    528c9d731537 tracing: Fix warning in trace_buffered_event_disable()
    54820008db2e ring-buffer: Fix wrong stat of cpu_buffer->read
    8481fc3f5352 ata: pata_ns87415: mark ns87560_tf_read static
    d232314284c7 tmpfs: fix Documentation of noswap and huge mount options
    495b327435b0 iommufd: IOMMUFD_DESTROY should not increase the refcount
    59679bd0049e ublk: return -EINTR if breaking from waiting for existed users in DEL_DEV
    b3a1e243a746 ublk: fail to recover device if queue setup is interrupted
    6ab3e7d424cd ublk: fail to start device if queue setup is interrupted
    e2e4bc585e8c drm/msm: Disallow submit with fence id 0
    15a2103d55fc RDMA/irdma: Report correct WC error
    fd38ef70f9b8 RDMA/irdma: Fix op_type reporting in CQEs
    637c2d569ca5 drm/amd/display: Unlock on error path in dm_handle_mst_sideband_msg_ready_event()
    d3e51257ec31 drm/amd: Fix an error handling mistake in psp_sw_init()
    032bfd60999f dm raid: protect md_stop() with 'reconfig_mutex'
    fa00410d2df1 dm raid: clean up four equivalent goto tags in raid_ctr()
    0dc2104c2221 dm raid: fix missing reconfig_mutex unlock in raid_ctr() error paths
    7a72e63d926b xenbus: check xen_domain in xenbus_probe_initcall
    6a2b89b6b756 drm/i915: Fix an error handling path in igt_write_huge()
    20b4735ebf34 smb3: do not set NTLMSSP_VERSION flag for negotiate not auth request
    312c9b87bf1f block: Fix a source code comment in include/uapi/linux/blkzoned.h
    e4631ad24a23 ASoC: fsl_spdif: Silence output on stop
    b576cef3758c cxl/acpi: Return 'rc' instead of '0' in cxl_parse_cfmws()
    316db489647b cxl/acpi: Fix a use-after-free in cxl_parse_cfmws()
    e2808329b69a drm/msm: Fix hw_fence error path cleanup
    8ac09b9939f1 drm/msm: Fix IS_ERR_OR_NULL() vs NULL check in a5xx_submit_in_rb()
    56f76d1368f8 RDMA/bnxt_re: Fix hang during driver unload
    6de5b9944fed RDMA/bnxt_re: add helper function __poll_for_resp
    22dfc9dffb76 RDMA/bnxt_re: Simplify the function that sends the FW commands
    e0777f9c327f RDMA/bnxt_re: use shadow qd while posting non blocking rcfw command
    4e5c10167e72 RDMA/bnxt_re: Avoid the command wait if firmware is inactive
    973d3fa70af7 RDMA/bnxt_re: Enhance the existing functions that wait for FW responses
    7faa60976941 RDMA/bnxt_re: Prevent handling any completions after qp destroy
    d824dc70380c RDMA/mthca: Fix crash when polling CQ for shared QPs
    046e12b8fc66 RDMA/core: Update CMA destination address on rdma_resolve_addr
    b8b90ba636e3 RDMA/irdma: Fix data race on CQP request done
    2623ca92cd8f RDMA/irdma: Fix data race on CQP completion stats
    ee38994979df RDMA/irdma: Add missing read barriers
    0370fbed4d55 drm/msm/adreno: Fix snapshot BINDLESS_DATA size
    7ded87a612f8 drm/msm/dsi: Drop unused regulators from QCM2290 14nm DSI PHY config
    c4934d3966c7 drm/msm/dpu: drop enum dpu_core_perf_data_bus_id
    e7b18ba79cd3 drm/msm/dpu: add missing flush and fetch bits for DMA4/DMA5 planes
    cdb23d0d7d0b drm/msm/mdss: correct UBWC programming for SM8550
    acc0e7732247 RDMA/mlx4: Make check for invalid flags stricter
    8b1fc5b54048 fs/9p: Fix a datatype used with V9FS_DIRECT_IO
    fcc62b0e3424 tipc: stop tipc crypto on failure in tipc_node_create
    3a85a6487b90 tipc: check return value of pskb_trim()
    122d387677ae benet: fix return value check in be_lancer_xmit_workarounds()
    e57cfdb11295 net/sched: mqprio: Add length check for TCA_MQPRIO_{MAX/MIN}_RATE64
    ece320c78d62 net: fec: tx processing does not call XDP APIs if budget is 0
    fcbfd96a1e61 tools: ynl-gen: fix enum index in _decode_enum(..)
    33e9ae3dac12 mm: suppress mm fault logging if fatal signal already pending
    144483596810 netfilter: nf_tables: disallow rule addition to bound chain via NFTA_RULE_CHAIN_ID
    027d00132487 netfilter: nf_tables: skip immediate deactivate in _PREPARE_ERROR
    cd6673393239 netfilter: nft_set_rbtree: fix overlap expiration walk
    c12554d97fcd igc: Fix Kernel Panic during ndo_tx_timeout callback
    79f44709aa7a macvlan: add forgotten nla_policy for IFLA_MACVLAN_BC_CUTOFF
    70539e9bc0e6 x86/traps: Fix load_unaligned_zeropad() handling for shared TDX memory
    33f73e215d8f platform/x86: msi-laptop: Fix rfkill out-of-sync on MSI Wind U100
    7c83b2f01655 net: stmmac: Apply redundant write work around on 4.xx too
    f3ff2a5cca18 octeontx2-af: Fix hash extraction enable configuration
    213055a66c2c team: reset team's flags when down link is P2P device
    84d0bb176d85 bonding: reset bond's flags when down link is P2P device
    5a36ae715590 ice: Fix memory management in ice_ethtool_fdir.c
    1e50c11ed44e tcp: Reduce chance of collisions in inet6_hashfn().
    6fe0d14c7675 net: fec: avoid tx queue timeout when XDP is enabled
    e9f329d943f2 ipv6 addrconf: fix bug where deleting a mngtmpaddr can create a new temporary address
    e92b177161f1 ethernet: atheros: fix return value check in atl1e_tso_csum()
    2111337afeb7 atheros: fix return value check in atl1_tso()
    ce69eac840db phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe()
    bc1e4f99e223 vxlan: fix GRO with VXLAN-GPE
    c3a497decbee vxlan: generalize vxlan_parse_gpe_hdr and remove unused args
    3b0f05b8218a vxlan: calculate correct header length for GPE
    4bf9ced9c06b net: hns3: fix wrong bw weight of disabled tc issue
    7a0eab957136 net: hns3: fix wrong tc bandwidth weight data issue
    f89520d2e1c2 net: hns3: fix the imp capability bit cannot exceed 32 bits issue
    076eb7bcf758 net: phy: marvell10g: fix 88x3310 power up
    e62e51ccc8cb iavf: check for removal state before IAVF_FLAG_PF_COMMS_FAILED
    f8d88654b584 iavf: fix potential deadlock on allocation failure
    0ef05b8f83ed i40e: Fix an NULL vs IS_ERR() bug for debugfs_create_dir()
    b96b9635df28 media: mtk_jpeg_core: avoid unused-variable warning
    46256d801a5e media: mtk-jpeg: move data/code inside CONFIG_OF blocks
    1c47de39107b media: amphion: Fix firmware path to match linux-firmware
    f660df7a5d62 media: staging: atomisp: select V4L2_FWNODE
    68799920f634 media: tc358746: Address compiler warnings
    73c9da33b9ec soundwire: amd: Fix a check for errors in probe()
    f716d59dcc67 soundwire: qcom: update status correctly with mask
    7b988cbc65c4 phy: qcom-snps-femto-v2: properly enable ref clock
    fdf6f1a46680 phy: qcom-snps-femto-v2: keep cfg_ahb_clk enabled during runtime suspend
    8465ebae166d phy: mediatek: hdmi: mt8195: fix prediv bad upper limit test
    e73498bbdd62 phy: phy-mtk-dp: Fix an error code in probe()
    339fee69a1da ext4: fix rbtree traversal bug in ext4_mb_use_preallocated
    a0f2ba186693 ext4: mballoc: Remove useless setting of ac_criteria
    d254d8814025 ext4: add EXT4_MB_HINT_GOAL_ONLY test in ext4_mb_use_preallocated
    a0fea63317b7 drm/amd/display: Prevent vtotal from being set to 0
    64bc8e10c87a drm/amd/display: Fix possible underflow for displays with large vblank
    8e2fd3a1588e drm/amd/display: update extended blank for dcn314 onwards
    74f46ce34747 drm/amd/display: Add FAMS validation before trying to use it
    2401285f91c0 maple_tree: fix 32 bit mas_next testing
    79bad53f7e52 maple_tree: add __init and __exit to test module
    c24d051e6b48 drm/ttm: never consider pinned BOs for eviction&swap
    adff2d7cc515 drm/amd/display: Set minimum requirement for using PSR-SU on Phoenix
    f73fac742bb1 drm/amd/display: Set minimum requirement for using PSR-SU on Rembrandt
    452bbeb39ea5 drm/amd/display: Update correct DCN314 register header
    bd0e7b7c28d3 drm/amd/display: fix dcn315 single stream crb allocation
    edac24ed87c8 drm/amd/display: add pixel rate based CRB allocation support
    45510d285246 drm/amd/display: Keep disable aux-i delay as 0
    570536791181 drm/amd/display: Convert Delaying Aux-I Disable To Monitor Patch
    776ae6b06167 PCI: rockchip: Don't advertise MSI-X in PCIe capabilities
    544c121cae02 PCI: rockchip: Fix window mapping and address translation for endpoint
    317b9617417b PCI: rockchip: Remove writes to unused registers
    b71a2852f8cf PCI/ASPM: Avoid link retraining race
    874b9d8a92d5 PCI/ASPM: Factor out pcie_wait_for_retrain()
    16caca59a23b PCI/ASPM: Return 0 or -ETIMEDOUT from pcie_retrain_link()
    fb0c501d7293 i2c: nomadik: Remove a useless call in the remove function
    fc491dad925f i2c: nomadik: Use devm_clk_get_enabled()
    b6014022b64a i2c: nomadik: Remove unnecessary goto label
    00f38672ef5a i2c: Improve size determinations
    576c5fa88dd7 i2c: Delete error messages for failed memory allocations
    50cafe0581ef btrfs: fix race between quota disable and relocation
    693a76175826 btrfs: fix fsverify read error handling in end_page_read
    c42d836e2ef5 btrfs: factor out a btrfs_verify_page helper
    96229406255f regmap: Disable locking for RBTREE and MAPLE unit tests
    d9b791d83623 gpio: mvebu: fix irq domain leak
    53638f73948d gpio: mvebu: Make use of devm_pwmchip_add
    3f8f1601128b gpio: tps68470: Make tps68470_gpio_output() always set the initial value
    384d3da61118 io_uring: don't audit the capability check in io_uring_create()
    aa52a654da5f s390/mm: fix per vma lock fault handling
    f1c7a776338f KVM: s390: pv: fix index value of replaced ASCE
    b5b88c86258a KVM: s390: pv: simplify shutdown and fix race
    959dc1b16ea3 powerpc/pseries/vas: Hold mmap_mutex after mmap lock during window close
    7bbda9677629 blk-mq: Fix stall due to recursive flush plug
    91450dec0445 KVM: arm64: Handle kvm_arm_init failure correctly in finalize_pkvm
    3e5ea6b6a571 jbd2: Fix wrongly judgement for buffer head removing while doing checkpoint
    2ecab4882ca3 r8169: revert 2ab19de62d67 ("r8169: remove ASPM restrictions now that ASPM is disabled during NAPI poll")
    979f8de763ed drm/amd: Align SMU11 SMU_MSG_OverridePcieParameters implementation with SMU13
    3d7a757d2c15 drm/amd: Move helper for dynamic speed switch check out of smu13
    b94db3f542f9 platform/x86/amd/pmf: reduce verbosity of apmf_get_system_params
    71bcf64f9083 platform/x86/amd/pmf: Notify OS power slider update

(From OE-Core rev: da9d6bb24904256c879b3b1510b4dcd53190b608)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 12:40:14 +01:00
Bruce Ashfield
0d0a43a5e6 linux-yocto-dev: bump to v6.5+
Updating the -dev kernel to track the latest k.org development
release.

(From OE-Core rev: 0b04672b550831c9c956bbbe21ccfe23001b9a9c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 12:40:14 +01:00
Bruce Ashfield
68948f8dd4 linux-yocto/6.4: update to v6.4.7
Updating  to the latest korg -stable release that comprises
the following commits:

    4e382c2b4683 Linux 6.4.7
    8ab7147dfae7 Revert "drm/amd/display: edp do not add non-edid timings"
    e4f89142977e drm/amd/display: Add polling method to handle MST reply packet
    cae69403a82c drm/amd/display: Clean up errors & warnings in amdgpu_dm.c
    3601729d3d6e scsi: sg: Fix checking return value of blk_get_queue()
    1e391c7f7cf3 scsi/sg: don't grab scsi host module reference
    92e80c692c4b spi: dw: Remove misleading comment for Mount Evans SoC
    e7cf50e41bdc drm/ttm: fix bulk_move corruption when adding a entry
    5339e36dffb7 tracing/histograms: Return an error if we fail to add histogram to hist_vars list
    801d026d61b2 kbuild: rust: avoid creating temporary files
    a448856c3a1c jbd2: recheck chechpointing non-dirty buffer
    da1818adbaa3 net: phy: prevent stale pointer dereference in phy_init()
    4a6ebe88cd96 tcp: annotate data-races around fastopenq.max_qlen
    a1d2126fcb96 tcp: annotate data-races around icsk->icsk_user_timeout
    3c475a047438 tcp: annotate data-races around tp->notsent_lowat
    c52aa6ac5854 tcp: annotate data-races around rskq_defer_accept
    279e1cf49926 tcp: annotate data-races around tp->linger2
    a2da353de8a5 tcp: annotate data-races around icsk->icsk_syn_retries
    80cd1842e2da tcp: annotate data-races around tp->keepalive_probes
    7416761d5b1c tcp: annotate data-races around tp->keepalive_intvl
    b9fcb5916319 tcp: annotate data-races around tp->keepalive_time
    ed49960ee0c2 tcp: annotate data-races around tp->tsoffset
    2b8c25de5195 tcp: annotate data-races around tp->tcp_tx_delay
    bb9c26f32e0c Bluetooth: btusb: Fix bluetooth on Intel Macbook 2014
    1add77db60fe Bluetooth: SCO: fix sco_conn related locking and validity issues
    357ab53c83a5 Bluetooth: hci_conn: return ERR_PTR instead of NULL when there is no link
    bf00c2c8f625 Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_remove_adv_monitor()
    88ad50f2b843 Bluetooth: ISO: fix iso_conn related locking and validity issues
    093a07052406 Bluetooth: hci_event: call disconnect callback before deleting conn
    cef88a0fd8e9 Bluetooth: use RCU for hci_conn_params and iterate safely in hci_sync
    ab87c6b43822 netfilter: nf_tables: skip bound chain on rule flush
    b2bdf3feae26 netfilter: nf_tables: skip bound chain in netns release path
    48dbb5d24c66 netfilter: nft_set_pipapo: fix improper element removal
    d78a37553b12 netfilter: nf_tables: can't schedule in nft_chain_validate
    08ca12fa9237 netfilter: nf_tables: fix spurious set element insertion failure
    540075ceefc6 ALSA: hda/realtek: Fix generic fixup definition for cs35l41 amp
    b7117b723377 llc: Don't drop packet from non-root netns.
    b492d371c622 fbdev: au1200fb: Fix missing IRQ check in au1200fb_drv_probe
    41d5ae320dca net: ethernet: mtk_eth_soc: always mtk_get_ib1_pkt_type
    70a2d37cd86e Revert "tcp: avoid the lookup process failing to get sk in ehash table"
    cba5b13f4053 net:ipv6: check return value of pskb_trim()
    ef0fe1aff76e net: ipv4: Use kfree_sensitive instead of kfree
    7552f8e70c88 tcp: annotate data-races around tcp_rsk(req)->ts_recent
    d546247e49fb tcp: annotate data-races around tcp_rsk(req)->txhash
    67f6f186ccae net: ipv4: use consistent txhash in TIME_WAIT and SYN_RECV
    d5c3b02ffd1c igc: Prevent garbled TX queue with XDP ZEROCOPY
    c6255814ae94 igc: Avoid transmit queue timeout for XDP
    7a4c79329b9c bpf, arm64: Fix BTI type used for freplace attached functions
    275d5743f622 bpf: Repeat check_max_stack_depth for async callbacks
    5e13be2071ac bpf: Fix subprog idx logic in check_max_stack_depth
    521c84b9e107 octeontx2-pf: Dont allocate BPIDs for LBK interfaces
    6a183c72f106 vrf: Fix lockdep splat in output path
    cecb533d126d security: keys: Modify mismatched function name
    532fbfc96d97 iavf: fix reset task race with iavf_remove()
    63d14a431285 iavf: fix a deadlock caused by rtnl and driver's lock circular dependencies
    d55495756d95 iavf: Wait for reset in callbacks which trigger it
    e631b18cc570 iavf: make functions static where possible
    5e9db32eec62 iavf: use internal state to free traffic IRQs
    65ecebc9ac09 iavf: Fix out-of-bounds when setting channels on remove
    8d781a9c5303 iavf: Fix use-after-free in free_netdev
    21d92025e806 drm/i915/perf: add sentinel to xehp_oa_b_counters
    899057ac0fed r8169: fix ASPM-related problem for chip version 42 and 43
    024825dfdc62 net: dsa: microchip: correct KSZ8795 static MAC table access
    6777dfaf7c5a net: sched: cls_bpf: Undo tcf_bind_filter in case of an error
    cec095b3387e net: sched: cls_u32: Undo refcount decrement in case update failed
    025159ed118b net: sched: cls_u32: Undo tcf_bind_filter if u32_replace_hw_knode
    1134ceab9192 net: sched: cls_matchall: Undo tcf_bind_filter in case of failure after mall_set_parms
    04a025b17d83 regulator: da9063: fix null pointer deref with partial DT config
    d923485630d0 ASoC: SOF: ipc3-dtrace: uninitialized data in dfsentry_trace_filter_write()
    ca03b327224e ice: prevent NULL pointer deref during reload
    9751240ec462 ice: Unregister netdev and devlink_port only once
    57d25e9905c7 cifs: fix mid leak during reconnection after timeout threshold
    9ee1fce29fe6 iommu/sva: Fix signedness bug in iommu_sva_alloc_pasid()
    52367a236fed gso: fix dodgy bit handling for GSO_UDP_L4
    2fffd17951a1 net: ethernet: mtk_eth_soc: handle probe deferral
    d8415abc62b1 bridge: Add extack warning when enabling STP in netns.
    92348447546f net: ethernet: ti: cpsw_ale: Fix cpsw_ale_get_field()/cpsw_ale_set_field()
    445b30171d1f dsa: mv88e6xxx: Do a final check before timing out
    052459702231 arm64: Fix HFGxTR_EL2 field naming
    eb382196e6f6 smb: client: fix missed ses refcounting
    224ff8d6cab5 kallsyms: strip LTO-only suffixes from promoted global functions
    03e37c96e95b spi: s3c64xx: clear loopback bit after loopback test
    0d7c5934f01c btrfs: be a bit more careful when setting mirror_num_ret in btrfs_map_block
    3b1297c4b840 perf build: Fix library not found error when using CSLIBS
    38282a92c304 fbdev: imxfb: Removed unneeded release_mem_region
    1a7ea3b01226 fbdev: imxfb: warn about invalid left/right margin
    46d461f21e34 spi: bcm63xx: fix max prepend length
    6d65f4a71479 pinctrl: renesas: rzg2l: Handle non-unique subnode names
    3775d589ed99 pinctrl: renesas: rzv2m: Handle non-unique subnode names
    d124ab17024c sched/psi: use kernfs polling functions for PSI trigger polling
    cf954dd718e3 sched/fair: Use recent_used_cpu to test p->cpus_ptr
    04db1d8aa6e3 iov_iter: Mark copy_iovec_from_user() noclone
    ea5f73dc7e73 ASoC: qcom: q6apm: do not close GPR port before closing graph
    35e3982b5edc ASoC: codecs: wcd938x: fix dB range for HPHL and HPHR
    3a5a0585c6b1 ASoC: codecs: wcd938x: fix mbhc impedance loglevel
    8e7b00649d93 ASoC: amd: acp: fix for invalid dai id handling in acp_get_byte_count()
    14621889cf11 net: hns3: fix strncpy() not using dest-buf length as length issue
    41f63b72a01c igb: Fix igb_down hung on surprise removal
    ed64a07d88c3 wifi: iwlwifi: pcie: add device id 51F1 for killer 1675
    65b76a252b6e wifi: iwlwifi: mvm: avoid baid size integer overflow
    418344157a38 wifi: iwlwifi: Add support for new PCI Id
    8c3178d23156 wifi: wext-core: Fix -Wstringop-overflow warning in ioctl_standard_iw_point()
    bb4d473bab7d wifi: iwlwifi: mvm: Add NULL check before dereferencing the pointer
    21b9e0efb38e devlink: report devlink_port_type_warn source device
    46393b829d1e net: ethernet: litex: add support for 64 bit stats
    133b1cd4d98b wifi: iwlwifi: mvm: fix potential array out of bounds access
    55248d36beb7 wifi: ath11k: fix memory leak in WMI firmware stats
    7382d02160ef wifi: ath12k: Avoid NULL pointer access during management transmit cleanup
    5fc72f4ca44d spi: dw: Add compatible for Intel Mount Evans SoC
    a8a20fed3e05 wifi: mac80211_hwsim: Fix possible NULL dereference
    22f675f335aa wifi: ath11k: add support default regdb while searching board-2.bin for WCN6855
    3534c7b7b329 devlink: make health report on unregistered instance warn just once
    7c4f5ab63e79 bpf: Silence a warning in btf_type_id_size()
    79e43714e686 wifi: rtw88: sdio: Check the HISR RX_REQUEST bit in rtw_sdio_rx_isr()
    0a844d873bf8 bpf: tcp: Avoid taking fast sock lock in iterator
    926a175026fe bpf: drop unnecessary user-triggerable WARN_ONCE in verifierl log
    9acda85c7d0e spi: cadence-quadspi: Add compatible for AMD Pensando Elba SoC
    6e5e83b56f50 bpf: Address KCSAN report on bpf_lru_list
    c7f54ef43499 bpf: Print a warning only if writing to unprivileged_bpf_disabled.
    32ca096e712a wifi: ath11k: fix registration of 6Ghz-only phy without the full channel range
    34eb902050d4 sched/fair: Don't balance task to its current running CPU
    047bbb3730c6 tools/nolibc: ensure stack protector guard is never zero
    c57c2786ffb1 rcu: Mark additional concurrent load from ->cpu_no_qs.b.exp
    ea9b81c7d910 rcu-tasks: Avoid pr_info() with spin lock in cblist_init_generic()
    0c5b5d3f9a4a ACPI: video: Add backlight=native DMI quirk for Dell Studio 1569
    b03c7fcc5ed8 arm64: mm: fix VA-range sanity check
    d3b219e504fc arm64: set __exception_irq_entry with __irq_entry as a default
    aeb3c9a1f3a0 ACPI: resource: Remove "Zen" specific match and quirks
    6e29d9106c83 ACPI: video: Add backlight=native DMI quirk for Lenovo ThinkPad X131e (3371 AMD version)
    dfde1a0d7f99 ACPI: video: Add backlight=native DMI quirk for Apple iMac11,3
    33a43f6247ff ACPI: x86: Add ACPI_QUIRK_UART1_SKIP for Lenovo Yoga Book yb1-x90f/l
    c643c2ff7c3a ACPI: button: Add lid disable DMI quirk for Nextbook Ares 8A
    285941d0d5e7 ACPI: x86: Add skip i2c clients quirk for Nextbook Ares 8A
    597fb60c7513 erofs: Fix detection of atomic context
    951b87d8ba6a btrfs: abort transaction at update_ref_for_cow() when ref count is zero
    d40be032ecd8 btrfs: don't check PageError in __extent_writepage
    689f5fbd897b btrfs: add xxhash to fast checksum implementations
    37175e25edf7 posix-timers: Ensure timer ID search-loop limit is valid
    3e977386521b blk-mq: fix NULL dereference on q->elevator in blk_mq_elv_switch_none
    4cc664e59bf2 scsi: sg: fix blktrace debugfs entries leakage
    fbf50184190d md/raid10: prevent soft lockup while flush writes
    5df4edc59c33 md: fix data corruption for raid456 when reshape restart while grow up
    b0ed8ed0428e FS: JFS: Check for read-only mounted filesystem in txBegin
    fd2db13fb72f FS: JFS: Fix null-ptr-deref Read in txBegin
    1a4d22d8d1bc MIPS: dec: prom: Address -Warray-bounds warning
    f2af019091f9 fs: jfs: Fix UBSAN: array-index-out-of-bounds in dbAllocDmapLev
    8374bcb27120 ALSA: hda/realtek: Add quirks for ROG ALLY CS35l41 audio
    4d50988da0db udf: Fix uninitialized array access for some pathnames
    da2b6f919aa0 ovl: check type and offset of struct vfsmount in ovl_entry
    1af064b17479 HID: add quirk for 03f0:464a HP Elite Presenter Mouse
    6f4e543d277a quota: fix warning in dqgrab()
    50ff4ede9afd quota: Properly disable quotas when add_dquot_ref() fails
    03a67caf8e8d ALSA: emu10k1: roll up loops in DSP setup code for Audigy
    25e634d7f44e drm/radeon: Fix integer overflow in radeon_cs_parser_init
    8f07cd59268c ext4: correct inline offset when handling xattrs in inode body
    4368f59a292f KVM: arm64: vgic-v4: Make the doorbell request robust w.r.t preemption
    e4649d3da3da KVM: arm64: Disable preemption in kvm_arch_hardware_enable()
    a1023d9be174 KVM: arm64: Correctly handle page aging notifiers for unaligned memslot
    88430130cc8c KVM: arm64: timers: Use CNTHCTL_EL2 when setting non-CNTKCTL_EL1 bits
    898540115bed ASoC: codecs: wcd938x: fix soundwire initialisation race
    7f1c9f311858 ASoC: codecs: wcd938x: fix codec initialisation race
    825fe837519a ASoC: codecs: wcd934x: fix resource leaks on component remove
    31ee704c84c4 ASoC: codecs: wcd938x: fix missing mbhc init error handling
    c3586c7b613e ASoC: codecs: wcd938x: fix resource leaks on component remove
    7dacc3c6baed ASoC: tegra: Fix AMX byte map
    39f1fe576e22 ASoC: qdsp6: audioreach: fix topology probe deferral
    ce4059e1c0ac ASoC: codecs: wcd-mbhc-v2: fix resource leaks on component remove
    feedc8f580a6 ASoC: cs35l45: Select REGMAP_IRQ
    9ecc785bf08e ASoC: codecs: wcd938x: fix missing clsh ctrl error handling
    37272bc55bca ASoC: cs42l51: fix driver to properly autoload with automatic module loading
    b22f3782210b ASoC: rt5640: Fix sleep in atomic context
    feb7df108445 ASoC: tegra: Fix ADX byte map
    5d43985c83dd ASoC: fsl_sai: Revert "ASoC: fsl_sai: Enable MCTL_MCLK_EN bit for master mode"
    f75eaaff30fa ASoC: fsl_sai: Disable bit clock with transmitter
    a14eeaefb850 drm/amd/display: Keep PHY active for DP displays on DCN31
    1caa548d82c4 drm/amd/display: check TG is non-null before checking if enabled
    951c565c21fb drm/amd/display: Disable MPC split by default on special asic
    cd013a58cf64 drm/amd/display: only accept async flips for fast updates
    8108a494639e drm/client: Fix memory leak in drm_client_modeset_probe
    4b596a6e2d2e drm/client: Fix memory leak in drm_client_target_cloned
    ef21043605e6 drm/nouveau/i2c: fix number of aux event slots
    92d48ce21645 drm/nouveau/kms/nv50-: init hpd_irq_lock for PIOR DP
    f01f7f27ca06 drm/nouveau/disp: PIOR DP uses GPIO for HPD, not PMGR AUX interrupts
    f155c402e9cb drm/amdgpu/pm: make mclk consistent for smu 13.0.7
    d28f75c986de drm/amdgpu/pm: make gfxclock consistent for sienna cichlid
    1ac157c8a7ea drm/amdgpu/vkms: relax timer deactivation by hrtimer_try_to_cancel
    819656cc03de dma-buf/dma-resv: Stop leaking on krealloc() failure
    9d036b953075 accel/qaic: Add consistent integer overflow checks
    57d14cb3bae4 accel/qaic: tighten bounds checking in decode_message()
    1072bace37ff accel/qaic: tighten bounds checking in encode_message()
    4ea5bb40511f selftests: tc: add ConnTrack procfs kconfig
    93e9a6775761 Revert "r8169: disable ASPM during NAPI poll"
    210a8cffc9c1 can: gs_usb: fix time stamp counter initialization
    f3083a981487 can: gs_usb: gs_can_open(): improve error handling
    dfd0aa26e9a0 can: bcm: Fix UAF in bcm_proc_show()
    6f615640f6b2 can: mcp251xfd: __mcp251xfd_chip_set_mode(): increase poll timeout
    292f0453b0d0 arm64/fpsimd: Ensure SME storage is allocated after SVE VL changes
    b9dd213e3c2d ia64: mmap: Consider pgoff when searching for free mapping
    c64ef6d440db regmap: Account for register length in SMBus I/O limits
    3cc626d346d3 of: Preserve "of-display" device name for compatibility
    9e12b9c3eb83 s390/zcrypt: fix reply buffer calculations for CCA replies
    4a3d22e23a9f regmap: Drop initial version of maximum transfer length fixes
    dc3f1650d56e selftests: tc: add 'ct' action kconfig dep
    cdcba752a3d4 accel/qaic: Fix a leak in map_user_pages()
    53db36320255 selftests: tc: set timeout to 15 minutes
    72efe5d44821 btrfs: fix race between balance and cancel/pause
    4bef9a6a75bc fuse: ioctl: translate ENOSYS in outarg
    cca627afb463 btrfs: zoned: fix memory leak after finding block group with super blocks
    40150056dc10 btrfs: fix double iput() on inode after an error during orphan cleanup
    a5880e69cf7f btrfs: set_page_extent_mapped after read_folio in btrfs_cont_expand
    a981a8b5d356 btrfs: raid56: always verify the P/Q contents for scrub
    b1b3f504dcd8 fuse: Apply flags2 only when userspace set the FUSE_INIT_EXT
    c5f559674cc0 fuse: add feature flag for expire-only
    371b35073197 fuse: revalidate: don't invalidate if interrupted
    62dd82bc7a90 btrfs: fix warning when putting transaction with qgroups enabled after abort
    a21a43e4338f btrfs: fix iput() on error pointer after error during orphan cleanup
    c3e395fe7cb1 perf probe: Read DWARF files from the correct CU
    6869b2f022a5 perf probe: Add test for regression introduced by switch to die_get_decl_file()
    ffb4aa1c0564 prctl: move PR_GET_AUXV out of PR_MCE_KILL
    e091bb55af9a keys: Fix linking a duplicate key to a keyring's assoc_array
    f947a6f41c82 selftests/mm: mkdirty: fix incorrect position of #endif
    b724e834032b maple_tree: fix node allocation testing on 32 bit
    74da0d9708fb mm/mlock: fix vma iterator conversion of apply_vma_lock_flags()
    01cba7fcf57f maple_tree: set the node limit when creating a new root node
    33e76576be14 ALSA: hda/realtek: Enable Mute LED on HP Laptop 15s-eq2xxx
    194690a2db25 ALSA: hda/realtek: Add quirk for Clevo NS70AU
    b699e3c54d13 ALSA: hda/realtek - remove 3k pull low procedure
    450d9315d280 io_uring: Fix io_uring mmap() by using architecture-provided get_unmapped_area()
    a3f59cbeaa5d io_uring: treat -EAGAIN for REQ_F_NOWAIT as final for io-wq

(From OE-Core rev: 725595704abdae20b461fecfaa35659eac27c0a8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 12:40:14 +01:00
Bruce Ashfield
48a40b35ca linux-yocto/6.1: update to v6.1.41
Updating  to the latest korg -stable release that comprises
the following commits:

    5302e81aa209 Linux 6.1.41
    ed9b87010aa8 x86/cpu/amd: Add a Zenbleed fix
    5fc203d8d3ed x86/cpu/amd: Move the errata checking functionality up
    75389113731b Linux 6.1.40
    9879d6e1ca87 net/ncsi: change from ndo_set_mac_address to dev_set_mac_address
    e2c3356907a5 net/ncsi: make one oem_gma function for all mfr id
    e4a0e09b79bd drm/atomic: Fix potential use-after-free in nonblocking commits
    d34a3470ed40 net/sched: sch_qfq: reintroduce lmax bound check for MTU
    ff06cd411aa0 swiotlb: mark swiotlb_memblock_alloc() as __init
    d64b70df23e8 Revert "drm/amd: Disable PSR-SU on Parade 0803 TCON"
    fbfb6b7cb2f7 MIPS: kvm: Fix build error with KVM_MIPS_DEBUG_COP0_COUNTERS enabled
    fec55ec03545 scsi: qla2xxx: Fix end of loop test
    f459d586fdf1 scsi: qla2xxx: Remove unused nvme_ls_waitq wait queue
    b06d1b525364 scsi: qla2xxx: Pointer may be dereferenced
    b88b1241fb1c scsi: qla2xxx: Correct the index of array
    e466930717ef scsi: qla2xxx: Check valid rport returned by fc_bsg_to_rport()
    ce2cdbe530b0 scsi: qla2xxx: Fix potential NULL pointer dereference
    2dddbf8de128 scsi: qla2xxx: Fix buffer overrun
    477bc74ad1ad scsi: qla2xxx: Avoid fcport pointer dereference
    2b3bdef089b9 scsi: qla2xxx: Array index may go out of bound
    d994ac7c7842 scsi: qla2xxx: Fix mem access after free
    90770dad1eb3 scsi: qla2xxx: Wait for io return on terminate rport
    1802e5d0988a scsi: qla2xxx: Fix hang in task management
    35985b0741c1 scsi: qla2xxx: Fix task management cmd fail due to unavailable resource
    843665c4266d scsi: qla2xxx: Fix task management cmd failure
    ff92567d906e scsi: qla2xxx: Multi-que support for TMF
    95e34129f37e tracing/user_events: Fix struct arg size match check
    a95c1fede27d tracing/probes: Fix to update dynamic data counter if fetcharg uses it
    837f92d27f55 tracing/probes: Fix not to count error code to total length
    2f41d35b58c8 selftests: mptcp: pm_nl_ctl: fix 32-bit support
    ee352299a678 selftests: mptcp: depend on SYN_COOKIES
    08daab11f344 selftests: mptcp: userspace_pm: report errors with 'remove' tests
    4098a4318298 selftests: mptcp: userspace_pm: use correct server port
    c118baa05fb9 selftests: mptcp: sockopt: return error if wrong mark
    671486793f72 selftests: mptcp: connect: fail if nft supposed to work
    938d5b7a75e1 tracing: Fix null pointer dereference in tracing_err_log_open()
    fbcd0c2b569f fprobe: Ensure running fprobe_exit_handler() finished before calling rethook_free()
    ce3ec57faff5 fprobe: Release rethook after the ftrace_ops is unregistered
    2e9a46e46786 pwm: meson: fix handling of period/duty if greater than UINT_MAX
    ba1ede19e601 pwm: meson: modify and simplify calculation in meson_pwm_get_state
    9a2c57fd3284 PM: QoS: Restore support for default value on frequency QoS
    15ec83da4311 perf/x86: Fix lockdep warning in for_each_sibling_event() on SPR
    22fc9fd72307 xtensa: ISS: fix call to split_if_spec
    6a05de6da58a cifs: if deferred close is disabled then close files immediately
    bd8cd38d3ac6 drm/amd/pm: conditionally disable pcie lane/speed switching for SMU13
    11dc77a645b7 drm/amd/pm: share the code around SMU13 pcie parameters update
    99fe81d219df ftrace: Fix possible warning on checking all pages used in ftrace_process_locs()
    8b0b63fdac6b ring-buffer: Fix deadloop issue on reading trace_pipe
    90947ebf8794 net: ena: fix shift-out-of-bounds in exponential backoff
    b1a726ad33e5 regmap-irq: Fix out-of-bounds access when allocating config buffers
    aeb62beaf9cb perf: RISC-V: Remove PERF_HES_STOPPED flag checking in riscv_pmu_start()
    e2c7a05a48e5 samples: ftrace: Save required argument registers in sample trampolines
    9d6a260bbfbc nvme: don't reject probe due to duplicate IDs for single-ported PCIe devices
    be970e22c53d tracing: Fix memory leak of iter->temp when reading trace_pipe
    5fd32eb6fa0a tracing/histograms: Add histograms to hist_vars if they have referenced variables
    0a1dc6377afc dm: verity-loadpin: Add NULL pointer check for 'bdev' parameter
    08aaeda414f7 s390/decompressor: fix misaligned symbol build error
    2ebf4ddcc657 bus: ixp4xx: fix IXP4XX_EXP_T1_MASK
    599c0ebdb5cc Revert "8250: add support for ASIX devices with a FIFO bug"
    801daff00780 soundwire: qcom: fix storing port config out-of-bounds
    76ab057de777 opp: Fix use-after-free in lazy_opp_tables after probe deferral
    be06ffa8f4ac meson saradc: fix clock divider mask length
    610ddd79fc6a xhci: Show ZHAOXIN xHCI root hub speed correctly
    892ef7593000 xhci: Fix TRB prefetch issue of ZHAOXIN hosts
    8e273a2190b5 xhci: Fix resume issue of some ZHAOXIN hosts
    829361479860 ceph: don't let check_caps skip sending responses for revoke msgs
    0471d907d8c1 ceph: fix blindly expanding the readahead windows
    d545ff97cf43 ceph: add a dedicated private data for netfs rreq
    183c0ae4fafc libceph: harden msgr2.1 frame segment length checks
    cb8a31a56df8 firmware: stratix10-svc: Fix a potential resource leak in svc_create_memory_pool()
    5553d587a371 tty: serial: imx: fix rs485 rx after tx
    f0bf102ef9b0 tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk
    34f5b826dd50 tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() in case of error
    9fd9e1d09878 serial: atmel: don't enable IRQs prematurely
    f037f6038736 drm/ttm: Don't leak a resource on swapout move error
    fe26d0fa9408 drm/amdgpu: avoid restore process run into dead loop.
    8404d0e274ac drm/amd/display: Add monitor specific edid quirk
    7ad40467fdfb drm/amd/display: Correct `DMUB_FW_VERSION` macro
    ad85fc99d638 drm/amd/display: add a NULL pointer check
    3092beeb25dc drm/amd: Disable PSR-SU on Parade 0803 TCON
    91e69e67d401 drm/amdgpu: fix clearing mappings for BOs that are always valid in VM
    3546f76c7ad8 drm/amd/display: disable seamless boot if force_odm_combine is enabled
    a2ef3163c360 drm/amd/display: Remove Phantom Pipe Check When Calculating K1 and K2
    c4629c757528 drm/amd/display: edp do not add non-edid timings
    31fb25ecbba6 drm/amd/display: fix seamless odm transitions
    c41963e50a55 drm/rockchip: vop: Leave vblank enabled in self-refresh
    db0a9a29912c drm/atomic: Allow vblank-enabled + self-refresh "disable"
    6436ca035bcc scsi: lpfc: Fix double free in lpfc_cmpl_els_logo_acc() caused by lpfc_nlp_not_used()
    7adcc32eb523 fs: dlm: fix mismatch of plock results from userspace
    adeaef5a00dc fs: dlm: make F_SETLK use unkillable wait_event
    2a37d73395a5 fs: dlm: interrupt posix locks only when process is killed
    a1b6adf4b180 fs: dlm: fix cleanup pending ops when interrupted
    3346ffdee42b fs: dlm: return positive pid value for F_GETLK
    be19cb671651 dm init: add dm-mod.waitfor to wait for asynchronously probed block devices
    e30128926a0f md/raid0: add discard support for the 'original' layout
    31df8b9609f3 mfd: pm8008: Fix module autoloading
    7ef181f84ef3 misc: pci_endpoint_test: Re-init completion for every test
    c2dba13bc0c6 misc: pci_endpoint_test: Free IRQs before removing the device
    0813bb2f2cb8 PCI: rockchip: Set address alignment for endpoint mode
    5b15ebec5697 PCI: rockchip: Use u32 variable to access 32-bit registers
    1a48294ade5c PCI: rockchip: Fix legacy IRQ generation for RK3399 PCIe endpoint core
    dfd20ebcae84 PCI: rockchip: Add poll and timeout to wait for PHY PLLs to be locked
    05f55f7530e2 PCI: rockchip: Write PCI Device ID to correct register
    b2e2ffbfd341 PCI: rockchip: Assert PCI Configuration Enable bit after probe
    07d997ef1052 PCI: epf-test: Fix DMA transfer completion detection
    bcd276f1431e PCI: epf-test: Fix DMA transfer completion initialization
    cf0d7b72707d PCI: qcom: Disable write access to read only registers for IP v2.3.3
    c459365ec7ba PCI: Add function 1 DMA alias quirk for Marvell 88SE9235
    465c195e86f3 PCI: Release resource invalidated by coalescing
    3367d4be9b19 PCI/PM: Avoid putting EloPOS E2/S2/H2 PCIe Ports in D3cold
    25cb64ecc384 s390/zcrypt: do not retry administrative requests
    026e46d26aaf scsi: mpi3mr: Propagate sense data for admin queue SCSI I/O
    b933df9dda01 dm integrity: reduce vmalloc space footprint on 32-bit architectures
    ef709350ef0b hwrng: imx-rngc - fix the timeout for init and self check
    c7feb54b1138 jfs: jfs_dmap: Validate db_l2nbperpage while mounting
    9e54fd14bd14 ext2/dax: Fix ext2_setsize when len is page aligned
    33f8dff6e1cb soc: qcom: mdt_loader: Fix unconditional call to scm_pas_mem_setup
    5dc507de0c8d fs: dlm: revert check required context while close
    95d49f79e94d ext4: only update i_reserved_data_blocks on successful block allocation
    deef86fa3005 ext4: turn quotas off if mount failed after enabling quotas
    029c6b106f49 ext4: fix to check return value of freeze_bdev() in ext4_shutdown()
    e861961f3a50 ext4: fix wrong unit use in ext4_mb_new_blocks
    2038d35749c7 ext4: get block from bh in ext4_free_blocks for fast commit replay
    782166ac858a ext4: fix wrong unit use in ext4_mb_clear_bb
    0a90e70efa6a ext4: Fix reusing stale buffer heads from last failed mounting
    bd9cf2a5f9e1 MIPS: KVM: Fix NULL pointer dereference
    d56b7a43a2e0 MIPS: Loongson: Fix cpu_probe_loongson() again
    58d1c81307d2 powerpc/64s: Fix native_hpte_remove() to be irq-safe
    484b8fb1ffb5 powerpc/security: Fix Speculation_Store_Bypass reporting on Power10
    23ab732b961f misc: fastrpc: Create fastrpc scalar with correct buffer count
    16eceb395994 powerpc: Fail build if using recordmcount with binutils v2.37
    5aea2ac37456 tracing/user_events: Fix incorrect return value for writing operation when events are disabled
    a4336343ea36 kasan: add kasan_tag_mismatch prototype
    6d806841f111 net: phy: dp83td510: fix kernel stall during netboot in DP83TD510E PHY driver
    eac0aac07f6a net: bcmgenet: Ensure MDIO unregistration has clocks enabled
    de67dadd5cb3 mtd: rawnand: meson: fix unaligned DMA buffers handling
    bb4e824d6b11 tpm: return false from tpm_amd_is_rng_defective on non-x86 platforms
    ad249709d274 tpm: tis_i2c: Limit write bursts to I2C_SMBUS_BLOCK_MAX (32) bytes
    f5a734a689e8 tpm: tis_i2c: Limit read bursts to I2C_SMBUS_BLOCK_MAX (32) bytes
    99b998fb9d7d tpm: tpm_vtpm_proxy: fix a race condition in /dev/vtpmx creation
    00283137001f tpm: Do not remap from ACPI resources again for Pluton TPM
    6d8488509eba pinctrl: amd: Unify debounce handling into amd_pinconf_set()
    dce19c966d4d pinctrl: amd: Drop pull up select configuration
    326b3f17bee8 pinctrl: amd: Use amd_pinconf_set() for all config options
    3cadcab402e1 pinctrl: amd: Only use special debounce behavior for GPIO 0
    57f6d48af46f pinctrl: amd: Revert "pinctrl: amd: disable and mask interrupts on probe"
    1cd1a0151fde pinctrl: amd: Detect and mask spurious interrupts
    15165187947c pinctrl: amd: Fix mistake in handling clearing pins at startup
    8a2d8e17c731 pinctrl: amd: Detect internal GPIO0 debounce handling
    4484ce0e4928 pinctrl: amd: Add fields for interrupt status and wake status
    a56afed6d5a4 pinctrl: amd: Adjust debugfs output
    03590f9be9b9 pinctrl: amd: Add Z-state wake control bits
    a996fec74c38 f2fs: fix deadlock in i_xattr_sem and inode page lock
    2cb10f4e6cca f2fs: fix the wrong condition to determine atomic context
    13e8af958cfa drm/amd/pm: add abnormal fan detection for smu 13.0.0
    e8b6b7b81325 drm/amdgpu: Fix minmax warning
    d7d53c669da9 drm/amdgpu: add the fan abnormal detection feature
    c8c703befd2f drm/amd/pm: revise the ASPM settings for thunderbolt attached scenario
    4596c812916a drm/amdgpu/sdma4: set align mask to 255
    7c880188c710 drm/client: Send hotplug event after registering a client
    40e2ed0e562a cifs: fix session state check in smb2_find_smb_ses
    c4a5fb1ae5d3 ovl: fix null pointer dereference in ovl_get_acl_rcu()
    06b3f0bf418a ovl: let helper ovl_i_path_real() return the realinode
    000a9a72efa4 fs/ntfs3: Check fields while reading
    bf2f2c059f17 nvme-pci: fix DMA direction of unmapping integrity data
    70feebdbfad8 net/sched: sch_qfq: account for stab overhead in qfq_enqueue
    4b3383682405 net/sched: sch_qfq: refactor parsing of netlink parameters
    0aec8dab2be6 wifi: rtw89: debug: fix error code in rtw89_debug_priv_send_h2c_set()
    3d1dc71b8f76 net/sched: make psched_mtu() RTNL-less safe
    1c806e406627 netdevsim: fix uninitialized data in nsim_dev_trap_fa_cookie_write()
    1b125be4e001 riscv: mm: fix truncation warning on RV32
    174cfa0317df net/sched: flower: Ensure both minimum and maximum ports are specified
    b11a9b4f28cb bpf: cpumap: Fix memory leak in cpu_map_update_elem
    4719576d6ed6 wifi: airo: avoid uninitialized warning in airo_get_rate()
    9e6474e5d70c erofs: fix fsdax unavailability for chunk-based regular files
    dc8158a95fd7 erofs: avoid infinite loop in z_erofs_do_read_page() when reading beyond EOF
    83879f72e055 erofs: avoid useless loops in z_erofs_pcluster_readmore() when reading beyond EOF
    27272795a72c octeontx2-pf: Add additional check for MCAM rules
    5a9aecb6651c drm/i915: Fix one wrong caching mode enum usage
    f1e746aedd7d drm/i915: Don't preserve dpll_hw_state for slave crtc in Bigjoiner
    ba05762e4a5c riscv, bpf: Fix inconsistent JIT image generation
    13a30e22eac3 nvme: fix the NVME_ID_NS_NVM_STS_MASK definition
    66afb6a54e44 igc: Fix inserting of empty frame for launchtime
    1b87509ef6ad igc: Fix launchtime before start of cycle
    f92a82dc486a kernel/trace: Fix cleanup logic of enable_trace_eprobe
    7772d5c44011 platform/x86: wmi: Break possible infinite loop when parsing GUID
    89726b030373 net: dsa: qca8k: Add check for skb_copy
    436b7cc7eae7 ipv6/addrconf: fix a potential refcount underflow for idev
    5554414227db NTB: ntb_tool: Add check for devm_kcalloc
    8d7b8758665b NTB: ntb_transport: fix possible memory leak while device_register() fails
    bece67815ab4 ntb: intel: Fix error handling in intel_ntb_pci_driver_init()
    d4317d41f000 NTB: amd: Fix error handling in amd_ntb_pci_driver_init()
    4e5daadf8cd0 ntb: idt: Fix error handling in idt_pci_driver_init()
    360db93beb8f udp6: fix udp6_ehashfn() typo
    1462e9d9aa52 icmp6: Fix null-ptr-deref of ip6_null_entry->rt6i_idev in icmp6_dev().
    1731234e8b60 net: prevent skb corruption on frag list segmentation
    685b57a1221c net: bgmac: postpone turning IRQs off to avoid SoC hangs
    dc470466753a ionic: remove WARN_ON to prevent panic_on_warn
    6cc293d29c8f octeontx2-af: Move validation of ptp pointer before its usage
    bb56b7905b7d octeontx2-af: Promisc enable/disable through mbox
    2b4086a66abd gve: Set default duplex configuration to full
    c91fb29bb07e net/sched: cls_fw: Fix improper refcount update leads to use-after-free
    831fbc206529 net: mvneta: fix txq_map in case of txq_number==1
    b2e74dedb057 bpf: Fix max stack depth check for async callbacks
    714d81a5c49f scsi: ufs: ufs-mediatek: Add dependency for RESET_CONTROLLER
    574d5236a82b scsi: qla2xxx: Fix error code in qla2x00_start_sp()
    49f6ac6f1cde blk-crypto: use dynamic lock class for blk_crypto_profile::lock
    d752be635bc4 igc: Handle PPS start time programming for past time values
    246fc961c875 igc: set TP bit in 'supported' and 'advertising' fields of ethtool_link_ksettings
    e962fd5933eb net/mlx5e: Check for NOT_READY flag state after locking
    83a8f7337a14 net/mlx5e: fix memory leak in mlx5e_ptp_open
    75df2fe6d160 net/mlx5e: fix memory leak in mlx5e_fs_tt_redirect_any_create
    7ca1914cbd3b net/mlx5e: fix double free in mlx5e_destroy_flow_table
    68b654e9eb5b igc: Remove delay during TX ring configuration
    dfaed769b935 ice: Fix max_rate check while configuring TX rate limits
    1294311ce9ad drm/panel: simple: Add Powertip PH800480T013 drm_display_mode flags
    fd5b64c1cf41 swiotlb: reduce the number of areas to match actual memory pool size
    fc3db7fbdf58 swiotlb: reduce the swiotlb buffer size on allocation failure
    24b24863a012 swiotlb: always set the number of areas before allocating the pool
    02d43b8a4f0a drm/bridge: ti-sn65dsi86: Fix auxiliary bus lifetime
    d48029c655e4 drm/panel: simple: Add connector_type for innolux_at043tn24
    ef572ffa8eb4 ksmbd: fix out of bounds read in smb2_sess_setup
    869ef4f2965b ksmbd: add missing compound request handing in some commands
    2d57a1590f4d workqueue: clean up WORK_* constant types, clarify masking
    4b5ab640aafc net: lan743x: Don't sleep in atomic context
    5a45ed1ae34b HID: amd_sfh: Fix for shift-out-of-bounds
    d0b30d8e4d25 HID: amd_sfh: Rename the float32 variable
    a456e1743881 Linux 6.1.39
    f32dfc802e87 io_uring: Use io_schedule* in cqring wait
    c55b552e0b60 sh: hd64461: Handle virq offset for offchip IRQ base and HD64461 IRQ
    0ff5d219eb8a sh: mach-dreamcast: Handle virq offset in cascaded IRQ demux
    5628b9aa3179 sh: mach-highlander: Handle virq offset in cascaded IRL demux
    fe7daa313d13 sh: mach-r2d: Handle virq offset in cascaded IRL demux
    899cc8f7989d block/partition: fix signedness issue for Amiga partitions
    da012a025f70 tty: serial: fsl_lpuart: add earlycon for imx8ulp platform
    3173bfdf89ac wireguard: netlink: send staged packets when setting initial private key
    561aaadf0d07 wireguard: queueing: use saner cpu selection wrapping
    40f83dd66a82 netfilter: nf_tables: prevent OOB access in nft_byteorder_eval
    fc95c8b02c61 netfilter: nf_tables: do not ignore genmask when looking up chain by id
    05561f822f27 netfilter: conntrack: Avoid nf_ct_helper_hash uses after free
    f14537333405 netfilter: nf_tables: unbind non-anonymous set if rule construction fails
    ad2928e7f3f6 mtd: parsers: refer to ARCH_BCMBCA instead of ARCH_BCM4908
    1bdcffaa0d2c drm/i915/tc: Fix system resume MST mode restore for DP-alt sinks
    99025116f5c6 drm/i915/tc: Fix TC port link ref init for DP MST during HW readout
    eaa0043a8579 drm/i915: Fix TypeC mode initialization during system resume
    a02c6dc0eff2 mm/mmap: Fix extra maple tree write
    9222068bc85b xfs: fix xfs_inodegc_stop racing with mod_delayed_work
    1b206852957c xfs: disable reaping in fscounters scrub
    25c1991f9f77 xfs: check that per-cpu inodegc workers actually run on that cpu
    f6e37e24007d xfs: explicitly specify cpu when forcing inodegc delayed work to run immediately
    6b7c52f373fb fs: no need to check source
    d53879f54b54 blktrace: use inline function for blk_trace_remove() while blktrace is disabled
    ab0bd172d628 leds: trigger: netdev: Recheck NETDEV_LED_MODE_LINKUP on dev rename
    9077ec19adc2 ARM: orion5x: fix d2net gpio initialization
    600b51aa44de ARM: dts: qcom: ipq4019: fix broken NAND controller properties override
    9030a7e83632 regulator: tps65219: Fix matching interrupts for their regulators
    d9eaa90d7dbb ASoC: mediatek: mt8173: Fix snd_soc_component_initialize error path
    1c9b356bbe99 ASoC: mediatek: mt8173: Fix irq error path
    3929b5dd8fdd btrfs: do not BUG_ON() on tree mod log failure at __btrfs_cow_block()
    bc662a1e1f9f btrfs: fix extent buffer leak after tree mod log failure at split_node()
    a53d78d9a855 btrfs: fix race when deleting quota root from the dirty cow roots list
    9634e5360bd3 btrfs: reinsert BGs failed to reclaim
    d9f1e518ab05 btrfs: add block-group tree to lockdep classes
    3702c5342cf1 btrfs: bail out reclaim process if filesystem is read-only
    856086109515 btrfs: delete unused BGs while reclaiming BGs
    4fadf53fa951 btrfs: add handling for RAID1C23/DUP to btrfs_reduce_alloc_profile
    8fcb478b5508 ipvs: increase ip_vs_conn_tab_bits range for 64BIT
    759e582b1cea usb: typec: ucsi: Mark dGPUs as DEVICE scope
    f2a6ce3eec14 i2c: nvidia-gpu: Remove ccgx,firmware-build property
    7b67af8dea95 i2c: nvidia-gpu: Add ACPI property to align with device-tree
    f40d621387d4 fs: Lock moved directories
    10c159f994b9 fs: Establish locking order for unrelated directories
    6654d2a165e4 Revert "f2fs: fix potential corruption when moving a directory"
    6aaa22ec7310 ext4: Remove ext4 locking of moved directory
    606e463eefed fs: avoid empty option when generating legacy mount string
    6df680709d90 jffs2: reduce stack usage in jffs2_build_xattr_subsystem()
    1f34bf8b442c shmem: use ramfs_kill_sb() for kill_sb method of ramfs-based tmpfs
    23fbff67b06d mm/damon/ops-common: atomically test and clear young on ptes and pmds
    33893c6c1f18 autofs: use flexible array in ioctl structure
    cd52323ac4c1 integrity: Fix possible multiple allocation in integrity_inode_get()
    0cbbb029ffe9 um: Use HOST_DIR for mrproper
    219a9ec09dd1 watch_queue: prevent dangling pipe pointer
    7ecea5ce3dc1 bcache: Fix __bch_btree_node_alloc to make the failure behavior consistent
    68118c339c6e bcache: Remove unnecessary NULL point check in node allocations
    25ec4779d0fb bcache: fixup btree_cache_wait list damage
    97ccc14d114b wifi: mt76: mt7921e: fix init command fail with enabled device
    d8985a0e44bc wifi: ath10k: Serialize wake_tx_queue ops
    1a312d5a8c84 wifi: cfg80211: fix regulatory disconnect for non-MLO
    5b2b6586c5db mmc: sdhci: fix DMA configure compatibility issue when 64bit DMA mode is used.
    30c5f362b6f5 mmc: mmci: Set PROBE_PREFER_ASYNCHRONOUS
    69bc3203513c mmc: core: disable TRIM on Micron MTFC4GACAJCN-1M
    182bf07a24c4 mmc: core: disable TRIM on Kingston EMMC04G-M627
    b50d6e06cca7 io_uring: wait interruptibly for request completions on exit
    9440b24fbcb9 irqchip/loongson-pch-pic: Fix initialization of HT vector register
    2b4e43b5ad99 NFSD: add encoding of op_recall flag for write delegation
    f672f2ca9d6f irqchip/loongson-pch-pic: Fix potential incorrect hwirq assignment
    8753eeb2d35a i2c: qup: Add missing unwind goto in qup_i2c_probe()
    b990e3760395 btrfs: do not BUG_ON() on tree mod log failure at balance_level()
    2445a35d05cd extcon: usbc-tusb320: Unregister typec port on driver removal
    ee08e1fc9480 extcon: usbc-tusb320: Convert to i2c's .probe_new()
    d5eb0375d78a dm ioctl: Avoid double-fetch of version
    27987794197e dm ioctl: have constant on the right side of the test
    fd4497aca33b dm: avoid split of quoted strings where possible
    0783867a30b5 dm: fix undue/missing spaces
    15970b0828c1 i2c: xiic: Don't try to handle more interrupt events after error
    e9fbb7c2f65e apparmor: fix missing error check for rhashtable_insert_fast
    8fb11fa48056 sh: dma: Fix DMA channel offset calculation
    b837c6923600 s390/qeth: Fix vipa deletion
    f5ea303502b9 afs: Fix accidental truncation when storing data
    4a141c3c0306 octeontx-af: fix hardware timestamp configuration
    947d741adf66 net: dsa: sja1105: always enable the send_meta options
    079dc659e31f net: dsa: tag_sja1105: fix MAC DA patching from meta frames
    97a6d99c5434 pptp: Fix fib lookup calls.
    0a1b80ff4f72 riscv: move memblock_allow_resize() after linear mapping is ready
    78c6cf1dc7de fanotify: disallow mount/sb marks on kernel internal pseudo fs
    18d78c5552d8 net/sched: act_pedit: Add size check for TCA_PEDIT_PARMS_EX
    67eb4aee2c01 xsk: Honor SO_BINDTODEVICE on bind
    6baa6e4836d7 bpf, btf: Warn but return no error for NULL btf from __register_btf_kfunc_id_set()
    cd398daabeb8 tcp: annotate data races in __tcp_oow_rate_limited()
    ced61418f469 net: fix net_dev_start_xmit trace event vs skb_transport_offset()
    6469dc1c1388 net: dsa: tag_sja1105: fix source port decoding in vlan_filtering=0 bridge mode
    fd03500476c8 net: bridge: keep ports without IFF_UNICAST_FLT in BR_PROMISC mode
    d50baa75c689 powerpc: dts: turris1x.dts: Fix PCIe MEM size for pci2 node
    d33b0ddf7afa powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y
    c86a2517df6c ntfs: Fix panic about slab-out-of-bounds caused by ntfs_listxattr()
    a5485a943193 octeontx2-af: Add validation before accessing cgx and lmac
    bd246c92d2d5 octeontx2-af: Fix mapping for NIX block from CGX connection
    c2c5c6d2c474 f2fs: fix error path handling in truncate_dnode()
    cfdb9c1a74d8 mailbox: ti-msgmgr: Fill non-message tx data fields with 0x0
    4033b47642c7 drm/amd: Don't try to enable secure display TA multiple times
    0d4e60e23c7d drm/amdgpu: fix number of fence calculations
    d3dcdb43c872 spi: bcm-qspi: return error if neither hif_mspi nor mspi is available
    d4f5b1dd816d mlxsw: minimal: fix potential memory leak in mlxsw_m_linecards_init
    0b24d3e4b989 net: dsa: vsc73xx: fix MTU configuration
    f67ef8f9f677 ibmvnic: Do not reset dql stats on NON_FATAL err
    c07efe4dbc12 Bluetooth: MGMT: Fix marking SCAN_RSP as not connectable
    40ca66eef3d7 Bluetooth: MGMT: Use BIT macro when defining bitfields
    1a7f268ccc3c Bluetooth: MGMT: add CIS feature bits to controller information
    4aa515393f02 Bluetooth: ISO: use hci_sync for setting CIG parameters
    018b12ff1661 Bluetooth: fix invalid-bdaddr quirk for non-persistent setup
    102f3555cebe Add MODULE_FIRMWARE() for FIRMWARE_TG357766.
    f72104244714 net: dsa: tag_sja1105: always prefer source port information from INCL_SRCPT
    060d36670d50 net: dsa: sja1105: always enable the INCL_SRCPT option
    2f99d19dc620 net: dsa: felix: don't drop PTP frames with tag_8021q when RX timestamping is disabled
    e9dda2b68cb9 net: mscc: ocelot: don't keep PTP configuration of all ports in single structure
    7826202689af net: mscc: ocelot: don't report that RX timestamping is enabled by default
    a252547c8920 spi: spi-geni-qcom: enable SPI_CONTROLLER_MUST_TX for GPI DMA mode
    946edfb7d436 net/sched: act_ipt: add sanity checks on skb before calling target
    a6c9b0f7ba95 net: add a couple of helpers for iph tot_len
    201948effabf net/sched: act_ipt: add sanity checks on table name and hook locations
    1aa5a6a6d28c sctp: fix potential deadlock on &net->sctp.addr_wq_lock
    9dbcfc01d686 media: cec: i2c: ch7322: also select REGMAP
    0623f13959fd f2fs: check return value of freeze_super()
    dcb526d76835 drm/i915/guc/slpc: Apply min softlimit correctly
    61070305d520 drm/i915/psr: Use hw.adjusted mode when calculating io/fast wake times
    df53f7a3dbf4 rtc: st-lpc: Release some resources in st_rtc_probe() in case of error
    3781d0e6c11b md/raid10: fix the condition to call bio_end_io_acct()
    07e81c9208d9 pwm: mtk_disp: Fix the disable flow of disp_pwm
    75439e6cd2a3 pwm: ab8500: Fix error code in probe()
    61aad933e53d pwm: sysfs: Do not apply state to already disabled PWMs
    c8fa254b77a3 pwm: imx-tpm: force 'real_period' to be zero in suspend
    29ddfd546063 lib/bitmap: drop optimization of bitmap_{from,to}_arr64
    d986fb02a1ea phy: tegra: xusb: check return value of devm_kzalloc()
    055ea8efdfbb mfd: stmpe: Only disable the regulators if they are enabled
    f7d56de13caa hwtracing: hisi_ptt: Fix potential sleep in atomic context
    34eef9e8c8e3 clk: qcom: mmcc-msm8974: fix MDSS_GDSC power flags
    94f3bcfcd17c misc: fastrpc: check return value of devm_kasprintf()
    7e3ee25e8c7c cpufreq: mediatek: correct voltages for MT7622 and MT7623
    86bfb18bad60 KVM: s390/diag: fix racy access of physical cpu number in diag 9c handler
    c78ad1060ce9 KVM: s390: vsie: fix the length of APCB bitmap
    e716693f0236 mfd: stmfx: Nullify stmfx->vdd in case of error
    18abe5f4c3c6 mfd: stmfx: Fix error path in stmfx_chip_init
    5bd9dc3e767e bus: fsl-mc: don't assume child devices are all fsl-mc devices
    e27948f329f7 nvmem: rmem: Use NVMEM_DEVID_AUTO
    27918479409d nvmem: sunplus-ocotp: release otp->clk before return
    e3a71d821e24 drivers: fwnode: fix fwnode_irq_get[_byname]()
    51ae92e329f5 device property: Clarify description of returned value in some functions
    73209e3f8ad7 device property: Fix documentation for fwnode_get_next_parent()
    852659fe834a serial: 8250_omap: Use force_suspend and resume for system suspend
    e34817340025 Revert "usb: common: usb-conn-gpio: Set last role to unknown before initial detection"
    22b1e2af69ec mfd: intel-lpss: Add missing check for platform_get_resource
    2e8ab6846063 mfd: wcd934x: Fix an error handling path in wcd934x_slim_probe()
    7a37abf096c2 usb: dwc3-meson-g12a: Fix an error handling path in dwc3_meson_g12a_probe()
    04b1c0798deb usb: common: usb-conn-gpio: Set last role to unknown before initial detection
    155bb9b4e32e usb: dwc3: qcom: Fix an error handling path in dwc3_qcom_probe()
    63b3360d43e4 usb: dwc3: qcom: Release the correct resources in dwc3_qcom_remove()
    90159b329f5c KVM: s390: fix KVM_S390_GET_CMMA_BITS for GFNs in memslot holes
    ebe83e9bb8a6 f2fs: fix to avoid NULL pointer dereference f2fs_write_end_io()
    15c073e752d2 f2fs: fix potential deadlock due to unpaired node_write lock use
    2e980eb9550d gfs2: Fix duplicate should_fault_in_pages() call
    f5d7f9e15517 sh: Avoid using IRQ0 on SH3 and SH4
    d199218881d7 media: atomisp: gmin_platform: fix out_len in gmin_get_config_dsm_var()
    c8470b7de8b4 media: venus: helpers: Fix ALIGN() of non power of two
    8339bd9181b1 mfd: rt5033: Drop rt5033-battery sub-device
    6d702c7a2203 coresight: Fix loss of connection info when a module is unloaded
    76efcb6cdaf9 i3c: master: svc: fix cpu schedule in spin lock
    c0ed8b804934 lkdtm: replace ll_rw_block with submit_bh
    f5d80ad7b678 kernfs: fix missing kernfs_idr_lock to remove an ID from the IDR
    9c4f52b61804 serial: 8250: lock port for UART_IER access in omap8250_irq()
    3a1ab191e00f serial: core: lock port for start_rx() in uart_resume_port()
    65a7cfc009b3 serial: 8250: lock port for stop_rx() in omap8250_irq()
    44470207dbc5 serial: core: lock port for stop_rx() in uart_suspend_port()
    c494fe1b6663 usb: misc: eud: Fix eud sysfs path (use 'qcom_eud')
    b5ab04a19ef1 usb: hide unused usbfs_notify_suspend/resume functions
    dd9b7c89a804 usb: phy: phy-tahvo: fix memory leak in tahvo_usb_probe()
    ac961d0571b4 extcon: Fix kernel doc of property capability fields to avoid warnings
    e4c94de6ca2f extcon: Fix kernel doc of property fields to avoid warnings
    e60a827ac074 usb: gadget: u_serial: Add null pointer check in gserial_suspend
    c3b322b84ab5 usb: dwc3: qcom: Fix potential memory leak
    6aecf5e19b8a staging: vchiq_arm: mark vchiq_platform_init() static
    2ed441a76374 clk: qcom: mmcc-msm8974: use clk_rcg2_shared_ops for mdp_clk_src clock
    3c4f7d49909d clk: qcom: dispcc-qcm2290: Fix GPLL0_OUT_DIV handling
    203ab7670432 clk: qcom: dispcc-qcm2290: Fix BI_TCXO_AO handling
    b80c4629e966 clk: qcom: ipq6018: fix networking resets
    b20854ef6c49 clk: qcom: reset: support resetting multiple bits
    0e481ef854a5 media: mediatek: vcodec: using decoder status instead of core work count
    42ec6269f98e media: hi846: fix usage of pm_runtime_get_if_in_use()
    1ac45cab77d6 media: i2c: Correct format propagation for st-mipid02
    8abb53c5167c media: usb: siano: Fix warning due to null work_func_t function pointer
    e230146b86b2 media: videodev2.h: Fix struct v4l2_input tuner index comment
    cb8e8950d70e media: amphion: initiate a drain of the capture queue in dynamic resolution change
    c0d500726ce2 media: amphion: drop repeated codec data for vc1g format
    bc43061b42c0 media: amphion: drop repeated codec data for vc1l format
    a8af55f7f487 media: usb: Check az6007_read() return value
    0b3d2aa627ad clk: qcom: gcc-qcm2290: Mark RCGs shared where applicable
    792998a8cf6b clk: qcom: gcc-ipq6018: Use floor ops for sdcc clocks
    f0cafc443c53 clk: qcom: camcc-sc7180: Add parent dependency to all camera GDSCs
    51e5f4e7206d clk: qcom: mmcc-msm8974: remove oxili_ocmemgx_clk
    9812b33d175c serial: 8250: omap: Fix freeing of resources on failed register
    b6e30a54a592 usb: dwc2: Fix some error handling paths
    98b6582b37da usb: dwc2: platform: Improve error reporting for problems during .remove()
    e91366b72c36 sh: j2: Use ioremap() to translate device tree address into kernel memory
    d6dd47743695 f2fs: do not allow to defragment files have FI_COMPRESS_RELEASED
    190bdec8a77f dt-bindings: power: reset: qcom-pon: Only allow reboot-mode pre-pmk8350
    c3f5604abab7 w1: fix loop in w1_fini()
    eab648537764 w1: w1_therm: fix locking behavior in convert_t
    ef047411887f SUNRPC: Fix UAF in svc_tcp_listen_data_ready()
    6f1c81886b0b btrfs: fix race when deleting free space root from the dirty cow roots list
    defc91422764 block: increment diskseq on all media change events
    28b58a8d10b3 block: change all __u32 annotations to __be32 in affs_hardblocks.h
    40d6a1261a9c block: add overflow checks for Amiga partition support
    a4c79ea1e9ed block: fix signed int overflow in Amiga partition support
    3eb4e47a94e3 ALSA: pcm: Fix potential data race at PCM memory allocation helpers
    14eb1a2b6f91 ALSA: jack: Fix mutex call in snd_jack_report()
    83c6725556d4 ALSA: hda/realtek: Add quirk for Clevo NPx0SNx
    21ce551a8592 ALSA: hda/realtek: Enable mute/micmute LEDs and limit mic boost on EliteBook
    e0d7a96b278a mm/mmap: Fix VM_LOCKED check in do_vmi_align_munmap()
    b91748bdbfb1 Revert "drm/amd/display: edp do not add non-edid timings"
    96b1bc9a6f65 iio: accel: fxls8962af: fixup buffer scan element type
    04a579517b88 iio: accel: fxls8962af: errata bug only applicable for FXLS8962AF
    fcdae54e3d2d iio: adc: ad7192: Fix internal/external clock selection
    b61f26a8a048 iio: adc: ad7192: Fix null ad7192_state pointer access
    238edc04ddb9 phy: tegra: xusb: Clear the driver reference in usb-phy dev
    c2a088413438 usb: dwc3: gadget: Propagate core init errors to UDC during pullup
    a0b369620326 USB: serial: option: add LARA-R6 01B PIDs
    f57e2c083040 md/raid1-10: fix casting from randomized structure in raid1_submit_write()
    b6872b4a7d8b x86/efi: Make efi_set_virtual_address_map IBT safe
    97669214944e arm64: sme: Use STR P to clear FFR context field in streaming SVE mode
    be54803be8b9 ksmbd: avoid field overflow warning
    babaab6ef641 smb: client: fix broken file attrs with nodfs mounts
    9fb981a86ae5 cifs: do all necessary checks for credits within or before locking
    4fe07d55a546 cifs: prevent use-after-free by freeing the cfile later
    e28d7a3f4bc5 efi/libstub: Disable PCI DMA before grabbing the EFI memory map
    1e596c181c53 kbuild: Disable GCOV for *.mod.o
    c5696a8a5484 hwrng: st - keep clock enabled while hwrng is registered
    d88158d81617 dax/kmem: Pass valid argument to memory_group_register_static
    7b8106d90572 dax: Introduce alloc_dev_dax_id()
    03859868ab82 dax: Fix dax_mapping_release() use after free
    1bf709b96250 SMB3: Do not send lease break acknowledgment if all file handles have been closed
    c2bf8d7b8f02 NFSv4.1: freeze the session table upon receiving NFS4ERR_BADSESSION
    705317843644 NFSv4.2: fix wrong shrinker_id
    08749a9005de crypto: qat - unmap buffers before free for RSA
    32b09834c3c7 crypto: qat - unmap buffer before free for DH
    da1729e6619c crypto: qat - Use helper to set reqsize
    2db49992fcec crypto: kpp - Add helper to set reqsize
    c14964fe8e95 ARC: define ASM_NL and __ALIGN(_STR) outside #ifdef __ASSEMBLY__ guard
    dd872d5576cc modpost: fix off by one in is_executable_section()
    64c358c9abae crypto: jitter - correct health test during initialization
    7ab0e37f8064 crypto: marvell/cesa - Fix type mismatch warning
    6852d82e6c59 modpost: fix section mismatch message for R_ARM_{PC24,CALL,JUMP24}
    1df287bd89c7 modpost: fix section mismatch message for R_ARM_ABS32
    5a4adb1eceba crypto: nx - fix build warnings when DEBUG_FS is not enabled
    2be41ef57c5a modpost: remove broken calculation of exception_table_entry size
    22c30022cde6 hwrng: virtio - Fix race on data_avail and actual data
    8f98749d536d vfio/mdev: Move the compat_class initialization to module init
    e2e52c8dfbfd PCI: vmd: Fix uninitialized variable usage in vmd_enable_domain()
    222f64e56b35 PCI: endpoint: functions/pci-epf-test: Fix dma_chan direction
    e14379d026d5 PCI: endpoint: Fix a Kconfig prompt of vNTB driver
    38b64bdb72e0 PCI: endpoint: Fix Kconfig indent style
    4e6c406ccb6f powerpc/mm/dax: Fix the condition when checking if altmap vmemap can cross-boundary
    ea356080c1cf powerpc/book3s64/mm: Fix DirectMap stats in /proc/meminfo
    526129937c47 riscv: uprobes: Restore thread.bad_cause
    d25166e1e9d4 PCI: qcom: Disable write access to read only registers for IP v2.9.0
    1cf0ecb0c74c PCI: qcom: Use DWC helpers for modifying the read-only DBI registers
    8640e941fd39 PCI: qcom: Use lower case for hex
    a350f1077711 PCI: qcom: Sort and group registers and bitfield definitions
    db962c7a711c PCI: qcom: Remove PCIE20_ prefix from register definitions
    865d128cab0d powerpc: update ppc_save_regs to save current r1 in pt_regs
    4cff1be1cbf6 powerpc: simplify ppc_save_regs
    d9a1aaea8560 powerpc/powernv/sriov: perform null check on iov before dereferencing iov
    0af388fce352 pinctrl: at91-pio4: check return value of devm_kasprintf()
    35404a47ba77 pinctrl: microchip-sgpio: check return value of devm_kasprintf()
    4e82f92c349e powerpc/64s: Fix VAS mm use after free
    75d65c1cc439 perf tool x86: Fix perf_env memory leak
    0dafc849b943 perf tool x86: Consolidate is_amd check into single function
    c94376dbd6cb platform/x86/dell/dell-rbtn: Fix resources leaking on error path
    9999a9f004e1 perf dwarf-aux: Fix off-by-one in die_get_varname()
    4e06e8b1f913 platform/x86: thinkpad_acpi: Fix lkp-tests warnings for platform profiles
    4309bd9e984a perf script: Fix allocation of evsel->priv related to per-event dump files
    7cfd31011135 powerpc/signal32: Force inlining of __unsafe_save_user_regs() and save_tm_user_regs_unsafe()
    af0c61c5bba0 powerpc/interrupt: Don't read MSR from interrupt_exit_kernel_prepare()
    081f642b316f kcsan: Don't expect 64 bits atomic builtins from 32 bits architectures
    c32afc7e864c pinctrl: npcm7xx: Add missing check for ioremap
    fc45a8be5e52 pinctrl:sunplus: Add check for kmalloc
    8362ea615803 platform/x86: think-lmi: Correct NVME password handling
    699b59310126 platform/x86: think-lmi: Correct System password interface
    61545eb787fe platform/x86: think-lmi: mutex protection around multiple WMI calls
    d1390b057d59 pinctrl: cherryview: Return correct value if pin in push-pull mode
    1ebe7d40ed7f perf bench: Add missing setlocale() call to allow usage of %'d style formatting
    251c6615a7e9 scsi: lpfc: Revise NPIV ELS unsol rcv cmpl logic to drop ndlp based on nlp_state
    7d3664d24f32 PCI: Add pci_clear_master() stub for non-CONFIG_PCI
    019d4fd93a5a pinctrl: sunplus: Add check for kmalloc
    bc796f65cdc8 PCI: ftpci100: Release the clock resources
    a982c13e11fb PCI: pciehp: Cancel bringup sequence if card is not present
    6c1b079e266b scsi: 3w-xxxx: Add error handling for initialization failure in tw_probe()
    7aecdd47910c PCI/ASPM: Disable ASPM on MFD function removal to avoid use-after-free
    3a080e1b1145 platform/x86: lenovo-yogabook: Set default keyboard backligh brightness on probe()
    fa177f7011c8 platform/x86: lenovo-yogabook: Reprobe devices on remove()
    3e6c92a34660 platform/x86: lenovo-yogabook: Fix work race on remove()
    727fb7083e65 pinctrl: bcm2835: Handle gpiochip_add_pin_range() errors
    c316bde418af scsi: qedf: Fix NULL dereference in error handling
    c52502b67424 PCI: vmd: Reset VMD config register between soft reboots
    ebafa12c8f23 PCI: cadence: Fix Gen2 Link Retraining process
    79e1d940fde5 ASoC: amd: acp: clear pdm dma interrupt mask
    c6764757e843 ARM: dts: lan966x: kontron-d10: fix SPI CS
    712a7f3a06c9 ARM: dts: lan966x: kontron-d10: fix board reset
    49451db71b74 clk: Fix memory leak in devm_clk_notifier_register()
    03a705c1d7cb ASoC: imx-audmix: check return value of devm_kasprintf()
    e4f2a1feebb3 ovl: update of dentry revalidate flags after copy up
    83356d6f0ad2 drivers: meson: secure-pwrc: always enable DMA domain
    511b47f8cb8b clk: ti: clkctrl: check return value of kasprintf()
    67684f0688de clk: keystone: sci-clk: check return value of kasprintf()
    a20450f4735b clk: si5341: free unused memory on probe failure
    11581850a714 clk: si5341: check return value of {devm_}kasprintf()
    0a89a906ba9f clk: si5341: return error if one synth clock registration fails
    5470a0e81f6f clk: cdce925: check return value of kasprintf()
    0b5c9e9695f8 clk: vc5: check memory returned by kasprintf()
    af8affd12375 drm/msm/dpu: correct MERGE_3D length
    0e2c51a16fcb drm/amdgpu: Fix usage of UMC fill record in RAS
    8d68ba92554b drm/amdgpu: Fix memcpy() in sienna_cichlid_append_powerplay_table function.
    643a85190a98 arm64: dts: mediatek: mt8192: Fix CPUs capacity-dmips-mhz
    846c79d2a5f6 arm64: dts: mediatek: Add cpufreq nodes for MT8192
    4e9f1a2367ae drm/msm/dp: Free resources after unregistering them
    ecf02762d476 drm/msm/dsi: Remove incorrect references to slice_count
    ef25872788e5 drm/msm/dsi: Flip greater-than check for slice_count and slice_per_intf
    937da3db61bf drm/msm/dsi: Use DSC slice(s) packet size to compute word count
    bc6d856b1c80 drm/msm/dpu: Fix slice_last_group_size calculation
    7dca0dde50af drm/msm/dpu: do not enable color-management if DSPPs are not available
    d28b83252e15 ALSA: ac97: Fix possible NULL dereference in snd_ac97_mixer
    96bafece6ff3 clk: tegra: tegra124-emc: Fix potential memory leak
    b35cb0c05b8d clk: clocking-wizard: Fix Oops in clk_wzrd_register_divider()
    9ff9f928c638 clk: bcm: rpi: Fix off by one in raspberrypi_discover_clocks()
    4842a846398a arm64: dts: qcom: sm8250-edo: Panel framebuffer is 2.5k instead of 4k
    7089f1aa0b55 arm64: dts: qcom: sdm845: Flush RSC sleep & wake votes
    6317d0302655 clk: imx: clk-imx8mp: improve error handling in imx8mp_clocks_probe()
    280a5ff665e1 clk: imx93: fix memory leak and missing unwind goto in imx93_clocks_probe
    9ba3693b0350 clk: imx: clk-imx8mn: fix memory leak in imx8mn_clocks_probe
    1839032251a6 clk: imx: clk-imxrt1050: fix memory leak in imxrt1050_clocks_probe
    bf7ab557d64a RDMA/bnxt_re: Avoid calling wake_up threads from spin_lock context
    c9be352be9bb RDMA/bnxt_re: wraparound mbox producer index
    154bed0fd609 drm/msm/a5xx: really check for A510 in a5xx_gpu_init
    b10db1d21374 amdgpu: validate offset_in_bo of drm_amdgpu_gem_va
    1afca9e0fe94 RDMA/rxe: Fix access checks in rxe_check_bind_mw
    0cd210c594a6 RDMA/rxe: Replace pr_xxx by rxe_dbg_xxx in rxe_mw.c
    34bbf074f729 RDMA/rxe: Add ibdev_dbg macros for rxe
    78cb71dd609b HID: uclogic: Modular KUnit tests should not depend on KUNIT=y
    1420545b8a15 drm/radeon: fix possible division-by-zero errors
    c1164aeb9691 drm/amd/display: Fix artifacting on eDP panels when engaging freesync video mode
    82934a338b4f soc: mediatek: SVS: Fix MT8192 GPU node name
    fabadad9e28d drm/amdkfd: Fix potential deallocation of previously deallocated memory.
    384717042de8 drm/amd/display: Fix a test dml32_rq_dlg_get_rq_reg()
    36786e2a7331 drm/amd/display: Fix a test CalculatePrefetchSchedule()
    4812faba0a76 clk: Export clk_hw_forward_rate_request()
    90d4c487cd65 ARM: dts: BCM5301X: fix duplex-full => full-duplex
    1ae94553dcfb hwmon: (pmbus/adm1275) Fix problems with temperature monitoring on ADM1272
    421d35912766 hwmon: (gsc-hwmon) fix fan pwm temperature scaling
    9e633411d143 ARM: dts: stm32: fix i2s endpoint format property for stm32mp15xx-dkx
    dc2707deeb8d ARM: dts: stm32: Fix audio routing on STM32MP15xx DHCOM PDK2
    03b2c470a136 Input: pm8941-powerkey - fix debounce on gen2+ PMICs
    421ce97657a8 arm64: dts: ti: k3-j7200: Fix physical address of pin
    3b4c21804076 fbdev: omapfb: lcd_mipid: Fix an error handling path in mipid_spi_probe()
    52b04ac85f5f drm/msm/dpu: set DSC flush bit correctly at MDP CTL flush register
    6878bdd75718 arm64: dts: renesas: ulcb-kf: Remove flow control for SCIF1
    5d14292dba95 ARM: dts: iwg20d-q7-common: Fix backlight pwm specifier
    766e0b6f4c96 RDMA/hns: Fix hns_roce_table_get return value
    b99395ab605f IB/hfi1: Fix wrong mmu_node used for user SDMA packet after invalidate
    ebec507398e1 RDMA/irdma: avoid fortify-string warning in irdma_clr_wqes
    750f0a302a10 soc/fsl/qe: fix usb.c build errors
    b2194d7dfc95 ARM: dts: meson8: correct uart_B and uart_C clock references
    863054be8d4d ASoC: es8316: Do not set rate constraints for unsupported MCLKs
    3b575d93020f ASoC: es8316: Increment max value for ALC Capture Target Volume control
    c02f27c2950a ARM: dts: qcom: apq8074-dragonboard: Set DMA as remotely controlled
    9f79e638d451 memory: brcmstb_dpfe: fix testing array offset after use
    09722ac9f1e5 ARM: dts: stm32: Shorten the AV96 HDMI sound card name
    666be7fef4d3 arm64: dts: mediatek: mt8183: Add mediatek,broken-save-restore-fw to kukui
    1bdb9751b4c6 arm64: dts: qcom: apq8096: fix fixed regulator name property
    75c019119ebc arm64: dts: qcom: pm7250b: add missing spmi-vadc include
    c63997426da6 ARM: omap2: fix missing tick_broadcast() prototype
    e91ffbd65533 ARM: ep93xx: fix missing-prototype warnings
    deda0761dc61 drm/panel: simple: fix active size for Ampire AM-480272H3TMQW-T01H
    25a724c2fa3d drm/bridge: ti-sn65dsi83: Fix enable/disable flow to meet spec
    5044e5f2511c drm/bridge: Introduce pre_enable_prev_first to alter bridge init order
    1d9473b88e01 arm64: dts: qcom: apq8016-sbc: Fix 1.8V power rail on LS expansion
    638d54f5c566 arm64: dts: qcom: apq8016-sbc: Fix regulator constraints
    2ad75715fc48 arm64: dts: qcom: sdm845-polaris: add missing touchscreen child node reg
    266cf247dd88 arm64: dts: qcom: sm8350: correct DMA controller unit address
    42d0fbbbf4ca arm64: dts: qcom: sm8350: Add GPI DMA compatible fallback
    aa14fefca239 arm64: dts: qcom: sdm845: correct camss unit address
    e3789d63a33b arm64: dts: qcom: sdm630: correct camss unit address
    173b6412a5c2 arm64: dts: qcom: msm8996: correct camss unit address
    4d810c12d6e1 arm64: dts: qcom: msm8994: correct SPMI unit address
    98cd40521773 arm64: dts: qcom: msm8916: correct MMC unit address
    aa2d2407f5d2 arm64: dts: qcom: msm8916: correct camss unit address
    0cff84682006 ARM: dts: qcom: msm8974: do not use underscore in node name (again)
    376daf3aa897 drm/bridge: anx7625: Prevent endless probe loop
    4536679f7911 drm/bridge: anx7625: Convert to i2c's .probe_new()
    93a03780357e ARM: dts: gta04: Move model property out of pinctrl node
    af5bcfb4f8b5 clk: renesas: rzg2l: Fix CPG_SIPLL5_CLK1 register write
    2128318c9130 iommu/virtio: Return size mapped for a detached domain
    0f2c11ccfdcc iommu/virtio: Detach domain on endpoint release
    ed41f708b35a drm/msm/dpu: Set DPU_DATA_HCTL_EN for in INTF_SC7180_MASK
    f4c6e5d7349e drm/msm/disp/dpu: get timing engine status from intf status register
    74abb8d3cd97 drm/msm/dsi: don't allow enabling 14nm VCO with unprogrammed rate
    dd129da1fd74 RDMA/bnxt_re: Fix to remove an unnecessary log
    c37eca42ac6b RDMA/bnxt_re: Remove a redundant check inside bnxt_re_update_gid
    66eb6c47b570 RDMA/bnxt_re: Use unique names while registering interrupts
    f2279e3e3876 RDMA/bnxt_re: Fix to remove unnecessary return labels
    b43b06449870 RDMA/bnxt_re: Disable/kill tasklet only if it is enabled
    280e58d8b0e9 hwmon: (f71882fg) prevent possible division by zero
    08cc7cd2c2a2 clk: imx: scu: use _safe list iterator to avoid a use after free
    3fc9637f37a7 drm/bridge: tc358767: Switch to devm MIPI-DSI helpers
    929b6c6e6a56 arm64: dts: microchip: sparx5: do not use PSCI on reference boards
    13602e613246 bus: ti-sysc: Fix dispc quirk masking bool variables
    46a8dff2103b ARM: dts: stm32: Move ethernet MAC EEPROM from SoM to carrier boards
    7a3c39e34cab drm/vkms: Fix RGB565 pixel conversion
    048b7168acf8 drm: Add fixed-point helper to get rounded integer values
    fa4ee16e814a drm/vkms: isolate pixel conversion functionality
    9d59f5f52cb4 ASoC: Intel: sof_sdw: remove SOF_SDW_TGL_HDMI for MeteorLake devices
    49fca83f6f3f driver: soc: xilinx: use _safe loop iterator to avoid a use after free
    39bdb97f8720 drm/panel: sharp-ls043t1le01: adjust mode settings
    aeca0e1c3374 drm: sun4i_tcon: use devm_clk_get_enabled in `sun4i_tcon_init_clocks`
    ac96a15163f5 Input: adxl34x - do not hardcode interrupt trigger type
    3134cc51e996 clk: rs9: Fix .driver_data content in i2c_device_id
    6014e7422c8d clk: vc7: Fix .driver_data content in i2c_device_id
    53b5b4d1a80e clk: vc5: Fix .driver_data content in i2c_device_id
    4db655d1b25d bootmem: remove the vmemmap pages from kmemleak in free_bootmem_page
    548b67c0aad4 clk: vc5: Use `clamp()` to restrict PLL range
    50fb32197f60 mm: call arch_swap_restore() from do_swap_page()
    5cf97c2df27f ARM: dts: meson8b: correct uart_B and uart_C clock references
    2b55a9857278 ARM: dts: BCM5301X: Drop "clock-names" from the SPI node
    2dc8b685d99c drm/vram-helper: fix function names in vram helper doc
    8e739c8c6efb drm/bridge: tc358768: fix THS_TRAILCNT computation
    010f68aecde4 drm/bridge: tc358768: fix TXTAGOCNT computation
    7b1931573702 drm/bridge: tc358768: fix THS_ZEROCNT computation
    2545a8d06ad8 drm/bridge: tc358768: fix TCLK_TRAILCNT computation
    587ba0805e4f drm/bridge: tc358768: Add atomic_get_input_bus_fmts() implementation
    06dc491cf4e3 drm/bridge: tc358768: fix TCLK_ZEROCNT computation
    9d56ec0b24bf drm/bridge: tc358768: fix PLL target frequency
    d2aad3c1e400 drm/bridge: tc358768: fix PLL parameters computation
    c4cf126320bc drm/bridge: tc358768: always enable HS video mode
    63f3bc83b1df drm/bridge: ti-sn65dsi83: Fix enable error path
    df3b7e337d71 Input: drv260x - sleep between polling GO bit
    9d27705e3ce1 drm/bridge: it6505: Move a variable assignment behind a null pointer check in receive_timing_debugfs_show()
    9fbe61e3c245 drm/amd/display: Explicitly specify update type per plane info change
    cb86b0e3d9d3 radeon: avoid double free in ci_dpm_init()
    064e33b3591e drm/amd/display: Add logging for display MALL refresh setting
    3b3186c77020 netlink: Add __sock_i_ino() for __netlink_diag_dump().
    f6d2e25c647f ipvlan: Fix return value of ipvlan_queue_xmit()
    d6cf5026af73 netfilter: nf_conntrack_sip: fix the ct_sip_parse_numerical_param() return value.
    5c618daa5038 netfilter: conntrack: dccp: copy entire header to stack buffer, not just basic one
    cfcb9f0a499d lib/ts_bm: reset initial match offset for every block of text
    425d9d3a92df net: nfc: Fix use-after-free caused by nfc_llcp_find_local
    446f55679343 sfc: fix crash when reading stats while NIC is resetting
    94817712b500 ocfs2: Fix use of slab data with sendpage
    8c438ff5d9e3 net: axienet: Move reset before 64-bit DMA detection
    17d6b6354f00 gtp: Fix use-after-free in __gtp_encap_destroy().
    b48c24392d86 selftests: rtnetlink: remove netdevsim device after ipsec offload test
    37b6143376a5 bonding: do not assume skb mac_header is set
    e9331c8fa4c6 netlink: do not hard code device address lenth in fdb dumps
    61ffe8b1ee08 netlink: fix potential deadlock in netlink_set_err()
    509d5d40c249 net: stmmac: fix double serdes powerdown
    12bcb533280b can: kvaser_pciefd: Set hardware timestamp on transmitted packets
    70ace9ba2052 can: kvaser_pciefd: Add function to set skb hwtstamps
    787b4042098f can: length: fix bitstuffing count
    cfb310623413 bpf: Fix bpf socket lookup from tc/xdp to respect socket VRF bindings
    c7415c521abd bpf: Call __bpf_sk_lookup()/__bpf_skc_lookup() directly via TC hookpoint
    5e9b38de6633 bpf: Factor out socket lookup functions for the TC hookpoint.
    e3754e97414e wifi: ath9k: convert msecs to jiffies where needed
    52bc4b89cdee wifi: iwlwifi: mvm: indicate HW decrypt for beacon protection
    ed98f5c07491 mmc: Add MMC_QUIRK_BROKEN_SD_CACHE for Kingston Canvas Go Plus from 11/2019
    f114b159b2c1 wifi: ieee80211: Fix the common size calculation for reconfiguration ML
    ffb0733664cc wifi: cfg80211/mac80211: Fix ML element common size calculation
    132b7129c5fe wifi: cfg80211: fix regulatory disconnect with OCB/NAN
    27268ba34774 wifi: cfg80211: drop incorrect nontransmitted BSS update code
    0862669693cf wifi: cfg80211: rewrite merging of inherited elements
    d875120c3520 wifi: mac80211: Remove "Missing iftype sband data/EHT cap" spam
    2d690495eb27 wifi: iwlwifi: pcie: fix NULL pointer dereference in iwl_pcie_irq_rx_msix_handler()
    657a83f079ba wifi: iwlwifi: pull from TXQs with softirqs disabled
    41b1704fad64 wifi: ath11k: Add missing check for ioremap
    228dd5d5fda0 rtnetlink: extend RTEXT_FILTER_SKIP_STATS to IFLA_VF_INFO
    c682018f5c92 wifi: mac80211: Fix permissions for valid_links debugfs entry
    41fc1c56787f wifi: ath9k: Fix possible stall on ath9k_txq_list_has_key()
    16b5292beeee memstick r592: make memstick_debug_get_tpc_name() static
    93126e39662b mmc: mediatek: Avoid ugly error message when SDIO wakeup IRQ isn't used
    fd4f89302fe0 kexec: fix a memory leak in crash_shrink_memory()
    6525435d147b watchdog/perf: more properly prevent false positives with turbo modes
    a3cf423b582a watchdog/perf: define dummy watchdog_update_hrtimer_threshold() on correct config
    b27af27fc9d5 selftests: cgroup: fix unexpected failure on test_memcg_low
    75704a10eac2 ice: handle extts in the miscellaneous interrupt thread
    77f09d836bc9 wifi: rsi: Do not set MMC_PM_KEEP_POWER in shutdown
    eb205a069081 wifi: rsi: Do not configure WoWlan in shutdown hook if not enabled
    54257a763443 selftests/bpf: Fix check_mtu using wrong variable type
    da79a0bc36c5 wifi: mac80211: recalc min chandef for new STA links
    272240f20df3 wifi: ath10k: Trigger STA disconnect after reconfig complete on hardware restart
    cf5beb8ce97a samples/bpf: xdp1 and xdp2 reduce XDPBUFSIZE to 60
    09740fa9827c wifi: ath9k: don't allow to overwrite ENDPOINT0 attributes
    0d89e50952b5 wifi: ray_cs: Fix an error handling path in ray_probe()
    3d218755c4b6 wifi: wl3501_cs: Fix an error handling path in wl3501_probe()
    d5569b970b81 wifi: atmel: Fix an error handling path in atmel_probe()
    e48b7c2416d9 wifi: orinoco: Fix an error handling path in orinoco_cs_probe()
    9a201822ade5 wifi: orinoco: Fix an error handling path in spectrum_cs_probe()
    4fc6481323df regulator: core: Streamline debugfs operations
    6a241e6b9ed2 regulator: core: Fix more error checking for debugfs_create_dir()
    be84e69082b2 selftests/bpf: Do not use sign-file as testcase
    20109ddd5bea bpf: Fix memleak due to fentry attach failure
    8ea165e1f89d bpf: Remove bpf trampoline selector
    1949721c741b bpftool: JIT limited misreported as negative value on aarch64
    bac93b35f973 nfc: llcp: fix possible use of uninitialized variable in nfc_llcp_send_connect()
    34d04d70194d spi: dw: Round of n_bytes to power of 2
    c6a9fc82fe18 bpf: Don't EFAULT for {g,s}setsockopt with wrong optlen
    34fe7aa8ef1d libbpf: fix offsetof() and container_of() to work with CO-RE
    8404f8de1e23 sctp: add bpf_bypass_getsockopt proto callback
    f21f2ae56210 wifi: mwifiex: Fix the size of a memory allocation in mwifiex_ret_802_11_scan()
    51cb8329f210 wifi: wilc1000: fix for absent RSN capabilities WFA testcase
    ded1a7a570b0 spi: spi-geni-qcom: Correct CS_TOGGLE bit in SPI_TRANS_CFG
    56c25f2763a1 samples/bpf: Fix buffer overflow in tcp_basertt
    a7434a4dcc71 libbpf: btf_dump_type_data_check_overflow needs to consider BTF_MEMBER_BITFIELD_SIZE
    d1c2ff2bd84c wifi: ath9k: avoid referencing uninit memory in ath9k_wmi_ctrl_rx
    6928d6e9b094 wifi: ath9k: fix AR9003 mac hardware hang check register offset calculation
    bb3a9ed2b11a igc: Enable and fix RX hash usage by netstack
    f57ba91a46d3 pstore/ram: Add check for kstrdup
    2672144b86a1 ima: Fix build warnings
    9085f2ca941f evm: Fix build warnings
    b050ade6e05b evm: Complete description of evm_inode_setattr()
    ea1432a402ab locking/atomic: arm: fix sync ops
    6b54f5c68474 x86/mm: Fix __swp_entry_to_pte() for Xen PV guests
    3745f628c328 perf/ibs: Fix interface via core pmu events
    64d09c0e832d kselftest: vDSO: Fix accumulation of uninitialized ret when CLOCK_REALTIME is undefined
    b8a6ba524d41 rcu/rcuscale: Stop kfree_scale_thread thread(s) after unloading rcuscale
    3506e64ec161 rcu/rcuscale: Move rcu_scale_*() after kfree_scale_cleanup()
    7a3492219408 rcuscale: Move shutdown from wait_event() to wait_event_idle()
    a0a1f1c92488 rcutorture: Correct name of use_softirq module parameter
    b1cdc56bc177 rcu-tasks: Stop rcu_tasks_invoke_cbs() from using never-onlined CPUs
    d58f0f0ce633 rcu: Make rcu_cpu_starting() rely on interrupts being disabled
    5d56a8d670a5 thermal/drivers/sun8i: Fix some error handling paths in sun8i_ths_probe()
    2b7e2251c434 cpufreq: intel_pstate: Fix energy_performance_preference for passive
    50d64210eeb1 ARM: 9303/1: kprobes: avoid missing-declaration warnings
    3f9e54eb38ea PM: domains: Move the verification of in-params from genpd_add_device()
    f1f5248cedde powercap: RAPL: Fix CONFIG_IOSF_MBI dependency
    be9c8c9c84b6 drivers/perf: hisi: Don't migrate perf to the CPU going to teardown
    6b025ec148e8 x86/tdx: Fix race between set_memory_encrypted() and load_unaligned_zeropad()
    c598fefef321 x86/mm: Allow guest.enc_status_change_prepare() to fail
    3e03681f0720 perf/arm-cmn: Fix DTC reset
    6368a71dca09 PM: domains: fix integer overflow issues in genpd_parse_state()
    919dd531ebb7 clocksource/drivers/cadence-ttc: Fix memory leak in ttc_timer_probe
    2d3f42d22f32 tracing/timer: Add missing hrtimer modes to decode_hrtimer_mode().
    77cc52f1b8d7 tick/rcu: Fix bogus ratelimit condition
    e7aff15ba29b posix-timers: Prevent RT livelock in itimer_delete()
    9a534100382a erofs: fix compact 4B support for 16k block size
    ec94df6bcfb0 erofs: simplify iloc()
    423453bb506e svcrdma: Prevent page release when nothing was received
    faf004e98d02 irqchip/jcore-aic: Fix missing allocation of IRQ descriptors
    0cf83d3698fb irqchip/stm32-exti: Fix warning on initialized field overwritten
    aa07e56c6a9c block: fix blktrace debugfs entries leakage
    067c08f78dd1 md/raid1-10: submit write io directly if bitmap is not enabled
    f98b89fbf8fa md/raid1-10: factor out a helper to submit normal write
    fa0f13a8338f md/raid1-10: factor out a helper to add bio to plug
    a5a1ec06ef2f md/raid10: fix io loss while replacement replace rdev
    222cc459d598 md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request
    05d10428e8df md/raid10: fix wrong setting of max_corr_read_errors
    b5cb16d31b8a md/raid10: fix overflow of md/safe_mode_delay
    be1a3ec63a84 md/raid10: check slab-out-of-bounds in md_bitmap_get_counter
    e1379e067b94 nvme-core: fix dev_pm_qos memleak
    bf3c2caab9d1 nvme-core: add missing fault-injection cleanup
    a584cf03ff8b nvme-auth: don't ignore key generation failures when initializing ctrl keys
    43d0724d756a nvme-core: fix memory leak in dhchap_ctrl_secret
    2e9b14130755 nvme-core: fix memory leak in dhchap_secret_store
    0a220ef9dda6 nvme-auth: no need to reset chap contexts on re-authentication
    3999c850e78a nvme-auth: remove symbol export from nvme_auth_reset
    9de0a1dfe3e6 nvme-auth: rename authentication work elements
    3f6c98889780 nvme-auth: rename __nvme_auth_[reset|free] to nvme_auth[reset|free]_dhchap
    ce16368280c9 lockd: drop inappropriate svc_get() from locked_get()
    931bd6758bcc blk-mq: fix potential io hang by wrong 'wake_batch'
    c2a0eb3b2017 virt: sevguest: Add CONFIG_CRYPTO dependency
    7ca5e95f2a3e x86/sev: Fix calculation of end address based on number of pages
    8ceeb3fc86a8 blk-iocost: use spin_lock_irqsave in adjust_inuse_and_calc_cost
    c0df91653586 x86/resctrl: Only show tasks' pid in current pid namespace
    d3b39ea24835 erofs: kill hooked chains to avoid loops on deduplicated compressed images
    daed10290bc7 erofs: move zdata.h into zdata.c
    041ff2c21b00 erofs: remove tagged pointer helpers
    3379f13ebc1e erofs: avoid tagged pointers to mark sync decompression
    3564500b0d1e erofs: clean up cached I/O strategies
    73b9d7ea08e2 block: Fix the type of the second bdev_op_is_zoned_write() argument
    0fd958feaee1 fs: pipe: reveal missing function protoypes
    9f12effd40d7 drm: use mgr->dev in drm_dbg_kms in drm_dp_add_payload_part2

(From OE-Core rev: 5804204cb92dae78c78f8c0054959e4b2a255a32)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 12:40:14 +01:00
Bruce Ashfield
c0ef49e86c linux-yocto/6.4: update to v6.4.6
Updating  to the latest korg -stable release that comprises
the following commits:

    79562f63d621 Linux 6.4.6
    9b8bb5c4e256 x86/cpu/amd: Add a Zenbleed fix
    fee9e8639658 x86/cpu/amd: Move the errata checking functionality up
    bcecfeef53d4 Linux 6.4.5
    4db0b9e4ab8a net/ncsi: change from ndo_set_mac_address to dev_set_mac_address
    3bcc68a429c1 net/ncsi: make one oem_gma function for all mfr id
    328f520540db drm/atomic: Fix potential use-after-free in nonblocking commits
    c1748049c097 Revert "drm/amd: Disable PSR-SU on Parade 0803 TCON"
    9ccdf2eccac7 MIPS: kvm: Fix build error with KVM_MIPS_DEBUG_COP0_COUNTERS enabled
    38f16f0c2c22 net: dsa: ocelot: unlock on error in vsc9959_qos_port_tas_set()
    f425c44c9af7 scsi: qla2xxx: Fix end of loop test
    92529387a006 scsi: qla2xxx: Remove unused nvme_ls_waitq wait queue
    22b1d7c8bb59 scsi: qla2xxx: Pointer may be dereferenced
    824ff8d1c89a scsi: qla2xxx: Correct the index of array
    ced5460eae77 scsi: qla2xxx: Check valid rport returned by fc_bsg_to_rport()
    af7affc0f6b8 scsi: qla2xxx: Fix potential NULL pointer dereference
    d5e7c9cd56e9 scsi: qla2xxx: Fix buffer overrun
    7bbeff613ec0 scsi: qla2xxx: Avoid fcport pointer dereference
    e934737e18ff scsi: qla2xxx: Array index may go out of bound
    38144f42f236 scsi: qla2xxx: Fix mem access after free
    5bcdaafd92be scsi: qla2xxx: Wait for io return on terminate rport
    78f0e86e361d scsi: qla2xxx: Fix hang in task management
    8815992d6868 scsi: qla2xxx: Fix task management cmd fail due to unavailable resource
    d7ab6f2504aa scsi: qla2xxx: Fix task management cmd failure
    7687186efc4d scsi: qla2xxx: Multi-que support for TMF
    4262f38e5b90 tracing/user_events: Fix struct arg size match check
    3a4d026899a1 tracing/probes: Fix to record 0-length data_loc in fetch_store_string*() if fails
    05304990f326 Revert "tracing: Add "(fault)" name injection to kernel probes"
    d0b9d2616261 tracing/probes: Fix to update dynamic data counter if fetcharg uses it
    923e1b331635 tracing/probes: Fix not to count error code to total length
    3efe0c1b4085 tracing/probes: Fix to avoid double count of the string length on the array
    e48b4d77fc1f smb: client: Fix -Wstringop-overflow issues
    0809de8fefbd selftests: mptcp: pm_nl_ctl: fix 32-bit support
    3e1de5a0ad3c selftests: mptcp: depend on SYN_COOKIES
    07e5fb9a29aa selftests: mptcp: userspace_pm: report errors with 'remove' tests
    eb7a979f6c35 selftests: mptcp: userspace_pm: use correct server port
    31ed3efae7b0 selftests: mptcp: sockopt: return error if wrong mark
    650f2bddffa6 selftests: mptcp: connect: fail if nft supposed to work
    926d63dd116d selftests: mptcp: sockopt: use 'iptables-legacy' if available
    7b8e734d7b93 mptcp: ensure subflow is unhashed before cleaning the backlog
    8953d2aaf507 mptcp: do not rely on implicit state check in mptcp_listen()
    1e1c9aa9288a tracing: Fix null pointer dereference in tracing_err_log_open()
    af2c39d87fcf fprobe: Ensure running fprobe_exit_handler() finished before calling rethook_free()
    03d63255a578 fprobe: Release rethook after the ftrace_ops is unregistered
    2d63081c7c3f accel/ivpu: Clear specific interrupt status bits on C0
    b978f392ebf0 accel/ivpu: Fix VPU register access in irq disable
    b55c769efa96 pwm: meson: fix handling of period/duty if greater than UINT_MAX
    f50a7fd012b1 pwm: meson: modify and simplify calculation in meson_pwm_get_state
    c52fc6ed367b PM: QoS: Restore support for default value on frequency QoS
    aee811c6c744 perf/x86: Fix lockdep warning in for_each_sibling_event() on SPR
    20c91d232631 xtensa: ISS: fix call to split_if_spec
    bc0b7ba07668 cifs: if deferred close is disabled then close files immediately
    a924e0fa77d0 drm/amd/pm: conditionally disable pcie lane/speed switching for SMU13
    0614fc44c636 drm/amd/pm: share the code around SMU13 pcie parameters update
    dc8d22f061df ftrace: Fix possible warning on checking all pages used in ftrace_process_locs()
    27bdd93e44cc ring-buffer: Fix deadloop issue on reading trace_pipe
    0939c264729d net: ena: fix shift-out-of-bounds in exponential backoff
    6e7b2337ecd0 regmap-irq: Fix out-of-bounds access when allocating config buffers
    8270d539a943 perf: RISC-V: Remove PERF_HES_STOPPED flag checking in riscv_pmu_start()
    f5997d173cdc samples: ftrace: Save required argument registers in sample trampolines
    b9621ce759e1 nvme: don't reject probe due to duplicate IDs for single-ported PCIe devices
    3f42d57a76e7 tracing: Fix memory leak of iter->temp when reading trace_pipe
    4a540f63618e tracing/histograms: Add histograms to hist_vars if they have referenced variables
    52c16b9fb910 dm: verity-loadpin: Add NULL pointer check for 'bdev' parameter
    9ea29ff30e6d s390/decompressor: fix misaligned symbol build error
    5b5f46317af5 bus: ixp4xx: fix IXP4XX_EXP_T1_MASK
    ed60e0031cbe Revert "8250: add support for ASIX devices with a FIFO bug"
    6f198932e005 media: uapi: Fix [GS]_ROUTING ACTIVE flag value
    32eb67d7360d soundwire: qcom: fix storing port config out-of-bounds
    c05e76d6b249 opp: Fix use-after-free in lazy_opp_tables after probe deferral
    11394a9eb18d meson saradc: fix clock divider mask length
    d2ac73ed512d xhci: Show ZHAOXIN xHCI root hub speed correctly
    3c3f95e5dbef xhci: Fix TRB prefetch issue of ZHAOXIN hosts
    8f16f4a3db78 xhci: Fix resume issue of some ZHAOXIN hosts
    51ca4bffdd22 arm64: errata: Mitigate Ampere1 erratum AC03_CPU_38 at stage-2
    c427221733d4 nfp: clean mc addresses in application firmware when closing port
    83040d3908b2 ceph: don't let check_caps skip sending responses for revoke msgs
    ce0ce5a5828e ceph: fix blindly expanding the readahead windows
    a18bb9f95eaa ceph: add a dedicated private data for netfs rreq
    0a6db5646777 libceph: harden msgr2.1 frame segment length checks
    7363de081c79 firmware: stratix10-svc: Fix a potential resource leak in svc_create_memory_pool()
    02b6e3cf23e6 tty: fix hang on tty device with no_room set
    2e97d6ecc55f tty: serial: imx: fix rs485 rx after tx
    1f426293fef1 tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk
    1694fc8ad734 tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() in case of error
    607fa9311235 serial: atmel: don't enable IRQs prematurely
    4a5b37ea6797 drm/ttm: Don't leak a resource on swapout move error
    6aea0032380b drm/ttm: Don't leak a resource on eviction error
    985560bdbf66 drm/amd/pm: fix smu i2c data read risk
    478e83b96931 drm/amdgpu: avoid restore process run into dead loop.
    7b58666b1e29 drm/amd/display: Add monitor specific edid quirk
    7c535cf9f62f drm/amd/display: Correct `DMUB_FW_VERSION` macro
    8961ce852fec drm/amd/display: Fix 128b132b link loss handling
    6593bd908f93 drm/amd/display: add a NULL pointer check
    8b7fb7d4fd1e drm/amd: Disable PSR-SU on Parade 0803 TCON
    733a1854db14 drm/amdgpu: fix clearing mappings for BOs that are always valid in VM
    4dae95b1e0cc drm/amd/display: disable seamless boot if force_odm_combine is enabled
    ca60e64d508e drm/amd/display: Remove Phantom Pipe Check When Calculating K1 and K2
    3bbd9b0bb7eb drm/amd/display: edp do not add non-edid timings
    0a494893bf63 drm/amd/display: fix seamless odm transitions
    dd1c1dd24fc0 drm/amd/display: Fix in secure display context creation
    7a1cf6495808 drm/amd/display: Limit DCN32 8 channel or less parts to DPM1 for FPO
    104d79eb58aa drm/dp_mst: Clear MSG_RDY flag before sending new message
    999b3d17af96 drm/rockchip: vop: Leave vblank enabled in self-refresh
    679aa391f161 drm/atomic: Allow vblank-enabled + self-refresh "disable"
    311558d2f8fe scsi: lpfc: Fix double free in lpfc_cmpl_els_logo_acc() caused by lpfc_nlp_not_used()
    eb8282cceacc fs: dlm: fix missing pending to false
    e6f620597785 fs: dlm: clear pending bit when queue was empty
    1a3a8048b7e9 fs: dlm: fix mismatch of plock results from userspace
    8293a61ab923 fs: dlm: make F_SETLK use unkillable wait_event
    27edf3c76f65 fs: dlm: interrupt posix locks only when process is killed
    c80b05b8a30f fs: dlm: fix cleanup pending ops when interrupted
    a2e6385e9bfb fs: dlm: return positive pid value for F_GETLK
    27eb7f1e3755 md/raid0: add discard support for the 'original' layout
    7a0c60e6781b mfd: pm8008: Fix module autoloading
    892667b7796e misc: pci_endpoint_test: Re-init completion for every test
    38d12bcf4e2c misc: pci_endpoint_test: Free IRQs before removing the device
    4998b8d241fc PCI: rockchip: Set address alignment for endpoint mode
    fc069ddb01f5 PCI: rockchip: Use u32 variable to access 32-bit registers
    e8a6e5382032 PCI: rockchip: Fix legacy IRQ generation for RK3399 PCIe endpoint core
    8d61fa105809 PCI: rockchip: Add poll and timeout to wait for PHY PLLs to be locked
    e82e1f1f2101 PCI: rockchip: Write PCI Device ID to correct register
    0a2b46bb6d06 PCI: rockchip: Assert PCI Configuration Enable bit after probe
    db88c2b0b6c1 PCI: epf-test: Fix DMA transfer completion detection
    4bad9a2583b0 PCI: epf-test: Fix DMA transfer completion initialization
    18896b146bb0 PCI: qcom: Disable write access to read only registers for IP v2.3.3
    f7a59ae38990 PCI: Add function 1 DMA alias quirk for Marvell 88SE9235
    b9bd8e34ec97 PCI: Release resource invalidated by coalescing
    e7afe162cb6e PCI/PM: Avoid putting EloPOS E2/S2/H2 PCIe Ports in D3cold
    7f8209580c1a s390/zcrypt: do not retry administrative requests
    352cf23c6785 scsi: mpi3mr: Propagate sense data for admin queue SCSI I/O
    85587cb0661e dm integrity: reduce vmalloc space footprint on 32-bit architectures
    5eaef775fa73 hwrng: imx-rngc - fix the timeout for init and self check
    bd6736b88897 arm64: dts: ti: k3-j721s2: Fix wkup pinmux range
    c5d4ecc2e531 arm64: dts: mt7986: use size of reserved partition for bl2
    2a03c4e683d3 jfs: jfs_dmap: Validate db_l2nbperpage while mounting
    5cee8bfb8cbd ext2/dax: Fix ext2_setsize when len is page aligned
    15544619bcd9 soc: qcom: mdt_loader: Fix unconditional call to scm_pas_mem_setup
    f83c7b79847f mm/mmap: Fix error return in do_vmi_align_munmap()
    566468af21cd fs: dlm: revert check required context while close
    0b8b682bc535 ext4: only update i_reserved_data_blocks on successful block allocation
    77c3ca1108eb ext4: turn quotas off if mount failed after enabling quotas
    329388470de5 ext4: fix to check return value of freeze_bdev() in ext4_shutdown()
    03eb7f300141 ext4: avoid updating the superblock on a r/o mount if not needed
    08bd62023ffa ext4: fix wrong unit use in ext4_mb_new_blocks
    a6cff82d891d ext4: get block from bh in ext4_free_blocks for fast commit replay
    ed53b2418b68 ext4: fix wrong unit use in ext4_mb_clear_bb
    da170f7cf5f1 ext4: Fix reusing stale buffer heads from last failed mounting
    6b9fb255d537 MIPS: KVM: Fix NULL pointer dereference
    08de7c3f9d30 MIPS: Loongson: Fix build error when make modules_install
    71a16db6fa33 MIPS: Loongson: Fix cpu_probe_loongson() again
    0b176d52ed3d MIPS: cpu-features: Use boot_cpu_type for CPU type based features
    2111a6b05852 drm/amd/display: perform a bounds check before filling dirty rectangles
    a0a533e39c26 powerpc/64s: Fix native_hpte_remove() to be irq-safe
    c9cf5af93259 powerpc/security: Fix Speculation_Store_Bypass reporting on Power10
    8c8191c1a045 misc: fastrpc: Create fastrpc scalar with correct buffer count
    383b4a3844c7 powerpc: Fail build if using recordmcount with binutils v2.37
    662685edb53f tracing/user_events: Fix incorrect return value for writing operation when events are disabled
    22d82affc0d6 kasan: fix type cast in memory_is_poisoned_n
    f1a739fab13c kasan, slub: fix HW_TAGS zeroing with slub_debug
    29851fd19558 kasan: use internal prototypes matching gcc-13 builtins
    79afd776e33f kasan: add kasan_tag_mismatch prototype
    18feb239683e net: phy: dp83td510: fix kernel stall during netboot in DP83TD510E PHY driver
    3260d91b16d0 net: bcmgenet: Ensure MDIO unregistration has clocks enabled
    695b5b4fa1ed mtd: rawnand: meson: fix unaligned DMA buffers handling
    0da8f857cae2 tpm/tpm_tis: Disable interrupts for Lenovo L590 devices
    7f13d7f68763 tpm,tpm_tis: Disable interrupts after 1000 unhandled IRQs
    aa6e6c72cc9a tpm/tpm_tis: Disable interrupts for Framework Laptop Intel 13th gen
    15914c95e29c tpm: return false from tpm_amd_is_rng_defective on non-x86 platforms
    70c001a67e72 tpm: tis_i2c: Limit write bursts to I2C_SMBUS_BLOCK_MAX (32) bytes
    60057602899c tpm/tpm_tis: Disable interrupts for Framework Laptop Intel 12th gen
    0f20054539e4 tpm: tis_i2c: Limit read bursts to I2C_SMBUS_BLOCK_MAX (32) bytes
    6e110666d870 tpm: tpm_tis: Disable interrupts *only* for AEON UPX-i11
    092db954e2c3 tpm: tpm_vtpm_proxy: fix a race condition in /dev/vtpmx creation
    4d73d1ceda70 tpm: Do not remap from ACPI resources again for Pluton TPM
    86749d3e4fa9 pinctrl: amd: Unify debounce handling into amd_pinconf_set()
    a4c524c732fe pinctrl: amd: Drop pull up select configuration
    4ba2df05d5dc pinctrl: amd: Use amd_pinconf_set() for all config options
    cfe503d0fc1c pinctrl: amd: Only use special debounce behavior for GPIO 0
    940cc84e278d pinctrl: amd: Revert "pinctrl: amd: disable and mask interrupts on probe"
    6841d9bdf4e0 pinctrl: amd: Detect and mask spurious interrupts
    3a62651f5aed pinctrl: amd: Fix mistake in handling clearing pins at startup
    ebfd0235355b pinctrl: amd: Detect internal GPIO0 debounce handling
    930e6f585c7b kbuild: make modules_install copy modules.builtin(.modinfo)
    3350fd6ef507 f2fs: fix deadlock in i_xattr_sem and inode page lock
    115557cc226a f2fs: don't reset unchangable mount option in f2fs_remount()
    aa87c43ea599 drm/client: Send hotplug event after registering a client
    6b99f5a95523 smb: client: fix parsing of source mount option
    99cdabe81962 cifs: fix session state check in smb2_find_smb_ses
    ba6d78d90e21 smb: client: improve DFS mount check
    4314b692dc92 nvme-pci: fix DMA direction of unmapping integrity data
    bd2333fa86dc net/sched: sch_qfq: account for stab overhead in qfq_enqueue
    7d5e5c515157 net/sched: sch_qfq: reintroduce lmax bound check for MTU
    d2cb036bac82 wifi: rtw89: debug: fix error code in rtw89_debug_priv_send_h2c_set()
    3fdb0a02e7c0 net: txgbe: fix eeprom calculation error
    5a95747feefa net/sched: make psched_mtu() RTNL-less safe
    5cd311d6a31c drm/nouveau: bring back blit subchannel for pre nv50 GPUs
    20686cb5af1a drm/nouveau/acr: Abort loading ACR if no firmware was found
    c06b0530b4d5 netdevsim: fix uninitialized data in nsim_dev_trap_fa_cookie_write()
    b9c110f45206 drm/nouveau/disp/g94: enable HDMI
    c557e9329aea drm/nouveau/disp: fix HDMI on gt215+
    5be91e9f28e5 riscv: mm: fix truncation warning on RV32
    fa05020e383d net/sched: flower: Ensure both minimum and maximum ports are specified
    ccb843ee2c93 xdp: use trusted arguments in XDP hints kfuncs
    a957ac8e0b5f bpf: cpumap: Fix memory leak in cpu_map_update_elem
    6e2401fa092e wifi: airo: avoid uninitialized warning in airo_get_rate()
    f30de55777c9 erofs: fix fsdax unavailability for chunk-based regular files
    3cf79e59ca0f erofs: avoid infinite loop in z_erofs_do_read_page() when reading beyond EOF
    95a4ba7fde10 erofs: avoid useless loops in z_erofs_pcluster_readmore() when reading beyond EOF
    e91fa782185e octeontx2-pf: Add additional check for MCAM rules
    7ead10b44b79 net: dsa: Removed unneeded of_node_put in felix_parse_ports_node
    eeab8f95bae2 drm/i915: Fix one wrong caching mode enum usage
    444969c846b8 drm/i915: Don't preserve dpll_hw_state for slave crtc in Bigjoiner
    11a7171016e8 net: fec: increase the size of tx ring and update tx_wake_threshold
    593a129efa73 net: fec: recycle pages for transmitted XDP frames
    dd8403cf52e4 net: fec: remove last_bdp from fec_enet_txq_xmit_frame()
    9541f33a2d83 net: fec: remove useless fec_enet_reset_skb()
    a05dce2058a4 riscv, bpf: Fix inconsistent JIT image generation
    ed60a9c42199 openrisc: Union fpcsr and oldmask in sigcontext to unbreak userspace ABI
    5647f239a7c0 nvme: fix the NVME_ID_NS_NVM_STS_MASK definition
    dcb2303c5155 igc: Fix inserting of empty frame for launchtime
    f591f7111fc1 igc: Fix launchtime before start of cycle
    3cfa77213bd2 igc: No strict mode in pure launchtime/CBS offload
    9689dde9728a fprobe: add unlock to match a succeeded ftrace_test_recursion_trylock
    ad62e7f59aa3 kernel/trace: Fix cleanup logic of enable_trace_eprobe
    e93bc9d28aab igc: Handle already enabled taprio offload for basetime 0
    c0b7b7a7a3d4 igc: Do not enable taprio offload for invalid arguments
    bafe3293aa0f igc: Rename qbv_enable to taprio_offload_enable
    bfd02dcd12a1 net/sched: taprio: replace tc_taprio_qopt_offload :: enable with a "cmd" enum
    3b9dca92e0e2 platform/x86: wmi: Break possible infinite loop when parsing GUID
    06a87ac14d46 net: dsa: qca8k: Add check for skb_copy
    a7902cc5f5b9 HID: hyperv: avoid struct memcpy overrun warning
    1f656e483eb4 ipv6/addrconf: fix a potential refcount underflow for idev
    c9a6bd1cc028 NTB: ntb_tool: Add check for devm_kcalloc
    d04d154836c8 NTB: ntb_transport: fix possible memory leak while device_register() fails
    416dcc87109c ntb: intel: Fix error handling in intel_ntb_pci_driver_init()
    8e88c5726d93 NTB: amd: Fix error handling in amd_ntb_pci_driver_init()
    99f7f2d441f9 ntb: idt: Fix error handling in idt_pci_driver_init()
    bf9585e74446 udp6: fix udp6_ehashfn() typo
    aa657d319e6c icmp6: Fix null-ptr-deref of ip6_null_entry->rt6i_idev in icmp6_dev().
    dd8ec9922c06 s390/ism: Do not unregister clients with registered DMBs
    fdeb916f172e s390/ism: Fix and simplify add()/remove() callback handling
    32b055e05ce1 s390/ism: Fix locking for forwarding of IRQs and events to clients
    7a59f29961cf net: prevent skb corruption on frag list segmentation
    4066d102ff1f net: bgmac: postpone turning IRQs off to avoid SoC hangs
    bd4a820551ad udp6: add a missing call into udp_fail_queue_rcv_skb tracepoint
    daeaad114cb1 ionic: remove WARN_ON to prevent panic_on_warn
    a08a2f193411 octeontx2-af: Move validation of ptp pointer before its usage
    eb4783ba9af0 octeontx2-af: Promisc enable/disable through mbox
    ab640e7d0d56 drm/fbdev-dma: Fix documented default preferred_bpp value
    fb04621a4ef8 gve: Set default duplex configuration to full
    0a2e3f49febd net/sched: cls_fw: Fix improper refcount update leads to use-after-free
    8163e5353f20 net: mscc: ocelot: fix oversize frame dropping for preemptible TCs
    c1b9b13ed2c3 net: dsa: felix: make vsc9959_tas_guard_bands_update() visible to ocelot->ops
    fa27885c488d net: mvneta: fix txq_map in case of txq_number==1
    7fa7ac28bd85 bpf: Fix max stack depth check for async callbacks
    d4355a79d07d scsi: ufs: ufs-mediatek: Add dependency for RESET_CONTROLLER
    a5737c43853e scsi: qla2xxx: Fix error code in qla2x00_start_sp()
    505b2e1ca03d blk-crypto: use dynamic lock class for blk_crypto_profile::lock
    7df9b9ac3ff0 igc: Handle PPS start time programming for past time values
    6bb1650e4834 igc: Include the length/type field and VLAN tag in queueMaxSDU
    a3390ae2d9a9 igc: set TP bit in 'supported' and 'advertising' fields of ethtool_link_ksettings
    cbb537936251 net/mlx5e: RX, Fix page_pool page fragment tracking for XDP
    3c351aa1f462 net/mlx5: Query hca_cap_2 only when supported
    35525719b9ed net/mlx5e: TC, CT: Offload ct clear only once
    f7ceedd1d124 net/mlx5e: Check for NOT_READY flag state after locking
    facf08c813ed net/mlx5: Register a unique thermal zone per device
    bfc6d6dfd082 net/mlx5e: RX, Fix flush and close release flow of regular rq for legacy rq
    7035e3ae600c net/mlx5e: fix memory leak in mlx5e_ptp_open
    8a75a6f169c3 net/mlx5e: fix memory leak in mlx5e_fs_tt_redirect_any_create
    e864500fae0f net/mlx5e: fix double free in mlx5e_destroy_flow_table
    8b07934fac7a igc: Fix TX Hang issue when QBV Gate is closed
    c1d10b158753 igc: Add XDP hints kfuncs for RX hash
    77c18544c9c1 igc: Add igc_xdp_buff wrapper for xdp_buff in driver
    fdda1047dcc4 igc: Remove delay during TX ring configuration
    2e8ae808f33d igc: Add condition for qbv_config_change_errors counter
    652b1b951c01 ice: Fix tx queue rate limit when TCs are configured
    230cef981530 ice: Fix max_rate check while configuring TX rate limits
    027685f7e490 netfilter: conntrack: don't fold port numbers into addresses before hashing
    e93cbd7efd8e netfilter: nf_tables: report use refcount overflow
    9c1c1cc08b88 xen/virtio: Fix NULL deref when a bridge of PCI root bus has no parent
    e49989d5da03 drm/panel: simple: Add Powertip PH800480T013 drm_display_mode flags
    4ad26d1d447a swiotlb: reduce the number of areas to match actual memory pool size
    06450d406150 swiotlb: always set the number of areas before allocating the pool
    58d3b65b89ef drm/bridge: ti-sn65dsi86: Fix auxiliary bus lifetime
    552f79aa9e80 drm: bridge: dw_hdmi: fix connector access for scdc
    44f0720d154e drm/panel: simple: Add connector_type for innolux_at043tn24
    2ba03cecb12a ksmbd: fix out of bounds read in smb2_sess_setup
    ffaa0c85edd9 ksmbd: add missing compound request handing in some commands
    26f91bd2fdae net: lan743x: select FIXED_PHY
    c93f4ff89a67 net: lan743x: Don't sleep in atomic context
    1e50bc2c177d HID: amd_sfh: Fix for shift-out-of-bounds
    5a1a6225dd11 HID: amd_sfh: Rename the float32 variable
    13c82d94c601 HID: input: fix mapping for camera access keys
    10540fca53ee security/integrity: fix pointer to ESL data and its size on pseries
    62813c2d2a36 Linux 6.4.4
    a1eaafa2c0ea sh: hd64461: Handle virq offset for offchip IRQ base and HD64461 IRQ
    b990fcf1f816 sh: mach-dreamcast: Handle virq offset in cascaded IRQ demux
    42530519c7f2 sh: mach-highlander: Handle virq offset in cascaded IRL demux
    eca4937e394f sh: mach-r2d: Handle virq offset in cascaded IRL demux
    7b43d7b8664c block/partition: fix signedness issue for Amiga partitions
    bd4f737b145d io_uring: Use io_schedule* in cqring wait
    90583977cae9 tty: serial: fsl_lpuart: add earlycon for imx8ulp platform
    35a1185745df wireguard: netlink: send staged packets when setting initial private key
    9a1317621fbf wireguard: queueing: use saner cpu selection wrapping
    b79c09c2bf2d netfilter: nf_tables: prevent OOB access in nft_byteorder_eval
    5e5e967e8505 netfilter: nf_tables: do not ignore genmask when looking up chain by id
    fce5cc7cbd4b netfilter: conntrack: Avoid nf_ct_helper_hash uses after free
    14c6b21717f0 drm/amdgpu: check RAS irq existence for VCN/JPEG
    c8ae016b2416 drm/amd/pm: add abnormal fan detection for smu 13.0.0
    f9fdc20982b5 drm/amdgpu/sdma4: set align mask to 255
    50515f38521b drm/amd/pm: revise the ASPM settings for thunderbolt attached scenario
    414d11852603 drm/amdgpu: Skip mark offset for high priority rings
    fbec04aa5cb8 drm/amdgpu: make sure that BOs have a backing store
    2eb044def66c drm/amdgpu: make sure BOs are locked in amdgpu_vm_get_memory
    e46fce918eb3 LoongArch: Include KBUILD_CPPFLAGS in CHECKFLAGS invocation
    d536af163c53 ovl: fix null pointer dereference in ovl_get_acl_rcu()
    a682c42c5f7e ovl: let helper ovl_i_path_real() return the realinode
    69f9ae7edf9e ovl: fix null pointer dereference in ovl_permission()
    e7c921db1739 kbuild: add $(CLANG_FLAGS) to KBUILD_CPPFLAGS
    6de71217023c kbuild: Add KBUILD_CPPFLAGS to as-option invocation
    103d3437b3c6 kbuild: Add CLANG_FLAGS to as-instr
    03c0d4aa8550 powerpc/vdso: Include CLANG_FLAGS explicitly in ldflags-y
    089f24d3f39e mips: Include KBUILD_CPPFLAGS in CHECKFLAGS invocation
    528839d3262b Input: ads7846 - fix pointer cast warning
    f5a48c015129 fs: no need to check source
    ac2d66430ea6 md/raid1-10: fix casting from randomized structure in raid1_submit_write()
    20365396f643 Input: ads7846 - Fix usage of match data
    c503b8fc7845 blktrace: use inline function for blk_trace_remove() while blktrace is disabled
    78a7f865e283 leds: trigger: netdev: Recheck NETDEV_LED_MODE_LINKUP on dev rename
    5dc4972929bc ARM: orion5x: fix d2net gpio initialization
    18b4ca24eaa9 ARM: dts: qcom: ipq4019: fix broken NAND controller properties override
    7ad032cac448 ARM: dts: qcom: msm8660: Fix regulator node names
    3f6af56d4204 regulator: tps65219: Fix matching interrupts for their regulators
    a94147563e91 ASoC: mediatek: mt8173: Fix snd_soc_component_initialize error path
    05be6adaac93 ASoC: mediatek: mt8173: Fix irq error path
    82270e7f284f btrfs: do not BUG_ON() on tree mod log failure at __btrfs_cow_block()
    796eb12aa5e4 btrfs: fix extent buffer leak after tree mod log failure at split_node()
    6df630a1e382 btrfs: add missing error handling when logging operation while COWing extent buffer
    a5cdc4012efa btrfs: fix race when deleting quota root from the dirty cow roots list
    6c65062f66cf btrfs: reinsert BGs failed to reclaim
    7b063701b5c3 btrfs: add block-group tree to lockdep classes
    f61029274c70 btrfs: bail out reclaim process if filesystem is read-only
    9d9586ef1ac9 btrfs: delete unused BGs while reclaiming BGs
    987cf64973ae btrfs: warn on invalid slot in tree mod log rewind
    11f14402fe34 btrfs: insert tree mod log move in push_node_left
    1ea89213cdfe btrfs: fix dirty_metadata_bytes for redirtied buffers
    1b532748ba00 btrfs: add handling for RAID1C23/DUP to btrfs_reduce_alloc_profile
    b9a6e00591a2 ipvs: increase ip_vs_conn_tab_bits range for 64BIT
    7e3b21ebfe33 usb: typec: ucsi: Mark dGPUs as DEVICE scope
    059484d31a8a fs: Lock moved directories
    4cbd5eb173bf fs: Establish locking order for unrelated directories
    f55aaecb4d76 Revert "udf: Protect rename against modification of moved directory"
    0b6f613e2b50 Revert "f2fs: fix potential corruption when moving a directory"
    cf9b6fe98470 ext4: Remove ext4 locking of moved directory
    f80436e4f788 fs: avoid empty option when generating legacy mount string
    fb306470cada jffs2: reduce stack usage in jffs2_build_xattr_subsystem()
    7fd2ca4a860c nfsd: use vfs setgid helper
    ebe07db84099 shmem: use ramfs_kill_sb() for kill_sb method of ramfs-based tmpfs
    35cbaf3516aa mm/damon/ops-common: atomically test and clear young on ptes and pmds
    3fd41a972f7f autofs: use flexible array in ioctl structure
    fd768cc263f3 integrity: Fix possible multiple allocation in integrity_inode_get()
    d363ac7bd4bb um: Use HOST_DIR for mrproper
    bec85c4df15d watch_queue: prevent dangling pipe pointer
    4514847aee18 bcache: Fix __bch_btree_node_alloc to make the failure behavior consistent
    0cabf9e16466 bcache: Remove unnecessary NULL point check in node allocations
    2882a4c4f0c9 bcache: fixup btree_cache_wait list damage
    53e89d83dcc6 wifi: mt76: mt7921e: fix init command fail with enabled device
    54c1b922683d wifi: cfg80211: fix receiving mesh packets without RFC1042 header
    1a9f0e23079d wifi: ath10k: Serialize wake_tx_queue ops
    12627f20eb45 wifi: cfg80211: fix regulatory disconnect for non-MLO
    cfc678270165 mmc: sdhci: fix DMA configure compatibility issue when 64bit DMA mode is used.
    0d8292bb9f0f mmc: mmci: Set PROBE_PREFER_ASYNCHRONOUS
    21d3f844cad5 mmc: core: disable TRIM on Micron MTFC4GACAJCN-1M
    94675949da02 mmc: core: disable TRIM on Kingston EMMC04G-M627
    6d1ac6bc1bbb mm/mglru: make memcg_lru->lock irq safe
    58e80cb68b05 io_uring: wait interruptibly for request completions on exit
    5cf0490a35af irqchip/loongson-pch-pic: Fix initialization of HT vector register
    adc096e680b9 NFSD: add encoding of op_recall flag for write delegation
    236381050d2b irqchip/loongson-pch-pic: Fix potential incorrect hwirq assignment
    768c408594b5 nfsd: move init of percpu reply_cache_stats counters back to nfsd_init_net
    7f4f66ac8381 irqchip/loongson-liointc: Fix IRQ trigger polarity
    2e07e4bbf0ec arm64/signal: Restore TPIDR2 register rather than memory state
    4cfa81020c65 Revert "drm/amd/display: Move DCN314 DOMAIN power control to DMCUB"
    64c79e58a721 lib: dhry: fix sleeping allocations inside non-preemptable section
    e22ca18614d2 writeback: account the number of pages written back
    22f127fffe72 i2c: xiic: Don't try to handle more interrupt events after error
    346b1ac789fa apparmor: fix profile verification and enable it
    6108e25cfe43 apparmor: fix policy_compat permission remap with extended permissions
    33b1fe578f7d apparmor: add missing failure check in compute_xmatch_perms
    543731db0173 apparmor: fix missing error check for rhashtable_insert_fast
    e9e33faea104 sh: dma: Fix DMA channel offset calculation
    96524810c654 risc-v: Fix order of IPI enablement vs RCU startup
    b8204a8ca897 s390/qeth: Fix vipa deletion
    cfc3b2e0c244 afs: Fix accidental truncation when storing data
    e21994909eb2 octeontx-af: fix hardware timestamp configuration
    af20ce74201d net: dsa: sja1105: always enable the send_meta options
    666e1db22a88 net: dsa: tag_sja1105: fix MAC DA patching from meta frames
    fda0f1e649b2 pptp: Fix fib lookup calls.
    ba11f4e59509 riscv: move memblock_allow_resize() after linear mapping is ready
    d003ad402ae6 fanotify: disallow mount/sb marks on kernel internal pseudo fs
    60e09765cee1 drm/i915/psr: Fix BDW PSR AUX CH data register offsets
    e5f1e5a57fba net/sched: act_pedit: Add size check for TCA_PEDIT_PARMS_EX
    bc2298851257 xsk: Honor SO_BINDTODEVICE on bind
    90b9e7202676 bpf, btf: Warn but return no error for NULL btf from __register_btf_kfunc_id_set()
    f9d46429de2a vduse: fix NULL pointer dereference
    5738c0c4eec9 tcp: annotate data races in __tcp_oow_rate_limited()
    58f9e88eb247 net: fix net_dev_start_xmit trace event vs skb_transport_offset()
    ea0822019036 net: dsa: tag_sja1105: fix source port decoding in vlan_filtering=0 bridge mode
    f8fe2df13a0f net: bridge: keep ports without IFF_UNICAST_FLT in BR_PROMISC mode
    b018ce10361b powerpc: dts: turris1x.dts: Fix PCIe MEM size for pci2 node
    d31ee3376fe2 powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y
    721b75ea2dfc ntfs: Fix panic about slab-out-of-bounds caused by ntfs_listxattr()
    84996061793a octeontx2-af: Reset MAC features in FLR
    b04872e15f3d octeontx2-af: Add validation before accessing cgx and lmac
    425a724a7c6e octeontx2-af: Fix mapping for NIX block from CGX connection
    1faafa54bb80 octeontx2-af: cn10kb: fix interrupt csr addresses
    0dc1f2b88b6e f2fs: fix error path handling in truncate_dnode()
    dfaa428d137d mailbox: ti-msgmgr: Fill non-message tx data fields with 0x0
    a389109fb8e0 drm/amd: Don't try to enable secure display TA multiple times
    f0f26d35d4ac drm/amdgpu: fix number of fence calculations
    22ae32d80ef5 spi: bcm-qspi: return error if neither hif_mspi nor mspi is available
    cd716022c968 mlxsw: minimal: fix potential memory leak in mlxsw_m_linecards_init
    82b3e8afba06 net: dsa: vsc73xx: fix MTU configuration
    91a0632e7307 ibmvnic: Do not reset dql stats on NON_FATAL err
    048b241b7f5f sfc: support for devlink port requires MAE access
    662d31232b2c Bluetooth: MGMT: Fix marking SCAN_RSP as not connectable
    90845ae29e68 Bluetooth: ISO: use hci_sync for setting CIG parameters
    9e65e361e3d4 Bluetooth: fix invalid-bdaddr quirk for non-persistent setup
    bd95be10a23e Add MODULE_FIRMWARE() for FIRMWARE_TG357766.
    6028a6b3f9ae net: dsa: tag_sja1105: always prefer source port information from INCL_SRCPT
    89fd65ca2fb9 net: dsa: sja1105: always enable the INCL_SRCPT option
    7095192c7477 net: dsa: felix: don't drop PTP frames with tag_8021q when RX timestamping is disabled
    ad1fb7de4604 net: mscc: ocelot: don't keep PTP configuration of all ports in single structure
    ad95418b5d8b net: mscc: ocelot: don't report that RX timestamping is enabled by default
    ce77da4747f5 spi: spi-geni-qcom: enable SPI_CONTROLLER_MUST_TX for GPI DMA mode
    8148e4038447 net/sched: act_ipt: zero skb->cb before calling target
    c4394a69c773 net/sched: act_ipt: add sanity checks on skb before calling target
    8ed12339c99c net/sched: act_ipt: add sanity checks on table name and hook locations
    f8d77336af38 sctp: fix potential deadlock on &net->sctp.addr_wq_lock
    f77b761bf05a media: cec: i2c: ch7322: also select REGMAP
    9f6293ad7f48 media: tc358746: select CONFIG_GENERIC_PHY
    e975c5240365 tools/virtio: fix build break for aarch64
    7b6a9ec3ed4d virtio-vdpa: Fix unchecked call to NULL set_vq_affinity
    cabaaa0ee05c f2fs: check return value of freeze_super()
    77ea88751f68 drm/i915/guc/slpc: Apply min softlimit correctly
    6902516030d8 drm/i915/psr: Use hw.adjusted mode when calculating io/fast wake times
    a7d66bf8e326 rtc: st-lpc: Release some resources in st_rtc_probe() in case of error
    a88994f0301d blk-throttle: Fix io statistics for cgroup v1
    4ed22bf4f235 perf bpf: Move the declaration of struct rq
    8c59a155c887 md/raid10: fix the condition to call bio_end_io_acct()
    9b2beba7feba pwm: mtk_disp: Fix the disable flow of disp_pwm
    bdf3e642dc55 pwm: ab8500: Fix error code in probe()
    44e7df11414d pwm: sysfs: Do not apply state to already disabled PWMs
    2acc6fac21c1 pwm: imx-tpm: force 'real_period' to be zero in suspend
    3efba046f65b lib/bitmap: drop optimization of bitmap_{from,to}_arr64
    25cbee4f2d01 phy: tegra: xusb: check return value of devm_kzalloc()
    ddce2002e5b0 mfd: stmpe: Only disable the regulators if they are enabled
    53a2894293e8 phy: qcom: qmp-combo: fix Display Port PHY configuration for SM8550
    de55ce827a76 hwtracing: hisi_ptt: Fix potential sleep in atomic context
    f712198e4ba9 clk: qcom: mmcc-msm8974: fix MDSS_GDSC power flags
    96be1c8a3f7e misc: fastrpc: check return value of devm_kasprintf()
    08e6cb1a9f83 cpufreq: mediatek: correct voltages for MT7622 and MT7623
    dc7e0192c470 KVM: s390/diag: fix racy access of physical cpu number in diag 9c handler
    5dfbcfc5caf0 KVM: s390: vsie: fix the length of APCB bitmap
    77ad08c74e24 mfd: stmfx: Nullify stmfx->vdd in case of error
    3711e3d4a074 mfd: stmfx: Fix error path in stmfx_chip_init
    8bdd5c21ec02 bus: fsl-mc: don't assume child devices are all fsl-mc devices
    92bc4a26b037 nvmem: rmem: Use NVMEM_DEVID_AUTO
    0dfaf543aac8 test_firmware: return ENOMEM instead of ENOSPC on failed memory allocation
    603bfb26090a nvmem: imx-ocotp: Reverse MAC addresses on all i.MX derivates
    94e0469149d4 nvmem: sunplus-ocotp: release otp->clk before return
    dd67388bd67c cdx: fix driver managed dma support
    f358776ab9d7 drivers: fwnode: fix fwnode_irq_get[_byname]()
    85fd0afbfea6 serial: 8250_omap: Use force_suspend and resume for system suspend
    e8c07171d168 Revert "usb: common: usb-conn-gpio: Set last role to unknown before initial detection"
    2aa0b8ffd964 mfd: intel-lpss: Add missing check for platform_get_resource
    6e25e6fcef91 mfd: wcd934x: Fix an error handling path in wcd934x_slim_probe()
    df2d221e9340 rtla/hwnoise: Reduce runtime to 75%
    1eecbbf3d251 usb: dwc3-meson-g12a: Fix an error handling path in dwc3_meson_g12a_probe()
    c7d1adb395ea usb: common: usb-conn-gpio: Set last role to unknown before initial detection
    1ddee43610ec usb: dwc3: qcom: Fix an error handling path in dwc3_qcom_probe()
    3a8e53ac1009 usb: dwc3: qcom: Release the correct resources in dwc3_qcom_remove()
    8a46414dbbdd KVM: s390: fix KVM_S390_GET_CMMA_BITS for GFNs in memslot holes
    908fa828b61f f2fs: flush error flags in workqueue
    bd519deaa2a3 f2fs: fix the wrong condition to determine atomic context
    ed1d478bf838 f2fs: support errors=remount-ro|continue|panic mountoption
    5619e9aabbd2 f2fs: fix to avoid NULL pointer dereference f2fs_write_end_io()
    e747ccff7a62 f2fs: fix potential deadlock due to unpaired node_write lock use
    22cfc91c3be7 gfs2: Fix duplicate should_fault_in_pages() call
    af687d9ff1fd sh: Avoid using IRQ0 on SH3 and SH4
    de0737c97592 media: atomisp: ov2680: Stop using half pixelclock for binned modes
    c965ec6fdaf6 media: atomisp: gmin_platform: fix out_len in gmin_get_config_dsm_var()
    a8778b236f6a media: atomisp: gc0310: Fix double free in gc0310_remove()
    924277579816 media: venus: helpers: Fix ALIGN() of non power of two
    6b7d296b63f1 mfd: rt5033: Drop rt5033-battery sub-device
    7a34dc6dc1d0 power: supply: rt9467: Make charger-enable control as logic level
    d0674d07e4fb coresight: etm4x: Fix missing trctraceidr file in sysfs
    bab5cd4fde9e coresight: Fix loss of connection info when a module is unloaded
    3d3a2307ff88 i3c: master: svc: fix cpu schedule in spin lock
    5d77a4114430 lkdtm: replace ll_rw_block with submit_bh
    0c5631b11678 kernfs: fix missing kernfs_idr_lock to remove an ID from the IDR
    fc52289156d7 serial: 8250: lock port for UART_IER access in omap8250_irq()
    ce73b6f8d92d serial: core: lock port for start_rx() in uart_resume_port()
    27cd11322f9d serial: 8250: lock port for stop_rx() in omap8250_irq()
    ece78f66a948 serial: core: lock port for stop_rx() in uart_suspend_port()
    a44696977dd3 usb: misc: eud: Fix eud sysfs path (use 'qcom_eud')
    f996b241c925 usb: hide unused usbfs_notify_suspend/resume functions
    38dbd6f72bfb usb: phy: phy-tahvo: fix memory leak in tahvo_usb_probe()
    95a99cac3dad extcon: Fix kernel doc of property capability fields to avoid warnings
    adae2c1a68e6 extcon: Fix kernel doc of property fields to avoid warnings
    374447e33677 usb: gadget: u_serial: Add null pointer check in gserial_suspend
    134a7d4642f1 usb: dwc3: qcom: Fix potential memory leak
    fefce5299e64 soundwire: debugfs: fix unbalanced pm_runtime_put()
    7c30688e3426 soundwire: qcom: fix unbalanced pm_runtime_put()
    0522fce83630 soundwire: qcom: use consistently 'ctrl' as state variable name
    bbd3421a6159 staging: vchiq_arm: mark vchiq_platform_init() static
    f8f7fdbece48 clk: qcom: mmcc-msm8974: use clk_rcg2_shared_ops for mdp_clk_src clock
    240e128ad423 clk: qcom: ipq5332: fix the order of SLEEP_CLK and XO clock
    0dd0f81ce289 clk: qcom: ipq5332: fix the src parameter in ftbl_gcc_apss_axi_clk_src
    6e4b73d1bcf4 clk: qcom: dispcc-qcm2290: Fix GPLL0_OUT_DIV handling
    fed34a3f0781 clk: qcom: dispcc-qcm2290: Fix BI_TCXO_AO handling
    262bbc8ea9ba clk: qcom: ipq6018: fix networking resets
    0270c9d68ce4 media: mediatek: vcodec: using decoder status instead of core work count
    c5dcd7a19f1e media: hi846: fix usage of pm_runtime_get_if_in_use()
    7429f5f2a830 media: renesas: fdp1: Identify R-Car Gen2 versions
    875e2e156c06 media: i2c: Correct format propagation for st-mipid02
    b98186af3bf8 media: i2c: imx296: fix error checking in imx296_read_temperature()
    ae65238d3f5a media: usb: siano: Fix warning due to null work_func_t function pointer
    1b66bd39af61 media: videodev2.h: Fix struct v4l2_input tuner index comment
    8351261ab42a media: amphion: initiate a drain of the capture queue in dynamic resolution change
    30f900102b5e media: videodev2.h: Fix p_s32 and p_s64 pointer types
    5916e82dfc84 media: common: saa7146: Avoid a leak in vmalloc_to_sg()
    c67eaaaa7d8c media: amphion: drop repeated codec data for vc1g format
    a129ec24f469 media: amphion: drop repeated codec data for vc1l format
    e8d76e4680c2 media: usb: Check az6007_read() return value
    f17af9387102 clk: qcom: gcc-qcm2290: Mark RCGs shared where applicable
    9846d09ed695 clk: qcom: gcc-ipq6018: Use floor ops for sdcc clocks
    f2bbe499787a clk: qcom: camcc-sc7180: Add parent dependency to all camera GDSCs
    63d99af987f3 clk: qcom: mmcc-msm8974: remove oxili_ocmemgx_clk
    4b91e2516b31 clk: qcom: gcc: ipq5332: Use floor ops for SDCC clocks
    9ccc3c166ba2 interconnect: qcom: rpm: Don't use clk_get_optional for bus clocks anymore
    49a1c6023a07 interconnect: qcom: rpm: Rename icc provider num_clocks to num_bus_clocks
    aeb8ec010a29 serial: 8250: omap: Fix freeing of resources on failed register
    307909ae1b4a usb: dwc2: Fix some error handling paths
    1b0a2928d0a9 xhci: Improve the XHCI system resume time
    f849bec6963b USB: Extend pci resume function to handle PM events
    e5dd3979c655 cpufreq: tegra194: Fix an error handling path in tegra194_cpufreq_probe()
    2bef6a1b846a sh: j2: Use ioremap() to translate device tree address into kernel memory
    77b23bd5e264 f2fs: do not allow to defragment files have FI_COMPRESS_RELEASED
    a55fa7ba3711 dt-bindings: power: reset: qcom-pon: Only allow reboot-mode pre-pmk8350
    884756f0203f w1: fix loop in w1_fini()
    fe64b9c6c847 w1: w1_therm: fix locking behavior in convert_t
    b056bd52c8fd x86/efi: Make efi_set_virtual_address_map IBT safe
    1403a899153a arm64: sme: Use STR P to clear FFR context field in streaming SVE mode
    bb62148ebd30 ksmbd: avoid field overflow warning
    b9f3c6febfe0 smb: client: fix shared DFS root mounts with different prefixes
    7546b904dedd smb: client: fix broken file attrs with nodfs mounts
    a5133dbecf5b cifs: do all necessary checks for credits within or before locking
    d017880782cf cifs: prevent use-after-free by freeing the cfile later
    88ece45ab8a0 efi/libstub: Disable PCI DMA before grabbing the EFI memory map
    a8c2d8d32421 kbuild: deb-pkg: remove the CONFIG_MODULES check in buildeb
    6061ac50f1e0 kbuild: builddeb: always make modules_install, to install modules.builtin*
    e079d77347be tools/testing/cxl: Fix command effects for inject/clear poison
    8c6fdfb117fc cxl/region: Fix state transitions after reset failure
    78be41752ac5 cxl/region: Flag partially torn down regions as unusable
    b84a56efb527 cxl/region: Move cache invalidation before region teardown, and before setup
    99c515d032df kbuild: Disable GCOV for *.mod.o
    cb2d6b93a09b kbuild: Fix CFI failures with GCOV
    7e1f98905562 SUNRPC: Fix UAF in svc_tcp_listen_data_ready()
    532da3822a4f btrfs: do not BUG_ON() on tree mod log failure at balance_level()
    8ce9139aea5e btrfs: fix race when deleting free space root from the dirty cow roots list
    3b25cadc7975 mmc: block: ioctl: do write error check for spi
    baf4016ad493 block: increment diskseq on all media change events
    1e83e1db9c26 block: change all __u32 annotations to __be32 in affs_hardblocks.h
    dd976502acb1 block: add overflow checks for Amiga partition support
    ff5dbe898e6d block: fix signed int overflow in Amiga partition support
    ca456dfa515c apparmor: fix: kzalloc perms tables for shared dfas
    773ccad902f6 ALSA: pcm: Fix potential data race at PCM memory allocation helpers
    21d0ab5dc2bf ALSA: jack: Fix mutex call in snd_jack_report()
    84772bc5ca7a ALSA: hda/realtek: Add quirk for Clevo NPx0SNx
    fdfe750bedef ALSA: hda/realtek: Enable mute/micmute LEDs and limit mic boost on EliteBook
    8e246189dc74 hwrng: st - keep clock enabled while hwrng is registered
    e68183e2f232 dax/kmem: Pass valid argument to memory_group_register_static
    60ef1f64d35c dax: Introduce alloc_dev_dax_id()
    7310b84821f0 dax: Fix dax_mapping_release() use after free
    3b4c15171c3c SMB3: Do not send lease break acknowledgment if all file handles have been closed
    9591e55b6c80 NFSv4.1: freeze the session table upon receiving NFS4ERR_BADSESSION
    741cff5f586b NFSv4.2: fix wrong shrinker_id
    ee238856c397 crypto: qat - unmap buffers before free for RSA
    61bfff855343 crypto: qat - unmap buffer before free for DH
    97046c12f7fb ARC: define ASM_NL and __ALIGN(_STR) outside #ifdef __ASSEMBLY__ guard
    8b2e77050b91 modpost: fix off by one in is_executable_section()
    aec344a21244 scripts/mksysmap: Fix badly escaped '$'
    e539c53e3f73 dt-bindings: qcom-qce: Fix compatible combinations for SM8150 and IPQ4019 SoCs
    a4e975d4245a crypto: jitter - correct health test during initialization
    83d83e6edffd crypto: marvell/cesa - Fix type mismatch warning
    8477b033fec8 modpost: fix section mismatch message for R_ARM_{PC24,CALL,JUMP24}
    ec2791b3e500 modpost: fix section mismatch message for R_ARM_ABS32
    caa3bcac6f74 crypto: nx - fix build warnings when DEBUG_FS is not enabled
    0fa2f933f431 modpost: remove broken calculation of exception_table_entry size
    2fc91f156b3f hwrng: virtio - Fix race on data_avail and actual data
    e23972c9d94a vfio/mdev: Move the compat_class initialization to module init
    d1a21644254a PCI: vmd: Fix uninitialized variable usage in vmd_enable_domain()
    d66a530c1034 PCI: endpoint: functions/pci-epf-test: Fix dma_chan direction
    f07d1dcb3620 PCI: endpoint: Fix a Kconfig prompt of vNTB driver
    764b6d8aa77c riscv: hibernate: remove WARN_ON in save_processor_state
    52fbbd37efe1 perf test: Set PERF_EXEC_PATH for script execution
    2509e4d1e0f4 powerpc/mm/dax: Fix the condition when checking if altmap vmemap can cross-boundary
    b43bab8daf6d powerpc/book3s64/mm: Fix DirectMap stats in /proc/meminfo
    489026d57a3c riscv: uprobes: Restore thread.bad_cause
    616464ae2e17 platform/x86:intel/pmc: Update maps for Meteor Lake P/M platforms
    d17d238b617d PCI: qcom: Disable write access to read only registers for IP v2.9.0
    d7649e4d23e1 PCI: qcom: Use DWC helpers for modifying the read-only DBI registers
    88b6ad86a219 riscv: hibernation: Remove duplicate call of suspend_restore_csrs
    cc46085350cc powerpc: update ppc_save_regs to save current r1 in pt_regs
    72990144e17e powerpc/powernv/sriov: perform null check on iov before dereferencing iov
    32a76e5f5fe1 scsi: ufs: core: mcq: Fix the incorrect OCS value for the device command
    5b4af2dbf125 scsi: ufs: core: Remove a ufshcd_add_command_trace() call
    0ffde301f3a6 perf stat: Reset aggr stats for each run
    8a1fa202f47f pinctrl: at91-pio4: check return value of devm_kasprintf()
    06478a293d52 pinctrl: microchip-sgpio: check return value of devm_kasprintf()
    27d9a7585b59 pinctrl: freescale: Fix a memory out of bounds when num_configs is 1
    421cd1544480 powerpc/64s: Fix VAS mm use after free
    f3daf02a41e3 perf tool x86: Fix perf_env memory leak
    2e3cce0cabdc perf tool x86: Consolidate is_amd check into single function
    419aa1b9bba4 platform/x86/dell/dell-rbtn: Fix resources leaking on error path
    0c530479b472 perf tests task_analyzer: Skip tests if no libtraceevent support
    e1748bd615e5 perf tests task_analyzer: Fix bad substitution ${$1}
    feb0710a2272 perf metric: Fix no group check
    b52376bb693d perf dwarf-aux: Fix off-by-one in die_get_varname()
    f9a52a0ea085 platform/x86/intel/pmc/mtl: Put devices in D3 during resume
    7826682b7771 platform/x86/intel/pmc: Add resume callback
    9105734f764e platform/x86: thinkpad_acpi: Fix lkp-tests warnings for platform profiles
    8dd306534d89 perf script: Fix allocation of evsel->priv related to per-event dump files
    4dac25939fd4 powerpc/signal32: Force inlining of __unsafe_save_user_regs() and save_tm_user_regs_unsafe()
    227db6699ca5 powerpc/interrupt: Don't read MSR from interrupt_exit_kernel_prepare()
    5da37177faa8 kcsan: Don't expect 64 bits atomic builtins from 32 bits architectures
    ee16d015d84a pinctrl: npcm7xx: Add missing check for ioremap
    cc76bc8db5ef pinctrl:sunplus: Add check for kmalloc
    a750ee082505 platform/x86: think-lmi: Correct NVME password handling
    ef6fd4d4ec3b platform/x86: think-lmi: Correct System password interface
    7e03cd33eb2e platform/x86: think-lmi: mutex protection around multiple WMI calls
    b6462fafbe9e platform/x86:intel/pmc: Remove Meteor Lake S platform support
    1a434752853e pinctrl: cherryview: Return correct value if pin in push-pull mode
    ef322de03241 perf bench: Add missing setlocale() call to allow usage of %'d style formatting
    db103b83658c pinctrl: tegra: Duplicate pinmux functions table
    49234a401e16 scsi: ufs: core: Fix handling of lrbp->cmd
    1aba31fdb391 scsi: ufs: core: Increase the START STOP UNIT timeout from one to ten seconds
    6fb6b331cdf2 scsi: lpfc: Revise NPIV ELS unsol rcv cmpl logic to drop ndlp based on nlp_state
    5cf374018fc5 PCI: Add pci_clear_master() stub for non-CONFIG_PCI
    0e5279a5c336 scsi: ufs: Declare ufshcd_{hold,release}() once
    8b782acacd72 pinctrl: sunplus: Add check for kmalloc
    989923ece797 PCI: ftpci100: Release the clock resources
    f91d865682de perf evsel: Don't let for_each_group() treat the head of the list as one of its nodes
    d9316899666f PCI: pciehp: Cancel bringup sequence if card is not present
    496f79fe9d21 pinctrl: at91: fix a couple NULL vs IS_ERR() checks
    5ac55531d43a scsi: 3w-xxxx: Add error handling for initialization failure in tw_probe()
    4203722d51af PCI/ASPM: Disable ASPM on MFD function removal to avoid use-after-free
    f7d9d37d3602 platform/x86: lenovo-yogabook: Set default keyboard backligh brightness on probe()
    33858ecc7a06 platform/x86: lenovo-yogabook: Reprobe devices on remove()
    452a43b94920 platform/x86: lenovo-yogabook: Fix work race on remove()
    bdd1eaddd2eb pinctrl: bcm2835: Handle gpiochip_add_pin_range() errors
    271c9b2eb601 scsi: qedf: Fix NULL dereference in error handling
    1c1e48042e32 PCI: vmd: Reset VMD config register between soft reboots
    a98eab570d05 PCI: cadence: Fix Gen2 Link Retraining process
    dbe65261fe13 iommufd: Call iopt_area_contig_done() under the lock
    19d93648142a iommufd: Do not access the area pointer after unlocking
    3373bf97d1e3 ASoC: amd: acp: clear pdm dma interrupt mask
    1464588b5aba ARM: dts: lan966x: kontron-d10: fix SPI CS
    723dec22a335 ARM: dts: lan966x: kontron-d10: fix board reset
    efbbda79b288 clk: Fix memory leak in devm_clk_notifier_register()
    1a0078fd910c ASoC: imx-audmix: check return value of devm_kasprintf()
    1ecdc55e5cd9 ovl: update of dentry revalidate flags after copy up
    9e566a6b1f42 drivers: meson: secure-pwrc: always enable DMA domain
    f8f1d6cee518 clk: clocking-wizard: check return value of devm_kasprintf()
    99c926e63488 clk: ti: clkctrl: check return value of kasprintf()
    9fd4fc509051 clk: keystone: sci-clk: check return value of kasprintf()
    65bb582bda33 clk: si5341: free unused memory on probe failure
    b5bea998a2b0 clk: si5341: check return value of {devm_}kasprintf()
    a9d29dc9ba70 clk: si5341: return error if one synth clock registration fails
    cc01bae3d41b clk: cdce925: check return value of kasprintf()
    7f01290efc69 clk: vc5: check memory returned by kasprintf()
    5c4a865c39b9 clk: mediatek: clk-mt8173-apmixedsys: Fix iomap not released issue
    8c07547b50bc clk: mediatek: clk-mt8173-apmixedsys: Fix return value for of_iomap() error
    42cefcc44acf clk: mediatek: clk-mtk: Grab iomem pointer for divider clocks
    7174300e12ea drm/msm/dpu: correct MERGE_3D length
    4a76910c702b drm/msm/dpu: fix sc7280 and sc7180 PINGPONG done interrupts
    f955651c9448 drm/msm/dpu: Disable pingpong TE on DPU 5.0.0 and above
    82aaea40aa25 drm/msm/dpu: Move autorefresh disable from CMD encoder to pingpong
    d06fc6c07bd3 drm/msm/dpu: Drop unused poll_timeout_wr_ptr PINGPONG callback
    9f40de4df625 drm/amdgpu: Fix usage of UMC fill record in RAS
    0cae3d00303f drm/amdgpu: Fix memcpy() in sienna_cichlid_append_powerplay_table function.
    233e9bc70041 arm64: dts: mt7986: increase bl2 partition on NAND of Bananapi R3
    aaf2d638460a arm64: dts: mediatek: mt8192: Fix CPUs capacity-dmips-mhz
    e9466f96772b arm64: dts: mediatek: Add cpufreq nodes for MT8192
    ca47d0dc0096 drm/msm/dp: Free resources after unregistering them
    2fde37445807 drm/msm/dp: Drop aux devices together with DP controller
    ba3aa378df75 drm/msm/dsi: Remove incorrect references to slice_count
    76870037cd60 drm/msm/dpu: Fix slice_last_group_size calculation
    d28df937e473 drm/msm/dpu: do not enable color-management if DSPPs are not available
    228da1fa1244 ALSA: ac97: Fix possible NULL dereference in snd_ac97_mixer
    5513409e077d arm64: dts: ti: k3-am69-sk: Fix main_i2c0 alias
    0857373fb663 arm64: dts: ti: k3-j784s4: Fix wakeup pinmux range and pinctrl node offsets
    cb23a546ea20 arm64: dts: ti: k3-j784s4-evm: Fix main_i2c0 alias
    dc01703241aa arm64: dts: ti: k3-j721e-beagleboneai64: Fix mailbox node status
    4e59e355f9fc clk: tegra: tegra124-emc: Fix potential memory leak
    f078a65ebf93 clk: clocking-wizard: Fix Oops in clk_wzrd_register_divider()
    b75a0dae88ea clk: bcm: rpi: Fix off by one in raspberrypi_discover_clocks()
    38410af6e45a arm64: dts: qcom: sm8550: Add missing interconnect path to USB HC
    968237d7dbe4 arm64: dts: qcom: sm8250-edo: Panel framebuffer is 2.5k instead of 4k
    5ad3d270816d arm64: dts: qcom: sm8550: Flush RSC sleep & wake votes
    4eccb0576bc2 arm64: dts: qcom: sdm845: Flush RSC sleep & wake votes
    07810010445d arm64: dts: qcom: sdm670: Flush RSC sleep & wake votes
    bbf82306d3b8 arm64: dts: qcom: qdu1000: Flush RSC sleep & wake votes
    47234e19b008 clk: mediatek: fix of_iomap memory leak
    92ce7629a11a clk: imx: clk-imx8mp: improve error handling in imx8mp_clocks_probe()
    d17c16a2b2a6 clk: imx93: fix memory leak and missing unwind goto in imx93_clocks_probe
    d4fa5e47af1e clk: imx: clk-imx8mn: fix memory leak in imx8mn_clocks_probe
    02e54db221bb clk: imx: clk-imxrt1050: fix memory leak in imxrt1050_clocks_probe
    ae86e657d587 clk: imx: composite-8m: Add imx8m_divider_determine_rate
    1635eb05c310 RDMA/bnxt_re: Avoid calling wake_up threads from spin_lock context
    50d77c3739b2 RDMA/bnxt_re: wraparound mbox producer index
    e2cc08870b82 drm/msm/a5xx: really check for A510 in a5xx_gpu_init
    6ffafbdca65d drm/msm/a6xx: don't set IO_PGTABLE_QUIRK_ARM_OUTER_WBWA with coherent SMMU
    bc6dbf34dc4f amdgpu: validate offset_in_bo of drm_amdgpu_gem_va
    87a21a850d22 RDMA/rxe: Fix access checks in rxe_check_bind_mw
    c62adbe98d09 HID: uclogic: Modular KUnit tests should not depend on KUNIT=y
    4968eec706d9 drm/radeon: fix possible division-by-zero errors
    13bd97c3488b drm/amd/display: Fix artifacting on eDP panels when engaging freesync video mode
    ca4da6c91298 soc: mediatek: SVS: Fix MT8192 GPU node name
    069cfe458fef drm/amdkfd: Fix potential deallocation of previously deallocated memory.
    355d3403526f drm/amd/display: Fix a test dml32_rq_dlg_get_rq_reg()
    80d135aeeb1c drm/amd/display: Fix a test CalculatePrefetchSchedule()
    4524cd18e607 clk: Export clk_hw_forward_rate_request()
    ebbdf35a23e9 ARM: dts: BCM5301X: fix duplex-full => full-duplex
    732a1b28df84 hwmon: (pmbus/adm1275) Fix problems with temperature monitoring on ADM1272
    be5baef9e67b hwmon: (gsc-hwmon) fix fan pwm temperature scaling
    e13f413b410c ARM: dts: stm32: fix i2s endpoint format property for stm32mp15xx-dkx
    34cc2d955ee6 accel/habanalabs: fix gaudi2_get_tpc_idle_status() return
    73bd578a6187 ARM: dts: stm32: Fix audio routing on STM32MP15xx DHCOM PDK2
    1f161eef58ff arm64: dts: rockchip: Fix compatible for Bluetooth on rk3566-anbernic
    ef9adbdd17a9 Input: pm8941-powerkey - fix debounce on gen2+ PMICs
    861f5fcf895a arm64: dts: ti: k3-j7200: Fix physical address of pin
    ad1a932ea847 arm64: dts: rockchip: Assign ES8316 MCLK rate on rk3588-rock-5b
    b4e0f8df9ee4 drm/i915: No 10bit gamma on desktop gen3 parts
    be2caaed96c5 drm/i915/display: Make display responsible for probing its own IP
    6cebcb7244eb drm/i915/display: Move display runtime info to display structure
    60ad0bef4ae4 drm/i915: Convert INTEL_INFO()->display to a pointer
    52a4dcf7adf8 drm/i915/display: Move display device info to header under display/
    49f12dcba5bd drm/i915: hide mkwrite_device_info() better
    5e38c05d06f5 drm/i915: Fix limited range csc matrix
    dcb706a93aa9 dt-bindings: arm-smmu: Fix SC8280XP Adreno binding
    09ea1ae4a2ec fbdev: omapfb: lcd_mipid: Fix an error handling path in mipid_spi_probe()
    c5cf611bc2d0 drm/msm/dpu: always clear every individual pending flush mask
    39d4953eb157 drm/msm/dpu: set DSC flush bit correctly at MDP CTL flush register
    d3f8cec5bebc arm64: dts: renesas: ulcb-kf: Remove flow control for SCIF1
    750b4a2f223c ARM: dts: iwg20d-q7-common: Fix backlight pwm specifier
    7683db01d921 RDMA/hns: Fix hns_roce_table_get return value
    2c0445bc8dbd IB/hfi1: Fix wrong mmu_node used for user SDMA packet after invalidate
    71fb1072baba RDMA/irdma: avoid fortify-string warning in irdma_clr_wqes
    7471870af6c1 soc/fsl/qe: fix usb.c build errors
    a1abe77c3db6 ARM: dts: meson8: correct uart_B and uart_C clock references
    995a3881b043 ASoC: es8316: Do not set rate constraints for unsupported MCLKs
    8a2ca32f9df5 ASoC: es8316: Increment max value for ALC Capture Target Volume control
    9a707ac99e43 ARM: dts: qcom: apq8074-dragonboard: Set DMA as remotely controlled
    e88c77ed9a28 memory: brcmstb_dpfe: fix testing array offset after use
    e96627d8cafa ARM: dts: stm32: Shorten the AV96 HDMI sound card name
    d15921c876ca arm64: dts: mediatek: mt8195: Add mediatek,broken-save-restore-fw to cherry
    030f1a8d561e arm64: dts: mediatek: mt8192: Add mediatek,broken-save-restore-fw to asurada
    b43580648240 arm64: dts: mediatek: mt8183: Add mediatek,broken-save-restore-fw to kukui
    f4825ddd79fd arm64: dts: qcom: apq8096: fix fixed regulator name property
    9c6e6c80a476 arm64: dts: qcom: pm7250b: add missing spmi-vadc include
    dcdc7ad503f7 ARM: omap2: fix missing tick_broadcast() prototype
    fddc878c8cba ARM: ep93xx: fix missing-prototype warnings
    004132ef43b9 drm/panel: simple: fix active size for Ampire AM-480272H3TMQW-T01H
    c4644cc1082e drm: bridge: samsung-dsim: Fix PMS Calculator on imx8m[mnp]
    913821b25186 drm/bridge: ti-sn65dsi83: Fix enable/disable flow to meet spec
    bad174e652c1 arm64: dts: qcom: apq8016-sbc: Fix 1.8V power rail on LS expansion
    957e97b51ecf arm64: dts: qcom: apq8016-sbc: Fix regulator constraints
    ad88ee56a3b1 arm64: dts: qcom: sdm845-polaris: add missing touchscreen child node reg
    05b4bdd030da arm64: dts: qcom: sm8550: correct pinctrl unit address
    4846ab444b65 arm64: dts: qcom: sm8550: correct crypto unit address
    e1cb852a9046 arm64: dts: qcom: sm8350: correct USB phy unit address
    8d468bfdd823 arm64: dts: qcom: sm8350: correct PCI phy unit address
    09cc30c3249f arm64: dts: qcom: sm8350: correct DMA controller unit address
    6503a010d600 arm64: dts: qcom: sm6115: correct thermal-sensor unit address
    d82338b3f8b4 arm64: dts: qcom: sdm845: correct camss unit address
    2805d76a3acf arm64: dts: qcom: sdm630: correct camss unit address
    7aa761aad5f5 arm64: dts: qcom: msm8996: correct camss unit address
    8bcc1565662d arm64: dts: qcom: msm8994: correct SPMI unit address
    ed8be836eb12 arm64: dts: qcom: msm8976: correct MMC unit address
    97027b7777e9 arm64: dts: qcom: msm8953: correct WCNSS unit address
    402feaa3abb2 arm64: dts: qcom: msm8953: correct IOMMU unit address
    473024132d51 arm64: dts: qcom: msm8916: correct WCNSS unit address
    e85871a543cf arm64: dts: qcom: msm8916: correct MMC unit address
    16943d473757 arm64: dts: qcom: msm8916: correct camss unit address
    49ef21f3a322 arm64: dts: qcom: ipq6018: correct qrng unit address
    112a5b53d98b arm64: dts: qcom: pm8998: don't use GIC_SPI for SPMI interrupts
    64a724c183e9 ARM: dts: qcom: msm8974: do not use underscore in node name (again)
    941403ad8b6e ARM/musb: omap2: Remove global GPIO numbers from TUSB6010
    fb6ff53562e5 ARM: omap2: Rewrite WLAN quirk to use GPIO descriptors
    b954f4b5f253 ARM: omap2: Get USB hub reset GPIO from descriptor
    ad26fd4e08bf ARM/gpio: Push OMAP2 quirk down into TWL4030 driver
    8ba4b3fa2c1b ARM: omap1: Exorcise the legacy GPIO header
    f93c13d3a73e ARM: omap1: Make serial wakeup GPIOs use descriptors
    7a27d54138b6 ARM: omap1: Fix up the Nokia 770 board device IRQs
    feb0ac796091 ARM/mmc: Convert old mmci-omap to GPIO descriptors
    1a6d8fab9d4a Input: ads7846 - Convert to use software nodes
    de83f3df9b06 ARM: omap1: Remove reliance on GPIO numbers from SX1
    0142c99a06e8 ARM: omap1: Remove reliance on GPIO numbers from PalmTE
    2042e15fd73b ARM: omap1: Drop header on AMS Delta
    b64755e69629 ARM/mfd/gpio: Fixup TPS65010 regression on OMAP1 OSK1
    686a663a3644 drm/bridge: anx7625: Prevent endless probe loop
    aae6dc2cab03 arm64: dts: qcom: qrb4210-rb2: Fix CD gpio for SDHC2
    72dd3cdc9611 ARM: dts: gta04: Move model property out of pinctrl node
    355b82bc7726 clk: renesas: rzg2l: Fix CPG_SIPLL5_CLK1 register write
    552a393f0656 iommu/virtio: Return size mapped for a detached domain
    9455ed7835b5 iommu/virtio: Detach domain on endpoint release
    d5791f3cc107 drm/nouveau: dispnv50: fix missing-prototypes warning
    c4353c4ca8ba drm/msm/dpu: Set DPU_DATA_HCTL_EN for in INTF_SC7180_MASK
    e15009d2d0cf drm/msm/dpu: Use V4.0 PCC DSPP sub-block in SC7[12]80
    eeb66735307b drm/msm/dpu: fix cursor block register bit offset in msm8998 hw catalog
    db4df19bfd8b drm/msm/dsi: don't allow enabling 14nm VCO with unprogrammed rate
    fb1da1d86ef2 drm/msm/dpu: enable DSPP_2/3 for LM_2/3 on sm8450
    cb893e0b8dda RDMA/bnxt_re: Fix to remove an unnecessary log
    3aa57b906148 RDMA/bnxt_re: Remove a redundant check inside bnxt_re_update_gid
    4f51da7d48cf RDMA/bnxt_re: Use unique names while registering interrupts
    de84f808aa25 RDMA/bnxt_re: Fix to remove unnecessary return labels
    280fa4f026ad RDMA/bnxt_re: Disable/kill tasklet only if it is enabled
    3b4133ef9ee2 hwmon: (f71882fg) prevent possible division by zero
    0a719f0e4b6f clk: imx: scu: use _safe list iterator to avoid a use after free
    8c0a1d3c3b0c arm64: dts: qcom: ipq9574: Update the size of GICC & GICV regions
    09e82cb6f88f drm/bridge: tc358767: Switch to devm MIPI-DSI helpers
    1bd0ab15374a arm64: dts: microchip: sparx5: do not use PSCI on reference boards
    9445e468cf95 bus: ti-sysc: Fix dispc quirk masking bool variables
    d052f8853f86 ARM: dts: stm32: Move ethernet MAC EEPROM from SoM to carrier boards
    2ed5be414424 drm/vkms: Fix RGB565 pixel conversion
    559e23d20a53 drm: Add fixed-point helper to get rounded integer values
    3041ba47427e drm/vkms: isolate pixel conversion functionality
    017786dd1122 ASoC: Intel: sof_sdw: start set codec init function with an adr index
    edd1975f85d1 ASoC: Intel: sof_sdw: remove SOF_SDW_TGL_HDMI for MeteorLake devices
    3d88f9b2d3c9 ASoC: dt-bindings: mediatek,mt8188-afe: correct clock name
    256aace3a5d8 driver: soc: xilinx: use _safe loop iterator to avoid a use after free
    8d03a54a1311 drm/panel: sharp-ls043t1le01: adjust mode settings
    d02b618730c9 drm: sun4i_tcon: use devm_clk_get_enabled in `sun4i_tcon_init_clocks`
    4229dcd355d2 Input: adxl34x - do not hardcode interrupt trigger type
    61b825e1b47f clk: rs9: Fix .driver_data content in i2c_device_id
    d5a58079ba57 clk: vc7: Fix .driver_data content in i2c_device_id
    45f4f86a3c9b clk: vc5: Fix .driver_data content in i2c_device_id
    fae3a7663348 ARM: dts: meson8b: correct uart_B and uart_C clock references
    a8175f0a58e4 ARM: dts: BCM5301X: Drop "clock-names" from the SPI node
    b4dfa2f5c7c7 drm/vram-helper: fix function names in vram helper doc
    7e448ca8cd23 Input: tests - fix input_test_match_device_id test
    11f2abc0907a drm/bridge: tc358768: fix THS_TRAILCNT computation
    7b395f69524d drm/bridge: tc358768: fix TXTAGOCNT computation
    8b40dd957790 drm/bridge: tc358768: fix THS_ZEROCNT computation
    0b096afbc17a drm/bridge: tc358768: fix TCLK_TRAILCNT computation
    62294711b5d2 drm/bridge: tc358768: Add atomic_get_input_bus_fmts() implementation
    2ef6070193ca drm/bridge: tc358768: fix TCLK_ZEROCNT computation
    08180c6b8d1b drm/bridge: tc358768: fix PLL target frequency
    f8d8dd9e56d4 drm/bridge: tc358768: fix PLL parameters computation
    3a2be6a53595 drm/bridge: tc358768: always enable HS video mode
    ca9f55c85379 drm/bridge: ti-sn65dsi83: Fix enable error path
    d7a431e72802 Input: tests - modular KUnit tests should not depend on KUNIT=y
    92b4948fc558 Input: tests - fix use-after-free and refcount underflow in input_test_exit()
    28dc11949357 Input: cyttsp4_core - change del_timer_sync() to timer_shutdown_sync()
    6ce0bc87416e Input: drv260x - sleep between polling GO bit
    1fef2b720171 drm/bridge: it6505: Move a variable assignment behind a null pointer check in receive_timing_debugfs_show()
    d75eddb703f8 drm/i915/guc/slpc: Provide sysfs for efficient freq
    d87d3f9707ca drm/amd/display: Explicitly specify update type per plane info change
    e985e29f5284 radeon: avoid double free in ci_dpm_init()
    12068e0daebb drm/amd/display: fix is_timing_changed() prototype
    8fd83056c5ea drm/amd/display: Add logging for display MALL refresh setting
    3f6be5e1bc74 drm/amd/display: Unconditionally print when DP sink power state fails
    0f4773ce0502 drm/imx/lcdc: fix a NULL vs IS_ERR() bug in probe
    1e4e06b27cd9 netlink: Add __sock_i_ino() for __netlink_diag_dump().
    3f9e79f31e51 net: dsa: avoid suspicious RCU usage for synced VLAN-aware MAC addresses
    b83927b9562d ipvlan: Fix return value of ipvlan_queue_xmit()
    9c959671abc7 netfilter: nf_tables: fix underflow in chain reference counter
    b761dea6b8a2 netfilter: nf_tables: unbind non-anonymous set if rule construction fails
    75a9544ec92a netfilter: nf_conntrack_sip: fix the ct_sip_parse_numerical_param() return value.
    8c0980493bee netfilter: conntrack: dccp: copy entire header to stack buffer, not just basic one
    6adea070d940 lib/ts_bm: reset initial match offset for every block of text
    e5207c1d69b1 net: nfc: Fix use-after-free caused by nfc_llcp_find_local
    aba32b4c5811 sfc: fix crash when reading stats while NIC is resetting
    9b5fd0d08d7e ocfs2: Fix use of slab data with sendpage
    0f46802ed637 net: axienet: Move reset before 64-bit DMA detection
    58fa341327fd gtp: Fix use-after-free in __gtp_encap_destroy().
    414a09badb48 selftests: rtnetlink: remove netdevsim device after ipsec offload test
    536ad56748c7 sch_netem: fix issues in netem_change() vs get_dist_table()
    bc16fc63592c bonding: do not assume skb mac_header is set
    73862118bd9d netlink: do not hard code device address lenth in fdb dumps
    1556ba034b95 netlink: fix potential deadlock in netlink_set_err()
    723006bee372 net: stmmac: fix double serdes powerdown
    9e108c8516ff igc: Work around HW bug causing missing timestamps
    5ed04b95c7ae igc: Retrieve TX timestamp during interrupt handling
    8af2af0ef2fc igc: Check if hardware TX timestamping is enabled earlier
    f4e452c3477d igc: Fix race condition in PTP tx code
    97678c4718fa can: kvaser_pciefd: Set hardware timestamp on transmitted packets
    aca3328e46fe can: kvaser_pciefd: Add function to set skb hwtstamps
    bc3abed79bf3 can: length: fix bitstuffing count
    4033f4e25c6f bpf: Fix bpf socket lookup from tc/xdp to respect socket VRF bindings
    6b23751dc309 bpf: Call __bpf_sk_lookup()/__bpf_skc_lookup() directly via TC hookpoint
    d1c131a8f0c8 bpf: Factor out socket lookup functions for the TC hookpoint.
    122c1028b2e4 wifi: ath9k: convert msecs to jiffies where needed
    516e5634de3a wifi: iwlwifi: mvm: check only affected links
    16e603c36db1 wifi: iwlwifi: mvm: indicate HW decrypt for beacon protection
    32084eaa7479 mmc: Add MMC_QUIRK_BROKEN_SD_CACHE for Kingston Canvas Go Plus from 11/2019
    b44fa6a2045f watchdog/hardlockup: keep kernel.nmi_watchdog sysctl as 0444 if probe fails
    0fdf348651e3 watchdog/perf: adapt the watchdog_perf interface for async model
    f9b02a122b6b watchdog/hardlockup: rename some "NMI watchdog" constants/function
    e263c266781d watchdog/hardlockup: move perf hardlockup checking/panic to common watchdog.c
    a73123174bde watchdog/hardlockup: change watchdog_nmi_enable() to void
    629f2e61e3ed watchdog: remove WATCHDOG_DEFAULT
    4f2b64f6fed5 mm: move mm_count into its own cache line
    b9edd2ba46f4 wifi: ieee80211: Fix the common size calculation for reconfiguration ML
    ecf7090752a1 wifi: cfg80211: fix regulatory disconnect with OCB/NAN
    7eb9dacc39ba wifi: cfg80211: drop incorrect nontransmitted BSS update code
    392b6ad0aedc wifi: cfg80211: rewrite merging of inherited elements
    798472de63af wifi: mac80211: Remove "Missing iftype sband data/EHT cap" spam
    f71d0fc407dd wifi: iwlwifi: pcie: fix NULL pointer dereference in iwl_pcie_irq_rx_msix_handler()
    172a371b60b0 wifi: iwlwifi: pull from TXQs with softirqs disabled
    56b0c09d5180 wifi: iwlwifi: mvm: correctly access HE/EHT sband capa
    726bd484d500 wifi: iwlwifi: mvm: add support for Extra EHT LTF
    cbebaa71dacf wifi: mac80211: add helpers to access sband iftype data
    c36289e3c5e8 wifi: ath11k: Add missing hw_ops->get_ring_selector() for IPQ5018
    5fa5d8a9921d wifi: ath11k: Restart firmware after cold boot calibration for IPQ5018
    9485d7243357 wifi: ath11k: Add missing ops config for IPQ5018 in ath11k_ahb_probe()
    da336c8bc9d2 wifi: ath11k: Add missing check for ioremap
    69b1b7bbaaa9 rtnetlink: extend RTEXT_FILTER_SKIP_STATS to IFLA_VF_INFO
    ff800b0c4797 wifi: iwlwifi: fw: print PC register value instead of address
    3e3c05ab2f06 wifi: iwlwifi: mvm: Handle return value for iwl_mvm_sta_init
    51e34127f221 wifi: mac80211: Fix permissions for valid_links debugfs entry
    ae3c23788158 bpf: Verify scalar ids mapping in regsafe() using check_ids()
    919dcc2e958a bpf: Use scalar ids in mark_chain_precision()
    4351f6996639 wifi: ath9k: Fix possible stall on ath9k_txq_list_has_key()
    a4b5c41534c9 selftests/bpf: Fix invalid pointer check in get_xlated_program()
    e0ca90430d10 memstick r592: make memstick_debug_get_tpc_name() static
    9d409032d91e mmc: mediatek: Avoid ugly error message when SDIO wakeup IRQ isn't used
    aed47599b4d3 kexec: fix a memory leak in crash_shrink_memory()
    0977d6244fd1 watchdog/perf: more properly prevent false positives with turbo modes
    d6d30d4eb117 watchdog/perf: define dummy watchdog_update_hrtimer_threshold() on correct config
    fae50430abe5 selftests: cgroup: fix unexpected failure on test_memcg_low
    4ecf9c147213 ice: handle extts in the miscellaneous interrupt thread
    bf732fbbde8f wifi: rsi: Do not set MMC_PM_KEEP_POWER in shutdown
    b601468539c1 wifi: rsi: Do not configure WoWlan in shutdown hook if not enabled
    6f228aa0d7c4 spi: spi-geni-qcom: Do not do DMA map/unmap inside driver, use framework instead
    f6d60b61b7db soc: qcom: geni-se: Add interfaces geni_se_tx_init_dma() and geni_se_rx_init_dma()
    63b2a26ebd4b selftests/bpf: Fix check_mtu using wrong variable type
    e55f4fac48af wifi: mac80211: recalc min chandef for new STA links
    009c4bfaab44 wifi: iwlwifi: mvm: send time sync only if needed
    6860a1ac54eb tools/resolve_btfids: Fix setting HOSTCFLAGS
    d906d1b940b9 bpf: Make bpf_refcount_acquire fallible for non-owning refs
    f1263730f927 bpf: Fix __bpf_{list,rbtree}_add's beginning-of-node calculation
    8885bfcff915 bpf: Set kptr_struct_meta for node param to list and rbtree insert funcs
    85ed55cffb6e bpf: Remove anonymous union in bpf_kfunc_call_arg_meta
    a1c6a38931fe wifi: ath10k: Trigger STA disconnect after reconfig complete on hardware restart
    00139f8a0702 samples/bpf: xdp1 and xdp2 reduce XDPBUFSIZE to 60
    b8e2885ebccf wifi: rtw88: usb: silence log flooding error message
    be2a546c30fe wifi: ath9k: don't allow to overwrite ENDPOINT0 attributes
    3730b25d2816 wifi: ray_cs: Fix an error handling path in ray_probe()
    eb1adc0d9dfe wifi: wl3501_cs: Fix an error handling path in wl3501_probe()
    eb0eebfddaff wifi: atmel: Fix an error handling path in atmel_probe()
    9af2ef527b8a wifi: orinoco: Fix an error handling path in orinoco_cs_probe()
    cf8f2ced6486 wifi: orinoco: Fix an error handling path in spectrum_cs_probe()
    809e3b6af942 regulator: core: Streamline debugfs operations
    9fc289a4a2b7 regulator: core: Fix more error checking for debugfs_create_dir()
    982522df0d8a regulator: rk808: fix asynchronous probing
    56c144697557 selftests/bpf: Do not use sign-file as testcase
    6aa27775db63 bpf: Fix memleak due to fentry attach failure
    7879707f5118 bpf: Remove bpf trampoline selector
    fd2bb30e18d0 bpftool: JIT limited misreported as negative value on aarch64
    0b1a4ee53e8d nfc: llcp: fix possible use of uninitialized variable in nfc_llcp_send_connect()
    7d555fbb2f0a spi: dw: Round of n_bytes to power of 2
    6d902719dc3e bpf: Don't EFAULT for {g,s}setsockopt with wrong optlen
    31c630e57700 libbpf: fix offsetof() and container_of() to work with CO-RE
    04a4acef03bd sfc: release encap match in efx_tc_flow_free()
    2bcfe6c4009e sctp: add bpf_bypass_getsockopt proto callback
    f22fd486a999 wifi: mwifiex: Fix the size of a memory allocation in mwifiex_ret_802_11_scan()
    9ba1df0514c3 wifi: rtw88: unlock on error path in rtw_ops_add_interface()
    db779efd33e0 wifi: wilc1000: fix for absent RSN capabilities WFA testcase
    055ebc0c1ee0 spi: spi-geni-qcom: Correct CS_TOGGLE bit in SPI_TRANS_CFG
    7c08d1b0d1f7 samples/bpf: Fix buffer overflow in tcp_basertt
    bce2dfae26de wifi: rtw89: fix rtw89_read_chip_ver() for RTL8852B and RTL8851B
    660663763c72 bpf: fix propagate_precision() logic for inner frames
    41ad047df201 bpf: maintain bitmasks across all active frames in __mark_chain_precision
    bd81fbd4221f bpf: improve precision backtrack logging
    fc2778c42f99 bpf: encapsulate precision backtracking bookkeeping
    7e76a302ed06 libbpf: btf_dump_type_data_check_overflow needs to consider BTF_MEMBER_BITFIELD_SIZE
    75acec91aeaa wifi: ath9k: avoid referencing uninit memory in ath9k_wmi_ctrl_rx
    5678b979551b wifi: ath9k: fix AR9003 mac hardware hang check register offset calculation
    c82c1a4dbe2d igc: Enable and fix RX hash usage by netstack
    130ef25f7004 sched/core: Avoid multiple calling update_rq_clock() in __cfsb_csd_unthrottle()
    065c81ae5817 pstore/ram: Add check for kstrdup
    b02c26ccf6aa ima: Fix build warnings
    d19eecffa4a1 evm: Fix build warnings
    f9d43d2bf3eb evm: Complete description of evm_inode_setattr()
    1cea22f58577 locking/atomic: arm: fix sync ops
    9c8a0dd056fa reiserfs: Initialize sec->length in reiserfs_security_init().
    f2832652160c x86/mm: Fix __swp_entry_to_pte() for Xen PV guests
    97f0eabc9cab perf/ibs: Fix interface via core pmu events
    cca42d7bcc16 selftests/ftace: Fix KTAP output ordering
    bded12a58c9e kselftest: vDSO: Fix accumulation of uninitialized ret when CLOCK_REALTIME is undefined
    3461f979d4e8 tools/nolibc: ensure fast64 integer types have 64 bits
    6705a2ab8a66 x86/xen: Set MTRR state when running as Xen PV initial domain
    a23b0c61b777 x86/mtrr: Replace size_or_mask and size_and_mask with a much easier concept
    e170ba743539 x86/hyperv: Set MTRR state when running as SEV-SNP Hyper-V guest
    81a3b5a5dc02 x86/mtrr: Support setting MTRR state for software defined MTRRs
    780091fe14c6 x86/mtrr: Remove physical address size calculation
    29b1da4f90fc rcu/rcuscale: Stop kfree_scale_thread thread(s) after unloading rcuscale
    3b7f0fff95d4 rcu/rcuscale: Move rcu_scale_*() after kfree_scale_cleanup()
    ed621e24bbaa rcutorture: Correct name of use_softirq module parameter
    a6ea37d9a9bd rcu-tasks: Stop rcu_tasks_invoke_cbs() from using never-onlined CPUs
    fa502fbd3fad rcu: Make rcu_cpu_starting() rely on interrupts being disabled
    86daf6b55a5e kunit: tool: undo type subscripts for subprocess.Popen
    95fd35257907 thermal/drivers/qoriq: Only enable supported sensors
    ec932415e735 thermal/drivers/sun8i: Fix some error handling paths in sun8i_ths_probe()
    34832f584bc8 thermal/drivers/qcom/tsens-v0_1: Add mdm9607 correction offsets
    a4f5546a7ceb thermal/drivers/qcom/tsens-v0_1: Fix mdm9607 slope values
    024b46be9eac thermal/drivers/qcom/tsens-v0_1: Add support for MSM8226
    07d48893997e cpufreq: intel_pstate: Fix energy_performance_preference for passive
    3b6e0e4f3153 ARM: 9303/1: kprobes: avoid missing-declaration warnings
    dc2f28e1c7ac PM: domains: Move the verification of in-params from genpd_add_device()
    a6801b38cba9 powercap: RAPL: Fix CONFIG_IOSF_MBI dependency
    fb27405d60fc powercap: RAPL: fix invalid initialization for pl4_supported field
    48a7c3695942 APEI: GHES: correctly return NULL for ghes_get_devices()
    480d56db8dca perf/arm_cspmu: Fix event attribute type
    924c74c69309 perf: arm_cspmu: Set irq affinitiy only if overflow interrupt is used
    b64569897d86 drivers/perf: hisi: Don't migrate perf to the CPU going to teardown
    39b36d9243be x86/tdx: Fix race between set_memory_encrypted() and load_unaligned_zeropad()
    5e9e4b386c48 x86/mm: Allow guest.enc_status_change_prepare() to fail
    dafc70ae6bea drivers/perf: apple_m1: Force 63bit counters for M2 CPUs
    a127be4b853e perf/arm-cmn: Fix DTC reset
    353b83a403bb PM: domains: fix integer overflow issues in genpd_parse_state()
    99744200f28b clocksource/drivers/cadence-ttc: Fix memory leak in ttc_timer_probe
    eb287ef38426 blk-mq: don't insert passthrough request into sw queue
    ad87179a2088 btrfs: fix file_offset for REQ_BTRFS_ONE_ORDERED bios that get split
    82e3a2913bee btrfs: don't treat zoned writeback as being from an async helper thread
    558c1b78d77d btrfs: only call __extent_writepage_io from extent_write_locked_range
    52f788a170e3 btrfs: don't fail writeback when allocating the compression context fails
    0e0e5d0b4768 btrfs: fix range_end calculation in extent_write_locked_range
    6db5fffba531 btrfs: submit a writeback bio per extent_buffer
    aea3cea8ea96 btrfs: return bool from lock_extent_buffer_for_io
    20409d5140a7 btrfs: don't use btrfs_bio_ctrl for extent buffer reading
    110b32eea2a0 btrfs: always read the entire extent_buffer
    19920ea770bb tracing/timer: Add missing hrtimer modes to decode_hrtimer_mode().
    7fe63c29cb05 tick/rcu: Fix bogus ratelimit condition
    c1968bb8a286 posix-timers: Prevent RT livelock in itimer_delete()
    a25bf14dfa69 erofs: fix compact 4B support for 16k block size
    eba69ca6aa2d svcrdma: Prevent page release when nothing was received
    58603214594c irqchip/jcore-aic: Fix missing allocation of IRQ descriptors
    927a892ff238 irqchip/stm32-exti: Fix warning on initialized field overwritten
    32d07a6f5708 splice: don't call file_accessed in copy_splice_read
    2b99ee760e6e irqchip/loongson-eiointc: Fix irq affinity setting during resume
    942e81650b81 block: fix blktrace debugfs entries leakage
    fbbe89866799 md/raid1-10: submit write io directly if bitmap is not enabled
    18ce03c75e4e md/raid1-10: factor out a helper to submit normal write
    b2ac26d2987d md/raid1-10: factor out a helper to add bio to plug
    43c08b756945 md/raid10: fix io loss while replacement replace rdev
    144c7fd008e0 md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request
    e83cb411aa1c md/raid10: fix wrong setting of max_corr_read_errors
    138ad092e9c9 md/raid10: fix overflow of md/safe_mode_delay
    bea301c04611 md/raid10: check slab-out-of-bounds in md_bitmap_get_counter
    2ed9a89192e3 nvme-core: fix dev_pm_qos memleak
    282416eaf5cc nvme-core: add missing fault-injection cleanup
    6ec30a627899 nvme-core: fix memory leak in dhchap_ctrl_secret
    6a5eda501795 nvme-core: fix memory leak in dhchap_secret_store
    e9b824ca7a55 lockd: drop inappropriate svc_get() from locked_get()
    3cace7e4ac7a blk-mq: fix potential io hang by wrong 'wake_batch'
    cef10b632e83 virt: sevguest: Add CONFIG_CRYPTO dependency
    abbce7f82613 blk-cgroup: Reinit blkg_iostat_set after clearing in blkcg_reset_stats()
    fe3592a1fc67 x86/sev: Fix calculation of end address based on number of pages
    3376c4fe2db4 blk-iocost: use spin_lock_irqsave in adjust_inuse_and_calc_cost
    3cfecc78ff8e fsverity: don't use bio_first_page_all() in fsverity_verify_bio()
    636d815cc35a fsverity: use shash API instead of ahash API
    b646da604aaa x86/resctrl: Only show tasks' pid in current pid namespace
    10c2b98a40d9 erofs: kill hooked chains to avoid loops on deduplicated compressed images
    0a29084050fb splice: Fix filemap_splice_read() to use the correct inode
    16398b4638b5 block/rq_qos: protect rq_qos apis with a new lock
    d2e52518a161 block: Fix the type of the second bdev_op_is_zoned_write() argument
    f2c4eff13173 blk-mq: don't queue plugged passthrough requests into scheduler
    79769887fd04 s390/kasan: fix insecure W+X mapping warning
    b953ddcbb1bb fs: pipe: reveal missing function protoypes
    4538616b518d Revert "drm/amd/display: edp do not add non-edid timings"
    f59fcf798719 iio: accel: fxls8962af: fixup buffer scan element type
    04d566faefb6 iio: accel: fxls8962af: errata bug only applicable for FXLS8962AF
    90d8789805d4 iio: adc: ad7192: Fix internal/external clock selection
    30e469ad6a5b iio: adc: ad7192: Fix null ad7192_state pointer access
    17459c67841a iio: addac: ad74413: don't set DIN_SINK for functions other than digital input
    2fb980d751ae dt-bindings: iio: ad7192: Add mandatory reference voltage source
    8b36533ca65d extcon: usbc-tusb320: Unregister typec port on driver removal
    82187460347a phy: tegra: xusb: Clear the driver reference in usb-phy dev
    fd4173920c27 usb: dwc3: gadget: Propagate core init errors to UDC during pullup
    39fddb00547d USB: serial: option: add LARA-R6 01B PIDs
    25e73018b409 start_kernel: Add __no_stack_protector function attribute

(From OE-Core rev: 30c64d082b85be5fe7d3485029e1cbcd311967fa)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 12:40:14 +01:00
Bruce Ashfield
b4180ef8e2 linux-yocto/6.4: fix CONFIG_LEDS_TRIGGER_GPIO kernel audit warning
Integrating the following commit(s) to linux-yocto/.:

    eab54df7b72 leds : do not enable CONFIG_LEDS_TRIGGER_GPIO by default

(From OE-Core rev: aee275255c740e048d4ecba7be7652446c645967)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-09 12:40:14 +01:00
Michael Opdenacker
5477cad9b9 poky.conf: update SANITY_TESTED_DISTROS to match autobuilder
>From the intersection of the list of allowed workers
on https://git.yoctoproject.org/yocto-autobuilder2/tree/config.py
and the active workers on
https://autobuilder.yoctoproject.org/typhoon/#/workers

(From meta-yocto rev: dc5bd555e1910cdbba4252b896cc3021a8f1ec51)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-08 21:00:35 +01:00
BELOUARGA Mohamed
058a44165c bitbake: fetch2: Check if path is 'None' before calculating checksums
Add one more verification that checks if localpath is None, because
we can't compute checksum of a None.

(Bitbake rev: 47ab9d21171a834cbac3d1ce368d59fd71d14452)

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-04 11:48:26 +01:00
BELOUARGA Mohamed
1f92db2d2c bitbake: bitbake: fetch2/npmsw: Check if there are dependencies before trying to fetch them
When there are no dependencies, _foreach_proxy_method does not verify that there are
dependencies to fetch before fetching them.

(Bitbake rev: 48a102e49448656ef25fb689af7b0971fde523e3)

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-04 11:48:26 +01:00
Martin Jansa
b63831af2b efivar: drop -fuse-ld=bfd
* upstream doesn't use --add-needed since:
  b23aba1 Remove deprecated --add-needed linker flag
  b23aba1469

  which is already included in the source since:
  "efivar: Upgrade to tip of trunk"
  https://git.openembedded.org/openembedded-core/commit/?id=4df808c616f847d90203582fd950a49bb8360dd0

(From OE-Core rev: 52572a930b8c3518e07010bafc2a1920d4a11884)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-04 11:44:28 +01:00
Khem Raj
b5840b5636 binutils: Upgrade to 2.41 release
Fix build on 32bit arches with 64bit off_t defaults

Detailed changes [1]

[1] https://sourceware.org/pipermail/binutils/2023-July/128719.html

(From OE-Core rev: c19fd803220f5b701dee077f7e7bfbb5ba2f22e3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-04 11:44:28 +01:00
Alexis Lothoré
572d820da9 scripts/resulttool: define custom string for "not found" test results
Whenever a test result is present in base test result but absent from
target test results, we have an entry in regression report looking like the
following one:

    ptestresult.apr.testfile: PASSED -> None

The "None" status may be a bit confusing, so replace it with a custom
string which really states what "None" means in this context:

    ptestresult.apr.testfile: PASSED -> No matching test result

(From OE-Core rev: b5f6da6e13f3484f51dfa07f6b3500aea7a21825)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-04 11:44:28 +01:00
Alexis Lothoré
6de3817c62 scripts/resulttool: allow to replace test raw status with custom string
Add a STATUS_STRINGS dictionnary matching raw statuses to custom strings.
Whenever a regression must be reported, raw status is searched in the
custom statuses dict (key search is case insensitive). If no custom string
is found, raw status is kept and used in regression report

(From OE-Core rev: 9d22bfc9d0c4092dba1af0ee11a4c51b7b270786)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-04 11:44:28 +01:00
Khem Raj
024bea3298 musl: Upgrade to tip of trunk
Brings following changes

* 83b858f8 fix rejection of dns responses with pointers past 512 byte offset
* a4ecaf89 dns stub resolver: increase buffer size to handle chained CNAMEs
* 40834f6c printf core: fix gratuitous integer formatting buffer size
* 3a23cd06 all printf variants: fix argument type handling for %c and %lc
* fa4a8abd fix public clone function to be safe and usable by applications
* 0c277ff1 fix broken thread list unlocking after fork
* 4653b987 mbrtowc: Fix wrong return value when n > UINT_MAX
* b90841e2 configure: replace -Os with equivalent based on -O2

(From OE-Core rev: b6abcd4f01aec24393bce68a9806d94702c0d387)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-04 11:44:28 +01:00
Yash Shinde
2d2860206f oeqa/selftest/glibc: Add elapsed time for glibc test report.
Capture the time taken for glibc test execution and
pass it for inclusion in the test report.

[YOCTO #15165]

(From OE-Core rev: 0c35f931c1ddae8d07bad7e2c70ccbc14beaf44d)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-04 11:44:28 +01:00
Yash Shinde
468b9fa034 oeqa/selftest/gcc: Add elapsed time for gcc test report.
Capture the time taken for gcc test execution and
pass it for inclusion in the test report.

[YOCTO #15165]

(From OE-Core rev: 3c8f1e6d7d8a4a60b4153f4458a657d23f190e71)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-04 11:44:28 +01:00
Yash Shinde
c9a9a95044 oeqa/selftest/binutils: Add elapsed time for binutils test report.
Capture the time taken for binutils test execution and
pass it for inclusion in the test report.

[YOCTO #15165]

(From OE-Core rev: 82bdacb048134945821c5329a215bcbd9692bdb3)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-04 11:44:28 +01:00
Khem Raj
266af294a2 systemd: Make 254 work on musl
(From OE-Core rev: 2a7dc1deaa7514c8257d828ee84da70185fc3eda)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-04 11:44:28 +01:00
Khem Raj
5fab97cc55 systemd: Point to target binary paths for loadkeys and setfont
with newer systemd, if not specified, these paths are searched on build
host /usr dir

log.do_configure.2373278:Program /usr/sbin/loadkeys found: YES (/usr/sbin/loadkeys)
log.do_configure.2373278:Program /usr/sbin/setfont found: YES (/usr/sbin/setfont)

and if build host happens to have kbd installed then it
uses those locations, this would work fine if the assumption between OE
distro and host distro matches but fail otherwise e.g. on archlinux
these binaries are in /usr/sbin but in OE they are in ${base_bindir}

This results in
qemux86-64 systemd-vconsole-setup[211]: /usr/sbin/loadkeys failed with exit status 1.

(From OE-Core rev: 94ccc7acc4a871f5bb7ab8e135e70b5519eff6ad)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-04 11:44:28 +01:00
Luca Boccassi
93e8644287 systemd: update to v254
- Drop dependency on gnu-efi, add dependency on pyelftools for EFI builds
- Refresh patches
- Ship new files and directories
- Use meson target to build sd-boot instead of filenames
- Change libpam recipe to set ANY_OF_DISTRO_FEATURES = "pam systemd" to let
  logind pull in pam-plugin-umask

(From OE-Core rev: 95ed1fa4ff74a77deade51ad73b2f8963ff81548)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-04 11:44:28 +01:00
Alexander Kanavin
1666605fe5 scripts/lib/scriptutils.py: add recipe_qa artifacts to exclusion list in filter_src_subdirs()
With newly added recipe_qa task, the function needs to filter out its output as well.

The issue wouldn't appear in selftest because it's triggered by buildhistory and
selftest disables that.

(From OE-Core rev: da1284c990957827ee89685921c53b64490a32b2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-04 11:44:28 +01:00
Alexander Kanavin
5fa764fff8 devtool/upgrade: raise an error if extracting source produces more than one directory
This can happen if running unpack task produces unrelated files and directories
(e.g. if recipe_qa or other tasks run); in this case it's better to stop, rather
than allow devtool to continue and error out much later with a message that has
nothing to do with where the problem originated.

The idea here was to handle tarballs that don't contain a top level directory and thus
the source tree is one level up; this basically never happens, and if it does we
should find a less brittle way to handle such tarballs.

(From OE-Core rev: b25e922b271794906b22450c7e6cc18fcab51ff8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-04 11:44:28 +01:00
Martin Jansa
b3286e3024 alsa-utils: backport a fix to build with glibc-2.38
(From OE-Core rev: b2cc6f150d68ffcdb7e767b94731bc2ff258e4de)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-04 11:44:28 +01:00
Christopher Larson
0402e69853 bitbake: bb.tests.data: don't require the func flag for context functions
Update test_python_snippet_function_reference to not require the 'func'
flag, now that we know the real function will be returned for context
functions without the flag.

(Bitbake rev: 83f41281ec3d9b4327ffc8e2312e1fb8f53cbf02)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-04 11:37:56 +01:00
Christopher Larson
7be82bf665 bitbake: data_smart: directly check for methodpool functions in context lookup
We previously checked for the existence of the 'func' flag to determine
if we should avoid looking up in the metadata. This was done to ensure
the user gets the function for 'def' python functions rather than their
string contents. We can sidestep the metadata lookup and check our
function context directly, instead.

(Bitbake rev: 6cac1eac51efa9a54e8457f60ea1ea0e604c50b7)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-04 11:37:56 +01:00
Christopher Larson
042b70da3b bitbake: tests.data: add test for builtin preferred over metadata value
This test makes sure that '${@eval()}' calls the eval builtin, even if an 'eval' variable is defined in the metadata.

(Bitbake rev: e9150447738a48f772240874b3512b08e982b19b)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-04 11:37:56 +01:00
Christopher Larson
8b74f2ca55 bitbake: data_smart: check for python builtins directly for context lookup
This avoids the need to hardcode a list of python builtins. This also slightly changes behavior, in a case like `${@eval("3")}`, this will ensure we always call the builtin, even if the metadata has an 'eval' variable defined.

(Bitbake rev: 9976ae50677b333d646ca0fd395468bd2301d03f)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-04 11:37:55 +01:00
Christopher Larson
a9d2012f50 bitbake: tests.codeparser: add test for exec of builtin from inline python
This ensures that any change to the presence of builtins in inline
python execs will be noticed.

(Bitbake rev: ee22d3d51c60db2da97422b2be1e42239b7a2324)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-04 11:37:55 +01:00
Christopher Larson
fc8468024c bitbake: tests.data: add test for inline python calling a def'd function
This is a test for an issue seen long ago, to avoid regressions, where a
reference to a def'd function in the metadata would return the string
value from the metadata rather than the function in inline python.

(Bitbake rev: 9f7cb22febd557817c164e25a93f5660e9c06358)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-04 11:37:55 +01:00
Alexander Kanavin
6f361c81ba ref-manual: document image-specific variant of INCOMPATIBLE_LICENSE
This has been around without being properly documented since 2019 (!!!),
and is nowadays the preferred method for enforcing license restrictions,
especially since meta-gplv2 is officially obsolete.

(From yocto-docs rev: efa1c57ecec934998792b7851b4a162be92c8b23)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-03 15:11:11 +01:00
Andrej Valek
e100e3e0b3 ref-manual: document CVE_STATUS and CVE_CHECK_STATUSMAP
Deprecate CVE_CHECK_IGNORE with CVE_STATUS

(From yocto-docs rev: 8b8054977f31e2d6090521a0102f066b6d563733)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-03 15:11:11 +01:00
Lee Chee Yang
db7217335a migration-guides: add release notes for 4.2.2
(From yocto-docs rev: 833cd8e14d47027afa81ce713512b00cda2f7ec5)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-03 15:11:11 +01:00
Michael Opdenacker
7d66f14574 ref-manual: LTS releases now supported for 4 years
(From yocto-docs rev: 6676ab2c6a1fd8cc2ad7b3e2da98f95118524c61)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-03 15:11:11 +01:00
Lee Chee Yang
daf11124fd migration-guides: add release notes for 4.0.11
(From yocto-docs rev: fa687cb318d7fa576efd46a179c2413ae57d3948)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-03 15:11:10 +01:00
Michael Opdenacker
25de21656a ref-manual: releases.svg: updates
- Kirkstone is now a 4 year LTS
- Add future Scarthgap LTS
- Update document metadata: license, title

(From yocto-docs rev: 12d40f56edc755db9724b7382e30082874f29699)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-03 15:11:10 +01:00
Ulrich Ölmann
9f51de2f9b ref-manual: classes: kernel-fitimage: refine role of INITRAMFS_IMAGE_BUNDLE
Although it might seem a little bit pedantic this patch describes what the class
actually checks (see e.g. [1]) and kernel.bbclass per default sets the parameter
INITRAMFS_IMAGE_BUNDLE to the empty string (see [2]) which already satisfies
that check without the need of additionally explicitly setting it to '0'.

[1] https://git.yoctoproject.org/poky/tree/meta/classes-recipe/kernel-fitimage.bbclass?h=4.3_M1&id=cc97d775cb402df0d4122bf54eab1a5198c98471#n667
[2] https://git.yoctoproject.org/poky/tree/meta/classes-recipe/kernel.bbclass?h=4.3_M1&id=cc97d775cb402df0d4122bf54eab1a5198c98471#n37

(From yocto-docs rev: dc486daa7cf8536435c3364a842f802b6fba1e1a)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-03 15:11:10 +01:00
Ulrich Ölmann
7d4c1b2dd9 ref-manual: classes: kernel-fitimage: fix typos
(From yocto-docs rev: 054015241abd7ccde30e3cc14f95bb15a8e3b75d)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-03 15:11:10 +01:00
Ulrich Ölmann
7be9b1ff81 ref-manual: classes: kernel-fitimage: fix source of imagetype
The actual code in kernel-fitimage.bbclass checks if "fitImage" is listed in
KERNEL_IMAGETYPES (see e.g. [1]) which is a merge of KERNEL_IMAGETYPE,
KERNEL_ALT_IMAGETYPE and KERNEL_IMAGETYPES (see [2]).

[1] https://git.yoctoproject.org/poky/tree/meta/classes-recipe/kernel-fitimage.bbclass?h=4.3_M1&id=cc97d775cb402df0d4122bf54eab1a5198c98471#n9
[2] https://git.yoctoproject.org/poky/tree/meta/classes-recipe/kernel.bbclass?h=4.3_M1&id=cc97d775cb402df0d4122bf54eab1a5198c98471#n74

(From yocto-docs rev: a0f79745a80c7a88167d83d905e75e1fcd5f054d)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-03 15:11:10 +01:00
Quentin Schulz
69d68f6094 docs: sdk-manual: appendix-obtain: fix literal block content
Restore the error message as it is supposed to be issued.

The literal block renders its content verbatim so a term role (`:term:`)
would appear as :term: string in there and `---` as --- string instead
of the expected hyphen.

Fixes: e319b3bf4eb6 ("manuals: add missing references to SDKMACHINE and SDK_ARCH")
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 95158beba0aea7539024688c71b54fed5267faec)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-03 15:11:10 +01:00
Alex Kiernan
bed1597caf poky/poky-tiny: Explicitly exclude shadow
`login` from busybox has explicit heuristics to handle CONFIG_MULTIUSER
unset (i.e. a kernel without non-root users, groups or capabilities),
bringing in the shadow version of `login` causes obscure failures at
runtime ("setgid: Function not implemented"), instead exclude it here so
anyone who includes it (likely accidentally) will at least get a build
time failure.

(From meta-yocto rev: be22c2923a0cdf60ab60012668382e55a3618f2b)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-01 15:37:19 +01:00
Khem Raj
61bcec8a28 ffmpeg: Fix wrong code found with gas/2.41
(From OE-Core rev: 692e414aed5313ff275b69e93179aa7c559700f3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-01 09:51:21 +01:00
Martin Jansa
d505ab5ea5 patchelf: add 3 fixes to optimize and fix uninative
* uninative-3.10 and 4.0 doesn't work on e.g. ubuntu-18.04, because patchelf-uninative
  makes the binaries unusable and e.g. mkfs.ext4 segfaults in loader, see:
  https://github.com/NixOS/patchelf/issues/492

* mke2fs.real, mkfs.ext2.real, mkfs.ext3.real, mkfs.ext4.real are indentical
  binary with multiple hardlinks and we end calling patchelf-uninative 4
  times even when the interpreter is already set correctly from the build

  The issue was reported upstream with mkfs.ext4.real as possible reproducer:
  https://github.com/NixOS/patchelf/issues/492#issuecomment-1602862272

  To fix uninative we need to first release new uninative tarball and
  then upgrade it in master, mickledore, kirkstone, dunfell

* originally reported in:
  https://lists.openembedded.org/g/openembedded-core/message/182862
  with temporary work around (applicable locally without waiting for
  new uninative release):
  https://lists.openembedded.org/g/openembedded-core/message/183314

(From OE-Core rev: f0499b58d1dd149300a349dde8f6664679df13e6)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-01 09:51:20 +01:00
Denis OSTERLAND-HEIM
5797574236 kernel-fitImage: add machine compatible to config section
to allow bootloaders to select best matching configuration based
on compatible string.

(From OE-Core rev: f4c82fb6da89359679c52318a8ebab7295c233e8)

Signed-off-by: Denis OSTERLAND-HEIM <denis.osterland@diehl.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-01 09:51:20 +01:00
Alexander Kanavin
65bc175907 util-linux: upgrade 2.38.1 -> 2.39.1
License-update: added bsd-2-clause
faeb1b64b3

(From OE-Core rev: 30b6031be6c9b7870f618391dd492834615b0aed)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-01 09:51:20 +01:00
Chen Qi
a193e855e0 ncurses: fix CVE-2023-29491
Backport patch to fix CVE-2023-29491.

(From OE-Core rev: f1c95ae70f7aac574daf5b935a02bbba0d6f8a16)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-01 09:51:20 +01:00
Khem Raj
1a93346e4f gnu-efi: Fix build break on riscv64
(From OE-Core rev: 41b54ac83c756897f444b8fe651953e4feaa4571)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-01 09:51:20 +01:00
Tim Orling
d0e4e116d3 python3-wheel: upgrade 0.40.0 -> 0.41.0
https://wheel.readthedocs.io/en/stable/news.html

0.41.0 (2023-07-22)
* Added full support of the build tag syntax to wheel tags (you can now
  set a build tag like 123mytag)
* Fixed warning on Python 3.12 about onerror deprecation. (PR by Henry
  Schreiner)
* Support testing on Python 3.12 betas (PR by Ewout ter Hoeven)

(From OE-Core rev: 81e7e3b9059840fd749b5b50fc75588d7c4b7593)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-01 09:51:20 +01:00
Tim Orling
50167aeb06 python3-more-itertools: upgrade 9.1.0 -> 10.0.0
https://more-itertools.readthedocs.io/en/stable/versions.html

10.0.0
* Potentially breaking changes
  - Python 3.7 support was dropped, since it went EOL on 2023-06-27
  - batched() no longer issues a DeprecationWarning; it is now an alias
    for itertools.batched for Python 3.12+
  - batched() and matmul() now yield tuples instead of lists
* New functions
  - combination_with_replacement_index() (thanks to Schoyen)
  - nth_combination_with_replacement() (thanks to Schoyen)
  - polynomial_eval() (from the Python itertools docs)
  - polynomial_derivative() (from the Python itertools docs)
  - sum_of_squares() (from the Python itertools docs)
* Changes to existing functions
  - seekable() now has relative_seek method (thanks to karlb)
  - chunked_even() was optimized (thanks to elliotwutingfeng)
  - numeric_range() was optimized (thanks to eltoder)
  - duplicates_justseen(), pairwise(), partial_product(), and partition()
    were updated and optimized (thanks to pochmann)
  - unique_in_window() had its implementation updated (thanks to
    elliotwutingfeng)
  - iterate() now breaks when its func argument raises StopIteration (thanks
    to jrebiffe)
* Other changes
  - Some documentation and testing issues were fixed (thanks to lonnen and
    XuehaiPan)

(From OE-Core rev: 9351489f3fd9a01f1e74b4f209df01aeffe55c8f)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-01 09:51:20 +01:00
Tim Orling
5760be9c24 python3-certifi: upgrade 2023.5.7 -> 2023.7.22
No changelog provided. Commits:

8fb96ed (tag: 2023.07.22) 2023.07.22
afe7722 Bump actions/setup-python from 4.6.1 to 4.7.0 (#230)
2038739 Bump dessant/lock-threads from 3.0.0 to 4.0.1 (#229)
44df761 Hash pin Actions and enable dependabot (#228)

(From OE-Core rev: fdd9e8fe947479994be02b61862e4b1604f44f2d)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-01 09:51:20 +01:00
Tim Orling
2046901b48 python3-sphinx: upgrade 7.0.1 -> 7.1.1
No longer need to set PYPI_PACKAGE, download is
now sphinx-${PV}.tar.gz not Sphinx-${PV}.tar.gz.

https://www.sphinx-doc.org/en/master/changes.html#release-7-1-1-released-jul-27-2023
https://www.sphinx-doc.org/en/master/changes.html#release-7-1-0-released-jul-24-2023

(From OE-Core rev: e1b7dbb0c397f6ab0b8059d39a182f9fb271ef4e)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-01 09:51:20 +01:00
Peter Marko
4ddeb8ee8b bluez5: correct CVE status of ignored CVEs
Rewrite of CVE_CHECK_IGNORE to CVE_STATUS contained copy+paste
problem changing CVE numbers.

CVE-2020-12352 -> CVE-2022-3563
CVE-2020-24490 -> CVE-2022-3637

CVE-2020-12352 is now for kernel only in NVD BD, so remove it.
CVE-2020-24490 is corrected in this commit.

(From OE-Core rev: 150f81b764ccf1abfc69bd573d1fb997a6115884)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-31 14:48:59 +01:00
Peter Marko
9e7036f3a7 cve-exclusion_6.1: correct typo in exclusion list name
This will remove 6 CVEs which were already excluded before.

(From OE-Core rev: 8fbf7ec2b98395d87fed1360e362dc1e91e6d400)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-31 14:48:59 +01:00
Peter Marko
5dd5f0f534 libarchive: ignore CVE-2023-30571
This issue was reported and discusses under [1] which is linked in NVD CVE report.
It was already documented that some parts or libarchive are thread safe and some not.
[2] was now merged to document that also reported function is not thread safe.
So this CVE *now* reports thread race condition for non-thread-safe function.
And as such the CVE report is now invalid.

The issue is still not closed for 2 reasons:
* better document what is and what is not thread safe
* request to public if someone could make these functions thread safe
This should however not invalidate above statment about ignoring this CVE.

[1] https://github.com/libarchive/libarchive/issues/1876
[2] https://github.com/libarchive/libarchive/pull/1875

(From OE-Core rev: 9b5b850d6a6982bb8ff14dcfbb6769b293638293)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 12:00:15 +01:00
Andrej Valek
2f54f9bc01 maintainers.inc: Modify email address
andrej.valek@siemens.com -> andrej.v@skyrain.eu

(From OE-Core rev: 1af0edaa83934d67ff554be591968fc8cea42e4e)

Signed-off-by: Andrej Valek <andrej.v@skyrain.eu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:20:10 +01:00
Dmitry Baryshkov
a5a3130856 linux-firmware: split platform-specific Adreno shaders to separate packages
For newest Qualcomm platforms the firmware for the Adreno GPU consists
of two parts: platform-independent SQE/GMU/GPMU/PFP/PM4 and
platform-specific ZAP shader, which is used during the boot process. As
the platform-independent parts can be shared between different
platforms, split the platform-specific part to the separate package.

(From OE-Core rev: bf00a042d2fa2eb4b20d8c5982926758821bf990)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:53 +01:00
BELOUARGA Mohamed
f07d09fe51 linux-firmware : Add firmware of RTL8822 serie
RTL8822 is a serie of wireless modules that need firmwares to function correctly.
The linux firmware recipe does not have a package of these firmwares, and this commit add them.

(From OE-Core rev: 6459959beeb91c0b694f5f17b6587a12c6dcb087)

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:53 +01:00
Markus Volk
fae96e779e gcr3: remove recipe
It will be added to meta-gnome

(From OE-Core rev: 5216bbf37d5c0c18c1c8921136906bef9c600c03)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:53 +01:00
Alexander Kanavin
0b3ba1e2d9 procps: address failure with gettext 0.22
(From OE-Core rev: 046458f00108385eeae9f71f7350dc1693f64081)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:53 +01:00
Alexander Kanavin
a2f1791f8d buildtools-extended-tarball: install the full set of gconv modules
The specific set was written to ensure vim builds reproducibly; this is
however prone to silent regressions (if vim adds more usage of iconv with
different encodings). Installing the full set also matches what standard
desktop distributions do, and thus meets expectations of upstream projects in general.

(From OE-Core rev: 2685c497c14bc325500053e551d97e8cbda97252)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:53 +01:00
Alexander Kanavin
3ae2716291 uninative-tarball: install the full set of gconv modules
msgfmt from gettext-native 0.22 is using iconv() to convert data to utf-8
from arbitrary source encodings (previous versions of gettext did not
do this conversion):
https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commit;h=5412a4f79929004cb6db15d545e07dc953330e8d

As this is happening at build time, and the source encodings are specified by upstream projects
 in translation files, we need the full set to cover all of them.

(From OE-Core rev: 8a23d9f499c7784379822ef69f4812a562a90887)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:53 +01:00
Alexander Kanavin
a0748b0014 glibc-locale: use stricter matching for metapackages' runtime dependencies
This resolves two issues:

1. metapackages were depending on themselves (except -binaries which wouldn't match against 'glibc-binary').

2. for the nativesdk variant, due to a non-empty dependency list at parsing time caused by
issue 1, map_depends_variable() from meta/lib/oe/classextend.py was forcibly setting PACKAGES
to the initial parse-time value (e.g. missing the dynamically created packages). This meant that
three out of four nativesdk- metapackages were entireyly missing the dependencies on the
respective dynamic package sets.

(From OE-Core rev: a90fd3afe9184aa1870b34a826e3ba0563477d4b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:53 +01:00
Alexander Kanavin
11cc1a1a88 epiphany: upgrade 43.1 -> 44.5
With this version, epiphany has transitioned to gtk4,
and requires webkit built with gtk4 support (there is no choice,
it's a hard break). Adjust the webkit recipe accordingly.

There's also a new requirement for gcr 4.x and libadwaita.

(From OE-Core rev: 6a300f48e783ee95ccad52fd47ad4e7d88279e4e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:53 +01:00
Alexander Kanavin
254cc105ee libadwaita: add recipe from meta-gnome
This is a requirement of latest epiphany 44.x.

(From OE-Core rev: c25df21f40c15cf087ec14f47ccbc7c3b5c84de2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:53 +01:00
Alexander Kanavin
2c92cddeb1 sudo: update 1.9.13p3 -> 1.9.14p2
License-update: file removed upstream

Drop patch as issue fixed upstream.

(From OE-Core rev: 71621e8e2c630b3b55f40359821a6db8e409442c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:53 +01:00
Alexander Kanavin
dcb6abe86b strace: upgrade 6.3 -> 6.4
(From OE-Core rev: d6afd089818df82e966930b18fb48600da67575e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:53 +01:00
Alexander Kanavin
0928f1d3c0 jquery: upgrade 3.6.3 -> 3.7.0
License-Update: needed lines shifted upwards

(From OE-Core rev: 9cd564df491cadf79d2932c9d648dee2624d3110)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:53 +01:00
Alexander Kanavin
ecaf7e251d systemd: upgrade 253.3 -> 253.7
(From OE-Core rev: f346b1995dc3e3fc3bf27f3aaada8e0d2ee6853f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:52 +01:00
Alexander Kanavin
c9a55dcb25 kbd: upgrade 2.6.0 -> 2.6.1
(From OE-Core rev: 6a403f2bd9bd6d916ef08a31514a8c4bb5efc318)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:52 +01:00
Alexander Kanavin
e06e72791c gettext-minimal-native: obtain the needed files directly from gettext source tarball
None of the files are generated, and so there is no need to carry them
in oe-core (which greatly complicates gettext version updates, for one thing).

Let's simply copy them over directly from the tarball; as the set of installed .m4
files can and does change over time, obtain them with a python scriptlet from Makefile.am
where they are listed.

(From OE-Core rev: d06cfaadb6d4bd93982f82ad8b93b89e9bceea16)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:52 +01:00
Alexander Kanavin
7943dbae85 gnu-efi: upgrade 3.0.15 -> 3.0.17
Unset LDFLAGS as the standard ones do not work when linking EFI binaries
(the new version of gnu-efi adds various apps).

(From OE-Core rev: b4b94acef1e2c5e5f1185ae165969c8a66038b17)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:52 +01:00
Alexander Kanavin
fc8241a606 acpica: tarball and homepage relocated to intel.com
Sadly the tarball link is hidden behind html button trickery: while
the link seems stable, determining what it is is too much for
our upstream version checker, and so new versions will
have to be checked by hand every sometimes.

Switching to git won't help either: the tags are in MMDDYY format,
and so won't sort:
https://github.com/acpica/acpica/tags
https://github.com/acpica/acpica/issues/886

(From OE-Core rev: 56320b9058b703e33f43c839dddb27b67ead523f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:52 +01:00
Alexander Kanavin
43cf578a84 librsvg: fix upstream version check
- upstream no longer uses odd-even scheme
https://gitlab.gnome.org/GNOME/librsvg/-/releases/2.55.1

- x.y.9z versions are pre-releases and need to be excluded

(From OE-Core rev: df99bd7c99bb5c18632ab8203d64b54b4b8a2204)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:52 +01:00
Alexander Kanavin
f6bd6b72f8 insane.bbclass: add a RECIPE_MAINTAINER check (oe-core recipes only)
Absent maintainer entries are as well a frequent source of friction, as they are checked
only in selftest, and so aren't revealed until autobuilder runs.

The selftest is retained as it also checks for obsolete entries in maintainers.inc
(not possible to do in insane class).

(From OE-Core rev: 675dff0e37666c1cffa10a83f6f1f67d5fadd204)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:52 +01:00
Alexander Kanavin
ba961128e2 insane.bbclass: add a SUMMARY/HOMEPAGE check (oe-core recipes only)
This was done in a selftest, but that is too late and creates
friction in integration as errors are not seen until autobuilder fails.

Bonus fix: SUMMARY check wasn't even working, as in the absence
of one set in the recipe there is a default value set from bitbake.conf.

I left DESCRIPTION check out for now, as many recipes don't actually
have it, and it's set from SUMMARY (plus a dot) if absent.

(From OE-Core rev: 4144c2f43da39336b03cfd612cbe1694cbf8c7bd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:52 +01:00
Alexander Kanavin
2c7a4a8021 devtool: do not run recipe_qa task when extracting source
The immediate reason is that the task is sstate enabled, and due
to the way devtool sets up source extraction this causes bogus
values to appear in tmp/sstate-control/index-* files.

Also, recipe_qa may contain hard failures in the future, and it
would be counterproductive for the failures to prevent devtool
workflows (which may perhaps be about fixing the failure).

An alternative would have been to not insert recipe_qa task before
fetch task, but that would greatly delay the checks in larger
bitbake builds, and it's better to run them as early as possible.

(From OE-Core rev: 6f9db3f8de3dca9b0c87382561c70857d5b39e0f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:52 +01:00
Alexander Kanavin
e8c8337989 insane.bbclass: add do_recipe_qa task
There is a need to run QA checks that can operate entirely from
recipe metadata and do not need any of the build artefacts or
source code. After some deliberation it was concluded that such
checks are best collected in their own task that runs as early as possible,
and so this commit adds the task.

Like package_qa, the task is sstate enabled, but doesn't (yet)
register the qa results into sstate.

(From OE-Core rev: e0c71367ab59021fc430ef215bbfc3b525036ba4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:52 +01:00
Alexander Kanavin
e0515a6a0d meta: add missing summaries for image recipes
(From OE-Core rev: ff6f67f8fa6a5601a4203000ed039252aea1ef93)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:52 +01:00
Richard Purdie
5d65d26db3 oeqa/selftest/rust: Round test execution time to integer
To match the other tests, round the test duration to an intger value
so the test reports are consistent.

(From OE-Core rev: c5be3b22a7d5b3f211080ecdf05a077f8b413ef2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 07:54:44 +01:00
Khem Raj
4606d55e95 gcc: Upgrade to 13.2 release
This is a bugfix [1] release on GCC-13 release with 58 [2] bugs fixed

[1] https://gcc.gnu.org/pipermail/gcc-announce/2023/000179.html
[2] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&list_id=390723&resolution=FIXED&target_milestone=13.2

(From OE-Core rev: 89175021995db0e7f81a74c6bafcebdce9de8939)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 07:54:44 +01:00
Yash Shinde
c496b1eaf4 oeqa/selftest/rust: Add failed test cases to exclude list for Rust Oe-selftest
* Add the failing test cases in exclude_list to exclude them from testing during the Rust Oe-selftest.

* Drop  meta/recipes-devtools/rust/files/rust-oe-selftest.patch file as the failing tests are
  moved from being a patch to exclude_list in meta/lib/oeqa/selftest/cases/rust.py.

* When updating to a newer version of Rust, it is manually needed to update the exclude_list. The tests that fail are observed to
  work on some versions and fail on others. These tests have been excluded in order to successfully complete testing of Rust Oe-selftest.

* The tests that are passed and skipped are as follows-

Target                  PASS                    SKIPPED

ARM                     15507                    428
ARM64                   15535                    400
MIPS64                  15479                    456
X86                     15528                    407
X86-64                  15643                    292

Also, time the test execution and pass the time taken for inclusion in the test report.

[RP: Note duration addiion in the commit log]
(From OE-Core rev: e81197c4d3b36e9ad52e56708c21987cacd13147)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 07:54:44 +01:00
Yash Shinde
9b07dbc41f rust: Fix BOOTSTRAP_CARGO failure during Rust Oe-selftest
BOOTSTRAP_CARGO command fails due to codegen flags like `-Cpanic` were
prevented from being reflected in the current target configuration which
leads to Rust build(rust version 1.70) failure in Oe-selftest.

Upstream-Status: Backport [9dffb52738]

(From OE-Core rev: a48e3612b5dc0e58a89f88a914365e926101c90b)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 07:54:44 +01:00
Frederic Martinsons
80cec38c0c ptest-cargo.bbclass: Support of cargo workspaces
For complex project, it is very common to have multiple
sub artifacts and so use workspaces, sometimes it has
even no root artifacts (but several bin or lib) and
virtual manifest is used for that.

Long story short, support this case in ptest-cargo class
to look for all test binaries in the current project
and no more those generated by the root Cargo.toml

(From OE-Core rev: 67644c3fa7d012ad03d0a876a281d5abd5edf7fe)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 07:54:44 +01:00
Richard Purdie
c2d0ac3f0d oeqa/ssh: Further improve process exit handling
It looks like there were further cases where orphaned processes may be left
behind since the .kill() calls may be unsuccessful if the process terminated
due to the terminate or through normal exit. In that situation .wait()
wouldn't have been called.

Further tweak the exit code paths to ensure .wait() is called to update the
returncode value before returning in all cases.

(From OE-Core rev: 0a0a1731e38edfa72a141e8fd8f2de52be562e94)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 07:54:44 +01:00
Khem Raj
de9508dbd3 x32-linux: Do not cache ac_cv_sys_file_offset_bits
This variable is used on some packages e.g. gpgme/libimobiledevice [1]
but with new autoconf, its better to let autconf detect it than cache it
here

[1] https://github.com/gpg/gpgme/blob/master/configure.ac#L659-L670

(From OE-Core rev: 1747608dfb1b2c8c4a40f819177d22f2bbae85df)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 07:54:44 +01:00
Khem Raj
153499cb58 Revert "site: merged common-glibc from OE"
This reverts commit a2f942c22e.

AC_TYPE_UID_T autoconf macro caches its result in ac_cv_type_uid_t
for defining uid_t and gid_t to suitable types if system headers do not
define them

back in 2008 autoconf did not evaluate it correctly [1] however it works
fine now with autoconf 2.72c especially after [2]

[1] https://git.openembedded.org/openembedded/commit/?id=d572f3b010ea76c5b79ecf1ae7864f7a6348220a
[2] https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=51d98495d1aac00970d791f064e83ca762bf81c7

(From OE-Core rev: 96f041cc22b7b23d43a6ed31e969b1c789b3d42d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 07:54:44 +01:00
Khem Raj
baa99b3201 autoconf: Backport upstreamed patches
These patches improve the Y2038 support on top of 2.72c release

(From OE-Core rev: ffff6eb96f0c500cf4386e842b73fc11156b469a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 07:54:44 +01:00
Richard Purdie
f35b5f5d20 autoconf: Upgrade to 2.72c
2.72c is a prerelease version of autoconf 2.73. It contains largefile and y2038 64 bit
time_t improvements for 32 bit architectures.

Rather than work on the older codebase, this brings us to work with the recent
autoconf upstream with the 64 bit changes. It is unclear when upstream will release
2.73 but it is easier for us to be aligned now we've done the bulk of the work needed
to update.

Upstream added several patches which fixed several common failures OE builds ran
into (backported in the next commit). In general testing has otherwise been good for us.

There is an unfortunate gnulib largefile.m4 bug. This change patches various software
to workaround it, next time they update new versions of the gnulib code will be pulled
in which address the issue with the official fix.

There are also a couple of ordering related fixes for apr and libarchive.

(From OE-Core rev: bb74a03e927b4867d885ad3539b097f0e7ed108c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 07:54:44 +01:00
Joshua Watt
231b7099e5 bitbake: contrib: vim: Fix up a few errors when reloading
Fixes a few errors when the bitbake indent plugin is reloaded:
 1) Define functions with "!" so that vim doens't issue a warning when
    they are replaced
 2) Rename GetPythonIndent -> GetBBPythonIndent to prevent potential
    conflict with other plugins

(Bitbake rev: b7109acb96e416e3c537b6b51f7c1fec2ca89371)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-29 13:26:19 +01:00
Yoann Congal
d8a51fd628 bitbake: fetch2/gitsm: Document that we won't support propagating user parameter
[YOCTO #13550]

(Bitbake rev: 5e45b8eab60d651c98a950533043a4c96b9c8b01)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-29 13:26:19 +01:00
Khem Raj
5afd5091cc ltp: Use bfd linker for KVM_LD as well when ld-is-lld
(From OE-Core rev: 808934304ce997c08152bf620071dfdce72cc845)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-29 08:34:35 +01:00
Alex Kiernan
36ed53a648 udev: eudev: Revert add group to sgx
The sgx group is part of base-passwd now.

(From OE-Core rev: d443fad3687c4dd2d7b4107079e0d297d03e94d6)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-29 08:34:35 +01:00
Alex Kiernan
a10c01f9d1 base-passwd: Add the sgx group
To avoid errors from eudev/udev we need an sgx group, but if we add it
via groupadd that causes shadow login to be brought into an image, which
causes images which have CONFIG_MULTIUSER unset to fail with `setgid:
Function not implemented` as shadow's login doesn't implement the
heuristics which busybox has to handle this kernel configuration.

(From OE-Core rev: a1c81ac4a869cc57394071ace2ca086eb8ac47a4)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-29 08:34:35 +01:00
Richard Purdie
269479f6f4 target/ssh: Ensure exit code set for commands
As spotted by Joshua Watt, the returncode isn't set until .poll() or .wait()
is called so we need to call this after the .kill() call.

This fixes return code reporting so that timeouts for example now return an
exit code when they didn't before.

(From OE-Core rev: 3924e94214b5135369be2551d54fb92097d35e95)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-29 08:34:35 +01:00
Richard Purdie
10ab0949a1 ltp: Add kernel loopback module dependency
The qemuarm64 kernel builds loopback device support as a module and it isn't included
in the image leading to ltp test failures on that platform.

Add the missing kernel module RRECOMMENDS to avoid this and fix those errors.

(From OE-Core rev: 8691020f33a644d52b7d867376ef3c85be84abf9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-29 08:34:35 +01:00
Richard Purdie
8ace40e278 oeqa/ltp: Show warning for non-zero exit codes
When test command timeouts occur, there was no warning in the logs. Change
this to ignore "exit 1" but report all other exit codes so that timeouts
are clear.

(From OE-Core rev: 37851f948f3e7703560cf6346eb7d348d584dc7e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-29 08:34:35 +01:00
Richard Purdie
94b9bc0b04 oeqa/runtime/ltp: Increase ltp test output timeout
On our slower arm server, the tests currently timeout leading to inconsistent test
results. Increase the timeout to avoid this and aim to make the test results
consistent.

(From OE-Core rev: 9a8b49208f3c99e184eab426360b137bc773aa31)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-29 08:34:35 +01:00
Richard Purdie
f35a017cf8 createrepo-c: Update patch status
The patch was submitted upstream, thanks Khem.

(From OE-Core rev: 5bfa569254a68f246c1c4cc1208afce769cff7bc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-29 08:34:35 +01:00
Richard Purdie
aff6bc3249 oeqa/target/ssh: Ensure EAGAIN doesn't truncate output
We have a suspicion that the read() call may return EAGAIN on the non-blocking
fd and this may truncate test output leading to some of our intermittent failures.
Tweak the code to avoid this potential issue.

(From OE-Core rev: a8920c105725431e989cceb616bd04eaa52127ec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-29 08:34:35 +01:00
Dit Kozmaj
afed7e8747 bitbake: fetch2: Set maxsplit to match expected variables
Set the maxsplit value to match the expected number of variables.
This also avoids an unnecessary split as the parameters are in the form 'key=value'
and the 'value' could contain the '=' character.

(Bitbake rev: 3b17a7ed9bf6cd2808946c2d9c3ed9961af11f19)

Signed-off-by: Dit Kozmaj <dit.kozmaj@kynetics.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-27 21:09:14 +01:00
Khem Raj
67b51c40be ffmpeg: Use bfd linker on i386 when lld is distro linker default
(From OE-Core rev: fc155090b8cfb62f1114b3e5f86fc4dacfb3bc89)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-27 21:07:53 +01:00
Khem Raj
12c9f826de ltp: Use bfd linker when lld is distro linker default
(From OE-Core rev: 3f6ab1fea2d07a4e553bb67e3055133ff38dd68c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-27 21:07:53 +01:00
Khem Raj
5d66e8166f nfs-utils: Fix host path contamination building locktest
(From OE-Core rev: c4a50b0738235ce6fdff078d513827ba00b8affc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-27 21:07:53 +01:00
Oleksandr Hnatiuk
9205ac1d53 file: fix the way path is written to environment-setup.d
$OECORE_NATIVE_SYSROOT is not escaped, thus it is expanded to an empty string.
This happens to work because we have ${datadir} which in this context is
relocated to the buildtools sysroot after installation of buildtools.

If the $ before OECORE_NATIVE_SYSROOT is escaped, it will be saved to file.sh
as intended, but MAGIC will point to the wrong location because both
OECORE_NATIVE_SYSROOT and datadir resolve to sysroot which doubles the path
like so:
/path/to/buildtools/sysroots/x86_64-xesdk-linux/path/to/buildtools/sysroots/x86_64-xesdk-linux/usr/share/misc/magic.mgc
which does not exist. So, removing reference to OECORE_NATIVE_SYSROOT.

(From OE-Core rev: c6206249683876670602888e78ecaf719753a317)

Signed-off-by: Oleksandr Hnatiuk <ohnatiuk@cisco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-27 21:07:53 +01:00
Dmitry Baryshkov
0da5484b2f mesa: enable swrast Vulkan driver if LLVM drivers are enabled
The software Vulkan driver requires the LLVM to be built. Make this
driver enabled if the `gallium-llvm' config option is enabled.

(From OE-Core rev: 4c95a7381ea835dce8119845d6c146800e98f960)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-27 21:07:53 +01:00
Dmitry Baryshkov
8e4a74ed98 mesa: simplify overriding GALLIUMDRIVERS_LLVM
Embedded devices might want to extend and/or override the
GALLIUMDRIVERS_LLVM variable (to change the set of gallium drivers
enabled for the particular device). Simplify this task by making the
GALLIUMDRIVERS_LLVM variable follow the rest of mesa.inc variables and
contain the leading comma.

(From OE-Core rev: fac5aa9503c2c6579b0389f8c304b9a914b940c8)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-27 21:07:53 +01:00
Dmitry Baryshkov
7807441927 linux-firmware: package firmare for Dragonboard 410c
Latest linux-firmware archive inclues firmware for the Dragonboard 410c
device (Qualcomm apq8016 SBC). Follow the rest of linux-firmware-qcom-*
packages as a template and create packages for the new firmware files.

(From OE-Core rev: 380216e8d3b63d563ebfb10445fc6eb5e77eb9f2)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-27 21:07:53 +01:00
Dmitry Baryshkov
9137761c0d kmscube: bump SRCREV to get offscreen rendering to work
Newer kmscube added support for offscreen rendering, using render nodes.
Bump up SRCREV to get this feature supported in oe-core.

(From OE-Core rev: 4e3dcd850d6ec9ba778c891e30827ed819fa3b6b)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-27 21:07:53 +01:00
1359 changed files with 50885 additions and 23731 deletions

View File

@@ -1,35 +0,0 @@
# Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build
DESTDIR = final
ifeq ($(shell if which $(SPHINXBUILD) >/dev/null 2>&1; then echo 1; else echo 0; fi),0)
$(error "The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed")
endif
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: help Makefile.sphinx clean publish
publish: Makefile.sphinx html singlehtml
rm -rf $(BUILDDIR)/$(DESTDIR)/
mkdir -p $(BUILDDIR)/$(DESTDIR)/
cp -r $(BUILDDIR)/html/* $(BUILDDIR)/$(DESTDIR)/
cp $(BUILDDIR)/singlehtml/index.html $(BUILDDIR)/$(DESTDIR)/singleindex.html
sed -i -e 's@index.html#@singleindex.html#@g' $(BUILDDIR)/$(DESTDIR)/singleindex.html
clean:
@rm -rf $(BUILDDIR)
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile.sphinx
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

View File

@@ -16,9 +16,13 @@ which can be found at:
Contributing
------------
Please refer to
https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
for guidelines on how to submit patches.
Please refer to our contributor guide here: https://docs.yoctoproject.org/dev/contributor-guide/
for full details on how to submit changes.
As a quick guide, patches should be sent to openembedded-core@lists.openembedded.org
The git command to do that would be:
git send-email -M -1 --to openembedded-core@lists.openembedded.org
Mailing list:

22
SECURITY.md Normal file
View File

@@ -0,0 +1,22 @@
How to Report a Potential Vulnerability?
========================================
If you would like to report a public issue (for example, one with a released
CVE number), please report it using the
[https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Security Security Bugzilla]
If you are dealing with a not-yet released or urgent issue, please send a
message to security AT yoctoproject DOT org, including as many details as
possible: the layer or software module affected, the recipe and its version,
and any example code, if available.
Branches maintained with security fixes
---------------------------------------
See [https://wiki.yoctoproject.org/wiki/Stable_Release_and_LTS Stable release and LTS]
for detailed info regarding the policies and maintenance of Stable branches.
The [https://wiki.yoctoproject.org/wiki/Releases Release page] contains a list of all
releases of the Yocto Project. Versions in grey are no longer actively maintained with
security patches, but well-tested patches may still be accepted for them for
significant issues.

View File

@@ -18,16 +18,19 @@ Bitbake requires Python version 3.8 or newer.
Contributing
------------
Please refer to
https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
for guidelines on how to submit patches, just note that the latter documentation is intended
for OpenEmbedded (and its core) not bitbake patches (bitbake-devel@lists.openembedded.org)
but in general main guidelines apply. Once the commit(s) have been created, the way to send
the patch is through git-send-email. For example, to send the last commit (HEAD) on current
branch, type:
Please refer to our contributor guide here: https://docs.yoctoproject.org/dev/contributor-guide/
for full details on how to submit changes.
As a quick guide, patches should be sent to bitbake-devel@lists.openembedded.org
The git command to do that would be:
git send-email -M -1 --to bitbake-devel@lists.openembedded.org
If you're sending a patch related to the BitBake manual, make sure you copy
the Yocto Project documentation mailing list:
git send-email -M -1 --to bitbake-devel@lists.openembedded.org --cc docs@lists.yoctoproject.org
Mailing list:
https://lists.openembedded.org/g/bitbake-devel

24
bitbake/SECURITY.md Normal file
View File

@@ -0,0 +1,24 @@
How to Report a Potential Vulnerability?
========================================
If you would like to report a public issue (for example, one with a released
CVE number), please report it using the
[https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Security Security Bugzilla].
If you have a patch ready, submit it following the same procedure as any other
patch as described in README.md.
If you are dealing with a not-yet released or urgent issue, please send a
message to security AT yoctoproject DOT org, including as many details as
possible: the layer or software module affected, the recipe and its version,
and any example code, if available.
Branches maintained with security fixes
---------------------------------------
See [https://wiki.yoctoproject.org/wiki/Stable_Release_and_LTS Stable release and LTS]
for detailed info regarding the policies and maintenance of Stable branches.
The [https://wiki.yoctoproject.org/wiki/Releases Release page] contains a list of all
releases of the Yocto Project. Versions in grey are no longer actively maintained with
security patches, but well-tested patches may still be accepted for them for
significant issues.

View File

@@ -27,7 +27,7 @@ from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
bb.utils.check_system_locale()
__version__ = "2.4.0"
__version__ = "2.6.0"
if __name__ == "__main__":
if __version__ != bb.__version__:

View File

@@ -26,26 +26,35 @@ if __name__ == "__main__":
parser.add_argument('-f', '--flag', help='Specify a variable flag to query (with --value)', default=None)
parser.add_argument('--value', help='Only report the value, no history and no variable name', action="store_true")
parser.add_argument('-q', '--quiet', help='Silence bitbake server logging', action="store_true")
parser.add_argument('--ignore-undefined', help='Suppress any errors related to undefined variables', action="store_true")
args = parser.parse_args()
if args.unexpand and not args.value:
print("--unexpand only makes sense with --value")
sys.exit(1)
if not args.value:
if args.unexpand:
sys.exit("--unexpand only makes sense with --value")
if args.flag and not args.value:
print("--flag only makes sense with --value")
sys.exit(1)
if args.flag:
sys.exit("--flag only makes sense with --value")
with bb.tinfoil.Tinfoil(tracking=True, setup_logging=not args.quiet) as tinfoil:
quiet = args.quiet or args.value
with bb.tinfoil.Tinfoil(tracking=True, setup_logging=not quiet) as tinfoil:
if args.recipe:
tinfoil.prepare(quiet=2)
tinfoil.prepare(quiet=3 if quiet else 2)
d = tinfoil.parse_recipe(args.recipe)
else:
tinfoil.prepare(quiet=2, config_only=True)
d = tinfoil.config_data
value = None
if args.flag:
print(str(d.getVarFlag(args.variable, args.flag, expand=(not args.unexpand))))
elif args.value:
print(str(d.getVar(args.variable, expand=(not args.unexpand))))
value = d.getVarFlag(args.variable, args.flag, expand=not args.unexpand)
if value is None and not args.ignore_undefined:
sys.exit(f"The flag '{args.flag}' is not defined for variable '{args.variable}'")
else:
value = d.getVar(args.variable, expand=not args.unexpand)
if value is None and not args.ignore_undefined:
sys.exit(f"The variable '{args.variable}' is not defined")
if args.value:
print(str(value if value is not None else ""))
else:
bb.data.emit_var(args.variable, d=d, all=True)

View File

@@ -56,25 +56,24 @@ def main():
nonlocal missed_hashes
nonlocal max_time
client = hashserv.create_client(args.address)
with hashserv.create_client(args.address) as client:
for i in range(args.requests):
taskhash = hashlib.sha256()
taskhash.update(args.taskhash_seed.encode('utf-8'))
taskhash.update(str(i).encode('utf-8'))
for i in range(args.requests):
taskhash = hashlib.sha256()
taskhash.update(args.taskhash_seed.encode('utf-8'))
taskhash.update(str(i).encode('utf-8'))
start_time = time.perf_counter()
l = client.get_unihash(METHOD, taskhash.hexdigest())
elapsed = time.perf_counter() - start_time
start_time = time.perf_counter()
l = client.get_unihash(METHOD, taskhash.hexdigest())
elapsed = time.perf_counter() - start_time
with lock:
if l:
found_hashes += 1
else:
missed_hashes += 1
with lock:
if l:
found_hashes += 1
else:
missed_hashes += 1
max_time = max(elapsed, max_time)
pbar.update()
max_time = max(elapsed, max_time)
pbar.update()
max_time = 0
found_hashes = 0
@@ -113,6 +112,19 @@ def main():
with lock:
pbar.update()
def handle_remove(args, client):
where = {k: v for k, v in args.where}
if where:
result = client.remove(where)
print("Removed %d row(s)" % (result["count"]))
else:
print("No query specified")
def handle_clean_unused(args, client):
result = client.clean_unused(args.max_age)
print("Removed %d rows" % (result["count"]))
return 0
parser = argparse.ArgumentParser(description='Hash Equivalence Client')
parser.add_argument('--address', default=DEFAULT_ADDRESS, help='Server address (default "%(default)s")')
parser.add_argument('--log', default='WARNING', help='Set logging level')
@@ -137,6 +149,15 @@ def main():
help='Include string in outhash')
stress_parser.set_defaults(func=handle_stress)
remove_parser = subparsers.add_parser('remove', help="Remove hash entries")
remove_parser.add_argument("--where", "-w", metavar="KEY VALUE", nargs=2, action="append", default=[],
help="Remove entries from table where KEY == VALUE")
remove_parser.set_defaults(func=handle_remove)
clean_unused_parser = subparsers.add_parser('clean-unused', help="Remove unused database entries")
clean_unused_parser.add_argument("max_age", metavar="SECONDS", type=int, help="Remove unused entries older than SECONDS old")
clean_unused_parser.set_defaults(func=handle_clean_unused)
args = parser.parse_args()
logger = logging.getLogger('hashserv')
@@ -152,9 +173,8 @@ def main():
func = getattr(args, 'func', None)
if func:
client = hashserv.create_client(args.address)
return func(args, client)
with hashserv.create_client(args.address) as client:
return func(args, client)
return 0

View File

@@ -91,19 +91,19 @@ def worker_fire_prepickled(event):
worker_thread_exit = False
def worker_flush(worker_queue):
worker_queue_int = b""
worker_queue_int = bytearray()
global worker_pipe, worker_thread_exit
while True:
try:
worker_queue_int = worker_queue_int + worker_queue.get(True, 1)
worker_queue_int.extend(worker_queue.get(True, 1))
except queue.Empty:
pass
while (worker_queue_int or not worker_queue.empty()):
try:
(_, ready, _) = select.select([], [worker_pipe], [], 1)
if not worker_queue.empty():
worker_queue_int = worker_queue_int + worker_queue.get()
worker_queue_int.extend(worker_queue.get())
written = os.write(worker_pipe, worker_queue_int)
worker_queue_int = worker_queue_int[written:]
except (IOError, OSError) as e:
@@ -346,12 +346,12 @@ class runQueueWorkerPipe():
if pipeout:
pipeout.close()
bb.utils.nonblockingfd(self.input)
self.queue = b""
self.queue = bytearray()
def read(self):
start = len(self.queue)
try:
self.queue = self.queue + (self.input.read(102400) or b"")
self.queue.extend(self.input.read(102400) or b"")
except (OSError, IOError) as e:
if e.errno != errno.EAGAIN:
raise
@@ -379,7 +379,7 @@ class BitbakeWorker(object):
def __init__(self, din):
self.input = din
bb.utils.nonblockingfd(self.input)
self.queue = b""
self.queue = bytearray()
self.cookercfg = None
self.databuilder = None
self.data = None
@@ -413,7 +413,7 @@ class BitbakeWorker(object):
if len(r) == 0:
# EOF on pipe, server must have terminated
self.sigterm_exception(signal.SIGTERM, None)
self.queue = self.queue + r
self.queue.extend(r)
except (OSError, IOError):
pass
if len(self.queue):

View File

@@ -40,7 +40,7 @@ set cpo&vim
let s:maxoff = 50 " maximum number of lines to look backwards for ()
function GetPythonIndent(lnum)
function! GetBBPythonIndent(lnum)
" If this line is explicitly joined: If the previous line was also joined,
" line it up with that one, otherwise add two 'shiftwidth'
@@ -257,7 +257,7 @@ let b:did_indent = 1
setlocal indentkeys+=0\"
function BitbakeIndent(lnum)
function! BitbakeIndent(lnum)
if !has('syntax_items')
return -1
endif
@@ -315,7 +315,7 @@ function BitbakeIndent(lnum)
endif
if index(["bbPyDefRegion", "bbPyFuncRegion"], name) != -1
let ret = GetPythonIndent(a:lnum)
let ret = GetBBPythonIndent(a:lnum)
" Should normally always be indented by at least one shiftwidth; but allow
" return of -1 (defer to autoindent) or -2 (force indent to 0)
if ret == 0

View File

@@ -47,8 +47,8 @@ To install all required packages run:
To build the documentation locally, run:
$ cd documentation
$ make -f Makefile.sphinx html
$ cd doc
$ make html
The resulting HTML index page will be _build/html/index.html, and you
can browse your own copy of the locally generated documentation with

View File

@@ -476,6 +476,14 @@ Here are some example URLs::
easy to share metadata without removing passwords. SSH keys, ``~/.netrc``
and ``~/.ssh/config`` files can be used as alternatives.
Using tags with the git fetcher may cause surprising behaviour. Bitbake needs to
resolve the tag to a specific revision and to do that, it has to connect to and use
the upstream repository. This is because the revision the tags point at can change and
we've seen cases of this happening in well known public repositories. This can mean
many more network connections than expected and recipes may be reparsed at every build.
Source mirrors will also be bypassed as the upstream repository is the only source
of truth to resolve the revision accurately. For these reasons, whilst the fetcher
can support tags, we recommend being specific about revisions in recipes.
.. _gitsm-fetcher:
@@ -688,6 +696,41 @@ Here is an example URL::
It can also be used when setting mirrors definitions using the :term:`PREMIRRORS` variable.
.. _gcp-fetcher:
GCP Fetcher (``gs://``)
--------------------------
This submodule fetches data from a
`Google Cloud Storage Bucket <https://cloud.google.com/storage/docs/buckets>`__.
It uses the `Google Cloud Storage Python Client <https://cloud.google.com/python/docs/reference/storage/latest>`__
to check the status of objects in the bucket and download them.
The use of the Python client makes it substantially faster than using command
line tools such as gsutil.
The fetcher requires the Google Cloud Storage Python Client to be installed, along
with the gsutil tool.
The fetcher requires that the machine has valid credentials for accessing the
chosen bucket. Instructions for authentication can be found in the
`Google Cloud documentation <https://cloud.google.com/docs/authentication/provide-credentials-adc#local-dev>`__.
If it used from the OpenEmbedded build system, the fetcher can be used for
fetching sstate artifacts from a GCS bucket by specifying the
``SSTATE_MIRRORS`` variable as shown below::
SSTATE_MIRRORS ?= "\
file://.* gs://<bucket name>/PATH \
"
The fetcher can also be used in recipes::
SRC_URI = "gs://<bucket name>/<foo_container>/<bar_file>"
However, the checksum of the file should be also be provided::
SRC_URI[sha256sum] = "<sha256 string>"
.. _crate-fetcher:
Crate Fetcher (``crate://``)
@@ -791,6 +834,8 @@ Fetch submodules also exist for the following:
- OSC (``osc://``)
- S3 (``s3://``)
- Secure FTP (``sftp://``)
- Secure Shell (``ssh://``)

View File

@@ -9,12 +9,19 @@
# SPDX-License-Identifier: GPL-2.0-only
#
__version__ = "2.4.0"
__version__ = "2.6.0"
import sys
if sys.version_info < (3, 8, 0):
raise RuntimeError("Sorry, python 3.8.0 or later is required for this version of bitbake")
if sys.version_info < (3, 10, 0):
# With python 3.8 and 3.9, we see errors of "libgcc_s.so.1 must be installed for pthread_cancel to work"
# https://stackoverflow.com/questions/64797838/libgcc-s-so-1-must-be-installed-for-pthread-cancel-to-work
# https://bugs.ams1.psf.io/issue42888
# so ensure libgcc_s is loaded early on
import ctypes
libgcc_s = ctypes.CDLL('libgcc_s.so.1')
class BBHandledException(Exception):
"""

215
bitbake/lib/bb/acl.py Executable file
View File

@@ -0,0 +1,215 @@
#! /usr/bin/env python3
#
# Copyright 2023 by Garmin Ltd. or its subsidiaries
#
# SPDX-License-Identifier: MIT
import sys
import ctypes
import os
import errno
import pwd
import grp
libacl = ctypes.CDLL("libacl.so.1", use_errno=True)
ACL_TYPE_ACCESS = 0x8000
ACL_TYPE_DEFAULT = 0x4000
ACL_FIRST_ENTRY = 0
ACL_NEXT_ENTRY = 1
ACL_UNDEFINED_TAG = 0x00
ACL_USER_OBJ = 0x01
ACL_USER = 0x02
ACL_GROUP_OBJ = 0x04
ACL_GROUP = 0x08
ACL_MASK = 0x10
ACL_OTHER = 0x20
ACL_READ = 0x04
ACL_WRITE = 0x02
ACL_EXECUTE = 0x01
acl_t = ctypes.c_void_p
acl_entry_t = ctypes.c_void_p
acl_permset_t = ctypes.c_void_p
acl_perm_t = ctypes.c_uint
acl_tag_t = ctypes.c_int
libacl.acl_free.argtypes = [acl_t]
def acl_free(acl):
libacl.acl_free(acl)
libacl.acl_get_file.restype = acl_t
libacl.acl_get_file.argtypes = [ctypes.c_char_p, ctypes.c_uint]
def acl_get_file(path, typ):
acl = libacl.acl_get_file(os.fsencode(path), typ)
if acl is None:
err = ctypes.get_errno()
raise OSError(err, os.strerror(err), str(path))
return acl
libacl.acl_get_entry.argtypes = [acl_t, ctypes.c_int, ctypes.c_void_p]
def acl_get_entry(acl, entry_id):
entry = acl_entry_t()
ret = libacl.acl_get_entry(acl, entry_id, ctypes.byref(entry))
if ret < 0:
err = ctypes.get_errno()
raise OSError(err, os.strerror(err))
if ret == 0:
return None
return entry
libacl.acl_get_tag_type.argtypes = [acl_entry_t, ctypes.c_void_p]
def acl_get_tag_type(entry_d):
tag = acl_tag_t()
ret = libacl.acl_get_tag_type(entry_d, ctypes.byref(tag))
if ret < 0:
err = ctypes.get_errno()
raise OSError(err, os.strerror(err))
return tag.value
libacl.acl_get_qualifier.restype = ctypes.c_void_p
libacl.acl_get_qualifier.argtypes = [acl_entry_t]
def acl_get_qualifier(entry_d):
ret = libacl.acl_get_qualifier(entry_d)
if ret is None:
err = ctypes.get_errno()
raise OSError(err, os.strerror(err))
return ctypes.c_void_p(ret)
libacl.acl_get_permset.argtypes = [acl_entry_t, ctypes.c_void_p]
def acl_get_permset(entry_d):
permset = acl_permset_t()
ret = libacl.acl_get_permset(entry_d, ctypes.byref(permset))
if ret < 0:
err = ctypes.get_errno()
raise OSError(err, os.strerror(err))
return permset
libacl.acl_get_perm.argtypes = [acl_permset_t, acl_perm_t]
def acl_get_perm(permset_d, perm):
ret = libacl.acl_get_perm(permset_d, perm)
if ret < 0:
err = ctypes.get_errno()
raise OSError(err, os.strerror(err))
return bool(ret)
class Entry(object):
def __init__(self, tag, qualifier, mode):
self.tag = tag
self.qualifier = qualifier
self.mode = mode
def __str__(self):
typ = ""
qual = ""
if self.tag == ACL_USER:
typ = "user"
qual = pwd.getpwuid(self.qualifier).pw_name
elif self.tag == ACL_GROUP:
typ = "group"
qual = grp.getgrgid(self.qualifier).gr_name
elif self.tag == ACL_USER_OBJ:
typ = "user"
elif self.tag == ACL_GROUP_OBJ:
typ = "group"
elif self.tag == ACL_MASK:
typ = "mask"
elif self.tag == ACL_OTHER:
typ = "other"
r = "r" if self.mode & ACL_READ else "-"
w = "w" if self.mode & ACL_WRITE else "-"
x = "x" if self.mode & ACL_EXECUTE else "-"
return f"{typ}:{qual}:{r}{w}{x}"
class ACL(object):
def __init__(self, acl):
self.acl = acl
def __del__(self):
acl_free(self.acl)
def entries(self):
entry_id = ACL_FIRST_ENTRY
while True:
entry = acl_get_entry(self.acl, entry_id)
if entry is None:
break
permset = acl_get_permset(entry)
mode = 0
for m in (ACL_READ, ACL_WRITE, ACL_EXECUTE):
if acl_get_perm(permset, m):
mode |= m
qualifier = None
tag = acl_get_tag_type(entry)
if tag == ACL_USER or tag == ACL_GROUP:
qual = acl_get_qualifier(entry)
qualifier = ctypes.cast(qual, ctypes.POINTER(ctypes.c_int))[0]
yield Entry(tag, qualifier, mode)
entry_id = ACL_NEXT_ENTRY
@classmethod
def from_path(cls, path, typ):
acl = acl_get_file(path, typ)
return cls(acl)
def main():
import argparse
import pwd
import grp
from pathlib import Path
parser = argparse.ArgumentParser()
parser.add_argument("path", help="File Path", type=Path)
args = parser.parse_args()
acl = ACL.from_path(args.path, ACL_TYPE_ACCESS)
for entry in acl.entries():
print(str(entry))
return 0
if __name__ == "__main__":
sys.exit(main())

View File

@@ -126,6 +126,12 @@ class AsyncClient(object):
{'ping': {}}
)
async def __aenter__(self):
return self
async def __aexit__(self, exc_type, exc_value, traceback):
await self.close()
class Client(object):
def __init__(self):
@@ -176,3 +182,10 @@ class Client(object):
if sys.version_info >= (3, 6):
self.loop.run_until_complete(self.loop.shutdown_asyncgens())
self.loop.close()
def __enter__(self):
return self
def __exit__(self, exc_type, exc_value, traceback):
self.close()
return False

View File

@@ -82,7 +82,7 @@ def add_module_functions(fn, functions, namespace):
execs.remove(e)
execs.add(namespace + "." + e)
modulecode_deps[name] = [parser.references.copy(), execs, parser.var_execs.copy(), parser.contains.copy()]
#bb.warn("%s: %s\nRefs:%s Execs: %s %s %s" % (name, src, parser.references, parser.execs, parser.var_execs, parser.contains))
#bb.warn("%s: %s\nRefs:%s Execs: %s %s %s" % (name, fn, parser.references, parser.execs, parser.var_execs, parser.contains))
def update_module_dependencies(d):
for mod in modulecode_deps:
@@ -255,8 +255,8 @@ class PythonParser():
def visit_Call(self, node):
name = self.called_node_name(node.func)
if name and (name.endswith(self.getvars) or name.endswith(self.getvarflags) or name in self.containsfuncs or name in self.containsanyfuncs):
if isinstance(node.args[0], ast.Str):
varname = node.args[0].s
if isinstance(node.args[0], ast.Constant) and isinstance(node.args[0].value, str):
varname = node.args[0].value
if name in self.containsfuncs and isinstance(node.args[1], ast.Str):
if varname not in self.contains:
self.contains[varname] = set()

View File

@@ -65,7 +65,7 @@ class Command:
command = commandline.pop(0)
# Ensure cooker is ready for commands
if command != "updateConfig" and command != "setFeatures":
if command not in ["updateConfig", "setFeatures", "ping"]:
try:
self.cooker.init_configdata()
if not self.remotedatastores:
@@ -85,7 +85,6 @@ class Command:
if not hasattr(command_method, 'readonly') or not getattr(command_method, 'readonly'):
return None, "Not able to execute not readonly commands in readonly mode"
try:
self.cooker.process_inotify_updates_apply()
if getattr(command_method, 'needconfig', True):
self.cooker.updateCacheSync()
result = command_method(self, commandline)
@@ -109,7 +108,6 @@ class Command:
def runAsyncCommand(self, _, process_server, halt):
try:
self.cooker.process_inotify_updates_apply()
if self.cooker.state in (bb.cooker.state.error, bb.cooker.state.shutdown, bb.cooker.state.forceshutdown):
# updateCache will trigger a shutdown of the parser
# and then raise BBHandledException triggering an exit
@@ -169,6 +167,8 @@ class CommandsSync:
Allow a UI to check the server is still alive
"""
return "Still alive!"
ping.needconfig = False
ping.readonly = True
def stateShutdown(self, command, params):
"""
@@ -307,6 +307,11 @@ class CommandsSync:
return ret
getLayerPriorities.readonly = True
def revalidateCaches(self, command, params):
"""Called by UI clients when metadata may have changed"""
command.cooker.revalidateCaches()
parseConfiguration.needconfig = False
def getRecipes(self, command, params):
try:
mc = params[0]
@@ -545,8 +550,8 @@ class CommandsSync:
and return a datastore object representing the environment
for the recipe.
"""
fn = params[0]
mc = bb.runqueue.mc_from_tid(fn)
virtualfn = params[0]
(fn, cls, mc) = bb.cache.virtualfn2realfn(virtualfn)
appends = params[1]
appendlist = params[2]
if len(params) > 3:
@@ -569,10 +574,10 @@ class CommandsSync:
if config_data:
# We have to use a different function here if we're passing in a datastore
# NOTE: we took a copy above, so we don't do it here again
envdata = command.cooker.databuilder._parse_recipe(config_data, fn, appendfiles, mc, layername)['']
envdata = command.cooker.databuilder._parse_recipe(config_data, fn, appendfiles, mc, layername)[cls]
else:
# Use the standard path
envdata = command.cooker.databuilder.parseRecipe(fn, appendfiles, layername)
envdata = command.cooker.databuilder.parseRecipe(virtualfn, appendfiles, layername)
idx = command.remotedatastores.store(envdata)
return DataStoreConnectionHandle(idx)
parseRecipeFile.readonly = True
@@ -776,3 +781,9 @@ class CommandsAsync:
bb.event.fire(bb.event.FindSigInfoResult(res), command.cooker.databuilder.mcdata[mc])
command.finishAsyncCommand()
findSigInfo.needcache = False
def getTaskSignatures(self, command, params):
res = command.cooker.getTaskSignatures(params[0], params[1])
bb.event.fire(bb.event.GetTaskSignatureResult(res), command.cooker.data)
command.finishAsyncCommand()
getTaskSignatures.needcache = True

View File

@@ -22,7 +22,6 @@ from bb import utils, data, parse, event, cache, providers, taskdata, runqueue,
import queue
import signal
import prserv.serv
import pyinotify
import json
import pickle
import codecs
@@ -173,17 +172,9 @@ class BBCooker:
self.waitIdle = server.wait_for_idle
bb.debug(1, "BBCooker starting %s" % time.time())
sys.stdout.flush()
self.configwatcher = None
self.confignotifier = None
self.watchmask = pyinotify.IN_CLOSE_WRITE | pyinotify.IN_CREATE | pyinotify.IN_DELETE | \
pyinotify.IN_DELETE_SELF | pyinotify.IN_MODIFY | pyinotify.IN_MOVE_SELF | \
pyinotify.IN_MOVED_FROM | pyinotify.IN_MOVED_TO
self.watcher = None
self.notifier = None
self.configwatched = {}
self.parsewatched = {}
# If being called by something like tinfoil, we need to clean cached data
# which may now be invalid
@@ -194,8 +185,6 @@ class BBCooker:
self.hashserv = None
self.hashservaddr = None
self.inotify_modified_files = []
# TOSTOP must not be set or our children will hang when they output
try:
fd = sys.stdout.fileno()
@@ -219,53 +208,13 @@ class BBCooker:
signal.signal(signal.SIGHUP, self.sigterm_exception)
bb.debug(1, "BBCooker startup complete %s" % time.time())
sys.stdout.flush()
self.inotify_threadlock = threading.Lock()
def init_configdata(self):
if not hasattr(self, "data"):
self.initConfigurationData()
bb.debug(1, "BBCooker parsed base configuration %s" % time.time())
sys.stdout.flush()
self.handlePRServ()
def setupConfigWatcher(self):
with bb.utils.lock_timeout(self.inotify_threadlock):
if self.configwatcher:
self.configwatcher.close()
self.confignotifier = None
self.configwatcher = None
self.configwatcher = pyinotify.WatchManager()
self.configwatcher.bbseen = set()
self.configwatcher.bbwatchedfiles = set()
self.confignotifier = pyinotify.Notifier(self.configwatcher, self.config_notifications)
def setupParserWatcher(self):
with bb.utils.lock_timeout(self.inotify_threadlock):
if self.watcher:
self.watcher.close()
self.notifier = None
self.watcher = None
self.watcher = pyinotify.WatchManager()
self.watcher.bbseen = set()
self.watcher.bbwatchedfiles = set()
self.notifier = pyinotify.Notifier(self.watcher, self.notifications)
def process_inotify_updates(self):
with bb.utils.lock_timeout(self.inotify_threadlock):
for n in [self.confignotifier, self.notifier]:
if n and n.check_events(timeout=0):
# read notified events and enqueue them
n.read_events()
def process_inotify_updates_apply(self):
with bb.utils.lock_timeout(self.inotify_threadlock):
for n in [self.confignotifier, self.notifier]:
if n and n.check_events(timeout=0):
n.read_events()
n.process_events()
def _baseconfig_set(self, value):
if value and not self.baseconfig_valid:
bb.server.process.serverlog("Base config valid")
@@ -280,88 +229,16 @@ class BBCooker:
bb.server.process.serverlog("Parse cache invalidated")
self.parsecache_valid = value
def config_notifications(self, event):
if event.maskname == "IN_Q_OVERFLOW":
bb.warn("inotify event queue overflowed, invalidating caches.")
self._parsecache_set(False)
self._baseconfig_set(False)
bb.parse.clear_cache()
return
if not event.pathname in self.configwatcher.bbwatchedfiles:
return
if "IN_ISDIR" in event.maskname:
if "IN_CREATE" in event.maskname or "IN_DELETE" in event.maskname:
if event.pathname in self.configwatcher.bbseen:
self.configwatcher.bbseen.remove(event.pathname)
# Could remove all entries starting with the directory but for now...
bb.parse.clear_cache()
if not event.pathname in self.inotify_modified_files:
self.inotify_modified_files.append(event.pathname)
self._baseconfig_set(False)
def add_filewatch(self, deps, configwatcher=False):
if configwatcher:
watcher = self.configwatched
else:
watcher = self.parsewatched
def notifications(self, event):
if event.maskname == "IN_Q_OVERFLOW":
bb.warn("inotify event queue overflowed, invalidating caches.")
self._parsecache_set(False)
bb.parse.clear_cache()
return
if event.pathname.endswith("bitbake-cookerdaemon.log") \
or event.pathname.endswith("bitbake.lock"):
return
if "IN_ISDIR" in event.maskname:
if "IN_CREATE" in event.maskname or "IN_DELETE" in event.maskname:
if event.pathname in self.watcher.bbseen:
self.watcher.bbseen.remove(event.pathname)
# Could remove all entries starting with the directory but for now...
bb.parse.clear_cache()
if not event.pathname in self.inotify_modified_files:
self.inotify_modified_files.append(event.pathname)
self._parsecache_set(False)
def add_filewatch(self, deps, watcher=None, dirs=False):
if not watcher:
watcher = self.watcher
for i in deps:
watcher.bbwatchedfiles.add(i[0])
if dirs:
f = i[0]
else:
f = os.path.dirname(i[0])
if f in watcher.bbseen:
continue
watcher.bbseen.add(f)
watchtarget = None
while True:
# We try and add watches for files that don't exist but if they did, would influence
# the parser. The parent directory of these files may not exist, in which case we need
# to watch any parent that does exist for changes.
try:
watcher.add_watch(f, self.watchmask, quiet=False)
if watchtarget:
watcher.bbwatchedfiles.add(watchtarget)
break
except pyinotify.WatchManagerError as e:
if 'ENOENT' in str(e):
watchtarget = f
f = os.path.dirname(f)
if f in watcher.bbseen:
break
watcher.bbseen.add(f)
continue
if 'ENOSPC' in str(e):
providerlog.error("No space left on device or exceeds fs.inotify.max_user_watches?")
providerlog.error("To check max_user_watches: sysctl -n fs.inotify.max_user_watches.")
providerlog.error("To modify max_user_watches: sysctl -n -w fs.inotify.max_user_watches=<value>.")
providerlog.error("Root privilege is required to modify max_user_watches.")
raise
def handle_inotify_updates(self):
# reload files for which we got notifications
for p in self.inotify_modified_files:
bb.parse.update_cache(p)
if p in bb.parse.BBHandler.cached_statements:
del bb.parse.BBHandler.cached_statements[p]
self.inotify_modified_files = []
f = i[0]
mtime = i[1]
watcher[f] = mtime
def sigterm_exception(self, signum, stackframe):
if signum == signal.SIGTERM:
@@ -392,8 +269,7 @@ class BBCooker:
if mod not in self.orig_sysmodules:
del sys.modules[mod]
self.handle_inotify_updates()
self.setupConfigWatcher()
self.configwatched = {}
# Need to preserve BB_CONSOLELOG over resets
consolelog = None
@@ -436,7 +312,7 @@ class BBCooker:
self.disableDataTracking()
for mc in self.databuilder.mcdata.values():
self.add_filewatch(mc.getVar("__base_depends", False), self.configwatcher)
self.add_filewatch(mc.getVar("__base_depends", False), configwatcher=True)
self._baseconfig_set(True)
self._parsecache_set(False)
@@ -486,6 +362,29 @@ class BBCooker:
if hasattr(self, "data"):
self.data.disableTracking()
def revalidateCaches(self):
bb.parse.clear_cache()
clean = True
for f in self.configwatched:
if not bb.parse.check_mtime(f, self.configwatched[f]):
bb.server.process.serverlog("Found %s changed, invalid cache" % f)
self._baseconfig_set(False)
self._parsecache_set(False)
clean = False
break
if clean:
for f in self.parsewatched:
if not bb.parse.check_mtime(f, self.parsewatched[f]):
bb.server.process.serverlog("Found %s changed, invalid cache" % f)
self._parsecache_set(False)
clean = False
break
if not clean:
bb.parse.BBHandler.cached_statements = {}
def parseConfiguration(self):
self.updateCacheSync()
@@ -566,6 +465,7 @@ class BBCooker:
# Now update all the variables not in the datastore to match
self.configuration.env = environment
self.revalidateCaches()
if not clean:
logger.debug("Base environment change, triggering reparse")
self.reset()
@@ -650,7 +550,7 @@ class BBCooker:
raise
else:
if not mc in self.databuilder.mcdata:
bb.fatal('Not multiconfig named "%s" found' % mc)
bb.fatal('No multiconfig named "%s" found' % mc)
envdata = self.databuilder.mcdata[mc]
data.expandKeys(envdata)
parse.ast.runAnonFuncs(envdata)
@@ -1542,6 +1442,37 @@ class BBCooker:
self.idleCallBackRegister(buildFileIdle, rq)
def getTaskSignatures(self, target, tasks):
sig = []
getAllTaskSignatures = False
if not tasks:
tasks = ["do_build"]
getAllTaskSignatures = True
for task in tasks:
taskdata, runlist = self.buildTaskData(target, task, self.configuration.halt)
rq = bb.runqueue.RunQueue(self, self.data, self.recipecaches, taskdata, runlist)
rq.rqdata.prepare()
for l in runlist:
mc, pn, taskname, fn = l
taskdep = rq.rqdata.dataCaches[mc].task_deps[fn]
for t in taskdep['tasks']:
if t in taskdep['nostamp'] or "setscene" in t:
continue
tid = bb.runqueue.build_tid(mc, fn, t)
if t in task or getAllTaskSignatures:
try:
rq.rqdata.prepare_task_hash(tid)
sig.append([pn, t, rq.rqdata.get_task_unihash(tid)])
except KeyError:
sig.append(self.getTaskSignatures(target, [t])[0])
return sig
def buildTargets(self, targets, task):
"""
Attempt to build the targets specified
@@ -1644,8 +1575,6 @@ class BBCooker:
if self.state == state.running:
return
self.handle_inotify_updates()
if not self.baseconfig_valid:
logger.debug("Reloading base configuration data")
self.initConfigurationData()
@@ -1667,7 +1596,7 @@ class BBCooker:
if self.state != state.parsing and not self.parsecache_valid:
bb.server.process.serverlog("Parsing started")
self.setupParserWatcher()
self.parsewatched = {}
bb.parse.siggen.reset(self.data)
self.parseConfiguration ()
@@ -1692,9 +1621,9 @@ class BBCooker:
total_masked += masked
searchdirs |= set(search)
# Add inotify watches for directories searched for bb/bbappend files
# Add mtimes for directories searched for bb/bbappend files
for dirent in searchdirs:
self.add_filewatch([[dirent]], dirs=True)
self.add_filewatch([(dirent, bb.parse.cached_mtime_noerror(dirent))])
self.parser = CookerParser(self, mcfilelist, total_masked)
self._parsecache_set(True)
@@ -1881,7 +1810,7 @@ class CookerCollectFiles(object):
collectlog.error("no recipe files to build, check your BBPATH and BBFILES?")
bb.event.fire(CookerExit(), eventdata)
# We need to track where we look so that we can add inotify watches. There
# We need to track where we look so that we can know when the cache is invalid. There
# is no nice way to do this, this is horrid. We intercept the os.listdir()
# (or os.scandir() for python 3.6+) calls while we run glob().
origlistdir = os.listdir

View File

@@ -285,6 +285,7 @@ def build_dependencies(key, keys, mod_funcs, shelldeps, varflagsexcl, ignored_va
value += "\n_remove of %s" % r
deps |= r2.references
deps = deps | (keys & r2.execs)
value = handle_contains(value, r2.contains, exclusions, d)
return value
deps = set()

View File

@@ -16,7 +16,10 @@ BitBake build tools.
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
import copy, re, sys, traceback
import builtins
import copy
import re
import sys
from collections.abc import MutableMapping
import logging
import hashlib
@@ -150,19 +153,21 @@ class VariableParse:
value = utils.better_eval(codeobj, DataContext(self.d), {'d' : self.d})
return str(value)
class DataContext(dict):
excluded = set([i for i in dir(builtins) if not i.startswith('_')] + ['oe'])
def __init__(self, metadata, **kwargs):
self.metadata = metadata
dict.__init__(self, **kwargs)
self['d'] = metadata
self.context = set(bb.utils.get_context())
def __missing__(self, key):
# Skip commonly accessed invalid variables
if key in ['bb', 'oe', 'int', 'bool', 'time', 'str', 'os']:
if key in self.excluded or key in self.context:
raise KeyError(key)
value = self.metadata.getVar(key)
if value is None or self.metadata.getVarFlag(key, 'func', False):
if value is None:
raise KeyError(key)
else:
return value

View File

@@ -857,6 +857,14 @@ class FindSigInfoResult(Event):
Event.__init__(self)
self.result = result
class GetTaskSignatureResult(Event):
"""
Event to return results from GetTaskSignatures command
"""
def __init__(self, sig):
Event.__init__(self)
self.sig = sig
class ParseError(Event):
"""
Event to indicate parse failed

View File

@@ -388,7 +388,7 @@ def decodeurl(url):
if s:
if not '=' in s:
raise MalformedUrl(url, "The URL: '%s' is invalid: parameter %s does not specify a value (missing '=')" % (url, s))
s1, s2 = s.split('=')
s1, s2 = s.split('=', 1)
p[s1] = s2
return type, host, urllib.parse.unquote(path), user, pswd, p
@@ -753,7 +753,7 @@ def get_autorev(d):
d.setVar("__BBAUTOREV_SEEN", True)
return "AUTOINC"
def get_srcrev(d, method_name='sortable_revision'):
def _get_srcrev(d, method_name='sortable_revision'):
"""
Return the revision string, usually for use in the version string (PV) of the current package
Most packages usually only have one SCM so we just pass on the call.
@@ -774,6 +774,7 @@ def get_srcrev(d, method_name='sortable_revision'):
d.setVar("__BBINSRCREV", True)
scms = []
revs = []
fetcher = Fetch(d.getVar('SRC_URI').split(), d)
urldata = fetcher.ud
for u in urldata:
@@ -781,16 +782,19 @@ def get_srcrev(d, method_name='sortable_revision'):
scms.append(u)
if not scms:
raise FetchError("SRCREV was used yet no valid SCM was found in SRC_URI")
d.delVar("__BBINSRCREV")
return "", revs
if len(scms) == 1 and len(urldata[scms[0]].names) == 1:
autoinc, rev = getattr(urldata[scms[0]].method, method_name)(urldata[scms[0]], d, urldata[scms[0]].names[0])
revs.append(rev)
if len(rev) > 10:
rev = rev[:10]
d.delVar("__BBINSRCREV")
if autoinc:
return "AUTOINC+" + rev
return rev
return "AUTOINC+" + rev, revs
return rev, revs
#
# Mutiple SCMs are in SRC_URI so we resort to SRCREV_FORMAT
@@ -806,6 +810,7 @@ def get_srcrev(d, method_name='sortable_revision'):
ud = urldata[scm]
for name in ud.names:
autoinc, rev = getattr(ud.method, method_name)(ud, d, name)
revs.append(rev)
seenautoinc = seenautoinc or autoinc
if len(rev) > 10:
rev = rev[:10]
@@ -823,7 +828,21 @@ def get_srcrev(d, method_name='sortable_revision'):
format = "AUTOINC+" + format
d.delVar("__BBINSRCREV")
return format
return format, revs
def get_hashvalue(d, method_name='sortable_revision'):
pkgv, revs = _get_srcrev(d, method_name=method_name)
return " ".join(revs)
def get_pkgv_string(d, method_name='sortable_revision'):
pkgv, revs = _get_srcrev(d, method_name=method_name)
return pkgv
def get_srcrev(d, method_name='sortable_revision'):
pkgv, revs = _get_srcrev(d, method_name=method_name)
if not pkgv:
raise FetchError("SRCREV was used yet no valid SCM was found in SRC_URI")
return pkgv
def localpath(url, d):
fetcher = bb.fetch2.Fetch([url], d)
@@ -855,6 +874,7 @@ FETCH_EXPORT_VARS = ['HOME', 'PATH',
'AWS_SECRET_ACCESS_KEY',
'AWS_DEFAULT_REGION',
'GIT_CACHE_PATH',
'REMOTE_CONTAINERS_IPC',
'SSL_CERT_DIR']
def get_fetcher_environment(d):
@@ -1290,7 +1310,7 @@ class FetchData(object):
if checksum_name in self.parm:
checksum_expected = self.parm[checksum_name]
elif self.type not in ["http", "https", "ftp", "ftps", "sftp", "s3", "az", "crate"]:
elif self.type not in ["http", "https", "ftp", "ftps", "sftp", "s3", "az", "crate", "gs"]:
checksum_expected = None
else:
checksum_expected = d.getVarFlag("SRC_URI", checksum_name)
@@ -1402,6 +1422,9 @@ class FetchMethod(object):
Is localpath something that can be represented by a checksum?
"""
# We cannot compute checksums for None
if urldata.localpath is None:
return False
# We cannot compute checksums for directories
if os.path.isdir(urldata.localpath):
return False
@@ -1556,6 +1579,7 @@ class FetchMethod(object):
unpackdir = rootdir
if not unpack or not cmd:
urldata.unpack_tracer.unpack("file-copy", unpackdir)
# If file == dest, then avoid any copies, as we already put the file into dest!
dest = os.path.join(unpackdir, os.path.basename(file))
if file != dest and not (os.path.exists(dest) and os.path.samefile(file, dest)):
@@ -1570,6 +1594,8 @@ class FetchMethod(object):
destdir = urlpath.rsplit("/", 1)[0] + '/'
bb.utils.mkdirhier("%s/%s" % (unpackdir, destdir))
cmd = 'cp -fpPRH "%s" "%s"' % (file, destdir)
else:
urldata.unpack_tracer.unpack("archive-extract", unpackdir)
if not cmd:
return
@@ -1661,6 +1687,55 @@ class FetchMethod(object):
"""
return []
class DummyUnpackTracer(object):
"""
Abstract API definition for a class that traces unpacked source files back
to their respective upstream SRC_URI entries, for software composition
analysis, license compliance and detailed SBOM generation purposes.
User may load their own unpack tracer class (instead of the dummy
one) by setting the BB_UNPACK_TRACER_CLASS config parameter.
"""
def start(self, unpackdir, urldata_dict, d):
"""
Start tracing the core Fetch.unpack process, using an index to map
unpacked files to each SRC_URI entry.
This method is called by Fetch.unpack and it may receive nested calls by
gitsm and npmsw fetchers, that expand SRC_URI entries by adding implicit
URLs and by recursively calling Fetch.unpack from new (nested) Fetch
instances.
"""
return
def start_url(self, url):
"""Start tracing url unpack process.
This method is called by Fetch.unpack before the fetcher-specific unpack
method starts, and it may receive nested calls by gitsm and npmsw
fetchers.
"""
return
def unpack(self, unpack_type, destdir):
"""
Set unpack_type and destdir for current url.
This method is called by the fetcher-specific unpack method after url
tracing started.
"""
return
def finish_url(self, url):
"""Finish tracing url unpack process and update the file index.
This method is called by Fetch.unpack after the fetcher-specific unpack
method finished its job, and it may receive nested calls by gitsm
and npmsw fetchers.
"""
return
def complete(self):
"""
Finish tracing the Fetch.unpack process, and check if all nested
Fecth.unpack calls (if any) have been completed; if so, save collected
metadata.
"""
return
class Fetch(object):
def __init__(self, urls, d, cache = True, localonly = False, connection_cache = None):
if localonly and cache:
@@ -1681,10 +1756,30 @@ class Fetch(object):
if key in urldata_cache:
self.ud = urldata_cache[key]
# the unpack_tracer object needs to be made available to possible nested
# Fetch instances (when those are created by gitsm and npmsw fetchers)
# so we set it as a global variable
global unpack_tracer
try:
unpack_tracer
except NameError:
class_path = d.getVar("BB_UNPACK_TRACER_CLASS")
if class_path:
# use user-defined unpack tracer class
import importlib
module_name, _, class_name = class_path.rpartition(".")
module = importlib.import_module(module_name)
class_ = getattr(module, class_name)
unpack_tracer = class_()
else:
# fall back to the dummy/abstract class
unpack_tracer = DummyUnpackTracer()
for url in urls:
if url not in self.ud:
try:
self.ud[url] = FetchData(url, d, localonly)
self.ud[url].unpack_tracer = unpack_tracer
except NonLocalMethod:
if localonly:
self.ud[url] = None
@@ -1860,6 +1955,8 @@ class Fetch(object):
if not urls:
urls = self.urls
unpack_tracer.start(root, self.ud, self.d)
for u in urls:
ud = self.ud[u]
ud.setup_localpath(self.d)
@@ -1867,11 +1964,15 @@ class Fetch(object):
if ud.lockfile:
lf = bb.utils.lockfile(ud.lockfile)
unpack_tracer.start_url(u)
ud.method.unpack(ud, root, self.d)
unpack_tracer.finish_url(u)
if ud.lockfile:
bb.utils.unlockfile(lf)
unpack_tracer.complete()
def clean(self, urls=None):
"""
Clean files that the fetcher gets or places
@@ -1973,6 +2074,7 @@ from . import npm
from . import npmsw
from . import az
from . import crate
from . import gcp
methods.append(local.Local())
methods.append(wget.Wget())
@@ -1994,3 +2096,4 @@ methods.append(npm.Npm())
methods.append(npmsw.NpmShrinkWrap())
methods.append(az.Az())
methods.append(crate.Crate())
methods.append(gcp.GCP())

View File

@@ -101,8 +101,10 @@ class Crate(Wget):
bp = d.getVar('BP')
if bp == ud.parm.get('name'):
cmd = "tar -xz --no-same-owner -f %s" % thefile
ud.unpack_tracer.unpack("crate-extract", rootdir)
else:
cargo_bitbake = self._cargo_bitbake_path(rootdir)
ud.unpack_tracer.unpack("cargo-extract", cargo_bitbake)
cmd = "tar -xz --no-same-owner -f %s -C %s" % (thefile, cargo_bitbake)

View File

@@ -0,0 +1,98 @@
"""
BitBake 'Fetch' implementation for Google Cloup Platform Storage.
Class for fetching files from Google Cloud Storage using the
Google Cloud Storage Python Client. The GCS Python Client must
be correctly installed, configured and authenticated prior to use.
Additionally, gsutil must also be installed.
"""
# Copyright (C) 2023, Snap Inc.
#
# Based in part on bb.fetch2.s3:
# Copyright (C) 2017 Andre McCurdy
#
# SPDX-License-Identifier: GPL-2.0-only
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
import os
import bb
import urllib.parse, urllib.error
from bb.fetch2 import FetchMethod
from bb.fetch2 import FetchError
from bb.fetch2 import logger
class GCP(FetchMethod):
"""
Class to fetch urls via GCP's Python API.
"""
def __init__(self):
self.gcp_client = None
def supports(self, ud, d):
"""
Check to see if a given url can be fetched with GCP.
"""
return ud.type in ['gs']
def recommends_checksum(self, urldata):
return True
def urldata_init(self, ud, d):
if 'downloadfilename' in ud.parm:
ud.basename = ud.parm['downloadfilename']
else:
ud.basename = os.path.basename(ud.path)
ud.localfile = d.expand(urllib.parse.unquote(ud.basename))
def get_gcp_client(self):
from google.cloud import storage
self.gcp_client = storage.Client(project=None)
def download(self, ud, d):
"""
Fetch urls using the GCP API.
Assumes localpath was called first.
"""
logger.debug2(f"Trying to download gs://{ud.host}{ud.path} to {ud.localpath}")
if self.gcp_client is None:
self.get_gcp_client()
bb.fetch2.check_network_access(d, "gsutil stat", ud.url)
# Path sometimes has leading slash, so strip it
path = ud.path.lstrip("/")
blob = self.gcp_client.bucket(ud.host).blob(path)
blob.download_to_filename(ud.localpath)
# Additional sanity checks copied from the wget class (although there
# are no known issues which mean these are required, treat the GCP API
# tool with a little healthy suspicion).
if not os.path.exists(ud.localpath):
raise FetchError(f"The GCP API returned success for gs://{ud.host}{ud.path} but {ud.localpath} doesn't exist?!")
if os.path.getsize(ud.localpath) == 0:
os.remove(ud.localpath)
raise FetchError(f"The downloaded file for gs://{ud.host}{ud.path} resulted in a zero size file?! Deleting and failing since this isn't right.")
return True
def checkstatus(self, fetch, ud, d):
"""
Check the status of a URL.
"""
logger.debug2(f"Checking status of gs://{ud.host}{ud.path}")
if self.gcp_client is None:
self.get_gcp_client()
bb.fetch2.check_network_access(d, "gsutil stat", ud.url)
# Path sometimes has leading slash, so strip it
path = ud.path.lstrip("/")
if self.gcp_client.bucket(ud.host).blob(path).exists() == False:
raise FetchError(f"The GCP API reported that gs://{ud.host}{ud.path} does not exist")
else:
return True

View File

@@ -65,6 +65,7 @@ import fnmatch
import os
import re
import shlex
import shutil
import subprocess
import tempfile
import bb
@@ -365,8 +366,32 @@ class Git(FetchMethod):
runfetchcmd(fetch_cmd, d, workdir=ud.clonedir)
repourl = self._get_repo_url(ud)
needs_clone = False
if os.path.exists(ud.clonedir):
# The directory may exist, but not be the top level of a bare git
# repository in which case it needs to be deleted and re-cloned.
try:
# Since clones can be bare, use --absolute-git-dir instead of --show-toplevel
output = runfetchcmd("LANG=C %s rev-parse --absolute-git-dir" % ud.basecmd, d, workdir=ud.clonedir)
toplevel = output.rstrip()
if not bb.utils.path_is_descendant(toplevel, ud.clonedir):
logger.warning("Top level directory '%s' is not a descendant of '%s'. Re-cloning", toplevel, ud.clonedir)
needs_clone = True
except bb.fetch2.FetchError as e:
logger.warning("Unable to get top level for %s (not a git directory?): %s", ud.clonedir, e)
needs_clone = True
except FileNotFoundError as e:
logger.warning("%s", e)
needs_clone = True
if needs_clone:
shutil.rmtree(ud.clonedir)
else:
needs_clone = True
# If the repo still doesn't exist, fallback to cloning it
if not os.path.exists(ud.clonedir):
if needs_clone:
# We do this since git will use a "-l" option automatically for local urls where possible,
# but it doesn't work when git/objects is a symlink, only works when it is a directory.
if repourl.startswith("file://"):
@@ -564,6 +589,8 @@ class Git(FetchMethod):
destdir = ud.destdir = os.path.join(destdir, destsuffix)
if os.path.exists(destdir):
bb.utils.prunedir(destdir)
if not ud.bareclone:
ud.unpack_tracer.unpack("git", destdir)
need_lfs = self._need_lfs(ud)

View File

@@ -123,6 +123,13 @@ class GitSM(Git):
url += ";name=%s" % module
url += ";subpath=%s" % module
url += ";nobranch=1"
url += ";lfs=%s" % self._need_lfs(ud)
# Note that adding "user=" here to give credentials to the
# submodule is not supported. Since using SRC_URI to give git://
# URL a password is not supported, one have to use one of the
# recommended way (eg. ~/.netrc or SSH config) which does specify
# the user (See comment in git.py).
# So, we will not take patches adding "user=" support here.
ld = d.createCopy()
# Not necessary to set SRC_URI, since we're passing the URI to
@@ -211,6 +218,10 @@ class GitSM(Git):
try:
newfetch = Fetch([url], d, cache=False)
# modpath is needed by unpack tracer to calculate submodule
# checkout dir
new_ud = newfetch.ud[url]
new_ud.modpath = modpath
newfetch.unpack(root=os.path.dirname(os.path.join(repo_conf, 'modules', module)))
except Exception as e:
logger.error('gitsm: submodule unpack failed: %s %s' % (type(e).__name__, str(e)))
@@ -236,10 +247,12 @@ class GitSM(Git):
ret = self.process_submodules(ud, ud.destdir, unpack_submodules, d)
if not ud.bareclone and ret:
# All submodules should already be downloaded and configured in the tree. This simply sets
# up the configuration and checks out the files. The main project config should remain
# unmodified, and no download from the internet should occur.
runfetchcmd("%s submodule update --recursive --no-fetch" % (ud.basecmd), d, quiet=True, workdir=ud.destdir)
# All submodules should already be downloaded and configured in the tree. This simply
# sets up the configuration and checks out the files. The main project config should
# remain unmodified, and no download from the internet should occur. As such, lfs smudge
# should also be skipped as these files were already smudged in the fetch stage if lfs
# was enabled.
runfetchcmd("GIT_LFS_SKIP_SMUDGE=1 %s submodule update --recursive --no-fetch" % (ud.basecmd), d, quiet=True, workdir=ud.destdir)
def implicit_urldata(self, ud, d):
import shutil, subprocess, tempfile

View File

@@ -242,6 +242,7 @@ class Hg(FetchMethod):
revflag = "-r %s" % ud.revision
subdir = ud.parm.get("destsuffix", ud.module)
codir = "%s/%s" % (destdir, subdir)
ud.unpack_tracer.unpack("hg", codir)
scmdata = ud.parm.get("scmdata", "")
if scmdata != "nokeep":

View File

@@ -298,6 +298,7 @@ class Npm(FetchMethod):
destsuffix = ud.parm.get("destsuffix", "npm")
destdir = os.path.join(rootdir, destsuffix)
npm_unpack(ud.localpath, destdir, d)
ud.unpack_tracer.unpack("npm", destdir)
def clean(self, ud, d):
"""Clean any existing full or partial download"""

View File

@@ -191,7 +191,9 @@ class NpmShrinkWrap(FetchMethod):
else:
raise ParameterError("Unsupported dependency: %s" % name, ud.url)
# name is needed by unpack tracer for module mapping
ud.deps.append({
"name": name,
"url": url,
"localpath": localpath,
"extrapaths": extrapaths,
@@ -225,13 +227,15 @@ class NpmShrinkWrap(FetchMethod):
@staticmethod
def _foreach_proxy_method(ud, handle):
returns = []
for proxy_url in ud.proxy.urls:
proxy_ud = ud.proxy.ud[proxy_url]
proxy_d = ud.proxy.d
proxy_ud.setup_localpath(proxy_d)
lf = lockfile(proxy_ud.lockfile)
returns.append(handle(proxy_ud.method, proxy_ud, proxy_d))
unlockfile(lf)
#Check if there are dependencies before try to fetch them
if len(ud.deps) > 0:
for proxy_url in ud.proxy.urls:
proxy_ud = ud.proxy.ud[proxy_url]
proxy_d = ud.proxy.d
proxy_ud.setup_localpath(proxy_d)
lf = lockfile(proxy_ud.lockfile)
returns.append(handle(proxy_ud.method, proxy_ud, proxy_d))
unlockfile(lf)
return returns
def verify_donestamp(self, ud, d):
@@ -268,6 +272,7 @@ class NpmShrinkWrap(FetchMethod):
destsuffix = ud.parm.get("destsuffix")
if destsuffix:
destdir = os.path.join(rootdir, destsuffix)
ud.unpack_tracer.unpack("npm-shrinkwrap", destdir)
bb.utils.mkdirhier(destdir)
bb.utils.copyfile(ud.shrinkwrap_file,

View File

@@ -234,9 +234,10 @@ class diskMonitor:
freeInode = st.f_favail
if minInode and freeInode < minInode:
# Some filesystems use dynamic inodes so can't run out
# (e.g. btrfs). This is reported by the inode count being 0.
if st.f_files == 0:
# Some filesystems use dynamic inodes so can't run out.
# This is reported by the inode count being 0 (btrfs) or the free
# inode count being -1 (cephfs).
if st.f_files == 0 or st.f_favail == -1:
self.devDict[k][2] = None
continue
# Always show warning, the self.checked would always be False if the action is WARN

View File

@@ -60,6 +60,14 @@ def cached_mtime_noerror(f):
return 0
return __mtime_cache[f]
def check_mtime(f, mtime):
try:
current_mtime = os.stat(f)[stat.ST_MTIME]
__mtime_cache[f] = current_mtime
except OSError:
current_mtime = 0
return current_mtime == mtime
def update_mtime(f):
try:
__mtime_cache[f] = os.stat(f)[stat.ST_MTIME]

View File

@@ -200,21 +200,24 @@ class RunQueueScheduler(object):
curr_memory_pressure = memory_pressure_fds.readline().split()[4].split("=")[1]
now = time.time()
tdiff = now - self.prev_pressure_time
if tdiff > 1.0:
exceeds_cpu_pressure = self.rq.max_cpu_pressure and (float(curr_cpu_pressure) - float(self.prev_cpu_pressure)) / tdiff > self.rq.max_cpu_pressure
exceeds_io_pressure = self.rq.max_io_pressure and (float(curr_io_pressure) - float(self.prev_io_pressure)) / tdiff > self.rq.max_io_pressure
exceeds_memory_pressure = self.rq.max_memory_pressure and (float(curr_memory_pressure) - float(self.prev_memory_pressure)) / tdiff > self.rq.max_memory_pressure
psi_accumulation_interval = 1.0
cpu_pressure = (float(curr_cpu_pressure) - float(self.prev_cpu_pressure)) / tdiff
io_pressure = (float(curr_io_pressure) - float(self.prev_io_pressure)) / tdiff
memory_pressure = (float(curr_memory_pressure) - float(self.prev_memory_pressure)) / tdiff
exceeds_cpu_pressure = self.rq.max_cpu_pressure and cpu_pressure > self.rq.max_cpu_pressure
exceeds_io_pressure = self.rq.max_io_pressure and io_pressure > self.rq.max_io_pressure
exceeds_memory_pressure = self.rq.max_memory_pressure and memory_pressure > self.rq.max_memory_pressure
if tdiff > psi_accumulation_interval:
self.prev_cpu_pressure = curr_cpu_pressure
self.prev_io_pressure = curr_io_pressure
self.prev_memory_pressure = curr_memory_pressure
self.prev_pressure_time = now
else:
exceeds_cpu_pressure = self.rq.max_cpu_pressure and (float(curr_cpu_pressure) - float(self.prev_cpu_pressure)) > self.rq.max_cpu_pressure
exceeds_io_pressure = self.rq.max_io_pressure and (float(curr_io_pressure) - float(self.prev_io_pressure)) > self.rq.max_io_pressure
exceeds_memory_pressure = self.rq.max_memory_pressure and (float(curr_memory_pressure) - float(self.prev_memory_pressure)) > self.rq.max_memory_pressure
pressure_state = (exceeds_cpu_pressure, exceeds_io_pressure, exceeds_memory_pressure)
pressure_values = (round(cpu_pressure,1), self.rq.max_cpu_pressure, round(io_pressure,1), self.rq.max_io_pressure, round(memory_pressure,1), self.rq.max_memory_pressure)
if hasattr(self, "pressure_state") and pressure_state != self.pressure_state:
bb.note("Pressure status changed to CPU: %s, IO: %s, Mem: %s" % pressure_state)
bb.note("Pressure status changed to CPU: %s, IO: %s, Mem: %s (CPU: %s/%s, IO: %s/%s, Mem: %s/%s) - using %s/%s bitbake threads" % (pressure_state + pressure_values + (len(self.rq.runq_running.difference(self.rq.runq_complete)), self.rq.number_tasks)))
self.pressure_state = pressure_state
return (exceeds_cpu_pressure or exceeds_io_pressure or exceeds_memory_pressure)
return False
@@ -1321,6 +1324,8 @@ class RunQueue:
if self.cooker.configuration.profile:
magic = "decafbadbad"
fakerootlogs = None
workerscript = os.path.realpath(os.path.dirname(__file__) + "/../../bin/bitbake-worker")
if fakeroot:
magic = magic + "beef"
mcdata = self.cooker.databuilder.mcdata[mc]
@@ -1329,10 +1334,10 @@ class RunQueue:
env = os.environ.copy()
for key, value in (var.split('=') for var in fakerootenv):
env[key] = value
worker = subprocess.Popen(fakerootcmd + ["bitbake-worker", magic], stdout=subprocess.PIPE, stdin=subprocess.PIPE, env=env)
worker = subprocess.Popen(fakerootcmd + [sys.executable, workerscript, magic], stdout=subprocess.PIPE, stdin=subprocess.PIPE, env=env)
fakerootlogs = self.rqdata.dataCaches[mc].fakerootlogs
else:
worker = subprocess.Popen(["bitbake-worker", magic], stdout=subprocess.PIPE, stdin=subprocess.PIPE)
worker = subprocess.Popen([sys.executable, workerscript, magic], stdout=subprocess.PIPE, stdin=subprocess.PIPE)
bb.utils.nonblockingfd(worker.stdout)
workerpipe = runQueuePipe(worker.stdout, None, self.cfgData, self, rqexec, fakerootlogs=fakerootlogs)
@@ -3156,7 +3161,7 @@ class runQueuePipe():
if pipeout:
pipeout.close()
bb.utils.nonblockingfd(self.input)
self.queue = b""
self.queue = bytearray()
self.d = d
self.rq = rq
self.rqexec = rqexec
@@ -3175,7 +3180,7 @@ class runQueuePipe():
start = len(self.queue)
try:
self.queue = self.queue + (self.input.read(102400) or b"")
self.queue.extend(self.input.read(102400) or b"")
except (OSError, IOError) as e:
if e.errno != errno.EAGAIN:
raise

View File

@@ -38,9 +38,13 @@ logger = logging.getLogger('BitBake')
class ProcessTimeout(SystemExit):
pass
def currenttime():
return datetime.datetime.now().strftime('%H:%M:%S.%f')
def serverlog(msg):
print(str(os.getpid()) + " " + datetime.datetime.now().strftime('%H:%M:%S.%f') + " " + msg)
sys.stdout.flush()
print(str(os.getpid()) + " " + currenttime() + " " + msg)
#Seems a flush here triggers filesytem sync like behaviour and long hangs in the server
#sys.stdout.flush()
#
# When we have lockfile issues, try and find infomation about which process is
@@ -289,7 +293,9 @@ class ProcessServer():
continue
try:
serverlog("Running command %s" % command)
self.command_channel_reply.send(self.cooker.command.runCommand(command, self))
reply = self.cooker.command.runCommand(command, self)
serverlog("Sending reply %s" % repr(reply))
self.command_channel_reply.send(reply)
serverlog("Command Completed (socket: %s)" % os.path.exists(self.sockname))
except Exception as e:
stack = traceback.format_exc()
@@ -405,12 +411,6 @@ class ProcessServer():
nextsleep = 0.1
fds = []
try:
self.cooker.process_inotify_updates()
except Exception as exc:
serverlog("Exception %s in inofify updates broke the idle_thread, exiting" % traceback.format_exc())
self.quit = True
with bb.utils.lock_timeout(self._idlefuncsLock):
items = list(self._idlefuns.items())
@@ -502,9 +502,9 @@ class ServerCommunicator():
def runCommand(self, command):
self.connection.send(command)
if not self.recv.poll(30):
logger.info("No reply from server in 30s (for command %s)" % command[0])
logger.info("No reply from server in 30s (for command %s at %s)" % (command[0], currenttime()))
if not self.recv.poll(30):
raise ProcessTimeout("Timeout while waiting for a reply from the bitbake server (60s)")
raise ProcessTimeout("Timeout while waiting for a reply from the bitbake server (60s at %s)" % currenttime())
ret, exc = self.recv.get()
# Should probably turn all exceptions in exc back into exceptions?
# For now, at least handle BBHandledException
@@ -620,7 +620,7 @@ class BitBakeServer(object):
os.set_inheritable(self.bitbake_lock.fileno(), True)
os.set_inheritable(self.readypipein, True)
serverscript = os.path.realpath(os.path.dirname(__file__) + "/../../../bin/bitbake-server")
os.execl(sys.executable, "bitbake-server", serverscript, "decafbad", str(self.bitbake_lock.fileno()), str(self.readypipein), self.logfile, self.bitbake_lock.name, self.sockname, str(self.server_timeout or 0), str(int(self.profile)), str(self.xmlrpcinterface[0]), str(self.xmlrpcinterface[1]))
os.execl(sys.executable, sys.executable, serverscript, "decafbad", str(self.bitbake_lock.fileno()), str(self.readypipein), self.logfile, self.bitbake_lock.name, self.sockname, str(self.server_timeout or 0), str(int(self.profile)), str(self.xmlrpcinterface[0]), str(self.xmlrpcinterface[1]))
def execServer(lockfd, readypipeinfd, lockname, sockname, server_timeout, xmlrpcinterface, profile):
@@ -860,11 +860,10 @@ class ConnectionWriter(object):
process.queue_signals = True
self._send(obj)
process.queue_signals = False
try:
for sig in process.signal_received.pop():
process.handle_sig(sig, None)
except IndexError:
pass
while len(process.signal_received) > 0:
sig = process.signal_received.pop()
process.handle_sig(sig, None)
else:
self._send(obj)

View File

@@ -182,6 +182,11 @@ class SignatureGenerator(object):
def exit(self):
return
def build_pnid(mc, pn, taskname):
if mc:
return "mc:" + mc + ":" + pn + ":" + taskname
return pn + ":" + taskname
class SignatureGeneratorBasic(SignatureGenerator):
"""
"""
@@ -256,10 +261,6 @@ class SignatureGeneratorBasic(SignatureGenerator):
bb.warn("Error during finalise of %s" % mcfn)
raise
#Slow but can be useful for debugging mismatched basehashes
#for task in self.taskdeps[mcfn]:
# self.dump_sigtask(mcfn, task, d.getVar("STAMP"), False)
basehashes = {}
for task in taskdeps:
basehashes[task] = self.basehash[mcfn + ":" + task]
@@ -269,6 +270,11 @@ class SignatureGeneratorBasic(SignatureGenerator):
d.setVar("__siggen_varvals", lookupcache)
d.setVar("__siggen_taskdeps", taskdeps)
#Slow but can be useful for debugging mismatched basehashes
#self.setup_datacache_from_datastore(mcfn, d)
#for task in taskdeps:
# self.dump_sigtask(mcfn, task, d.getVar("STAMP"), False)
def setup_datacache_from_datastore(self, mcfn, d):
super().setup_datacache_from_datastore(mcfn, d)
@@ -309,15 +315,19 @@ class SignatureGeneratorBasic(SignatureGenerator):
recipename = dataCaches[mc].pkg_fn[mcfn]
self.tidtopn[tid] = recipename
# save hashfn for deps into siginfo?
for dep in deps:
(depmc, _, deptask, depmcfn) = bb.runqueue.split_tid_mcfn(dep)
dep_pn = dataCaches[depmc].pkg_fn[depmcfn]
for dep in sorted(deps, key=clean_basepath):
(depmc, _, _, depmcfn) = bb.runqueue.split_tid_mcfn(dep)
depname = dataCaches[depmc].pkg_fn[depmcfn]
if not self.rundep_check(mcfn, recipename, task, dep, depname, dataCaches):
if not self.rundep_check(mcfn, recipename, task, dep, dep_pn, dataCaches):
continue
if dep not in self.taskhash:
bb.fatal("%s is not in taskhash, caller isn't calling in dependency order?" % dep)
self.runtaskdeps[tid].append(dep)
dep_pnid = build_pnid(depmc, dep_pn, deptask)
self.runtaskdeps[tid].append((dep_pnid, dep))
if task in dataCaches[mc].file_checksums[mcfn]:
if self.checksum_cache:
@@ -348,10 +358,10 @@ class SignatureGeneratorBasic(SignatureGenerator):
def get_taskhash(self, tid, deps, dataCaches):
data = self.basehash[tid]
for dep in self.runtaskdeps[tid]:
data += self.get_unihash(dep)
for dep in sorted(self.runtaskdeps[tid]):
data += self.get_unihash(dep[1])
for (f, cs) in self.file_checksum_values[tid]:
for (f, cs) in sorted(self.file_checksum_values[tid], key=clean_checksum_file_path):
if cs:
if "/./" in f:
data += "./" + f.split("/./")[1]
@@ -409,21 +419,21 @@ class SignatureGeneratorBasic(SignatureGenerator):
data['varvals'][task] = self.datacaches[mc].siggen_varvals[mcfn][task]
for dep in self.datacaches[mc].siggen_taskdeps[mcfn][task]:
if dep in self.basehash_ignore_vars:
continue
continue
data['gendeps'][dep] = self.datacaches[mc].siggen_gendeps[mcfn][dep]
data['varvals'][dep] = self.datacaches[mc].siggen_varvals[mcfn][dep]
if runtime and tid in self.taskhash:
data['runtaskdeps'] = self.runtaskdeps[tid]
data['runtaskdeps'] = [dep[0] for dep in sorted(self.runtaskdeps[tid])]
data['file_checksum_values'] = []
for f,cs in self.file_checksum_values[tid]:
for f,cs in sorted(self.file_checksum_values[tid], key=clean_checksum_file_path):
if "/./" in f:
data['file_checksum_values'].append(("./" + f.split("/./")[1], cs))
else:
data['file_checksum_values'].append((os.path.basename(f), cs))
data['runtaskhashes'] = {}
for dep in data['runtaskdeps']:
data['runtaskhashes'][dep] = self.get_unihash(dep)
for dep in self.runtaskdeps[tid]:
data['runtaskhashes'][dep[0]] = self.get_unihash(dep[1])
data['taskhash'] = self.taskhash[tid]
data['unihash'] = self.get_unihash(tid)
@@ -735,6 +745,12 @@ class SignatureGeneratorTestEquivHash(SignatureGeneratorUniHashMixIn, SignatureG
self.server = data.getVar('BB_HASHSERVE')
self.method = "sstate_output_hash"
def clean_checksum_file_path(file_checksum_tuple):
f, cs = file_checksum_tuple
if "/./" in f:
return "./" + f.split("/./")[1]
return f
def dump_this_task(outfile, d):
import bb.parse
mcfn = d.getVar("BB_FILENAME")
@@ -793,39 +809,6 @@ def list_inline_diff(oldlist, newlist, colors=None):
ret.append(item)
return '[%s]' % (', '.join(ret))
def clean_basepath(basepath):
basepath, dir, recipe_task = basepath.rsplit("/", 2)
cleaned = dir + '/' + recipe_task
if basepath[0] == '/':
return cleaned
if basepath.startswith("mc:") and basepath.count(':') >= 2:
mc, mc_name, basepath = basepath.split(":", 2)
mc_suffix = ':mc:' + mc_name
else:
mc_suffix = ''
# mc stuff now removed from basepath. Whatever was next, if present will be the first
# suffix. ':/', recipe path start, marks the end of this. Something like
# 'virtual:a[:b[:c]]:/path...' (b and c being optional)
if basepath[0] != '/':
cleaned += ':' + basepath.split(':/', 1)[0]
return cleaned + mc_suffix
def clean_basepaths(a):
b = {}
for x in a:
b[clean_basepath(x)] = a[x]
return b
def clean_basepaths_list(a):
b = []
for x in a:
b.append(clean_basepath(x))
return b
# Handled renamed fields
def handle_renames(data):
if 'basewhitelist' in data:
@@ -994,11 +977,11 @@ def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
a = a_data['runtaskdeps'][idx]
b = b_data['runtaskdeps'][idx]
if a_data['runtaskhashes'][a] != b_data['runtaskhashes'][b] and not collapsed:
changed.append("%s with hash %s\n changed to\n%s with hash %s" % (clean_basepath(a), a_data['runtaskhashes'][a], clean_basepath(b), b_data['runtaskhashes'][b]))
changed.append("%s with hash %s\n changed to\n%s with hash %s" % (a, a_data['runtaskhashes'][a], b, b_data['runtaskhashes'][b]))
if changed:
clean_a = clean_basepaths_list(a_data['runtaskdeps'])
clean_b = clean_basepaths_list(b_data['runtaskdeps'])
clean_a = a_data['runtaskdeps']
clean_b = b_data['runtaskdeps']
if clean_a != clean_b:
output.append(color_format("{color_title}runtaskdeps changed:{color_default}\n%s") % list_inline_diff(clean_a, clean_b, colors))
else:
@@ -1007,8 +990,8 @@ def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
if 'runtaskhashes' in a_data and 'runtaskhashes' in b_data:
a = clean_basepaths(a_data['runtaskhashes'])
b = clean_basepaths(b_data['runtaskhashes'])
a = a_data['runtaskhashes']
b = b_data['runtaskhashes']
changed, added, removed = dict_diff(a, b)
if added:
for dep in sorted(added):

View File

@@ -44,6 +44,7 @@ class VariableReferenceTest(ReferenceTest):
def parseExpression(self, exp):
parsedvar = self.d.expandWithRefs(exp, None)
self.references = parsedvar.references
self.execs = parsedvar.execs
def test_simple_reference(self):
self.setEmptyVars(["FOO"])
@@ -61,6 +62,11 @@ class VariableReferenceTest(ReferenceTest):
self.parseExpression("${@d.getVar('BAR') + 'foo'}")
self.assertReferences(set(["BAR"]))
def test_python_exec_reference(self):
self.parseExpression("${@eval('3 * 5')}")
self.assertReferences(set())
self.assertExecs(set(["eval"]))
class ShellReferenceTest(ReferenceTest):
def parseExpression(self, exp):
@@ -430,6 +436,32 @@ esac
self.assertEqual(deps, set(["TESTVAR2"]))
self.assertEqual(self.d.getVar('ANOTHERVAR').split(), ['testval3', 'anothervalue'])
def test_contains_vardeps_override_operators(self):
# Check override operators handle dependencies correctly with the contains functionality
expr_plain = 'testval'
expr_prepend = '${@bb.utils.filter("TESTVAR1", "testval1", d)} '
expr_append = ' ${@bb.utils.filter("TESTVAR2", "testval2", d)}'
expr_remove = '${@bb.utils.contains("TESTVAR3", "no-testval", "testval", "", d)}'
# Check dependencies
self.d.setVar('ANOTHERVAR', expr_plain)
self.d.prependVar('ANOTHERVAR', expr_prepend)
self.d.appendVar('ANOTHERVAR', expr_append)
self.d.setVar('ANOTHERVAR:remove', expr_remove)
self.d.setVar('TESTVAR1', 'blah')
self.d.setVar('TESTVAR2', 'testval2')
self.d.setVar('TESTVAR3', 'no-testval')
deps, values = bb.data.build_dependencies("ANOTHERVAR", set(self.d.keys()), set(), set(), set(), set(), self.d, self.d)
self.assertEqual(sorted(values.splitlines()),
sorted([
expr_prepend + expr_plain + expr_append,
'_remove of ' + expr_remove,
'TESTVAR1{testval1} = Unset',
'TESTVAR2{testval2} = Set',
'TESTVAR3{no-testval} = Set',
]))
# Check final value
self.assertEqual(self.d.getVar('ANOTHERVAR').split(), ['testval2'])
#Currently no wildcard support
#def test_vardeps_wildcards(self):
# self.d.setVar("oe_libinstall", "echo test")

View File

@@ -77,6 +77,18 @@ class DataExpansions(unittest.TestCase):
val = self.d.expand("${@d.getVar('foo') + ' ${bar}'}")
self.assertEqual(str(val), "value_of_foo value_of_bar")
def test_python_snippet_function_reference(self):
self.d.setVar("TESTVAL", "testvalue")
self.d.setVar("testfunc", 'd.getVar("TESTVAL")')
context = bb.utils.get_context()
context["testfunc"] = lambda d: d.getVar("TESTVAL")
val = self.d.expand("${@testfunc(d)}")
self.assertEqual(str(val), "testvalue")
def test_python_snippet_builtin_metadata(self):
self.d.setVar("eval", "INVALID")
self.d.expand("${@eval('3')}")
def test_python_unexpanded(self):
self.d.setVar("bar", "${unsetvar}")
val = self.d.expand("${@d.getVar('foo') + ' ${bar}'}")

View File

@@ -684,11 +684,13 @@ class CleanTarballTest(FetcherTest):
archive = tarfile.open(os.path.join(self.dldir, self.recipe_tarball))
self.assertNotEqual(len(archive.members), 0)
for member in archive.members:
self.assertEqual(member.uname, 'oe')
self.assertEqual(member.uid, 0)
self.assertEqual(member.gname, 'oe')
self.assertEqual(member.gid, 0)
self.assertEqual(member.mtime, mtime)
if member.name == ".":
continue
self.assertEqual(member.uname, 'oe', "user name for %s differs" % member.name)
self.assertEqual(member.uid, 0, "uid for %s differs" % member.name)
self.assertEqual(member.gname, 'oe', "group name for %s differs" % member.name)
self.assertEqual(member.gid, 0, "gid for %s differs" % member.name)
self.assertEqual(member.mtime, mtime, "mtime for %s differs" % member.name)
class FetcherLocalTest(FetcherTest):
@@ -1342,6 +1344,7 @@ class URLHandle(unittest.TestCase):
"cvs://anoncvs:anonymous@cvs.handhelds.org/cvs;tag=V0-99-81;module=familiar/dist/ipkg" : ('cvs', 'cvs.handhelds.org', '/cvs', 'anoncvs', 'anonymous', collections.OrderedDict([('tag', 'V0-99-81'), ('module', 'familiar/dist/ipkg')])),
"git://git.openembedded.org/bitbake;branch=@foo;protocol=https" : ('git', 'git.openembedded.org', '/bitbake', '', '', {'branch': '@foo', 'protocol' : 'https'}),
"file://somelocation;someparam=1": ('file', '', 'somelocation', '', '', {'someparam': '1'}),
"https://somesite.com/somerepo.git;user=anyUser:idtoken=1234" : ('https', 'somesite.com', '/somerepo.git', '', '', {'user': 'anyUser:idtoken=1234'}),
r'git://s.o-me_ONE:!#$%^&*()-_={}[]\|:?,.<>~`@git.openembedded.org/bitbake;branch=main;protocol=https': ('git', 'git.openembedded.org', '/bitbake', 's.o-me_ONE', r'!#$%^&*()-_={}[]\|:?,.<>~`', {'branch': 'main', 'protocol' : 'https'}),
}
# we require a pathname to encodeurl but users can still pass such urls to

View File

@@ -17,75 +17,12 @@ import bb.siggen
class SiggenTest(unittest.TestCase):
def test_clean_basepath_simple_target_basepath(self):
basepath = '/full/path/to/poky/meta/recipes-whatever/helloworld/helloworld_1.2.3.bb:do_sometask'
expected_cleaned = 'helloworld/helloworld_1.2.3.bb:do_sometask'
def test_build_pnid(self):
tests = {
('', 'helloworld', 'do_sometask') : 'helloworld:do_sometask',
('XX', 'helloworld', 'do_sometask') : 'mc:XX:helloworld:do_sometask',
}
actual_cleaned = bb.siggen.clean_basepath(basepath)
for t in tests:
self.assertEqual(bb.siggen.build_pnid(*t), tests[t])
self.assertEqual(actual_cleaned, expected_cleaned)
def test_clean_basepath_basic_virtual_basepath(self):
basepath = 'virtual:something:/full/path/to/poky/meta/recipes-whatever/helloworld/helloworld_1.2.3.bb:do_sometask'
expected_cleaned = 'helloworld/helloworld_1.2.3.bb:do_sometask:virtual:something'
actual_cleaned = bb.siggen.clean_basepath(basepath)
self.assertEqual(actual_cleaned, expected_cleaned)
def test_clean_basepath_mc_basepath(self):
basepath = 'mc:somemachine:/full/path/to/poky/meta/recipes-whatever/helloworld/helloworld_1.2.3.bb:do_sometask'
expected_cleaned = 'helloworld/helloworld_1.2.3.bb:do_sometask:mc:somemachine'
actual_cleaned = bb.siggen.clean_basepath(basepath)
self.assertEqual(actual_cleaned, expected_cleaned)
def test_clean_basepath_virtual_long_prefix_basepath(self):
basepath = 'virtual:something:A:B:C:/full/path/to/poky/meta/recipes-whatever/helloworld/helloworld_1.2.3.bb:do_sometask'
expected_cleaned = 'helloworld/helloworld_1.2.3.bb:do_sometask:virtual:something:A:B:C'
actual_cleaned = bb.siggen.clean_basepath(basepath)
self.assertEqual(actual_cleaned, expected_cleaned)
def test_clean_basepath_mc_virtual_basepath(self):
basepath = 'mc:somemachine:virtual:something:/full/path/to/poky/meta/recipes-whatever/helloworld/helloworld_1.2.3.bb:do_sometask'
expected_cleaned = 'helloworld/helloworld_1.2.3.bb:do_sometask:virtual:something:mc:somemachine'
actual_cleaned = bb.siggen.clean_basepath(basepath)
self.assertEqual(actual_cleaned, expected_cleaned)
def test_clean_basepath_mc_virtual_long_prefix_basepath(self):
basepath = 'mc:X:virtual:something:C:B:A:/full/path/to/poky/meta/recipes-whatever/helloworld/helloworld_1.2.3.bb:do_sometask'
expected_cleaned = 'helloworld/helloworld_1.2.3.bb:do_sometask:virtual:something:C:B:A:mc:X'
actual_cleaned = bb.siggen.clean_basepath(basepath)
self.assertEqual(actual_cleaned, expected_cleaned)
# def test_clean_basepath_performance(self):
# input_basepaths = [
# 'mc:X:/full/path/to/poky/meta/recipes-whatever/helloworld/helloworld_1.2.3.bb:do_sometask',
# 'mc:X:virtual:something:C:B:A:/full/path/to/poky/meta/recipes-whatever/helloworld/helloworld_1.2.3.bb:do_sometask',
# 'virtual:something:C:B:A:/different/path/to/poky/meta/recipes-whatever/helloworld/helloworld_1.2.3.bb:do_sometask',
# 'virtual:something:A:/full/path/to/poky/meta/recipes-whatever/helloworld/helloworld_1.2.3.bb:do_sometask',
# '/this/is/most/common/input/recipes-whatever/helloworld/helloworld_1.2.3.bb:do_sometask',
# '/and/should/be/tested/with/recipes-whatever/helloworld/helloworld_1.2.3.bb:do_sometask',
# '/more/weight/recipes-whatever/helloworld/helloworld_1.2.3.bb:do_sometask',
# ]
# time_start = time.time()
# i = 2000000
# while i >= 0:
# for basepath in input_basepaths:
# bb.siggen.clean_basepath(basepath)
# i -= 1
# elapsed = time.time() - time_start
# print('{} ({}s)'.format(self.id(), round(elapsed, 3)))
# self.assertTrue(False)

View File

@@ -325,11 +325,11 @@ class Tinfoil:
self.recipes_parsed = False
self.quiet = 0
self.oldhandlers = self.logger.handlers[:]
self.localhandlers = []
if setup_logging:
# This is the *client-side* logger, nothing to do with
# logging messages from the server
bb.msg.logger_create('BitBake', output)
self.localhandlers = []
for handler in self.logger.handlers:
if handler not in self.oldhandlers:
self.localhandlers.append(handler)
@@ -449,6 +449,12 @@ class Tinfoil:
self.run_actions(config_params)
self.recipes_parsed = True
def modified_files(self):
"""
Notify the server it needs to revalidate it's caches since the client has modified files
"""
self.run_command("revalidateCaches")
def run_command(self, command, *params, handle_events=True):
"""
Run a command on the server (as implemented in bb.command).

View File

@@ -1746,7 +1746,6 @@ class BuildInfoHelper(object):
buildname = self.server.runCommand(['getVariable', 'BUILDNAME'])[0]
machine = self.server.runCommand(['getVariable', 'MACHINE'])[0]
image_name = self.server.runCommand(['getVariable', 'IMAGE_NAME'])[0]
# location of the manifest files for this build;
# note that this file is only produced if an image is produced
@@ -1767,6 +1766,18 @@ class BuildInfoHelper(object):
# filter out anything which isn't an image target
image_targets = [target for target in targets if target.is_image]
if len(image_targets) > 0:
#if there are image targets retrieve image_name
image_name = self.server.runCommand(['getVariable', 'IMAGE_NAME'])[0]
if not image_name:
#When build target is an image and image_name is not found as an environment variable
logger.info("IMAGE_NAME not found, extracting from bitbake command")
cmd = self.server.runCommand(['getVariable','BB_CMDLINE'])[0]
#filter out tokens that are command line options
cmd = [token for token in cmd if not token.startswith('-')]
image_name = cmd[1].split(':', 1)[0] # remove everything after : in image name
logger.info("IMAGE_NAME found as : %s " % image_name)
for image_target in image_targets:
# this is set to True if we find at least one file relating to
# this target; if this remains False after the scan, we copy the

View File

@@ -1828,6 +1828,29 @@ def mkstemp(suffix=None, prefix=None, dir=None, text=False):
prefix = tempfile.gettempprefix() + entropy
return tempfile.mkstemp(suffix=suffix, prefix=prefix, dir=dir, text=text)
def path_is_descendant(descendant, ancestor):
"""
Returns True if the path `descendant` is a descendant of `ancestor`
(including being equivalent to `ancestor` itself). Otherwise returns False.
Correctly accounts for symlinks, bind mounts, etc. by using
os.path.samestat() to compare paths
May raise any exception that os.stat() raises
"""
ancestor_stat = os.stat(ancestor)
# Recurse up each directory component of the descendant to see if it is
# equivalent to the ancestor
check_dir = os.path.abspath(descendant).rstrip("/")
while check_dir:
check_stat = os.stat(check_dir)
if os.path.samestat(check_stat, ancestor_stat):
return True
check_dir = os.path.dirname(check_dir).rstrip("/")
return False
# If we don't have a timeout of some kind and a process/thread exits badly (for example
# OOM killed) and held a lock, we'd just hang in the lock futex forever. It is better
# we exit at some point than hang. 5 minutes with no progress means we're probably deadlocked.

126
bitbake/lib/bb/xattr.py Executable file
View File

@@ -0,0 +1,126 @@
#! /usr/bin/env python3
#
# Copyright 2023 by Garmin Ltd. or its subsidiaries
#
# SPDX-License-Identifier: MIT
import sys
import ctypes
import os
import errno
libc = ctypes.CDLL("libc.so.6", use_errno=True)
fsencoding = sys.getfilesystemencoding()
libc.listxattr.argtypes = [ctypes.c_char_p, ctypes.c_char_p, ctypes.c_size_t]
libc.llistxattr.argtypes = [ctypes.c_char_p, ctypes.c_char_p, ctypes.c_size_t]
def listxattr(path, follow=True):
func = libc.listxattr if follow else libc.llistxattr
os_path = os.fsencode(path)
while True:
length = func(os_path, None, 0)
if length < 0:
err = ctypes.get_errno()
raise OSError(err, os.strerror(err), str(path))
if length == 0:
return []
arr = ctypes.create_string_buffer(length)
read_length = func(os_path, arr, length)
if read_length != length:
# Race!
continue
return [a.decode(fsencoding) for a in arr.raw.split(b"\x00") if a]
libc.getxattr.argtypes = [
ctypes.c_char_p,
ctypes.c_char_p,
ctypes.c_char_p,
ctypes.c_size_t,
]
libc.lgetxattr.argtypes = [
ctypes.c_char_p,
ctypes.c_char_p,
ctypes.c_char_p,
ctypes.c_size_t,
]
def getxattr(path, name, follow=True):
func = libc.getxattr if follow else libc.lgetxattr
os_path = os.fsencode(path)
os_name = os.fsencode(name)
while True:
length = func(os_path, os_name, None, 0)
if length < 0:
err = ctypes.get_errno()
if err == errno.ENODATA:
return None
raise OSError(err, os.strerror(err), str(path))
if length == 0:
return ""
arr = ctypes.create_string_buffer(length)
read_length = func(os_path, os_name, arr, length)
if read_length != length:
# Race!
continue
return arr.raw
def get_all_xattr(path, follow=True):
attrs = {}
names = listxattr(path, follow)
for name in names:
value = getxattr(path, name, follow)
if value is None:
# This can happen if a value is erased after listxattr is called,
# so ignore it
continue
attrs[name] = value
return attrs
def main():
import argparse
from pathlib import Path
parser = argparse.ArgumentParser()
parser.add_argument("path", help="File Path", type=Path)
args = parser.parse_args()
attrs = get_all_xattr(args.path)
for name, value in attrs.items():
try:
value = value.decode(fsencoding)
except UnicodeDecodeError:
pass
print(f"{name} = {value}")
return 0
if __name__ == "__main__":
sys.exit(main())

View File

@@ -50,12 +50,14 @@ class ActionPlugin(LayerPlugin):
try:
notadded, _ = bb.utils.edit_bblayers_conf(bblayers_conf, layerdirs, None)
self.tinfoil.modified_files()
if not (args.force or notadded):
try:
self.tinfoil.run_command('parseConfiguration')
except (bb.tinfoil.TinfoilUIException, bb.BBHandledException):
# Restore the back up copy of bblayers.conf
shutil.copy2(backup, bblayers_conf)
self.tinfoil.modified_files()
bb.fatal("Parse failure with the specified layer added, exiting.")
else:
for item in notadded:
@@ -81,6 +83,7 @@ class ActionPlugin(LayerPlugin):
layerdir = os.path.abspath(item)
layerdirs.append(layerdir)
(_, notremoved) = bb.utils.edit_bblayers_conf(bblayers_conf, None, layerdirs)
self.tinfoil.modified_files()
if notremoved:
for item in notremoved:
sys.stderr.write("No layers matching %s found in BBLAYERS\n" % item)
@@ -240,6 +243,9 @@ build results (as the layer priority order has effectively changed).
if not entry_found:
logger.warning("File %s does not match the flattened layer's BBFILES setting, you may need to edit conf/layer.conf or move the file elsewhere" % f1full)
self.tinfoil.modified_files()
def get_file_layer(self, filename):
layerdir = self.get_file_layerdir(filename)
if layerdir:

View File

@@ -282,7 +282,10 @@ Lists recipes with the bbappends that apply to them as subitems.
else:
logger.plain('=== Appended recipes ===')
pnlist = list(self.tinfoil.cooker_data.pkg_pn.keys())
cooker_data = self.tinfoil.cooker.recipecaches[args.mc]
pnlist = list(cooker_data.pkg_pn.keys())
pnlist.sort()
appends = False
for pn in pnlist:
@@ -295,7 +298,7 @@ Lists recipes with the bbappends that apply to them as subitems.
if not found:
continue
if self.show_appends_for_pn(pn):
if self.show_appends_for_pn(pn, cooker_data, args.mc):
appends = True
if not args.pnspec and self.show_appends_for_skipped():
@@ -304,8 +307,10 @@ Lists recipes with the bbappends that apply to them as subitems.
if not appends:
logger.plain('No append files found')
def show_appends_for_pn(self, pn):
filenames = self.tinfoil.cooker_data.pkg_pn[pn]
def show_appends_for_pn(self, pn, cooker_data, mc):
filenames = cooker_data.pkg_pn[pn]
if mc:
pn = "mc:%s:%s" % (mc, pn)
best = self.tinfoil.find_best_provider(pn)
best_filename = os.path.basename(best[3])
@@ -530,6 +535,7 @@ NOTE: .bbappend files can impact the dependencies.
parser_show_appends = self.add_command(sp, 'show-appends', self.do_show_appends)
parser_show_appends.add_argument('pnspec', nargs='*', help='optional recipe name specification (wildcards allowed, enclose in quotes to avoid shell expansion)')
parser_show_appends.add_argument('--mc', help='use specified multiconfig', default='')
parser_show_cross_depends = self.add_command(sp, 'show-cross-depends', self.do_show_cross_depends)
parser_show_cross_depends.add_argument('-f', '--filenames', help='show full file path', action='store_true')

View File

@@ -83,10 +83,10 @@ class AsyncClient(bb.asyncrpc.AsyncClient):
{"get": {"taskhash": taskhash, "method": method, "all": all_properties}}
)
async def get_outhash(self, method, outhash, taskhash):
async def get_outhash(self, method, outhash, taskhash, with_unihash=True):
await self._set_mode(self.MODE_NORMAL)
return await self.send_message(
{"get-outhash": {"outhash": outhash, "taskhash": taskhash, "method": method}}
{"get-outhash": {"outhash": outhash, "taskhash": taskhash, "method": method, "with_unihash": with_unihash}}
)
async def get_stats(self):
@@ -101,6 +101,14 @@ class AsyncClient(bb.asyncrpc.AsyncClient):
await self._set_mode(self.MODE_NORMAL)
return (await self.send_message({"backfill-wait": None}))["tasks"]
async def remove(self, where):
await self._set_mode(self.MODE_NORMAL)
return await self.send_message({"remove": {"where": where}})
async def clean_unused(self, max_age):
await self._set_mode(self.MODE_NORMAL)
return await self.send_message({"clean-unused": {"max_age_seconds": max_age}})
class Client(bb.asyncrpc.Client):
def __init__(self):
@@ -115,6 +123,8 @@ class Client(bb.asyncrpc.Client):
"get_stats",
"reset_stats",
"backfill_wait",
"remove",
"clean_unused",
)
def _get_async_client(self):

View File

@@ -4,7 +4,7 @@
#
from contextlib import closing, contextmanager
from datetime import datetime
from datetime import datetime, timedelta
import enum
import asyncio
import logging
@@ -186,6 +186,8 @@ class ServerClient(bb.asyncrpc.AsyncServerConnection):
'report-equiv': self.handle_equivreport,
'reset-stats': self.handle_reset_stats,
'backfill-wait': self.handle_backfill_wait,
'remove': self.handle_remove,
'clean-unused': self.handle_clean_unused,
})
def validate_proto_version(self):
@@ -269,27 +271,42 @@ class ServerClient(bb.asyncrpc.AsyncServerConnection):
method = request['method']
outhash = request['outhash']
taskhash = request['taskhash']
with_unihash = request.get("with_unihash", True)
with closing(self.db.cursor()) as cursor:
d = await self.get_outhash(cursor, method, outhash, taskhash)
d = await self.get_outhash(cursor, method, outhash, taskhash, with_unihash)
self.write_message(d)
async def get_outhash(self, cursor, method, outhash, taskhash):
async def get_outhash(self, cursor, method, outhash, taskhash, with_unihash=True):
d = None
cursor.execute(
'''
SELECT *, unihashes_v2.unihash AS unihash FROM outhashes_v2
INNER JOIN unihashes_v2 ON unihashes_v2.method=outhashes_v2.method AND unihashes_v2.taskhash=outhashes_v2.taskhash
WHERE outhashes_v2.method=:method AND outhashes_v2.outhash=:outhash
ORDER BY outhashes_v2.created ASC
LIMIT 1
''',
{
'method': method,
'outhash': outhash,
}
)
if with_unihash:
cursor.execute(
'''
SELECT *, unihashes_v2.unihash AS unihash FROM outhashes_v2
INNER JOIN unihashes_v2 ON unihashes_v2.method=outhashes_v2.method AND unihashes_v2.taskhash=outhashes_v2.taskhash
WHERE outhashes_v2.method=:method AND outhashes_v2.outhash=:outhash
ORDER BY outhashes_v2.created ASC
LIMIT 1
''',
{
'method': method,
'outhash': outhash,
}
)
else:
cursor.execute(
"""
SELECT * FROM outhashes_v2
WHERE outhashes_v2.method=:method AND outhashes_v2.outhash=:outhash
ORDER BY outhashes_v2.created ASC
LIMIT 1
""",
{
'method': method,
'outhash': outhash,
}
)
row = cursor.fetchone()
if row is not None:
@@ -499,6 +516,50 @@ class ServerClient(bb.asyncrpc.AsyncServerConnection):
await self.backfill_queue.join()
self.write_message(d)
async def handle_remove(self, request):
condition = request["where"]
if not isinstance(condition, dict):
raise TypeError("Bad condition type %s" % type(condition))
def do_remove(columns, table_name, cursor):
nonlocal condition
where = {}
for c in columns:
if c in condition and condition[c] is not None:
where[c] = condition[c]
if where:
query = ('DELETE FROM %s WHERE ' % table_name) + ' AND '.join("%s=:%s" % (k, k) for k in where.keys())
cursor.execute(query, where)
return cursor.rowcount
return 0
count = 0
with closing(self.db.cursor()) as cursor:
count += do_remove(OUTHASH_TABLE_COLUMNS, "outhashes_v2", cursor)
count += do_remove(UNIHASH_TABLE_COLUMNS, "unihashes_v2", cursor)
self.db.commit()
self.write_message({"count": count})
async def handle_clean_unused(self, request):
max_age = request["max_age_seconds"]
with closing(self.db.cursor()) as cursor:
cursor.execute(
"""
DELETE FROM outhashes_v2 WHERE created<:oldest AND NOT EXISTS (
SELECT unihashes_v2.id FROM unihashes_v2 WHERE unihashes_v2.method=outhashes_v2.method AND unihashes_v2.taskhash=outhashes_v2.taskhash LIMIT 1
)
""",
{
"oldest": datetime.now() - timedelta(seconds=-max_age)
}
)
count = cursor.rowcount
self.write_message({"count": count})
def query_equivalent(self, cursor, method, taskhash):
# This is part of the inner loop and must be as fast as possible
cursor.execute(

View File

@@ -84,6 +84,7 @@ class HashEquivalenceCommonTests(object):
result = self.client.report_unihash(taskhash, self.METHOD, outhash, unihash)
self.assertEqual(result['unihash'], unihash, 'Server returned bad unihash')
return taskhash, outhash, unihash
def test_create_equivalent(self):
# Tests that a second reported task with the same outhash will be
@@ -125,6 +126,57 @@ class HashEquivalenceCommonTests(object):
self.assertClientGetHash(self.client, taskhash, unihash)
def test_remove_taskhash(self):
taskhash, outhash, unihash = self.test_create_hash()
result = self.client.remove({"taskhash": taskhash})
self.assertGreater(result["count"], 0)
self.assertClientGetHash(self.client, taskhash, None)
result_outhash = self.client.get_outhash(self.METHOD, outhash, taskhash)
self.assertIsNone(result_outhash)
def test_remove_unihash(self):
taskhash, outhash, unihash = self.test_create_hash()
result = self.client.remove({"unihash": unihash})
self.assertGreater(result["count"], 0)
self.assertClientGetHash(self.client, taskhash, None)
def test_remove_outhash(self):
taskhash, outhash, unihash = self.test_create_hash()
result = self.client.remove({"outhash": outhash})
self.assertGreater(result["count"], 0)
result_outhash = self.client.get_outhash(self.METHOD, outhash, taskhash)
self.assertIsNone(result_outhash)
def test_remove_method(self):
taskhash, outhash, unihash = self.test_create_hash()
result = self.client.remove({"method": self.METHOD})
self.assertGreater(result["count"], 0)
self.assertClientGetHash(self.client, taskhash, None)
result_outhash = self.client.get_outhash(self.METHOD, outhash, taskhash)
self.assertIsNone(result_outhash)
def test_clean_unused(self):
taskhash, outhash, unihash = self.test_create_hash()
# Clean the database, which should not remove anything because all hashes an in-use
result = self.client.clean_unused(0)
self.assertEqual(result["count"], 0)
self.assertClientGetHash(self.client, taskhash, unihash)
# Remove the unihash. The row in the outhash table should still be present
self.client.remove({"unihash": unihash})
result_outhash = self.client.get_outhash(self.METHOD, outhash, taskhash, False)
self.assertIsNotNone(result_outhash)
# Now clean with no minimum age which will remove the outhash
result = self.client.clean_unused(0)
self.assertEqual(result["count"], 1)
result_outhash = self.client.get_outhash(self.METHOD, outhash, taskhash, False)
self.assertIsNone(result_outhash)
def test_huge_message(self):
# Simple test that hashes can be created
taskhash = 'c665584ee6817aa99edfc77a44dd853828279370'

View File

@@ -344,9 +344,9 @@ def auto_shutdown():
def ping(host, port):
from . import client
conn = client.PRClient()
conn.connect_tcp(host, port)
return conn.ping()
with client.PRClient() as conn:
conn.connect_tcp(host, port)
return conn.ping()
def connect(host, port):
from . import client

View File

@@ -6,7 +6,7 @@
# SPDX-License-Identifier: GPL-2.0-only
#
from django.conf.urls import url
from django.urls import re_path as url
import bldcollector.views

View File

@@ -14,8 +14,11 @@ import subprocess
import toastermain
from django.views.decorators.csrf import csrf_exempt
from toastermain.logs import log_view_mixin
@csrf_exempt
@log_view_mixin
def eventfile(request):
""" Receives a file by POST, and runs toaster-eventreply on this file """
if request.method != "POST":

View File

@@ -4,7 +4,7 @@
from __future__ import unicode_literals
from django.db import models
from django.utils.encoding import force_text
from django.utils.encoding import force_str
from orm.models import Project, Build, Layer_Version
import logging
@@ -124,7 +124,7 @@ class BuildRequest(models.Model):
return self.brvariable_set.get(name="MACHINE").value
def __str__(self):
return force_text('%s %s' % (self.project, self.get_state_display()))
return force_str('%s %s' % (self.project, self.get_state_display()))
# These tables specify the settings for running an actual build.
# They MUST be kept in sync with the tables in orm.models.Project*

1
bitbake/lib/toaster/logs/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*.log*

View File

@@ -107,7 +107,7 @@ class ToasterSetting(models.Model):
class ProjectManager(models.Manager):
def create_project(self, name, release, existing_project=None):
def create_project(self, name, release, existing_project=None, imported=False):
if existing_project and (release is not None):
prj = existing_project
prj.bitbake_version = release.bitbake_version
@@ -134,19 +134,19 @@ class ProjectManager(models.Manager):
if release is None:
return prj
if not imported:
for rdl in release.releasedefaultlayer_set.all():
lv = Layer_Version.objects.filter(
layer__name=rdl.layer_name,
release=release).first()
for rdl in release.releasedefaultlayer_set.all():
lv = Layer_Version.objects.filter(
layer__name=rdl.layer_name,
release=release).first()
if lv:
ProjectLayer.objects.create(project=prj,
layercommit=lv,
optional=False)
else:
logger.warning("Default project layer %s not found" %
rdl.layer_name)
if lv:
ProjectLayer.objects.create(project=prj,
layercommit=lv,
optional=False)
else:
logger.warning("Default project layer %s not found" %
rdl.layer_name)
return prj
@@ -1733,7 +1733,7 @@ class CustomImageRecipe(Recipe):
packages_conf += "\""
base_recipe_path = self.get_base_recipe_file()
if base_recipe_path:
if base_recipe_path and os.path.isfile(base_recipe_path):
base_recipe = open(base_recipe_path, 'r').read()
else:
# Pass back None to trigger error message to user

View File

@@ -21,6 +21,7 @@ import unittest
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.common.by import By
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
from selenium.common.exceptions import NoSuchElementException, \
StaleElementReferenceException, TimeoutException
@@ -32,9 +33,7 @@ def create_selenium_driver(cls,browser='chrome'):
browser = env_browser
if browser == 'chrome':
return webdriver.Chrome(
service_args=["--verbose", "--log-path=selenium.log"]
)
return webdriver.Chrome()
elif browser == 'firefox':
return webdriver.Firefox()
elif browser == 'marionette':
@@ -153,11 +152,11 @@ class SeleniumTestCaseBase(unittest.TestCase):
def find(self, selector):
""" Find single element by CSS selector """
return self.driver.find_element_by_css_selector(selector)
return self.driver.find_element(By.CSS_SELECTOR, selector)
def find_all(self, selector):
""" Find all elements matching CSS selector """
return self.driver.find_elements_by_css_selector(selector)
return self.driver.find_elements(By.CSS_SELECTOR, selector)
def element_exists(self, selector):
"""

View File

@@ -7,7 +7,7 @@
# SPDX-License-Identifier: GPL-2.0-only
#
import re
import re, time
from django.urls import reverse
from django.utils import timezone
@@ -15,6 +15,8 @@ from tests.browser.selenium_helpers import SeleniumTestCase
from orm.models import BitbakeVersion, Release, Project, Build, Target
from selenium.webdriver.common.by import By
class TestAllBuildsPage(SeleniumTestCase):
""" Tests for all builds page /builds/ """
@@ -91,7 +93,7 @@ class TestAllBuildsPage(SeleniumTestCase):
found_row = None
for row in rows:
outcome_links = row.find_elements_by_css_selector(selector)
outcome_links = row.find_elements(By.CSS_SELECTOR, selector)
if len(outcome_links) == 1:
found_row = row
break
@@ -131,17 +133,19 @@ class TestAllBuildsPage(SeleniumTestCase):
url = reverse('all-builds')
self.get(url)
# should see a rebuild button for non-command-line builds
selector = 'div[data-latest-build-result="%s"] .rebuild-btn' % build1.id
time.sleep(2)
run_again_button = self.find_all(selector)
self.assertEqual(len(run_again_button), 1,
'should see a rebuild button for non-cli builds')
# shouldn't see a rebuild button for command-line builds
selector = 'div[data-latest-build-result="%s"] .rebuild-btn' % default_build.id
run_again_button = self.find_all(selector)
self.assertEqual(len(run_again_button), 0,
'should not see a rebuild button for cli builds')
# should see a rebuild button for non-command-line builds
selector = 'div[data-latest-build-result="%s"] .rebuild-btn' % build1.id
run_again_button = self.find_all(selector)
self.assertEqual(len(run_again_button), 1,
'should see a rebuild button for non-cli builds')
def test_tooltips_on_project_name(self):
"""
@@ -198,24 +202,24 @@ class TestAllBuildsPage(SeleniumTestCase):
# test recent builds area for successful build
element = self._get_build_time_element(build1)
links = element.find_elements_by_css_selector('a')
links = element.find_elements(By.CSS_SELECTOR, 'a')
msg = 'should be a link on the build time for a successful recent build'
self.assertEquals(len(links), 1, msg)
# test recent builds area for failed build
element = self._get_build_time_element(build2)
links = element.find_elements_by_css_selector('a')
links = element.find_elements(By.CSS_SELECTOR, 'a')
msg = 'should not be a link on the build time for a failed recent build'
self.assertEquals(len(links), 0, msg)
# test the time column for successful build
build1_row = self._get_row_for_build(build1)
links = build1_row.find_elements_by_css_selector('td.time a')
links = build1_row.find_elements(By.CSS_SELECTOR, 'td.time a')
msg = 'should be a link on the build time for a successful build'
self.assertEquals(len(links), 1, msg)
# test the time column for failed build
build2_row = self._get_row_for_build(build2)
links = build2_row.find_elements_by_css_selector('td.time a')
links = build2_row.find_elements(By.CSS_SELECTOR, 'td.time a')
msg = 'should not be a link on the build time for a failed build'
self.assertEquals(len(links), 0, msg)

View File

@@ -16,6 +16,8 @@ from tests.browser.selenium_helpers import SeleniumTestCase
from orm.models import BitbakeVersion, Release, Project, Build
from orm.models import ProjectVariable
from selenium.webdriver.common.by import By
class TestAllProjectsPage(SeleniumTestCase):
""" Browser tests for projects page /projects/ """
@@ -117,7 +119,7 @@ class TestAllProjectsPage(SeleniumTestCase):
# check the release text for the default project
selector = 'span[data-project-field="release"] span.text-muted'
element = default_project_row.find_element_by_css_selector(selector)
element = default_project_row.find_element(By.CSS_SELECTOR, selector)
text = element.text.strip()
self.assertEqual(text, 'Not applicable',
'release should be "not applicable" for default project')
@@ -127,7 +129,7 @@ class TestAllProjectsPage(SeleniumTestCase):
# check the link in the release cell for the other project
selector = 'span[data-project-field="release"]'
element = other_project_row.find_element_by_css_selector(selector)
element = other_project_row.find_element(By.CSS_SELECTOR, selector)
text = element.text.strip()
self.assertEqual(text, self.release.name,
'release name should be shown for non-default project')
@@ -152,7 +154,7 @@ class TestAllProjectsPage(SeleniumTestCase):
# check the machine cell for the default project
selector = 'span[data-project-field="machine"] span.text-muted'
element = default_project_row.find_element_by_css_selector(selector)
element = default_project_row.find_element(By.CSS_SELECTOR, selector)
text = element.text.strip()
self.assertEqual(text, 'Not applicable',
'machine should be not applicable for default project')
@@ -162,7 +164,7 @@ class TestAllProjectsPage(SeleniumTestCase):
# check the link in the machine cell for the other project
selector = 'span[data-project-field="machine"]'
element = other_project_row.find_element_by_css_selector(selector)
element = other_project_row.find_element(By.CSS_SELECTOR, selector)
text = element.text.strip()
self.assertEqual(text, self.MACHINE_NAME,
'machine name should be shown for non-default project')
@@ -187,7 +189,7 @@ class TestAllProjectsPage(SeleniumTestCase):
# check the link on the name field
selector = 'span[data-project-field="name"] a'
element = default_project_row.find_element_by_css_selector(selector)
element = default_project_row.find_element(By.CSS_SELECTOR, selector)
link_url = element.get_attribute('href').strip()
expected_url = reverse('projectbuilds', args=(self.default_project.id,))
msg = 'link on default project name should point to builds but was %s' % link_url
@@ -198,7 +200,7 @@ class TestAllProjectsPage(SeleniumTestCase):
# check the link for the other project
selector = 'span[data-project-field="name"] a'
element = other_project_row.find_element_by_css_selector(selector)
element = other_project_row.find_element(By.CSS_SELECTOR, selector)
link_url = element.get_attribute('href').strip()
expected_url = reverse('project', args=(self.project.id,))
msg = 'link on project name should point to configuration but was %s' % link_url

View File

@@ -15,6 +15,8 @@ from tests.browser.selenium_helpers import SeleniumTestCase
from orm.models import Project, Release, BitbakeVersion, Build, LogMessage
from orm.models import Layer, Layer_Version, Recipe, CustomImageRecipe, Variable
from selenium.webdriver.common.by import By
class TestBuildDashboardPage(SeleniumTestCase):
""" Tests for the build dashboard /build/X """
@@ -183,7 +185,7 @@ class TestBuildDashboardPage(SeleniumTestCase):
found = False
for element in message_elements:
log_message_text = element.find_element_by_tag_name('pre').text.strip()
log_message_text = element.find_element(By.TAG_NAME, 'pre').text.strip()
text_matches = (log_message_text == expected_text)
log_message_pk = element.get_attribute('data-log-message-id')
@@ -213,7 +215,7 @@ class TestBuildDashboardPage(SeleniumTestCase):
the WebElement modal match the list of text values in expected
"""
# labels containing the radio buttons we're testing for
labels = modal.find_elements_by_css_selector(".radio")
labels = modal.find_elements(By.CSS_SELECTOR,".radio")
labels_text = [lab.text for lab in labels]
self.assertEqual(len(labels_text), len(expected))
@@ -248,7 +250,7 @@ class TestBuildDashboardPage(SeleniumTestCase):
selector = '[data-role="edit-custom-image-trigger"]'
self.click(selector)
modal = self.driver.find_element_by_id('edit-custom-image-modal')
modal = self.driver.find_element(By.ID, 'edit-custom-image-modal')
self.wait_until_visible("#edit-custom-image-modal")
# recipes we expect to see in the edit custom image modal
@@ -270,7 +272,7 @@ class TestBuildDashboardPage(SeleniumTestCase):
selector = '[data-role="new-custom-image-trigger"]'
self.click(selector)
modal = self.driver.find_element_by_id('new-custom-image-modal')
modal = self.driver.find_element(By.ID,'new-custom-image-modal')
self.wait_until_visible("#new-custom-image-modal")
# recipes we expect to see in the new custom image modal

View File

@@ -97,6 +97,8 @@ class TestLayerDetailsPage(SeleniumTestCase):
"Expecting any of \"%s\"but got \"%s\"" %
(self.initial_values, value))
# Make sure the input visible beofre sending keys
self.wait_until_visible("#layer-git input[type=text]")
inputs.send_keys("-edited")
# Save the new values

View File

@@ -6,7 +6,7 @@
#
# Copyright (C) 2013-2016 Intel Corporation
#
import time
from django.urls import reverse
from django.utils import timezone
from tests.browser.selenium_helpers import SeleniumTestCase
@@ -14,6 +14,8 @@ from tests.browser.selenium_helpers_base import Wait
from orm.models import Project, Build, Task, Recipe, Layer, Layer_Version
from bldcontrol.models import BuildRequest
from selenium.webdriver.common.by import By
class TestMostRecentBuildsStates(SeleniumTestCase):
""" Test states update correctly in most recent builds area """
@@ -52,6 +54,7 @@ class TestMostRecentBuildsStates(SeleniumTestCase):
build.outcome = Build.IN_PROGRESS
build.recipes_to_parse = recipes_to_parse
build.recipes_parsed = 0
build.save()
build_request.state = BuildRequest.REQ_INPROGRESS
build_request.save()
@@ -62,7 +65,7 @@ class TestMostRecentBuildsStates(SeleniumTestCase):
element = self.wait_until_visible(selector)
bar_selector = '#recipes-parsed-percentage-bar-%s' % build.id
bar_element = element.find_element_by_css_selector(bar_selector)
bar_element = element.find_element(By.CSS_SELECTOR, bar_selector)
self.assertEqual(bar_element.value_of_css_property('width'), '0px',
'recipe parse progress should be at 0')
@@ -73,7 +76,7 @@ class TestMostRecentBuildsStates(SeleniumTestCase):
self.get(url)
element = self.wait_until_visible(selector)
bar_element = element.find_element_by_css_selector(bar_selector)
bar_element = element.find_element(By.CSS_SELECTOR, bar_selector)
recipe_bar_updated = lambda driver: \
bar_element.get_attribute('style') == 'width: 50%;'
msg = 'recipe parse progress bar should update to 50%'
@@ -98,7 +101,7 @@ class TestMostRecentBuildsStates(SeleniumTestCase):
'Tasks starting', 'build should show "tasks starting" status')
# first task finished; check tasks progress bar
task1.order = 1
task1.outcome = Task.OUTCOME_SUCCESS
task1.save()
self.get(url)
@@ -107,7 +110,7 @@ class TestMostRecentBuildsStates(SeleniumTestCase):
element = self.wait_until_visible(selector)
bar_selector = '#build-pc-done-bar-%s' % build.id
bar_element = element.find_element_by_css_selector(bar_selector)
bar_element = element.find_element(By.CSS_SELECTOR, bar_selector)
task_bar_updated = lambda driver: \
bar_element.get_attribute('style') == 'width: 50%;'
@@ -115,13 +118,13 @@ class TestMostRecentBuildsStates(SeleniumTestCase):
element = Wait(self.driver).until(task_bar_updated, msg)
# last task finished; check tasks progress bar updates
task2.order = 2
task2.outcome = Task.OUTCOME_SUCCESS
task2.save()
self.get(url)
element = self.wait_until_visible(selector)
bar_element = element.find_element_by_css_selector(bar_selector)
bar_element = element.find_element(By.CSS_SELECTOR, bar_selector)
task_bar_updated = lambda driver: \
bar_element.get_attribute('style') == 'width: 100%;'
msg = 'tasks progress bar should update to 100%'

View File

@@ -6,6 +6,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
from bldcontrol.models import BuildEnvironment
from django.urls import reverse
from tests.browser.selenium_helpers import SeleniumTestCase
@@ -18,6 +19,9 @@ class TestNewCustomImagePage(SeleniumTestCase):
CUSTOM_IMAGE_NAME = 'roopa-doopa'
def setUp(self):
BuildEnvironment.objects.get_or_create(
betype=BuildEnvironment.TYPE_LOCAL,
)
release = Release.objects.create(
name='baz',
bitbake_version=BitbakeVersion.objects.create(name='v1')

View File

@@ -6,11 +6,13 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import time
from django.urls import reverse
from tests.browser.selenium_helpers import SeleniumTestCase
from selenium.webdriver.support.ui import Select
from selenium.common.exceptions import InvalidElementStateException
from selenium.webdriver.common.by import By
from orm.models import Project, Release, BitbakeVersion
@@ -47,13 +49,14 @@ class TestNewProjectPage(SeleniumTestCase):
url = reverse('newproject')
self.get(url)
self.enter_text('#new-project-name', project_name)
select = Select(self.find('#projectversion'))
select.select_by_value(str(self.release.pk))
time.sleep(1)
self.click("#create-project-button")
time.sleep(2)
# We should get redirected to the new project's page with the
# notification at the top
@@ -84,6 +87,12 @@ class TestNewProjectPage(SeleniumTestCase):
select = Select(self.find('#projectversion'))
select.select_by_value(str(self.release.pk))
radio = self.driver.find_element(By.ID, 'type-new')
radio.click()
self.click("#create-project-button")
time.sleep(2)
element = self.wait_until_visible('#hint-error-project-name')
self.assertTrue(("Project names must be unique" in element.text),
@@ -96,6 +105,7 @@ class TestNewProjectPage(SeleniumTestCase):
except InvalidElementStateException:
pass
time.sleep(2)
self.assertTrue(
(Project.objects.filter(name=project_name).count() == 1),
"New project not found in database")

View File

@@ -11,6 +11,7 @@ from django.urls import reverse
from tests.browser.selenium_helpers import SeleniumTestCase
from orm.models import BitbakeVersion, Release, Project, ProjectVariable
from selenium.webdriver.common.by import By
class TestProjectConfigsPage(SeleniumTestCase):
""" Test data at /project/X/builds is displayed correctly """
@@ -66,7 +67,7 @@ class TestProjectConfigsPage(SeleniumTestCase):
self.enter_text('#new-imagefs_types', imagefs_type)
checkboxes = self.driver.find_elements_by_xpath("//input[@class='fs-checkbox-fstypes']")
checkboxes = self.driver.find_elements(By.XPATH, "//input[@class='fs-checkbox-fstypes']")
for checkbox in checkboxes:
if checkbox.get_attribute("value") == "btrfs":
@@ -95,7 +96,7 @@ class TestProjectConfigsPage(SeleniumTestCase):
for checkbox in checkboxes:
if checkbox.get_attribute("value") == "cpio":
checkbox.click()
element = self.driver.find_element_by_id('new-imagefs_types')
element = self.driver.find_element(By.ID, 'new-imagefs_types')
self.wait_until_visible('#new-imagefs_types')
@@ -129,7 +130,7 @@ class TestProjectConfigsPage(SeleniumTestCase):
self.assertTrue((self.INVALID_PATH_START_TEXT in element.text), msg)
# downloads dir path has a space
self.driver.find_element_by_id('new-dl_dir').clear()
self.driver.find_element(By.ID, 'new-dl_dir').clear()
self.enter_text('#new-dl_dir', '/foo/bar a')
element = self.wait_until_visible('#hintError-dl_dir')
@@ -137,7 +138,7 @@ class TestProjectConfigsPage(SeleniumTestCase):
self.assertTrue((self.INVALID_PATH_CHAR_TEXT in element.text), msg)
# downloads dir path starts with ${...} but has a space
self.driver.find_element_by_id('new-dl_dir').clear()
self.driver.find_element(By.ID,'new-dl_dir').clear()
self.enter_text('#new-dl_dir', '${TOPDIR}/down foo')
element = self.wait_until_visible('#hintError-dl_dir')
@@ -145,18 +146,18 @@ class TestProjectConfigsPage(SeleniumTestCase):
self.assertTrue((self.INVALID_PATH_CHAR_TEXT in element.text), msg)
# downloads dir path starts with /
self.driver.find_element_by_id('new-dl_dir').clear()
self.driver.find_element(By.ID,'new-dl_dir').clear()
self.enter_text('#new-dl_dir', '/bar/foo')
hidden_element = self.driver.find_element_by_id('hintError-dl_dir')
hidden_element = self.driver.find_element(By.ID,'hintError-dl_dir')
self.assertEqual(hidden_element.is_displayed(), False,
'downloads directory path valid but treated as invalid')
# downloads dir path starts with ${...}
self.driver.find_element_by_id('new-dl_dir').clear()
self.driver.find_element(By.ID,'new-dl_dir').clear()
self.enter_text('#new-dl_dir', '${TOPDIR}/down')
hidden_element = self.driver.find_element_by_id('hintError-dl_dir')
hidden_element = self.driver.find_element(By.ID,'hintError-dl_dir')
self.assertEqual(hidden_element.is_displayed(), False,
'downloads directory path valid but treated as invalid')
@@ -184,7 +185,7 @@ class TestProjectConfigsPage(SeleniumTestCase):
self.assertTrue((self.INVALID_PATH_START_TEXT in element.text), msg)
# path has a space
self.driver.find_element_by_id('new-sstate_dir').clear()
self.driver.find_element(By.ID, 'new-sstate_dir').clear()
self.enter_text('#new-sstate_dir', '/foo/bar a')
element = self.wait_until_visible('#hintError-sstate_dir')
@@ -192,7 +193,7 @@ class TestProjectConfigsPage(SeleniumTestCase):
self.assertTrue((self.INVALID_PATH_CHAR_TEXT in element.text), msg)
# path starts with ${...} but has a space
self.driver.find_element_by_id('new-sstate_dir').clear()
self.driver.find_element(By.ID,'new-sstate_dir').clear()
self.enter_text('#new-sstate_dir', '${TOPDIR}/down foo')
element = self.wait_until_visible('#hintError-sstate_dir')
@@ -200,18 +201,18 @@ class TestProjectConfigsPage(SeleniumTestCase):
self.assertTrue((self.INVALID_PATH_CHAR_TEXT in element.text), msg)
# path starts with /
self.driver.find_element_by_id('new-sstate_dir').clear()
self.driver.find_element(By.ID,'new-sstate_dir').clear()
self.enter_text('#new-sstate_dir', '/bar/foo')
hidden_element = self.driver.find_element_by_id('hintError-sstate_dir')
hidden_element = self.driver.find_element(By.ID, 'hintError-sstate_dir')
self.assertEqual(hidden_element.is_displayed(), False,
'sstate directory path valid but treated as invalid')
# paths starts with ${...}
self.driver.find_element_by_id('new-sstate_dir').clear()
self.driver.find_element(By.ID, 'new-sstate_dir').clear()
self.enter_text('#new-sstate_dir', '${TOPDIR}/down')
hidden_element = self.driver.find_element_by_id('hintError-sstate_dir')
hidden_element = self.driver.find_element(By.ID, 'hintError-sstate_dir')
self.assertEqual(hidden_element.is_displayed(), False,
'sstate directory path valid but treated as invalid')

View File

@@ -13,6 +13,7 @@ from django.urls import reverse
from django.utils import timezone
from tests.browser.selenium_helpers import SeleniumTestCase
from orm.models import BitbakeVersion, Release, Project, Build
from selenium.webdriver.common.by import By
class TestToasterTableUI(SeleniumTestCase):
"""
@@ -33,7 +34,7 @@ class TestToasterTableUI(SeleniumTestCase):
table: WebElement for a ToasterTable
"""
selector = 'thead a.sorted'
heading = table.find_element_by_css_selector(selector)
heading = table.find_element(By.CSS_SELECTOR, selector)
return heading.get_attribute('innerHTML').strip()
def _get_datetime_from_cell(self, row, selector):
@@ -45,7 +46,7 @@ class TestToasterTableUI(SeleniumTestCase):
selector: CSS selector to use to find the cell containing the date time
string
"""
cell = row.find_element_by_css_selector(selector)
cell = row.find_element(By.CSS_SELECTOR, selector)
cell_text = cell.get_attribute('innerHTML').strip()
return datetime.strptime(cell_text, '%d/%m/%y %H:%M')
@@ -105,7 +106,7 @@ class TestToasterTableUI(SeleniumTestCase):
self.click('#checkbox-started_on')
# sort by started_on column
links = table.find_elements_by_css_selector('th.started_on a')
links = table.find_elements(By.CSS_SELECTOR, 'th.started_on a')
for link in links:
if link.get_attribute('innerHTML').strip() == 'Started on':
link.click()

View File

@@ -26,6 +26,7 @@ class BuildCoreImageMinimal(BuildTest):
def setUp(self):
self.completed_build = self.build("core-image-minimal")
self.built = self.target_already_built("core-image-minimal")
# Check if build name is unique - tc_id=795
def test_Build_Unique_Name(self):

View File

@@ -16,6 +16,9 @@ import re
from tests.browser.selenium_helpers_base import SeleniumTestCaseBase
from tests.builds.buildtest import load_build_environment
from bldcontrol.models import BuildEnvironment
from selenium.webdriver.common.by import By
from selenium.common.exceptions import NoSuchElementException
logger = logging.getLogger("toaster")
@@ -30,6 +33,8 @@ class SeleniumFunctionalTestCase(SeleniumTestCaseBase):
raise RuntimeError("Please initialise django with the tests settings: " \
"DJANGO_SETTINGS_MODULE='toastermain.settings_test'")
if BuildEnvironment.objects.count() == 0:
BuildEnvironment.objects.create(betype=BuildEnvironment.TYPE_LOCAL)
load_build_environment()
# start toaster
@@ -74,8 +79,8 @@ class SeleniumFunctionalTestCase(SeleniumTestCaseBase):
"""
try:
table_element = self.get_table_element(table_id)
element = table_element.find_element_by_link_text(link_text)
except self.NoSuchElementException:
element = table_element.find_element(By.LINK_TEXT, link_text)
except NoSuchElementException:
print('no element found')
raise
return element
@@ -85,8 +90,8 @@ class SeleniumFunctionalTestCase(SeleniumTestCaseBase):
#return whole-table element
element_xpath = "//*[@id='" + table_id + "']"
try:
element = self.driver.find_element_by_xpath(element_xpath)
except self.NoSuchElementException:
element = self.driver.find_element(By.XPATH, element_xpath)
except NoSuchElementException:
raise
return element
row = coordinate[0]
@@ -95,8 +100,8 @@ class SeleniumFunctionalTestCase(SeleniumTestCaseBase):
#return whole-row element
element_xpath = "//*[@id='" + table_id + "']/tbody/tr[" + str(row) + "]"
try:
element = self.driver.find_element_by_xpath(element_xpath)
except self.NoSuchElementException:
element = self.driver.find_element(By.XPATH, element_xpath)
except NoSuchElementException:
return False
return element
#now we are looking for an element with specified X and Y
@@ -104,7 +109,7 @@ class SeleniumFunctionalTestCase(SeleniumTestCaseBase):
element_xpath = "//*[@id='" + table_id + "']/tbody/tr[" + str(row) + "]/td[" + str(column) + "]"
try:
element = self.driver.find_element_by_xpath(element_xpath)
except self.NoSuchElementException:
element = self.driver.find_element(By.XPATH, element_xpath)
except NoSuchElementException:
return False
return element

View File

@@ -7,20 +7,22 @@
# SPDX-License-Identifier: GPL-2.0-only
#
import re
import re, time
from django.urls import reverse
from tests.functional.functional_helpers import SeleniumFunctionalTestCase
from orm.models import Project
from selenium.webdriver.common.by import By
class FuntionalTestBasic(SeleniumFunctionalTestCase):
# testcase (1514)
def test_create_slenium_project(self):
project_name = 'selenium-project'
self.get('')
self.driver.find_element_by_link_text("To start building, create your first Toaster project").click()
self.driver.find_element_by_id("new-project-name").send_keys(project_name)
self.driver.find_element_by_id('projectversion').click()
self.driver.find_element_by_id("create-project-button").click()
self.get(reverse('newproject'))
self.driver.find_element(By.ID, "new-project-name").send_keys(project_name)
self.driver.find_element(By.ID, 'projectversion').click()
self.driver.find_element(By.ID, "create-project-button").click()
time.sleep(2)
element = self.wait_until_visible('#project-created-notification')
self.assertTrue(self.element_exists('#project-created-notification'),'Project creation notification not shown')
self.assertTrue(project_name in element.text,
@@ -30,82 +32,87 @@ class FuntionalTestBasic(SeleniumFunctionalTestCase):
# testcase (1515)
def test_verify_left_bar_menu(self):
self.get('')
self.get(reverse('all-projects'))
self.wait_until_visible('#projectstable')
self.find_element_by_link_text_in_table('projectstable', 'selenium-project').click()
time.sleep(2)
self.assertTrue(self.element_exists('#config-nav'),'Configuration Tab does not exist')
project_URL=self.get_URL()
self.driver.find_element_by_xpath('//a[@href="'+project_URL+'"]').click()
self.driver.find_element(By.XPATH, '//a[@href="'+project_URL+'"]').click()
time.sleep(2)
try:
self.driver.find_element_by_xpath("//*[@id='config-nav']/ul/li/a[@href="+'"'+project_URL+'customimages/"'+"]").click()
self.assertTrue(re.search("Custom images",self.driver.find_element_by_xpath("//div[@class='col-md-10']").text),'Custom images information is not loading properly')
self.driver.find_element(By.XPATH, "//*[@id='config-nav']/ul/li/a[@href="+'"'+project_URL+'customimages/"'+"]").click()
time.sleep(2)
self.assertTrue(re.search("Custom images",self.driver.find_element(By.XPATH, "//div[@class='col-md-10']").text),'Custom images information is not loading properly')
except:
self.fail(msg='No Custom images tab available')
try:
self.driver.find_element_by_xpath("//*[@id='config-nav']/ul/li/a[@href="+'"'+project_URL+'images/"'+"]").click()
self.assertTrue(re.search("Compatible image recipes",self.driver.find_element_by_xpath("//div[@class='col-md-10']").text),'The Compatible image recipes information is not loading properly')
self.driver.find_element(By.XPATH, "//*[@id='config-nav']/ul/li/a[@href="+'"'+project_URL+'images/"'+"]").click()
self.assertTrue(re.search("Compatible image recipes",self.driver.find_element(By.XPATH, "//div[@class='col-md-10']").text),'The Compatible image recipes information is not loading properly')
except:
self.fail(msg='No Compatible image tab available')
try:
self.driver.find_element_by_xpath("//*[@id='config-nav']/ul/li/a[@href="+'"'+project_URL+'softwarerecipes/"'+"]").click()
self.assertTrue(re.search("Compatible software recipes",self.driver.find_element_by_xpath("//div[@class='col-md-10']").text),'The Compatible software recipe information is not loading properly')
self.driver.find_element(By.XPATH, "//*[@id='config-nav']/ul/li/a[@href="+'"'+project_URL+'softwarerecipes/"'+"]").click()
self.assertTrue(re.search("Compatible software recipes",self.driver.find_element(By.XPATH, "//div[@class='col-md-10']").text),'The Compatible software recipe information is not loading properly')
except:
self.fail(msg='No Compatible software recipe tab available')
try:
self.driver.find_element_by_xpath("//*[@id='config-nav']/ul/li/a[@href="+'"'+project_URL+'machines/"'+"]").click()
self.assertTrue(re.search("Compatible machines",self.driver.find_element_by_xpath("//div[@class='col-md-10']").text),'The Compatible machine information is not loading properly')
self.driver.find_element(By.XPATH, "//*[@id='config-nav']/ul/li/a[@href="+'"'+project_URL+'machines/"'+"]").click()
self.assertTrue(re.search("Compatible machines",self.driver.find_element(By.XPATH, "//div[@class='col-md-10']").text),'The Compatible machine information is not loading properly')
except:
self.fail(msg='No Compatible machines tab available')
try:
self.driver.find_element_by_xpath("//*[@id='config-nav']/ul/li/a[@href="+'"'+project_URL+'layers/"'+"]").click()
self.assertTrue(re.search("Compatible layers",self.driver.find_element_by_xpath("//div[@class='col-md-10']").text),'The Compatible layer information is not loading properly')
self.driver.find_element(By.XPATH, "//*[@id='config-nav']/ul/li/a[@href="+'"'+project_URL+'layers/"'+"]").click()
self.assertTrue(re.search("Compatible layers",self.driver.find_element(By.XPATH, "//div[@class='col-md-10']").text),'The Compatible layer information is not loading properly')
except:
self.fail(msg='No Compatible layers tab available')
try:
self.driver.find_element_by_xpath("//*[@id='config-nav']/ul/li/a[@href="+'"'+project_URL+'configuration"'+"]").click()
self.assertTrue(re.search("Bitbake variables",self.driver.find_element_by_xpath("//div[@class='col-md-10']").text),'The Bitbake variables information is not loading properly')
self.driver.find_element(By.XPATH, "//*[@id='config-nav']/ul/li/a[@href="+'"'+project_URL+'configuration"'+"]").click()
self.assertTrue(re.search("Bitbake variables",self.driver.find_element(By.XPATH, "//div[@class='col-md-10']").text),'The Bitbake variables information is not loading properly')
except:
self.fail(msg='No Bitbake variables tab available')
# testcase (1516)
def test_review_configuration_information(self):
self.get('')
self.driver.find_element_by_xpath("//div[@id='global-nav']/ul/li/a[@href="+'"'+'/toastergui/projects/'+'"'+"]").click()
self.driver.find_element(By.XPATH, "//div[@id='global-nav']/ul/li/a[@href="+'"'+'/toastergui/projects/'+'"'+"]").click()
time.sleep(2)
self.wait_until_visible('#projectstable')
self.find_element_by_link_text_in_table('projectstable', 'selenium-project').click()
project_URL=self.get_URL()
time.sleep(2)
try:
self.assertTrue(self.element_exists('#machine-section'),'Machine section for the project configuration page does not exist')
self.assertTrue(re.search("qemux86",self.driver.find_element_by_xpath("//span[@id='project-machine-name']").text),'The machine type is not assigned')
self.driver.find_element_by_xpath("//span[@id='change-machine-toggle']").click()
self.assertTrue(re.search("qemux86",self.driver.find_element(By.XPATH, "//span[@id='project-machine-name']").text),'The machine type is not assigned')
self.driver.find_element(By.XPATH, "//span[@id='change-machine-toggle']").click()
time.sleep(2)
self.wait_until_visible('#select-machine-form')
self.wait_until_visible('#cancel-machine-change')
self.driver.find_element_by_xpath("//form[@id='select-machine-form']/a[@id='cancel-machine-change']").click()
self.driver.find_element(By.XPATH, "//form[@id='select-machine-form']/a[@id='cancel-machine-change']").click()
except:
self.fail(msg='The machine information is wrong in the configuration page')
try:
self.driver.find_element_by_id('no-most-built')
self.driver.find_element(By.ID, 'no-most-built')
except:
self.fail(msg='No Most built information in project detail page')
try:
self.assertTrue(re.search("Yocto Project master",self.driver.find_element_by_xpath("//span[@id='project-release-title']").text),'The project release is not defined')
self.assertTrue(re.search("Yocto Project master",self.driver.find_element(By.XPATH, "//span[@id='project-release-title']").text),'The project release is not defined')
except:
self.fail(msg='No project release title information in project detail page')
try:
self.driver.find_element_by_xpath("//div[@id='layer-container']")
self.assertTrue(re.search("3",self.driver.find_element_by_id("project-layers-count").text),'There should be 3 layers listed in the layer count')
layer_list = self.driver.find_element_by_id("layers-in-project-list")
layers = layer_list.find_elements_by_tag_name("li")
self.driver.find_element(By.XPATH, "//div[@id='layer-container']")
self.assertTrue(re.search("3",self.driver.find_element(By.ID, "project-layers-count").text),'There should be 3 layers listed in the layer count')
layer_list = self.driver.find_element(By.ID, "layers-in-project-list")
layers = layer_list.find_elements(By.TAG_NAME, "li")
for layer in layers:
if re.match ("openembedded-core",layer.text):
print ("openembedded-core layer is a default layer in the project configuration")
@@ -121,60 +128,67 @@ class FuntionalTestBasic(SeleniumFunctionalTestCase):
# testcase (1517)
def test_verify_machine_information(self):
self.get('')
self.driver.find_element_by_xpath("//div[@id='global-nav']/ul/li/a[@href="+'"'+'/toastergui/projects/'+'"'+"]").click()
self.driver.find_element(By.XPATH, "//div[@id='global-nav']/ul/li/a[@href="+'"'+'/toastergui/projects/'+'"'+"]").click()
time.sleep(2)
self.wait_until_visible('#projectstable')
self.find_element_by_link_text_in_table('projectstable', 'selenium-project').click()
time.sleep(2)
try:
self.assertTrue(self.element_exists('#machine-section'),'Machine section for the project configuration page does not exist')
self.assertTrue(re.search("qemux86",self.driver.find_element_by_id("project-machine-name").text),'The machine type is not assigned')
self.driver.find_element_by_id("change-machine-toggle").click()
self.assertTrue(re.search("qemux86",self.driver.find_element(By.ID, "project-machine-name").text),'The machine type is not assigned')
self.driver.find_element(By.ID, "change-machine-toggle").click()
time.sleep(2)
self.wait_until_visible('#select-machine-form')
self.wait_until_visible('#cancel-machine-change')
self.driver.find_element_by_id("cancel-machine-change").click()
self.driver.find_element(By.ID, "cancel-machine-change").click()
except:
self.fail(msg='The machine information is wrong in the configuration page')
# testcase (1518)
def test_verify_most_built_recipes_information(self):
self.get('')
self.driver.find_element_by_xpath("//div[@id='global-nav']/ul/li/a[@href="+'"'+'/toastergui/projects/'+'"'+"]").click()
self.driver.find_element(By.XPATH, "//div[@id='global-nav']/ul/li/a[@href="+'"'+'/toastergui/projects/'+'"'+"]").click()
time.sleep(2)
self.wait_until_visible('#projectstable')
self.find_element_by_link_text_in_table('projectstable', 'selenium-project').click()
project_URL=self.get_URL()
time.sleep(2)
try:
self.assertTrue(re.search("You haven't built any recipes yet",self.driver.find_element_by_id("no-most-built").text),'Default message of no builds is not present')
self.driver.find_element_by_xpath("//div[@id='no-most-built']/p/a[@href="+'"'+project_URL+'images/"'+"]").click()
self.assertTrue(re.search("Compatible image recipes",self.driver.find_element_by_xpath("//div[@class='col-md-10']").text),'The Choose a recipe to build link is not working properly')
self.assertTrue(re.search("You haven't built any recipes yet",self.driver.find_element(By.ID, "no-most-built").text),'Default message of no builds is not present')
self.driver.find_element(By.XPATH, "//div[@id='no-most-built']/p/a[@href="+'"'+project_URL+'images/"'+"]").click()
time.sleep(2)
self.assertTrue(re.search("Compatible image recipes",self.driver.find_element(By.XPATH, "//div[@class='col-md-10']").text),'The Choose a recipe to build link is not working properly')
except:
self.fail(msg='No Most built information in project detail page')
# testcase (1519)
def test_verify_project_release_information(self):
self.get('')
self.driver.find_element_by_xpath("//div[@id='global-nav']/ul/li/a[@href="+'"'+'/toastergui/projects/'+'"'+"]").click()
self.driver.find_element(By.XPATH, "//div[@id='global-nav']/ul/li/a[@href="+'"'+'/toastergui/projects/'+'"'+"]").click()
time.sleep(2)
self.wait_until_visible('#projectstable')
self.find_element_by_link_text_in_table('projectstable', 'selenium-project').click()
time.sleep(2)
try:
self.assertTrue(re.search("Yocto Project master",self.driver.find_element_by_id("project-release-title").text),'The project release is not defined')
self.assertTrue(re.search("Yocto Project master",self.driver.find_element(By.ID, "project-release-title").text),'The project release is not defined')
except:
self.fail(msg='No project release title information in project detail page')
# testcase (1520)
def test_verify_layer_information(self):
self.get('')
self.driver.find_element_by_xpath("//div[@id='global-nav']/ul/li/a[@href="+'"'+'/toastergui/projects/'+'"'+"]").click()
self.driver.find_element(By.XPATH, "//div[@id='global-nav']/ul/li/a[@href="+'"'+'/toastergui/projects/'+'"'+"]").click()
self.wait_until_visible('#projectstable')
self.find_element_by_link_text_in_table('projectstable', 'selenium-project').click()
project_URL=self.get_URL()
time.sleep(2)
try:
self.driver.find_element_by_xpath("//div[@id='layer-container']")
self.assertTrue(re.search("3",self.driver.find_element_by_id("project-layers-count").text),'There should be 3 layers listed in the layer count')
layer_list = self.driver.find_element_by_id("layers-in-project-list")
layers = layer_list.find_elements_by_tag_name("li")
self.driver.find_element(By.XPATH, "//div[@id='layer-container']")
self.assertTrue(re.search("3",self.driver.find_element(By.ID, "project-layers-count").text),'There should be 3 layers listed in the layer count')
layer_list = self.driver.find_element(By.ID, "layers-in-project-list")
layers = layer_list.find_elements(By.TAG_NAME, "li")
for layer in layers:
if re.match ("openembedded-core",layer.text):
@@ -186,43 +200,44 @@ class FuntionalTestBasic(SeleniumFunctionalTestCase):
else:
self.fail(msg='default layers are missing from the project configuration')
self.driver.find_element_by_xpath("//input[@id='layer-add-input']")
self.driver.find_element_by_xpath("//button[@id='add-layer-btn']")
self.driver.find_element_by_xpath("//div[@id='layer-container']/form[@class='form-inline']/p/a[@id='view-compatible-layers']")
self.driver.find_element_by_xpath("//div[@id='layer-container']/form[@class='form-inline']/p/a[@href="+'"'+project_URL+'importlayer"'+"]")
self.driver.find_element(By.XPATH, "//input[@id='layer-add-input']")
self.driver.find_element(By.XPATH, "//button[@id='add-layer-btn']")
self.driver.find_element(By.XPATH, "//div[@id='layer-container']/form[@class='form-inline']/p/a[@id='view-compatible-layers']")
self.driver.find_element(By.XPATH, "//div[@id='layer-container']/form[@class='form-inline']/p/a[@href="+'"'+project_URL+'importlayer"'+"]")
except:
self.fail(msg='No Layer information in project detail page')
# testcase (1521)
def test_verify_project_detail_links(self):
self.get('')
self.driver.find_element_by_xpath("//div[@id='global-nav']/ul/li/a[@href="+'"'+'/toastergui/projects/'+'"'+"]").click()
self.driver.find_element(By.XPATH, "//div[@id='global-nav']/ul/li/a[@href="+'"'+'/toastergui/projects/'+'"'+"]").click()
time.sleep(2)
self.wait_until_visible('#projectstable')
self.find_element_by_link_text_in_table('projectstable', 'selenium-project').click()
project_URL=self.get_URL()
self.driver.find_element_by_xpath("//div[@id='project-topbar']/ul[@class='nav nav-tabs']/li[@id='topbar-configuration-tab']/a[@href="+'"'+project_URL+'"'+"]").click()
self.assertTrue(re.search("Configuration",self.driver.find_element_by_xpath("//div[@id='project-topbar']/ul[@class='nav nav-tabs']/li[@id='topbar-configuration-tab']/a[@href="+'"'+project_URL+'"'+"]").text), 'Configuration tab in project topbar is misspelled')
time.sleep(2)
self.driver.find_element(By.XPATH, "//div[@id='project-topbar']/ul[@class='nav nav-tabs']/li[@id='topbar-configuration-tab']/a[@href="+'"'+project_URL+'"'+"]").click()
self.assertTrue(re.search("Configuration",self.driver.find_element(By.XPATH, "//div[@id='project-topbar']/ul[@class='nav nav-tabs']/li[@id='topbar-configuration-tab']/a[@href="+'"'+project_URL+'"'+"]").text), 'Configuration tab in project topbar is misspelled')
try:
self.driver.find_element_by_xpath("//div[@id='project-topbar']/ul[@class='nav nav-tabs']/li/a[@href="+'"'+project_URL+'builds/"'+"]").click()
self.assertTrue(re.search("Builds",self.driver.find_element_by_xpath("//div[@id='project-topbar']/ul[@class='nav nav-tabs']/li/a[@href="+'"'+project_URL+'builds/"'+"]").text), 'Builds tab in project topbar is misspelled')
self.driver.find_element_by_xpath("//div[@id='empty-state-projectbuildstable']")
self.driver.find_element(By.XPATH, "//div[@id='project-topbar']/ul[@class='nav nav-tabs']/li/a[@href="+'"'+project_URL+'builds/"'+"]").click()
self.assertTrue(re.search("Builds",self.driver.find_element(By.XPATH, "//div[@id='project-topbar']/ul[@class='nav nav-tabs']/li/a[@href="+'"'+project_URL+'builds/"'+"]").text), 'Builds tab in project topbar is misspelled')
self.driver.find_element(By.XPATH, "//div[@id='empty-state-projectbuildstable']")
except:
self.fail(msg='Builds tab information is not present')
try:
self.driver.find_element_by_xpath("//div[@id='project-topbar']/ul[@class='nav nav-tabs']/li/a[@href="+'"'+project_URL+'importlayer"'+"]").click()
self.assertTrue(re.search("Import layer",self.driver.find_element_by_xpath("//div[@id='project-topbar']/ul[@class='nav nav-tabs']/li/a[@href="+'"'+project_URL+'importlayer"'+"]").text), 'Import layer tab in project topbar is misspelled')
self.driver.find_element_by_xpath("//fieldset[@id='repo-select']")
self.driver.find_element_by_xpath("//fieldset[@id='git-repo']")
self.driver.find_element(By.XPATH, "//div[@id='project-topbar']/ul[@class='nav nav-tabs']/li/a[@href="+'"'+project_URL+'importlayer"'+"]").click()
self.assertTrue(re.search("Import layer",self.driver.find_element(By.XPATH, "//div[@id='project-topbar']/ul[@class='nav nav-tabs']/li/a[@href="+'"'+project_URL+'importlayer"'+"]").text), 'Import layer tab in project topbar is misspelled')
self.driver.find_element(By.XPATH, "//fieldset[@id='repo-select']")
self.driver.find_element(By.XPATH, "//fieldset[@id='git-repo']")
except:
self.fail(msg='Import layer tab not loading properly')
try:
self.driver.find_element_by_xpath("//div[@id='project-topbar']/ul[@class='nav nav-tabs']/li/a[@href="+'"'+project_URL+'newcustomimage/"'+"]").click()
self.assertTrue(re.search("New custom image",self.driver.find_element_by_xpath("//div[@id='project-topbar']/ul[@class='nav nav-tabs']/li/a[@href="+'"'+project_URL+'newcustomimage/"'+"]").text), 'New custom image tab in project topbar is misspelled')
self.assertTrue(re.search("Select the image recipe you want to customise",self.driver.find_element_by_xpath("//div[@class='col-md-12']/h2").text),'The new custom image tab is not loading correctly')
self.driver.find_element(By.XPATH, "//div[@id='project-topbar']/ul[@class='nav nav-tabs']/li/a[@href="+'"'+project_URL+'newcustomimage/"'+"]").click()
self.assertTrue(re.search("New custom image",self.driver.find_element(By.XPATH, "//div[@id='project-topbar']/ul[@class='nav nav-tabs']/li/a[@href="+'"'+project_URL+'newcustomimage/"'+"]").text), 'New custom image tab in project topbar is misspelled')
self.assertTrue(re.search("Select the image recipe you want to customise",self.driver.find_element(By.XPATH, "//div[@class='col-md-12']/h2").text),'The new custom image tab is not loading correctly')
except:
self.fail(msg='New custom image tab not loading properly')

View File

@@ -1 +1 @@
selenium==2.49.2
selenium>=4.13.0

View File

@@ -19,6 +19,7 @@ from orm.models import Layer_Version, Recipe
from orm.models import CustomImageRecipe
from orm.models import CustomImagePackage
from bldcontrol.models import BuildEnvironment
import inspect
import toastergui
@@ -45,6 +46,9 @@ class ViewTests(TestCase):
self.cust_package = CustomImagePackage.objects.first()
self.package = Package.objects.first()
self.lver = Layer_Version.objects.first()
if BuildEnvironment.objects.count() == 0:
BuildEnvironment.objects.create(betype=BuildEnvironment.TYPE_LOCAL)
def test_get_base_call_returns_html(self):
"""Basic test for all-projects view"""

View File

@@ -11,7 +11,7 @@ import os
import re
import logging
import json
import subprocess
import glob
from collections import Counter
from orm.models import Project, ProjectTarget, Build, Layer_Version
@@ -227,20 +227,18 @@ class XhrSetDefaultImageUrl(View):
# same logical name
# * Each project that uses a layer will have its own
# LayerVersion and Project Layer for it
# * During the Paroject delete process, when the last
# * During the Project delete process, when the last
# LayerVersion for a 'local_source_dir' layer is deleted
# then the Layer record is deleted to remove orphans
#
def scan_layer_content(layer,layer_version):
# if this is a local layer directory, we can immediately scan its content
if layer.local_source_dir:
if os.path.isdir(layer.local_source_dir):
try:
# recipes-*/*/*.bb
cmd = '%s %s' % ('ls', os.path.join(layer.local_source_dir,'recipes-*/*/*.bb'))
recipes_list = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE,stderr=subprocess.STDOUT).stdout.read()
recipes_list = recipes_list.decode("utf-8").strip()
if recipes_list and 'No such' not in recipes_list:
recipes_list = glob.glob(os.path.join(layer.local_source_dir, 'recipes-*/*/*.bb'))
for recipe in recipes_list:
for recipe in recipes_list.split('\n'):
recipe_path = recipe[recipe.rfind('recipes-'):]
recipe_name = recipe[recipe.rfind('/')+1:].replace('.bb','')
@@ -260,6 +258,9 @@ def scan_layer_content(layer,layer_version):
except Exception as e:
logger.warning("ERROR:scan_layer_content: %s" % e)
else:
logger.warning("ERROR: wrong path given")
raise KeyError("local_source_dir")
class XhrLayer(View):
""" Delete, Get, Add and Update Layer information
@@ -456,15 +457,18 @@ class XhrLayer(View):
'layerdetailurl':
layer_dep.get_detailspage_url(project.pk)})
# Scan the layer's content and update components
scan_layer_content(layer,layer_version)
# Only scan_layer_content if layer is local
if layer_data.get('local_source_dir', None):
# Scan the layer's content and update components
scan_layer_content(layer,layer_version)
except Layer_Version.DoesNotExist:
return error_response("layer-dep-not-found")
except Project.DoesNotExist:
return error_response("project-not-found")
except KeyError:
return error_response("incorrect-parameters")
except KeyError as e:
_log("KeyError: %s" % e)
return error_response(f"incorrect-parameters")
return JsonResponse({'error': "ok",
'imported_layer': {

View File

@@ -1,6 +1,6 @@
/*!
* Bootstrap v3.3.6 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
* Bootstrap v3.4.1 (https://getbootstrap.com/)
* Copyright 2011-2019 Twitter, Inc.
* Licensed under the MIT license
*/
@@ -11,16 +11,16 @@ if (typeof jQuery === 'undefined') {
+function ($) {
'use strict';
var version = $.fn.jquery.split(' ')[0].split('.')
if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] > 2)) {
throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3')
if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] > 3)) {
throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4')
}
}(jQuery);
/* ========================================================================
* Bootstrap: transition.js v3.3.6
* http://getbootstrap.com/javascript/#transitions
* Bootstrap: transition.js v3.4.1
* https://getbootstrap.com/docs/3.4/javascript/#transitions
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
@@ -28,7 +28,7 @@ if (typeof jQuery === 'undefined') {
+function ($) {
'use strict';
// CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
// CSS TRANSITION SUPPORT (Shoutout: https://modernizr.com/)
// ============================================================
function transitionEnd() {
@@ -50,7 +50,7 @@ if (typeof jQuery === 'undefined') {
return false // explicit for ie8 ( ._.)
}
// http://blog.alexmaccaw.com/css-transitions
// https://blog.alexmaccaw.com/css-transitions
$.fn.emulateTransitionEnd = function (duration) {
var called = false
var $el = this
@@ -77,10 +77,10 @@ if (typeof jQuery === 'undefined') {
}(jQuery);
/* ========================================================================
* Bootstrap: alert.js v3.3.6
* http://getbootstrap.com/javascript/#alerts
* Bootstrap: alert.js v3.4.1
* https://getbootstrap.com/docs/3.4/javascript/#alerts
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
@@ -96,7 +96,7 @@ if (typeof jQuery === 'undefined') {
$(el).on('click', dismiss, this.close)
}
Alert.VERSION = '3.3.6'
Alert.VERSION = '3.4.1'
Alert.TRANSITION_DURATION = 150
@@ -109,7 +109,8 @@ if (typeof jQuery === 'undefined') {
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
}
var $parent = $(selector)
selector = selector === '#' ? [] : selector
var $parent = $(document).find(selector)
if (e) e.preventDefault()
@@ -172,10 +173,10 @@ if (typeof jQuery === 'undefined') {
}(jQuery);
/* ========================================================================
* Bootstrap: button.js v3.3.6
* http://getbootstrap.com/javascript/#buttons
* Bootstrap: button.js v3.4.1
* https://getbootstrap.com/docs/3.4/javascript/#buttons
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
@@ -192,7 +193,7 @@ if (typeof jQuery === 'undefined') {
this.isLoading = false
}
Button.VERSION = '3.3.6'
Button.VERSION = '3.4.1'
Button.DEFAULTS = {
loadingText: 'loading...'
@@ -214,10 +215,10 @@ if (typeof jQuery === 'undefined') {
if (state == 'loadingText') {
this.isLoading = true
$el.addClass(d).attr(d, d)
$el.addClass(d).attr(d, d).prop(d, true)
} else if (this.isLoading) {
this.isLoading = false
$el.removeClass(d).removeAttr(d)
$el.removeClass(d).removeAttr(d).prop(d, false)
}
}, this), 0)
}
@@ -281,10 +282,15 @@ if (typeof jQuery === 'undefined') {
$(document)
.on('click.bs.button.data-api', '[data-toggle^="button"]', function (e) {
var $btn = $(e.target)
if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
var $btn = $(e.target).closest('.btn')
Plugin.call($btn, 'toggle')
if (!($(e.target).is('input[type="radio"]') || $(e.target).is('input[type="checkbox"]'))) e.preventDefault()
if (!($(e.target).is('input[type="radio"], input[type="checkbox"]'))) {
// Prevent double click on radios, and the double selections (so cancellation) on checkboxes
e.preventDefault()
// The target component still receive the focus
if ($btn.is('input,button')) $btn.trigger('focus')
else $btn.find('input:visible,button:visible').first().trigger('focus')
}
})
.on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^="button"]', function (e) {
$(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type))
@@ -293,10 +299,10 @@ if (typeof jQuery === 'undefined') {
}(jQuery);
/* ========================================================================
* Bootstrap: carousel.js v3.3.6
* http://getbootstrap.com/javascript/#carousel
* Bootstrap: carousel.js v3.4.1
* https://getbootstrap.com/docs/3.4/javascript/#carousel
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
@@ -324,7 +330,7 @@ if (typeof jQuery === 'undefined') {
.on('mouseleave.bs.carousel', $.proxy(this.cycle, this))
}
Carousel.VERSION = '3.3.6'
Carousel.VERSION = '3.4.1'
Carousel.TRANSITION_DURATION = 600
@@ -438,7 +444,9 @@ if (typeof jQuery === 'undefined') {
var slidEvent = $.Event('slid.bs.carousel', { relatedTarget: relatedTarget, direction: direction }) // yes, "slid"
if ($.support.transition && this.$element.hasClass('slide')) {
$next.addClass(type)
$next[0].offsetWidth // force reflow
if (typeof $next === 'object' && $next.length) {
$next[0].offsetWidth // force reflow
}
$active.addClass(direction)
$next.addClass(direction)
$active
@@ -500,10 +508,17 @@ if (typeof jQuery === 'undefined') {
// =================
var clickHandler = function (e) {
var href
var $this = $(this)
var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) // strip for ie7
var href = $this.attr('href')
if (href) {
href = href.replace(/.*(?=#[^\s]+$)/, '') // strip for ie7
}
var target = $this.attr('data-target') || href
var $target = $(document).find(target)
if (!$target.hasClass('carousel')) return
var options = $.extend({}, $target.data(), $this.data())
var slideIndex = $this.attr('data-slide-to')
if (slideIndex) options.interval = false
@@ -531,13 +546,14 @@ if (typeof jQuery === 'undefined') {
}(jQuery);
/* ========================================================================
* Bootstrap: collapse.js v3.3.6
* http://getbootstrap.com/javascript/#collapse
* Bootstrap: collapse.js v3.4.1
* https://getbootstrap.com/docs/3.4/javascript/#collapse
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
/* jshint latedef: false */
+function ($) {
'use strict';
@@ -561,7 +577,7 @@ if (typeof jQuery === 'undefined') {
if (this.options.toggle) this.toggle()
}
Collapse.VERSION = '3.3.6'
Collapse.VERSION = '3.4.1'
Collapse.TRANSITION_DURATION = 350
@@ -668,7 +684,7 @@ if (typeof jQuery === 'undefined') {
}
Collapse.prototype.getParent = function () {
return $(this.options.parent)
return $(document).find(this.options.parent)
.find('[data-toggle="collapse"][data-parent="' + this.options.parent + '"]')
.each($.proxy(function (i, element) {
var $element = $(element)
@@ -691,7 +707,7 @@ if (typeof jQuery === 'undefined') {
var target = $trigger.attr('data-target')
|| (href = $trigger.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') // strip for ie7
return $(target)
return $(document).find(target)
}
@@ -743,10 +759,10 @@ if (typeof jQuery === 'undefined') {
}(jQuery);
/* ========================================================================
* Bootstrap: dropdown.js v3.3.6
* http://getbootstrap.com/javascript/#dropdowns
* Bootstrap: dropdown.js v3.4.1
* https://getbootstrap.com/docs/3.4/javascript/#dropdowns
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
@@ -763,7 +779,7 @@ if (typeof jQuery === 'undefined') {
$(element).on('click.bs.dropdown', this.toggle)
}
Dropdown.VERSION = '3.3.6'
Dropdown.VERSION = '3.4.1'
function getParent($this) {
var selector = $this.attr('data-target')
@@ -773,7 +789,7 @@ if (typeof jQuery === 'undefined') {
selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
}
var $parent = selector && $(selector)
var $parent = selector !== '#' ? $(document).find(selector) : null
return $parent && $parent.length ? $parent : $this.parent()
}
@@ -909,10 +925,10 @@ if (typeof jQuery === 'undefined') {
}(jQuery);
/* ========================================================================
* Bootstrap: modal.js v3.3.6
* http://getbootstrap.com/javascript/#modals
* Bootstrap: modal.js v3.4.1
* https://getbootstrap.com/docs/3.4/javascript/#modals
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
@@ -924,15 +940,16 @@ if (typeof jQuery === 'undefined') {
// ======================
var Modal = function (element, options) {
this.options = options
this.$body = $(document.body)
this.$element = $(element)
this.$dialog = this.$element.find('.modal-dialog')
this.$backdrop = null
this.isShown = null
this.originalBodyPad = null
this.scrollbarWidth = 0
this.options = options
this.$body = $(document.body)
this.$element = $(element)
this.$dialog = this.$element.find('.modal-dialog')
this.$backdrop = null
this.isShown = null
this.originalBodyPad = null
this.scrollbarWidth = 0
this.ignoreBackdropClick = false
this.fixedContent = '.navbar-fixed-top, .navbar-fixed-bottom'
if (this.options.remote) {
this.$element
@@ -943,7 +960,7 @@ if (typeof jQuery === 'undefined') {
}
}
Modal.VERSION = '3.3.6'
Modal.VERSION = '3.4.1'
Modal.TRANSITION_DURATION = 300
Modal.BACKDROP_TRANSITION_DURATION = 150
@@ -960,7 +977,7 @@ if (typeof jQuery === 'undefined') {
Modal.prototype.show = function (_relatedTarget) {
var that = this
var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
this.$element.trigger(e)
@@ -1050,7 +1067,9 @@ if (typeof jQuery === 'undefined') {
$(document)
.off('focusin.bs.modal') // guard against infinite focus loop
.on('focusin.bs.modal', $.proxy(function (e) {
if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
if (document !== e.target &&
this.$element[0] !== e.target &&
!this.$element.has(e.target).length) {
this.$element.trigger('focus')
}
}, this))
@@ -1152,7 +1171,7 @@ if (typeof jQuery === 'undefined') {
var modalIsOverflowing = this.$element[0].scrollHeight > document.documentElement.clientHeight
this.$element.css({
paddingLeft: !this.bodyIsOverflowing && modalIsOverflowing ? this.scrollbarWidth : '',
paddingLeft: !this.bodyIsOverflowing && modalIsOverflowing ? this.scrollbarWidth : '',
paddingRight: this.bodyIsOverflowing && !modalIsOverflowing ? this.scrollbarWidth : ''
})
}
@@ -1177,11 +1196,26 @@ if (typeof jQuery === 'undefined') {
Modal.prototype.setScrollbar = function () {
var bodyPad = parseInt((this.$body.css('padding-right') || 0), 10)
this.originalBodyPad = document.body.style.paddingRight || ''
if (this.bodyIsOverflowing) this.$body.css('padding-right', bodyPad + this.scrollbarWidth)
var scrollbarWidth = this.scrollbarWidth
if (this.bodyIsOverflowing) {
this.$body.css('padding-right', bodyPad + scrollbarWidth)
$(this.fixedContent).each(function (index, element) {
var actualPadding = element.style.paddingRight
var calculatedPadding = $(element).css('padding-right')
$(element)
.data('padding-right', actualPadding)
.css('padding-right', parseFloat(calculatedPadding) + scrollbarWidth + 'px')
})
}
}
Modal.prototype.resetScrollbar = function () {
this.$body.css('padding-right', this.originalBodyPad)
$(this.fixedContent).each(function (index, element) {
var padding = $(element).data('padding-right')
$(element).removeData('padding-right')
element.style.paddingRight = padding ? padding : ''
})
}
Modal.prototype.measureScrollbar = function () { // thx walsh
@@ -1199,8 +1233,8 @@ if (typeof jQuery === 'undefined') {
function Plugin(option, _relatedTarget) {
return this.each(function () {
var $this = $(this)
var data = $this.data('bs.modal')
var $this = $(this)
var data = $this.data('bs.modal')
var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)
if (!data) $this.data('bs.modal', (data = new Modal(this, options)))
@@ -1211,7 +1245,7 @@ if (typeof jQuery === 'undefined') {
var old = $.fn.modal
$.fn.modal = Plugin
$.fn.modal = Plugin
$.fn.modal.Constructor = Modal
@@ -1228,10 +1262,13 @@ if (typeof jQuery === 'undefined') {
// ==============
$(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
var $this = $(this)
var href = $this.attr('href')
var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) // strip for ie7
var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
var $this = $(this)
var href = $this.attr('href')
var target = $this.attr('data-target') ||
(href && href.replace(/.*(?=#[^\s]+$)/, '')) // strip for ie7
var $target = $(document).find(target)
var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
if ($this.is('a')) e.preventDefault()
@@ -1247,18 +1284,148 @@ if (typeof jQuery === 'undefined') {
}(jQuery);
/* ========================================================================
* Bootstrap: tooltip.js v3.3.6
* http://getbootstrap.com/javascript/#tooltip
* Bootstrap: tooltip.js v3.4.1
* https://getbootstrap.com/docs/3.4/javascript/#tooltip
* Inspired by the original jQuery.tipsy by Jason Frame
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
+function ($) {
'use strict';
var DISALLOWED_ATTRIBUTES = ['sanitize', 'whiteList', 'sanitizeFn']
var uriAttrs = [
'background',
'cite',
'href',
'itemtype',
'longdesc',
'poster',
'src',
'xlink:href'
]
var ARIA_ATTRIBUTE_PATTERN = /^aria-[\w-]*$/i
var DefaultWhitelist = {
// Global attributes allowed on any supplied element below.
'*': ['class', 'dir', 'id', 'lang', 'role', ARIA_ATTRIBUTE_PATTERN],
a: ['target', 'href', 'title', 'rel'],
area: [],
b: [],
br: [],
col: [],
code: [],
div: [],
em: [],
hr: [],
h1: [],
h2: [],
h3: [],
h4: [],
h5: [],
h6: [],
i: [],
img: ['src', 'alt', 'title', 'width', 'height'],
li: [],
ol: [],
p: [],
pre: [],
s: [],
small: [],
span: [],
sub: [],
sup: [],
strong: [],
u: [],
ul: []
}
/**
* A pattern that recognizes a commonly useful subset of URLs that are safe.
*
* Shoutout to Angular 7 https://github.com/angular/angular/blob/7.2.4/packages/core/src/sanitization/url_sanitizer.ts
*/
var SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi
/**
* A pattern that matches safe data URLs. Only matches image, video and audio types.
*
* Shoutout to Angular 7 https://github.com/angular/angular/blob/7.2.4/packages/core/src/sanitization/url_sanitizer.ts
*/
var DATA_URL_PATTERN = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i
function allowedAttribute(attr, allowedAttributeList) {
var attrName = attr.nodeName.toLowerCase()
if ($.inArray(attrName, allowedAttributeList) !== -1) {
if ($.inArray(attrName, uriAttrs) !== -1) {
return Boolean(attr.nodeValue.match(SAFE_URL_PATTERN) || attr.nodeValue.match(DATA_URL_PATTERN))
}
return true
}
var regExp = $(allowedAttributeList).filter(function (index, value) {
return value instanceof RegExp
})
// Check if a regular expression validates the attribute.
for (var i = 0, l = regExp.length; i < l; i++) {
if (attrName.match(regExp[i])) {
return true
}
}
return false
}
function sanitizeHtml(unsafeHtml, whiteList, sanitizeFn) {
if (unsafeHtml.length === 0) {
return unsafeHtml
}
if (sanitizeFn && typeof sanitizeFn === 'function') {
return sanitizeFn(unsafeHtml)
}
// IE 8 and below don't support createHTMLDocument
if (!document.implementation || !document.implementation.createHTMLDocument) {
return unsafeHtml
}
var createdDocument = document.implementation.createHTMLDocument('sanitization')
createdDocument.body.innerHTML = unsafeHtml
var whitelistKeys = $.map(whiteList, function (el, i) { return i })
var elements = $(createdDocument.body).find('*')
for (var i = 0, len = elements.length; i < len; i++) {
var el = elements[i]
var elName = el.nodeName.toLowerCase()
if ($.inArray(elName, whitelistKeys) === -1) {
el.parentNode.removeChild(el)
continue
}
var attributeList = $.map(el.attributes, function (el) { return el })
var whitelistedAttributes = [].concat(whiteList['*'] || [], whiteList[elName] || [])
for (var j = 0, len2 = attributeList.length; j < len2; j++) {
if (!allowedAttribute(attributeList[j], whitelistedAttributes)) {
el.removeAttribute(attributeList[j].nodeName)
}
}
}
return createdDocument.body.innerHTML
}
// TOOLTIP PUBLIC CLASS DEFINITION
// ===============================
@@ -1274,7 +1441,7 @@ if (typeof jQuery === 'undefined') {
this.init('tooltip', element, options)
}
Tooltip.VERSION = '3.3.6'
Tooltip.VERSION = '3.4.1'
Tooltip.TRANSITION_DURATION = 150
@@ -1291,7 +1458,10 @@ if (typeof jQuery === 'undefined') {
viewport: {
selector: 'body',
padding: 0
}
},
sanitize : true,
sanitizeFn : null,
whiteList : DefaultWhitelist
}
Tooltip.prototype.init = function (type, element, options) {
@@ -1299,7 +1469,7 @@ if (typeof jQuery === 'undefined') {
this.type = type
this.$element = $(element)
this.options = this.getOptions(options)
this.$viewport = this.options.viewport && $($.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : (this.options.viewport.selector || this.options.viewport))
this.$viewport = this.options.viewport && $(document).find($.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : (this.options.viewport.selector || this.options.viewport))
this.inState = { click: false, hover: false, focus: false }
if (this.$element[0] instanceof document.constructor && !this.options.selector) {
@@ -1332,7 +1502,15 @@ if (typeof jQuery === 'undefined') {
}
Tooltip.prototype.getOptions = function (options) {
options = $.extend({}, this.getDefaults(), this.$element.data(), options)
var dataAttributes = this.$element.data()
for (var dataAttr in dataAttributes) {
if (dataAttributes.hasOwnProperty(dataAttr) && $.inArray(dataAttr, DISALLOWED_ATTRIBUTES) !== -1) {
delete dataAttributes[dataAttr]
}
}
options = $.extend({}, this.getDefaults(), dataAttributes, options)
if (options.delay && typeof options.delay == 'number') {
options.delay = {
@@ -1341,6 +1519,10 @@ if (typeof jQuery === 'undefined') {
}
}
if (options.sanitize) {
options.template = sanitizeHtml(options.template, options.whiteList, options.sanitizeFn)
}
return options
}
@@ -1452,7 +1634,7 @@ if (typeof jQuery === 'undefined') {
.addClass(placement)
.data('bs.' + this.type, this)
this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
this.options.container ? $tip.appendTo($(document).find(this.options.container)) : $tip.insertAfter(this.$element)
this.$element.trigger('inserted.bs.' + this.type)
var pos = this.getPosition()
@@ -1554,7 +1736,16 @@ if (typeof jQuery === 'undefined') {
var $tip = this.tip()
var title = this.getTitle()
$tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
if (this.options.html) {
if (this.options.sanitize) {
title = sanitizeHtml(title, this.options.whiteList, this.options.sanitizeFn)
}
$tip.find('.tooltip-inner').html(title)
} else {
$tip.find('.tooltip-inner').text(title)
}
$tip.removeClass('fade in top bottom left right')
}
@@ -1565,9 +1756,11 @@ if (typeof jQuery === 'undefined') {
function complete() {
if (that.hoverState != 'in') $tip.detach()
that.$element
.removeAttr('aria-describedby')
.trigger('hidden.bs.' + that.type)
if (that.$element) { // TODO: Check whether guarding this code with this `if` is really necessary.
that.$element
.removeAttr('aria-describedby')
.trigger('hidden.bs.' + that.type)
}
callback && callback()
}
@@ -1610,7 +1803,10 @@ if (typeof jQuery === 'undefined') {
// width and height are missing in IE8, so compute them manually; see https://github.com/twbs/bootstrap/issues/14093
elRect = $.extend({}, elRect, { width: elRect.right - elRect.left, height: elRect.bottom - elRect.top })
}
var elOffset = isBody ? { top: 0, left: 0 } : $element.offset()
var isSvg = window.SVGElement && el instanceof window.SVGElement
// Avoid using $.offset() on SVGs since it gives incorrect results in jQuery 3.
// See https://github.com/twbs/bootstrap/issues/20280
var elOffset = isBody ? { top: 0, left: 0 } : (isSvg ? null : $element.offset())
var scroll = { scroll: isBody ? document.documentElement.scrollTop || document.body.scrollTop : $element.scrollTop() }
var outerDims = isBody ? { width: $(window).width(), height: $(window).height() } : null
@@ -1726,9 +1922,13 @@ if (typeof jQuery === 'undefined') {
that.$tip = null
that.$arrow = null
that.$viewport = null
that.$element = null
})
}
Tooltip.prototype.sanitizeHtml = function (unsafeHtml) {
return sanitizeHtml(unsafeHtml, this.options.whiteList, this.options.sanitizeFn)
}
// TOOLTIP PLUGIN DEFINITION
// =========================
@@ -1762,10 +1962,10 @@ if (typeof jQuery === 'undefined') {
}(jQuery);
/* ========================================================================
* Bootstrap: popover.js v3.3.6
* http://getbootstrap.com/javascript/#popovers
* Bootstrap: popover.js v3.4.1
* https://getbootstrap.com/docs/3.4/javascript/#popovers
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
@@ -1782,7 +1982,7 @@ if (typeof jQuery === 'undefined') {
if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
Popover.VERSION = '3.3.6'
Popover.VERSION = '3.4.1'
Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
placement: 'right',
@@ -1808,10 +2008,25 @@ if (typeof jQuery === 'undefined') {
var title = this.getTitle()
var content = this.getContent()
$tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
$tip.find('.popover-content').children().detach().end()[ // we use append for html objects to maintain js events
this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text'
](content)
if (this.options.html) {
var typeContent = typeof content
if (this.options.sanitize) {
title = this.sanitizeHtml(title)
if (typeContent === 'string') {
content = this.sanitizeHtml(content)
}
}
$tip.find('.popover-title').html(title)
$tip.find('.popover-content').children().detach().end()[
typeContent === 'string' ? 'html' : 'append'
](content)
} else {
$tip.find('.popover-title').text(title)
$tip.find('.popover-content').children().detach().end().text(content)
}
$tip.removeClass('fade top bottom left right in')
@@ -1830,8 +2045,8 @@ if (typeof jQuery === 'undefined') {
return $e.attr('data-content')
|| (typeof o.content == 'function' ?
o.content.call($e[0]) :
o.content)
o.content.call($e[0]) :
o.content)
}
Popover.prototype.arrow = function () {
@@ -1871,10 +2086,10 @@ if (typeof jQuery === 'undefined') {
}(jQuery);
/* ========================================================================
* Bootstrap: scrollspy.js v3.3.6
* http://getbootstrap.com/javascript/#scrollspy
* Bootstrap: scrollspy.js v3.4.1
* https://getbootstrap.com/docs/3.4/javascript/#scrollspy
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
@@ -1900,7 +2115,7 @@ if (typeof jQuery === 'undefined') {
this.process()
}
ScrollSpy.VERSION = '3.3.6'
ScrollSpy.VERSION = '3.4.1'
ScrollSpy.DEFAULTS = {
offset: 10
@@ -2044,10 +2259,10 @@ if (typeof jQuery === 'undefined') {
}(jQuery);
/* ========================================================================
* Bootstrap: tab.js v3.3.6
* http://getbootstrap.com/javascript/#tabs
* Bootstrap: tab.js v3.4.1
* https://getbootstrap.com/docs/3.4/javascript/#tabs
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
@@ -2064,7 +2279,7 @@ if (typeof jQuery === 'undefined') {
// jscs:enable requireDollarBeforejQueryAssignment
}
Tab.VERSION = '3.3.6'
Tab.VERSION = '3.4.1'
Tab.TRANSITION_DURATION = 150
@@ -2093,7 +2308,7 @@ if (typeof jQuery === 'undefined') {
if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) return
var $target = $(selector)
var $target = $(document).find(selector)
this.activate($this.closest('li'), $ul)
this.activate($target, $target.parent(), function () {
@@ -2118,15 +2333,15 @@ if (typeof jQuery === 'undefined') {
$active
.removeClass('active')
.find('> .dropdown-menu > .active')
.removeClass('active')
.removeClass('active')
.end()
.find('[data-toggle="tab"]')
.attr('aria-expanded', false)
.attr('aria-expanded', false)
element
.addClass('active')
.find('[data-toggle="tab"]')
.attr('aria-expanded', true)
.attr('aria-expanded', true)
if (transition) {
element[0].offsetWidth // reflow for transition
@@ -2138,10 +2353,10 @@ if (typeof jQuery === 'undefined') {
if (element.parent('.dropdown-menu').length) {
element
.closest('li.dropdown')
.addClass('active')
.addClass('active')
.end()
.find('[data-toggle="tab"]')
.attr('aria-expanded', true)
.attr('aria-expanded', true)
}
callback && callback()
@@ -2200,10 +2415,10 @@ if (typeof jQuery === 'undefined') {
}(jQuery);
/* ========================================================================
* Bootstrap: affix.js v3.3.6
* http://getbootstrap.com/javascript/#affix
* Bootstrap: affix.js v3.4.1
* https://getbootstrap.com/docs/3.4/javascript/#affix
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
@@ -2217,7 +2432,9 @@ if (typeof jQuery === 'undefined') {
var Affix = function (element, options) {
this.options = $.extend({}, Affix.DEFAULTS, options)
this.$target = $(this.options.target)
var target = this.options.target === Affix.DEFAULTS.target ? $(this.options.target) : $(document).find(this.options.target)
this.$target = target
.on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))
.on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))
@@ -2229,7 +2446,7 @@ if (typeof jQuery === 'undefined') {
this.checkPosition()
}
Affix.VERSION = '3.3.6'
Affix.VERSION = '3.4.1'
Affix.RESET = 'affix affix-top affix-bottom'

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -657,7 +657,7 @@ $(document).ready(function() {
hljs.initHighlightingOnLoad();
// Prevent invalid links from jumping page scroll
$('a[href=#]').click(function() {
$('a[href="#"]').click(function() {
return false;
});

View File

@@ -61,7 +61,7 @@ function projectPageInit(ctx) {
distroChangeInput.val(urlParams.setDistro);
distroChangeBtn.click();
} else {
updateDistroName(prjInfo.distro.name);
updateDistroName(prjInfo.distro?.name);
}
/* Now we're really ready show the page */

View File

@@ -14,11 +14,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<script src="{% static 'js/jquery-2.0.3.min.js' %}">
<script src="{% static 'js/jquery-3.7.1.min.js' %}">
</script>
<script src="{% static 'js/jquery.cookie.js' %}">
</script>
<script src="{% static 'js/bootstrap.min.js' %}">
<script src="{% static 'js/bootstrap-3.4.1.min.js' %}">
</script>
<script src="{% static 'js/typeahead.jquery.js' %}">
</script>

View File

@@ -14,11 +14,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<script src="{% static 'js/jquery-2.0.3.min.js' %}">
<script src="{% static 'js/jquery-3.7.1.min.js' %}">
</script>
<script src="{% static 'js/jquery.cookie.js' %}">
</script>
<script src="{% static 'js/bootstrap.min.js' %}">
<script src="{% static 'js/bootstrap-3.4.1.min.js' %}">
</script>
<script src="{% static 'js/typeahead.jquery.js' %}">
</script>

View File

@@ -11,7 +11,7 @@
<script src="{% static 'js/layerDepsModal.js' %}"></script>
<script src="{% static 'js/projectpage.js' %}"></script>
<script src="{% static 'js/bootstrap.min.js' %}"></script>
<script src="{% static 'js/bootstrap-3.4.1.min.js' %}"></script>
<script src="{% static 'js/filtersnippet.js' %}"></script>
<script src="{% static 'js/importlayer.js' %}"></script>
<script src="{% static 'js/highlight.pack.js' %}"></script>

View File

@@ -6,7 +6,7 @@
# SPDX-License-Identifier: GPL-2.0-only
#
from django.conf.urls import url
from django.urls import re_path as url
from django.views.generic import RedirectView
from toastergui import tables

View File

@@ -34,6 +34,8 @@ import mimetypes
import logging
from toastermain.logs import log_view_mixin
logger = logging.getLogger("toaster")
# Project creation and managed build enable
@@ -56,6 +58,7 @@ class MimeTypeFinder(object):
return guessed_type
# single point to add global values into the context before rendering
@log_view_mixin
def toaster_render(request, page, context):
context['project_enable'] = project_enable
context['project_specific'] = is_project_specific
@@ -665,16 +668,17 @@ def recipe_packages(request, build_id, recipe_id):
return response
from django.http import HttpResponse
@log_view_mixin
def xhr_dirinfo(request, build_id, target_id):
top = request.GET.get('start', '/')
return HttpResponse(_get_dir_entries(build_id, target_id, top), content_type = "application/json")
from django.utils.functional import Promise
from django.utils.encoding import force_text
from django.utils.encoding import force_str
class LazyEncoder(json.JSONEncoder):
def default(self, obj):
if isinstance(obj, Promise):
return force_text(obj)
return force_str(obj)
return super(LazyEncoder, self).default(obj)
from toastergui.templatetags.projecttags import filtered_filesizeformat
@@ -1404,7 +1408,7 @@ if True:
if not os.path.isdir('%s/conf' % request.POST['importdir']):
raise BadParameterException("Bad path or missing 'conf' directory (%s)" % request.POST['importdir'])
from django.core import management
management.call_command('buildimport', '--command=import', '--name=%s' % request.POST['projectname'], '--path=%s' % request.POST['importdir'], interactive=False)
management.call_command('buildimport', '--command=import', '--name=%s' % request.POST['projectname'], '--path=%s' % request.POST['importdir'])
prj = Project.objects.get(name = request.POST['projectname'])
prj.merged_attr = True
prj.save()
@@ -1612,6 +1616,7 @@ if True:
from django.views.decorators.csrf import csrf_exempt
@csrf_exempt
@log_view_mixin
def xhr_testreleasechange(request, pid):
def response(data):
return HttpResponse(jsonfilter(data),
@@ -1648,6 +1653,7 @@ if True:
except Exception as e:
return response({"error": str(e) })
@log_view_mixin
def xhr_configvaredit(request, pid):
try:
prj = Project.objects.get(id = pid)
@@ -1726,6 +1732,7 @@ if True:
return HttpResponse(json.dumps({"error":str(e) + "\n" + traceback.format_exc()}), content_type = "application/json")
@log_view_mixin
def customrecipe_download(request, pid, recipe_id):
recipe = get_object_or_404(CustomImageRecipe, pk=recipe_id)

View File

@@ -7,6 +7,7 @@
#
from django.views.generic import View, TemplateView
from django.utils.decorators import method_decorator
from django.views.decorators.cache import cache_control
from django.shortcuts import HttpResponse
from django.core.cache import cache
@@ -31,6 +32,7 @@ import re
import os
from toastergui.tablefilter import TableFilterMap
from toastermain.logs import log_view_mixin
try:
from urllib import unquote_plus
@@ -63,8 +65,8 @@ class ToasterTable(TemplateView):
self.default_orderby = ""
# prevent HTTP caching of table data
@cache_control(must_revalidate=True,
max_age=0, no_store=True, no_cache=True)
@method_decorator(cache_control(must_revalidate=True,
max_age=0, no_store=True, no_cache=True))
def dispatch(self, *args, **kwargs):
return super(ToasterTable, self).dispatch(*args, **kwargs)
@@ -83,6 +85,7 @@ class ToasterTable(TemplateView):
return context
@log_view_mixin
def get(self, request, *args, **kwargs):
if request.GET.get('format', None) == 'json':
@@ -304,6 +307,7 @@ class ToasterTable(TemplateView):
self.setup_columns(**kwargs)
self.apply_orderby('pk')
if search:
self.apply_search(search)
if filters:
@@ -413,6 +417,7 @@ class ToasterTypeAhead(View):
def __init__(self, *args, **kwargs):
super(ToasterTypeAhead, self).__init__()
@log_view_mixin
def get(self, request, *args, **kwargs):
def response(data):
return HttpResponse(json.dumps(data,
@@ -468,6 +473,7 @@ class MostRecentBuildsView(View):
return False
@log_view_mixin
def get(self, request, *args, **kwargs):
"""
Returns a list of builds in JSON format.

View File

@@ -0,0 +1,153 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import logging
import json
from pathlib import Path
from django.http import HttpRequest
BASE_DIR = Path(__file__).resolve(strict=True).parent.parent
def log_api_request(request, response, view, logger_name='api'):
"""Helper function for LogAPIMixin"""
repjson = {
'view': view,
'path': request.path,
'method': request.method,
'status': response.status_code
}
logger = logging.getLogger(logger_name)
logger.info(
json.dumps(repjson, indent=4, separators=(", ", " : "))
)
def log_view_mixin(view):
def log_view_request(*args, **kwargs):
# get request from args else kwargs
request = None
if len(args) > 0:
for req in args:
if isinstance(req, HttpRequest):
request = req
break
elif request is None:
request = kwargs.get('request')
response = view(*args, **kwargs)
log_api_request(
request, response, request.resolver_match.view_name, 'toaster')
return response
return log_view_request
class LogAPIMixin:
"""Logs API requests
tested with:
- APIView
- ModelViewSet
- ReadOnlyModelViewSet
- GenericAPIView
Note: you can set `view_name` attribute in View to override get_view_name()
"""
def get_view_name(self):
if hasattr(self, 'view_name'):
return self.view_name
return super().get_view_name()
def finalize_response(self, request, response, *args, **kwargs):
log_api_request(request, response, self.get_view_name())
return super().finalize_response(request, response, *args, **kwargs)
LOGGING_SETTINGS = {
'version': 1,
'disable_existing_loggers': False,
'filters': {
'require_debug_false': {
'()': 'django.utils.log.RequireDebugFalse'
}
},
'formatters': {
'datetime': {
'format': '%(asctime)s %(levelname)s %(message)s'
},
'verbose': {
'format': '{levelname} {asctime} {module} {name}.{funcName} {process:d} {thread:d} {message}',
'datefmt': "%d/%b/%Y %H:%M:%S",
'style': '{',
},
'api': {
'format': '\n{levelname} {asctime} {name}.{funcName}:\n{message}',
'style': '{'
}
},
'handlers': {
'mail_admins': {
'level': 'ERROR',
'filters': ['require_debug_false'],
'class': 'django.utils.log.AdminEmailHandler'
},
'console': {
'level': 'DEBUG',
'class': 'logging.StreamHandler',
'formatter': 'datetime',
},
'file_django': {
'level': 'INFO',
'class': 'logging.handlers.TimedRotatingFileHandler',
'filename': BASE_DIR / 'logs/django.log',
'when': 'D', # interval type
'interval': 1, # defaults to 1
'backupCount': 10, # how many files to keep
'formatter': 'verbose',
},
'file_api': {
'level': 'INFO',
'class': 'logging.handlers.TimedRotatingFileHandler',
'filename': BASE_DIR / 'logs/api.log',
'when': 'D',
'interval': 1,
'backupCount': 10,
'formatter': 'verbose',
},
'file_toaster': {
'level': 'INFO',
'class': 'logging.handlers.TimedRotatingFileHandler',
'filename': BASE_DIR / 'logs/toaster.log',
'when': 'D',
'interval': 1,
'backupCount': 10,
'formatter': 'verbose',
},
},
'loggers': {
'django.request': {
'handlers': ['file_django', 'console'],
'level': 'WARN',
'propagate': True,
},
'django': {
'handlers': ['file_django', 'console'],
'level': 'WARNING',
'propogate': True,
},
'toaster': {
'handlers': ['file_toaster'],
'level': 'INFO',
'propagate': False,
},
'api': {
'handlers': ['file_api'],
'level': 'INFO',
'propagate': False,
}
}
}

View File

@@ -545,7 +545,7 @@ class Command(BaseCommand):
# Find the directory's release, and promote to default_release if local paths
release = self.find_import_release(layers_list,lv_dict,default_release)
# create project, SANITY: reuse any project of same name
project = Project.objects.create_project(project_name,release,project)
project = Project.objects.create_project(project_name,release,project, imported=True)
# Apply any new layers or variables
self.apply_conf_variables(project,layers_list,lv_dict,release)
# WORKAROUND: since we now derive the release, redirect 'newproject_specific' to 'project_specific'

View File

@@ -13,7 +13,7 @@ import errno
import socket
from django.core.management.base import BaseCommand, CommandError
from django.utils.encoding import force_text
from django.utils.encoding import force_str
DEFAULT_ADDRPORT = "0.0.0.0:8000"
@@ -51,7 +51,7 @@ class Command(BaseCommand):
if hasattr(err, 'errno') and err.errno in errors:
errtext = errors[err.errno]
else:
errtext = force_text(err)
errtext = force_str(err)
raise CommandError(errtext)
self.stdout.write("OK")

View File

@@ -9,6 +9,8 @@
# Django settings for Toaster project.
import os
from pathlib import Path
from toastermain.logs import LOGGING_SETTINGS
DEBUG = True
@@ -186,7 +188,13 @@ TEMPLATES = [
'django.template.loaders.app_directories.Loader',
#'django.template.loaders.eggs.Loader',
],
'string_if_invalid': InvalidString("%s"),
# https://docs.djangoproject.com/en/4.2/ref/templates/api/#how-invalid-variables-are-handled
# Generally, string_if_invalid should only be enabled in order to debug
# a specific template problem, then cleared once debugging is complete.
# If you assign a value other than '' to string_if_invalid,
# you will experience rendering problems with these templates and sites.
# 'string_if_invalid': InvalidString("%s"),
'string_if_invalid': "",
'debug': DEBUG,
},
},
@@ -242,6 +250,9 @@ INSTALLED_APPS = (
'django.contrib.humanize',
'bldcollector',
'toastermain',
# 3rd-lib
"log_viewer",
)
@@ -302,43 +313,22 @@ for t in os.walk(os.path.dirname(currentdir)):
# the site admins on every HTTP 500 error when DEBUG=False.
# See http://docs.djangoproject.com/en/dev/topics/logging for
# more details on how to customize your logging configuration.
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'filters': {
'require_debug_false': {
'()': 'django.utils.log.RequireDebugFalse'
}
},
'formatters': {
'datetime': {
'format': '%(asctime)s %(levelname)s %(message)s'
}
},
'handlers': {
'mail_admins': {
'level': 'ERROR',
'filters': ['require_debug_false'],
'class': 'django.utils.log.AdminEmailHandler'
},
'console': {
'level': 'DEBUG',
'class': 'logging.StreamHandler',
'formatter': 'datetime',
}
},
'loggers': {
'toaster' : {
'handlers': ['console'],
'level': 'DEBUG',
},
'django.request': {
'handlers': ['console'],
'level': 'WARN',
'propagate': True,
},
}
}
LOGGING = LOGGING_SETTINGS
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve(strict=True).parent.parent
# LOG VIEWER
# https://pypi.org/project/django-log-viewer/
LOG_VIEWER_FILES_PATTERN = '*.log*'
LOG_VIEWER_FILES_DIR = os.path.join(BASE_DIR, 'logs')
LOG_VIEWER_PAGE_LENGTH = 25 # total log lines per-page
LOG_VIEWER_MAX_READ_LINES = 100000 # total log lines will be read
LOG_VIEWER_PATTERNS = ['INFO', 'DEBUG', 'WARNING', 'ERROR', 'CRITICAL']
# Optionally you can set the next variables in order to customize the admin:
LOG_VIEWER_FILE_LIST_TITLE = "Logs list"
if DEBUG and SQL_DEBUG:
LOGGING['loggers']['django.db.backends'] = {

View File

@@ -6,7 +6,7 @@
# SPDX-License-Identifier: GPL-2.0-only
#
from django.conf.urls import include, url
from django.urls import re_path as url, include
from django.views.generic import RedirectView, TemplateView
from django.views.decorators.cache import never_cache
import bldcollector.views
@@ -28,6 +28,8 @@ urlpatterns = [
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
url(r'^logs/', include('log_viewer.urls')),
# This is here to maintain backward compatibility and will be deprecated
# in the future.
url(r'^orm/eventfile$', bldcollector.views.eventfile),

View File

@@ -1,3 +1,4 @@
Django>3.2,<3.3
Django>4.2,<4.3
beautifulsoup4>=4.4.0
pytz
django-log-viewer==1.1.7

View File

@@ -7,3 +7,5 @@ releases.rst
.vscode/
*/svg/*.png
*/svg/*.pdf
styles/*
!styles/config

7
documentation/.vale.ini Normal file
View File

@@ -0,0 +1,7 @@
StylesPath = styles
MinAlertLevel = suggestion
Packages = RedHat, proselint, write-good, alex, Readability, Joblint
Vocab = Yocto, OpenSource
[*.rst]
BasedOnStyles = Vale, RedHat, proselint, write-good, alex, Readability, Joblint

View File

@@ -5,6 +5,9 @@
# from the environment for the first two.
SPHINXOPTS ?= -W --keep-going -j auto
SPHINXBUILD ?= sphinx-build
# Release notes are excluded because they contain contributor names and commit messages which can't be modified
VALEOPTS ?= --no-wrap --glob '!migration-guides/release-notes-*.rst'
VALEDOCS ?= .
SOURCEDIR = .
IMAGEDIRS = */svg
BUILDDIR = _build
@@ -20,7 +23,7 @@ endif
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: all help Makefile clean publish epub latexpdf
.PHONY: all help Makefile clean stylecheck publish epub latexpdf
publish: Makefile html singlehtml
rm -rf $(BUILDDIR)/$(DESTDIR)/
@@ -44,7 +47,15 @@ PNGs := $(foreach dir, $(IMAGEDIRS), $(patsubst %.svg,%.png,$(wildcard $(SOURCED
$(SVG2PNG) --export-filename=$@ $<
clean:
@rm -rf $(BUILDDIR) $(PNGs) $(PDFs) poky.yaml sphinx-static/switchers.js
@rm -rf $(BUILDDIR) $(PNGs) $(PDFs) poky.yaml sphinx-static/switchers.js releases.rst
stylecheck:
vale sync
vale $(VALEOPTS) $(VALEDOCS)
stylecheck:
vale sync
vale $(VALEOPTS) $(VALEDOCS)
epub: $(PNGs)
$(SOURCEDIR)/set_versions.py

View File

@@ -34,16 +34,18 @@ Manual Organization
Here the folders corresponding to individual manuals:
* brief-yoctoprojectqs - Yocto Project Quick Start
* overview-manual - Yocto Project Overview and Concepts Manual
* sdk-manual - Yocto Project Software Development Kit (SDK) Developer's Guide.
* contributor-guide - Yocto Project and OpenEmbedded Contributor Guide
* ref-manual - Yocto Project Reference Manual
* bsp-guide - Yocto Project Board Support Package (BSP) Developer's Guide
* dev-manual - Yocto Project Development Tasks Manual
* kernel-dev - Yocto Project Linux Kernel Development Manual
* ref-manual - Yocto Project Reference Manual
* brief-yoctoprojectqs - Yocto Project Quick Start
* profile-manual - Yocto Project Profiling and Tracing Manual
* sdk-manual - Yocto Project Software Development Kit (SDK) Developer's Guide.
* toaster-manual - Toaster User Manual
* test-manual - Yocto Project Test Environment Manual
* migration-guides - Yocto Project Release and Migration Notes
Each folder is self-contained regarding content and figures.
@@ -149,6 +151,20 @@ dependencies in a virtual environment:
$ pipenv install
$ pipenv run make html
Style checking the Yocto Project documentation
==============================================
The project is starting to use Vale (https://vale.sh/)
to validate the text style.
To install Vale:
$ pip install vale
To run Vale:
$ make stylecheck
Sphinx theme and CSS customization
==================================

View File

@@ -251,10 +251,10 @@ an entire Linux distribution, including the toolchain, from source.
To use such mirrors, uncomment the below lines in your ``conf/local.conf``
file in the :term:`Build Directory`::
BB_SIGNATURE_HANDLER = "OEEquivHash"
BB_HASHSERVE = "auto"
BB_HASHSERVE_UPSTREAM = "hashserv.yocto.io:8687"
SSTATE_MIRRORS ?= "file://.* https://sstate.yoctoproject.org/all/PATH;downloadfilename=PATH"
SSTATE_MIRRORS ?= "file://.* http://cdn.jsdelivr.net/yocto/sstate/all/PATH;downloadfilename=PATH"
BB_HASHSERVE = "auto"
BB_SIGNATURE_HANDLER = "OEEquivHash"
#. **Start the Build:** Continue with the following command to build an OS
image for the target, which is ``core-image-sato`` in this example:

View File

@@ -64,8 +64,8 @@ Here is an example that clones the Raspberry Pi BSP layer::
In addition to BSP layers, the ``meta-yocto-bsp`` layer is part of the
shipped ``poky`` repository. The ``meta-yocto-bsp`` layer maintains
several "reference" BSPs including the ARM-based Beaglebone, MIPS-based
EdgeRouter, and generic versions of both 32-bit and 64-bit IA machines.
several "reference" BSPs including the ARM-based Beaglebone and generic
versions of both 32-bit and 64-bit IA machines.
For information on typical BSP development workflow, see the
:ref:`bsp-guide/bsp:developing a board support package (bsp)`
@@ -764,29 +764,13 @@ workflow.
.. note::
- There are four hardware reference BSPs in the Yocto
- There are three hardware reference BSPs in the Yocto
Project release, located in the ``poky/meta-yocto-bsp``
BSP layer:
- Texas Instruments Beaglebone (``beaglebone-yocto``)
- Ubiquiti Networks EdgeRouter Lite (``edgerouter``)
- Two general IA platforms (``genericx86`` and ``genericx86-64``)
- There are three core Intel BSPs in the Yocto Project
release, in the ``meta-intel`` layer:
- ``intel-core2-32``, which is a BSP optimized for the Core2
family of CPUs as well as all CPUs prior to the Silvermont
core.
- ``intel-corei7-64``, which is a BSP optimized for Nehalem
and later Core and Xeon CPUs as well as Silvermont and later
Atom CPUs, such as the Baytrail SoCs.
- ``intel-quark``, which is a BSP optimized for the Intel
Galileo gen1 & gen2 development boards.
- Two generic IA platforms (``genericx86`` and ``genericx86-64``)
When you set up a layer for a new BSP, you should follow a standard
layout. This layout is described in the ":ref:`bsp-guide/bsp:example filesystem layout`"
@@ -867,8 +851,7 @@ Before looking at BSP requirements, you should consider the following:
dictating that a specific kernel or kernel version be used in a given
BSP.
Following are the requirements for a released BSP that conform to the
Yocto Project:
The requirements for a released BSP that conform to the Yocto Project are:
- *Layer Name:* The BSP must have a layer name that follows the Yocto
Project standards. For information on BSP layer names, see the
@@ -893,8 +876,8 @@ Yocto Project:
``recipes-*`` subdirectories specific to the recipe's function, or
within a subdirectory containing a set of closely-related recipes.
The recipes themselves should follow the general guidelines for
recipes used in the Yocto Project found in the ":oe_wiki:`OpenEmbedded
Style Guide </Styleguide>`".
recipes found in the ":doc:`../contributor-guide/recipe-style-guide`"
in the Yocto Project and OpenEmbedded Contributor Guide.
- *License File:* You must include a license file in the
``meta-bsp_root_name`` directory. This license covers the BSP
@@ -927,8 +910,8 @@ Yocto Project:
- The name and contact information for the BSP layer maintainer.
This is the person to whom patches and questions should be sent.
For information on how to find the right person, see the
":ref:`dev-manual/changes:submitting a change to the yocto project`"
section in the Yocto Project Development Tasks Manual.
:doc:`../contributor-guide/submit-changes` section in the Yocto Project and
OpenEmbedded Contributor Guide.
- Instructions on how to build the BSP using the BSP layer.
@@ -972,7 +955,7 @@ Yocto Project:
Released BSP Recommendations
----------------------------
Following are recommendations for released BSPs that conform to the
Here are recommendations for released BSPs that conform to the
Yocto Project:
- *Bootable Images:* Released BSPs can contain one or more bootable
@@ -1034,7 +1017,7 @@ the following:
that additional hierarchy and the files would obviously not be able
to reside in a machine-specific directory.
Following is a specific example to help you better understand the
Here is a specific example to help you better understand the
process. This example customizes a recipe by adding a
BSP-specific configuration file named ``interfaces`` to the
``init-ifupdown_1.0.bb`` recipe for machine "xyz" where the BSP layer
@@ -1194,7 +1177,7 @@ Use these steps to create a BSP layer:
- *Create a Kernel Recipe:* Create a kernel recipe in
``recipes-kernel/linux`` by either using a kernel append file or a
new custom kernel recipe file (e.g. ``yocto-linux_4.12.bb``). The BSP
new custom kernel recipe file (e.g. ``linux-yocto_4.12.bb``). The BSP
layers mentioned in the previous step also contain different kernel
examples. See the ":ref:`kernel-dev/common:modifying an existing recipe`"
section in the Yocto Project Linux Kernel Development Manual for
@@ -1250,21 +1233,18 @@ There are one or more machine configuration files in the
For example, the machine configuration file for the `BeagleBone and
BeagleBone Black development boards <https://beagleboard.org/bone>`__ is
located in the layer ``poky/meta-yocto-bsp/conf/machine`` and is named
``beaglebone-yocto.conf``::
located in :yocto_git:`poky/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
</poky/tree/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf>`::
#@TYPE: Machine
#@NAME: Beaglebone-yocto machine
#@DESCRIPTION: Reference machine configuration for http://beagleboard.org/bone and http://beagleboard.org/black boards
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
XSERVER ?= "xserver-xorg \
xf86-video-modesetting \
"
MACHINE_EXTRA_RRECOMMENDS = "kernel-modules kernel-devicetree"
EXTRA_IMAGEDEPENDS += "u-boot"
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
DEFAULTTUNE ?= "cortexa8hf-neon"
include conf/machine/include/arm/armv7a/tune-cortexa8.inc
@@ -1272,19 +1252,20 @@ located in the layer ``poky/meta-yocto-bsp/conf/machine`` and is named
IMAGE_FSTYPES += "tar.bz2 jffs2 wic wic.bmap"
EXTRA_IMAGECMD:jffs2 = "-lnp "
WKS_FILE ?= "beaglebone-yocto.wks"
IMAGE_INSTALL:append = " kernel-devicetree kernel-image-zimage"
do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image kernel-devicetree"
do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot virtual/bootloader:do_deploy"
SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0 115200;ttyAMA0"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
PREFERRED_VERSION_linux-yocto ?= "5.0%"
PREFERRED_VERSION_linux-yocto ?= "6.1%"
KERNEL_IMAGETYPE = "zImage"
KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
SPL_BINARY = "MLO"
UBOOT_SUFFIX = "img"
UBOOT_MACHINE = "am335x_evm_defconfig"
@@ -1293,7 +1274,24 @@ located in the layer ``poky/meta-yocto-bsp/conf/machine`` and is named
MACHINE_FEATURES = "usbgadget usbhost vfat alsa"
IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO zImage am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"
IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} ${SPL_BINARY} ${KERNEL_IMAGETYPE} ${KERNEL_DEVICETREE}"
# support runqemu
EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
IMAGE_CLASSES += "qemuboot"
QB_DEFAULT_FSTYPE = "wic"
QB_FSINFO = "wic:no-kernel-in-fs"
QB_KERNEL_ROOT = "/dev/vda2"
QB_SYSTEM_NAME = "qemu-system-arm"
QB_MACHINE = "-machine virt"
QB_CPU = "-cpu cortex-a15"
QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0 systemd.mask=systemd-networkd"
QB_OPT_APPEND = "-device virtio-rng-device"
QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no"
QB_NETWORK_DEVICE = "-device virtio-net-device,netdev=net0,mac=@MAC@"
QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-device,drive=disk0"
QB_SERIAL_OPT = ""
QB_TCPSERIAL_OPT = "-device virtio-serial-device -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1 -device virtconsole,chardev=virtcon"
The variables used to configure the machine define machine-specific properties; for
example, machine-dependent packages, machine tunings, the type of kernel
@@ -1313,11 +1311,6 @@ Project Reference Manual.
"virtual/xserver" is "xserver-xorg", available in
``poky/meta/recipes-graphics/xorg-xserver``.
- :term:`XSERVER`: The packages that
should be installed to provide an X server and drivers for the
machine. In this example, the "xserver-xorg" and
"xf86-video-modesetting" are installed.
- :term:`MACHINE_EXTRA_RRECOMMENDS`:
A list of machine-dependent packages not essential for booting the
image. Thus, the build does not fail if the packages do not exist.
@@ -1335,12 +1328,15 @@ Project Reference Manual.
needed in the root filesystem. In this case, the U-Boot recipe must
be built for the image.
At the end of the file, we also use this setings to implement
``runqemu`` support on the host machine.
- :term:`DEFAULTTUNE`: Machines
use tunings to optimize machine, CPU, and application performance.
These features, which are collectively known as "tuning features",
are set in the :term:`OpenEmbedded-Core (OE-Core)` layer (e.g.
``poky/meta/conf/machine/include``). In this example, the default
tuning file is ``cortexa8hf-neon``.
are set in the :term:`OpenEmbedded-Core (OE-Core)` layer. In this
example, the default tuning file is :oe_git:`tune-cortexa8
</openembedded-core/tree/meta/conf/machine/include/arm/armv7a/tune-cortexa8.inc>`.
.. note::
@@ -1360,13 +1356,7 @@ Project Reference Manual.
- :term:`WKS_FILE`: The location of
the :ref:`Wic kickstart <ref-manual/kickstart:openembedded kickstart (\`\`.wks\`\`) reference>` file used
by the OpenEmbedded build system to create a partitioned image
(image.wic).
- :term:`IMAGE_INSTALL`:
Specifies packages to install into an image through the
:ref:`ref-classes-image` class. Recipes
use the :term:`IMAGE_INSTALL` variable.
by the OpenEmbedded build system to create a partitioned image.
- ``do_image_wic[depends]``: A task that is constructed during the
build. In this example, the task depends on specific tools in order
@@ -1384,7 +1374,7 @@ Project Reference Manual.
- :term:`PREFERRED_VERSION_linux-yocto <PREFERRED_VERSION>`:
Defines the version of the recipe used to build the kernel, which is
"5.0" in this case.
"6.1" in this case.
- :term:`KERNEL_IMAGETYPE`:
The type of kernel to build for the device. In this case, the
@@ -1449,39 +1439,35 @@ The kernel recipe used to build the kernel image for the BeagleBone
device was established in the machine configuration::
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
PREFERRED_VERSION_linux-yocto ?= "5.0%"
PREFERRED_VERSION_linux-yocto ?= "6.1%"
The ``meta-yocto-bsp/recipes-kernel/linux`` directory in the layer contains
metadata used to build the kernel. In this case, a kernel append file
(i.e. ``linux-yocto_5.0.bbappend``) is used to override an established
kernel recipe (i.e. ``linux-yocto_5.0.bb``), which is located in
(i.e. ``linux-yocto_6.1.bbappend``) is used to override an established
kernel recipe (i.e. ``linux-yocto_6.1.bb``), which is located in
:yocto_git:`/poky/tree/meta/recipes-kernel/linux`.
Following is the contents of the append file::
The contents of the append file are::
KBRANCH:genericx86 = "v5.0/standard/base"
KBRANCH:genericx86-64 = "v5.0/standard/base"
KBRANCH:edgerouter = "v5.0/standard/edgerouter"
KBRANCH:beaglebone-yocto = "v5.0/standard/beaglebone"
KBRANCH:genericx86 = "v6.1/standard/base"
KBRANCH:genericx86-64 = "v6.1/standard/base"
KBRANCH:beaglebone-yocto = "v6.1/standard/beaglebone"
KMACHINE:genericx86 ?= "common-pc"
KMACHINE:genericx86-64 ?= "common-pc-64"
KMACHINE:beaglebone-yocto ?= "beaglebone"
SRCREV_machine:genericx86 ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d"
SRCREV_machine:genericx86-64 ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d"
SRCREV_machine:edgerouter ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d"
SRCREV_machine:beaglebone-yocto ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d"
SRCREV_machine:genericx86 ?= "6ec439b4b456ce929c4c07fe457b5d6a4b468e86"
SRCREV_machine:genericx86-64 ?= "6ec439b4b456ce929c4c07fe457b5d6a4b468e86"
SRCREV_machine:beaglebone-yocto ?= "423e1996694b61fbfc8ec3bf062fc6461d64fde1"
COMPATIBLE_MACHINE:genericx86 = "genericx86"
COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64"
COMPATIBLE_MACHINE:edgerouter = "edgerouter"
COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto"
LINUX_VERSION:genericx86 = "5.0.3"
LINUX_VERSION:genericx86-64 = "5.0.3"
LINUX_VERSION:edgerouter = "5.0.3"
LINUX_VERSION:beaglebone-yocto = "5.0.3"
LINUX_VERSION:genericx86 = "6.1.30"
LINUX_VERSION:genericx86-64 = "6.1.30"
LINUX_VERSION:beaglebone-yocto = "6.1.20"
This particular append file works for all the machines that are
part of the ``meta-yocto-bsp`` layer. The relevant statements are

View File

@@ -0,0 +1,31 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Identify the component
**********************
The Yocto Project and OpenEmbedded ecosystem is built of :term:`layers <Layer>`
so the first step is to identify the component where the issue likely lies.
For example, if you have a hardware issue, it is likely related to the BSP
you are using and the best place to seek advice would be from the BSP provider
or :term:`layer`. If the issue is a build/configuration one and a distro is in
use, they would likely be the first place to ask questions. If the issue is a
generic one and/or in the core classes or metadata, the core layer or BitBake
might be the appropriate component.
Each metadata layer being used should contain a ``README`` file and that should
explain where to report issues, where to send changes and how to contact the
maintainers.
If the issue is in the core metadata layer (OpenEmbedded-Core) or in BitBake,
issues can be reported in the :yocto_bugs:`Yocto Project Bugzilla <>`. The
:yocto_lists:`yocto </g/yocto>` mailing list is a general “catch-all” location
where questions can be sent if you cant work out where something should go.
:term:`Poky` is a commonly used “combination” repository where multiple
components have been combined (:oe_git:`bitbake </bitbake>`,
:oe_git:`openembedded-core </openembedded-core>`,
:yocto_git:`meta-yocto </meta-yocto>` and
:yocto_git:`yocto-docs </yocto-docs>`). Patches should be submitted against the
appropriate individual component rather than :term:`Poky` itself as detailed in
the appropriate ``README`` file.

View File

@@ -0,0 +1,26 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
================================================
Yocto Project and OpenEmbedded Contributor Guide
================================================
The Yocto Project and OpenEmbedded are open-source, community-based projects so
contributions are very welcome, it is how the code evolves and everyone can
effect change. Contributions take different forms, if you have a fix for an
issue youve run into, a patch is the most appropriate way to contribute it.
If you run into an issue but dont have a solution, opening a defect in
:yocto_bugs:`Bugzilla <>` or asking questions on the mailing lists might be
more appropriate. This guide intends to point you in the right direction to
this.
.. toctree::
:caption: Table of Contents
:numbered:
identify-component
report-defect
recipe-style-guide
submit-changes
.. include:: /boilerplate.rst

View File

@@ -0,0 +1,411 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Recipe Style Guide
******************
Recipe Naming Conventions
=========================
In general, most recipes should follow the naming convention
``recipes-category/recipename/recipename_version.bb``. Recipes for related
projects may share the same recipe directory. ``recipename`` and ``category``
may contain hyphens, but hyphens are not allowed in ``version``.
If the recipe is tracking a Git revision that does not correspond to a released
version of the software, ``version`` may be ``git`` (e.g. ``recipename_git.bb``)
and the recipe would set :term:`PV`.
Version Policy
==============
Our versions follow the form ``<epoch>:<version>-<revision>``
or in BitBake variable terms ${:term:`PE`}:${:term:`PV`}-${:term:`PR`}. We
generally follow the `Debian <https://www.debian.org/doc/debian-policy/ch-controlfields.html#version>`__
version policy which defines these terms.
In most cases the version :term:`PV` will be set automatically from the recipe
file name. It is recommended to use released versions of software as these are
revisions that upstream are expecting people to use.
Recipe versions should always compare and sort correctly so that upgrades work
as expected. With conventional versions such as ``1.4`` upgrading ``to 1.5``
this happens naturally, but some versions don't sort. For example,
``1.5 Release Candidate 2`` could be written as ``1.5rc2`` but this sorts after
``1.5``, so upgrades from feeds won't happen correctly.
Instead the tilde (``~``) operator can be used, which sorts before the empty
string so ``1.5~rc2`` comes before ``1.5``. There is a historical syntax which
may be found where :term:`PV` is set as a combination of the prior version
``+`` the pre-release version, for example ``PV=1.4+1.5rc2``. This is a valid
syntax but the tilde form is preferred.
For version comparisons, the ``opkg-compare-versions`` program from
``opkg-utils`` can be useful when attempting to determine how two version
numbers compare to each other. Our definitive version comparison algorithm is
the one within bitbake which aims to match those of the package managers and
Debian policy closely.
When a recipe references a git revision that does not correspond to a released
version of software (e.g. is not a tagged version), the :term:`PV` variable
should include the Git revision using the following to make the
version clear::
PV = "<version>+git${SRCPV}"
In this case, ``<version>`` should be the most recently released version of the
software from the current source revision (``git describe`` can be useful for
determining this). Whilst not recommended for published layers, this format is
also useful when using :term:`AUTOREV` to set the recipe to increment source
control revisions automatically, which can be useful during local development.
Version Number Changes
======================
The :term:`PR` variable is used to indicate different revisions of a recipe
that reference the same upstream source version. It can be used to force a
new version of a recipe to be installed onto a device from a package feed.
These once had to be set manually but in most cases these can now be set and
incremented automatically by a PR Server connected with a package feed.
When :term:`PV` increases, any existing :term:`PR` value can and should be
removed.
If :term:`PV` changes in such a way that it does not increase with respect to
the previous value, you need to increase :term:`PE` to ensure package managers
will upgrade it correctly. If unset you should set :term:`PE` to "1" since
the default of empty is easily confused with "0" depending on the package
manager. :term:`PE` can only have an integer value.
Recipe formatting
=================
Variable Formatting
-------------------
- Variable assignment should a space around each side of the operator, e.g.
``FOO = "bar"``, not ``FOO="bar"``.
- Double quotes should be used on the right-hand side of the assignment,
e.g. ``FOO = "bar"`` not ``FOO = 'bar'``
- Spaces should be used for indenting variables, with 4 spaces per tab
- Long variables should be split over multiple lines when possible by using
the continuation character (``\``)
- When splitting a long variable over multiple lines, all continuation lines
should be indented (with spaces) to align with the start of the quote on the
first line::
FOO = "this line is \
long \
"
Instead of::
FOO = "this line is \
long \
"
Python Function formatting
--------------------------
- Spaces must be used for indenting Python code, with 4 spaces per tab
Shell Function formatting
-------------------------
- The formatting of shell functions should be consistent within layers.
Some use tabs, some use spaces.
Recipe metadata
===============
Required Variables
------------------
The following variables should be included in all recipes:
- :term:`SUMMARY`: a one line description of the upstream project
- :term:`DESCRIPTION`: an extended description of the upstream project,
possibly with multiple lines. If no reasonable description can be written,
this may be omitted as it defaults to :term:`SUMMARY`.
- :term:`HOMEPAGE`: the URL to the upstream projects homepage.
- :term:`BUGTRACKER`: the URL upstream projects bug tracking website,
if applicable.
Recipe Ordering
---------------
When a variable is defined in recipes and classes, variables should follow the
general order when possible:
- :term:`SUMMARY`
- :term:`DESCRIPTION`
- :term:`HOMEPAGE`
- :term:`BUGTRACKER`
- :term:`SECTION`
- :term:`LICENSE`
- :term:`LIC_FILES_CHKSUM`
- :term:`DEPENDS`
- :term:`PROVIDES`
- :term:`PV`
- :term:`SRC_URI`
- :term:`SRCREV`
- :term:`S`
- ``inherit ...``
- :term:`PACKAGECONFIG`
- Build class specific variables such as ``EXTRA_QMAKEVARS_POST`` and :term:`EXTRA_OECONF`
- Tasks such as :ref:`ref-tasks-configure`
- :term:`PACKAGE_ARCH`
- :term:`PACKAGES`
- :term:`FILES`
- :term:`RDEPENDS`
- :term:`RRECOMMENDS`
- :term:`RSUGGESTS`
- :term:`RPROVIDES`
- :term:`RCONFLICTS`
- :term:`BBCLASSEXTEND`
There are some cases where ordering is important and these cases would override
this default order. Examples include:
- :term:`PACKAGE_ARCH` needing to be set before ``inherit packagegroup``
Tasks should be ordered based on the order they generally execute. For commonly
used tasks this would be:
- :ref:`ref-tasks-fetch`
- :ref:`ref-tasks-unpack`
- :ref:`ref-tasks-patch`
- :ref:`ref-tasks-prepare_recipe_sysroot`
- :ref:`ref-tasks-configure`
- :ref:`ref-tasks-compile`
- :ref:`ref-tasks-install`
- :ref:`ref-tasks-populate_sysroot`
- :ref:`ref-tasks-package`
Custom tasks should be sorted similarly.
Package specific variables are typically grouped together, e.g.::
RDEPENDS:${PN} = “foo”
RDEPENDS:${PN}-libs = “bar”
RRECOMMENDS:${PN} = “one”
RRECOMMENDS:${PN}-libs = “two”
Recipe License Fields
---------------------
Recipes need to define both the :term:`LICENSE` and
:term:`LIC_FILES_CHKSUM` variables:
- :term:`LICENSE`: This variable specifies the license for the software.
If you do not know the license under which the software you are
building is distributed, you should go to the source code and look
for that information. Typical files containing this information
include ``COPYING``, :term:`LICENSE`, and ``README`` files. You could
also find the information near the top of a source file. For example,
given a piece of software licensed under the GNU General Public
License version 2, you would set :term:`LICENSE` as follows::
LICENSE = "GPL-2.0-only"
The licenses you specify within :term:`LICENSE` can have any name as long
as you do not use spaces, since spaces are used as separators between
license names. For standard licenses, use the names of the files in
``meta/files/common-licenses/`` or the :term:`SPDXLICENSEMAP` flag names
defined in ``meta/conf/licenses.conf``.
- :term:`LIC_FILES_CHKSUM`: The OpenEmbedded build system uses this
variable to make sure the license text has not changed. If it has,
the build produces an error and it affords you the chance to figure
it out and correct the problem.
You need to specify all applicable licensing files for the software.
At the end of the configuration step, the build process will compare
the checksums of the files to be sure the text has not changed. Any
differences result in an error with the message containing the
current checksum. For more explanation and examples of how to set the
:term:`LIC_FILES_CHKSUM` variable, see the
":ref:`dev-manual/licenses:tracking license changes`" section.
To determine the correct checksum string, you can list the
appropriate files in the :term:`LIC_FILES_CHKSUM` variable with incorrect
md5 strings, attempt to build the software, and then note the
resulting error messages that will report the correct md5 strings.
See the ":ref:`dev-manual/new-recipe:fetching code`" section for
additional information.
Here is an example that assumes the software has a ``COPYING`` file::
LIC_FILES_CHKSUM = "file://COPYING;md5=xxx"
When you try to build the
software, the build system will produce an error and give you the
correct string that you can substitute into the recipe file for a
subsequent build.
License Updates
~~~~~~~~~~~~~~~
When you change the :term:`LICENSE` or :term:`LIC_FILES_CHKSUM` in the recipe
you need to briefly explain the reason for the change via a ``License-Update:``
tag. Often it's quite trivial, such as::
License-Update: copyright years refreshed
Less often, the actual licensing terms themselves will have changed. If so, do
try to link to upstream making/justifying that decision.
Tips and Guidelines for Writing Recipes
---------------------------------------
- Use :term:`BBCLASSEXTEND` instead of creating separate recipes such as ``-native``
and ``-nativesdk`` ones, whenever possible. This avoids having to maintain multiple
recipe files at the same time.
- Recipes should have tasks which are idempotent, i.e. that executing a given task
multiple times shouldn't change the end result. The build environment is built upon
this assumption and breaking it can cause obscure build failures.
- For idempotence when modifying files in tasks, it is usually best to:
- copy a file ``X`` to ``X.orig`` (only if it doesn't exist already)
- then, copy ``X.orig`` back to ``X``,
- and, finally, modify ``X``.
This ensures if rerun the task always has the same end result and the
original file can be preserved to reuse. It also guards against an
interrupted build corrupting the file.
Patch Upstream Status
=====================
In order to keep track of patches applied by recipes and ultimately reduce the
number of patches that need maintaining, the OpenEmbedded build system
requires information about the upstream status of each patch.
In its description, each patch should provide detailed information about the
bug that it addresses, such as the URL in a bug tracking system and links
to relevant mailing list archives.
Then, you should also add an ``Upstream-Status:`` tag containing one of the
following status strings:
``Pending``
No determination has been made yet, or patch has not yet been submitted to
upstream.
Keep in mind that every patch submitted upstream reduces the maintainance
burden in OpenEmbedded and Yocto Project in the long run, so this patch
status should only be used in exceptional cases if there are genuine
obstacles to submitting a patch upstream; the reason for that should be
included in the patch.
``Submitted [where]``
Submitted to upstream, waiting for approval. Optionally include where
it was submitted, such as the author, mailing list, etc.
``Backport [version]``
Accepted upstream and included in the next release, or backported from newer
upstream version, because we are at a fixed version.
Include upstream version info (e.g. commit ID or next expected version).
``Denied``
Not accepted by upstream, include reason in patch.
``Inactive-Upstream [lastcommit: when (and/or) lastrelease: when]``
The upstream is no longer available. This typically means a defunct project
where no activity has happened for a long time --- measured in years. To make
that judgement, it is recommended to look at not only when the last release
happened, but also when the last commit happened, and whether newly made bug
reports and merge requests since that time receive no reaction. It is also
recommended to add to the patch description any relevant links where the
inactivity can be clearly seen.
``Inappropriate [reason]``
The patch is not appropriate for upstream, include a brief reason on the
same line enclosed with ``[]``. In the past, there were several different
reasons not to submit patches upstream, but we have to consider that every
non-upstreamed patch means a maintainance burden for recipe maintainers.
Currently, the only reasons to mark patches as inappropriate for upstream
submission are:
- ``oe specific``: the issue is specific to how OpenEmbedded performs builds
or sets things up at runtime, and can be resolved only with a patch that
is not however relevant or appropriate for general upstream submission.
- ``upstream ticket <link>``: the issue is not specific to Open-Embedded
and should be fixed upstream, but the patch in its current form is not
suitable for merging upstream, and the author lacks sufficient expertise
to develop a proper patch. Instead the issue is handled via a bug report
(include link).
Of course, if another person later takes care of submitting this patch upstream,
the status should be changed to ``Submitted [where]``, and an additional
``Signed-off-by:`` line should be added to the patch by the person claiming
responsibility for upstreaming.
Examples
--------
Here's an example of a patch that has been submitted upstream::
rpm: Adjusted the foo setting in bar
[RPM Ticket #65] -- http://rpm5.org/cvs/tktview?tn=65,5
The foo setting in bar was decreased from X to X-50% in order to
ensure we don't exhaust all system memory with foobar threads.
Upstream-Status: Submitted [rpm5-devel@rpm5.org]
Signed-off-by: Joe Developer <joe.developer@example.com>
A future update can change the value to ``Backport`` or ``Denied`` as
appropriate.
Another example of a patch that is specific to OpenEmbedded::
Do not treat warnings as errors
There are additional warnings found with musl which are
treated as errors and fails the build, we have more combinations
than upstream supports to handle.
Upstream-Status: Inappropriate [oe specific]
Here's a patch that has been backported from an upstream commit::
include missing sys/file.h for LOCK_EX
Upstream-Status: Backport [https://github.com/systemd/systemd/commit/ac8db36cbc26694ee94beecc8dca208ec4b5fd45]
CVE patches
===========
In order to have a better control of vulnerabilities, patches that fix CVEs must
contain a ``CVE:`` tag. This tag list all CVEs fixed by the patch. If more than
one CVE is fixed, separate them using spaces.
CVE Examples
------------
This should be the header of patch that fixes :cve:`2015-8370` in GRUB2::
grub2: Fix CVE-2015-8370
[No upstream tracking] -- https://bugzilla.redhat.com/show_bug.cgi?id=1286966
Back to 28; Grub2 Authentication
Two functions suffer from integer underflow fault; the grub_username_get() and grub_password_get()located in
grub-core/normal/auth.c and lib/crypto.c respectively. This can be exploited to obtain a Grub rescue shell.
Upstream-Status: Backport [http://git.savannah.gnu.org/cgit/grub.git/commit/?id=451d80e52d851432e109771bb8febafca7a5f1f2]
CVE: CVE-2015-8370
Signed-off-by: Joe Developer <joe.developer@example.com>

View File

@@ -0,0 +1,67 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Reporting a Defect Against the Yocto Project and OpenEmbedded
**************************************************************
You can use the Yocto Project instance of
`Bugzilla <https://www.bugzilla.org/about/>`__ to submit a defect (bug)
against BitBake, OpenEmbedded-Core, against any other Yocto Project component
or for tool issues. For additional information on this implementation of
Bugzilla see the ":ref:`Yocto Project Bugzilla <resources-bugtracker>`" section
in the Yocto Project Reference Manual. For more detail on any of the following
steps, see the Yocto Project
:yocto_wiki:`Bugzilla wiki page </Bugzilla_Configuration_and_Bug_Tracking>`.
Use the following general steps to submit a bug:
#. Open the Yocto Project implementation of :yocto_bugs:`Bugzilla <>`.
#. Click "File a Bug" to enter a new bug.
#. Choose the appropriate "Classification", "Product", and "Component"
for which the bug was found. Bugs for the Yocto Project fall into
one of several classifications, which in turn break down into
several products and components. For example, for a bug against the
``meta-intel`` layer, you would choose "Build System, Metadata &
Runtime", "BSPs", and "bsps-meta-intel", respectively.
#. Choose the "Version" of the Yocto Project for which you found the
bug (e.g. &DISTRO;).
#. Determine and select the "Severity" of the bug. The severity
indicates how the bug impacted your work.
#. Choose the "Hardware" that the bug impacts.
#. Choose the "Architecture" that the bug impacts.
#. Choose a "Documentation change" item for the bug. Fixing a bug might
or might not affect the Yocto Project documentation. If you are
unsure of the impact to the documentation, select "Don't Know".
#. Provide a brief "Summary" of the bug. Try to limit your summary to
just a line or two and be sure to capture the essence of the bug.
#. Provide a detailed "Description" of the bug. You should provide as
much detail as you can about the context, behavior, output, and so
forth that surrounds the bug. You can even attach supporting files
for output from logs by using the "Add an attachment" button.
#. Click the "Submit Bug" button submit the bug. A new Bugzilla number
is assigned to the bug and the defect is logged in the bug tracking
system.
Once you file a bug, the bug is processed by the Yocto Project Bug
Triage Team and further details concerning the bug are assigned (e.g.
priority and owner). You are the "Submitter" of the bug and any further
categorization, progress, or comments on the bug result in Bugzilla
sending you an automated email concerning the particular change or
progress to the bug.
There are no guarantees about if or when a bug might be worked on since an
open-source project has no dedicated engineering resources. However, the
project does have a good track record of resolving common issues over the
medium and long term. We do encourage people to file bugs so issues are
at least known about. It helps other users when they find somebody having
the same issue as they do, and an issue that is unknown is much less likely
to ever be fixed!

View File

@@ -0,0 +1,827 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Contributing Changes to a Component
************************************
Contributions to the Yocto Project and OpenEmbedded are very welcome.
Because the system is extremely configurable and flexible, we recognize
that developers will want to extend, configure or optimize it for their
specific uses.
.. _ref-why-mailing-lists:
Contributing through mailing lists --- Why not using web-based workflows?
=========================================================================
Both Yocto Project and OpenEmbedded have many key components that are
maintained by patches being submitted on mailing lists. We appreciate this
approach does look a little old fashioned when other workflows are available
through web technology such as GitHub, GitLab and others. Since we are often
asked this question, weve decided to document the reasons for using mailing
lists.
One significant factor is that we value peer review. When a change is proposed
to many of the core pieces of the project, it helps to have many eyes of review
go over them. Whilst there is ultimately one maintainer who needs to make the
final call on accepting or rejecting a patch, the review is made by many eyes
and the exact people reviewing it are likely unknown to the maintainer. It is
often the surprise reviewer that catches the most interesting issues!
This is in contrast to the "GitHub" style workflow where either just a
maintainer makes that review, or review is specifically requested from
nominated people. We believe there is significant value added to the codebase
by this peer review and that moving away from mailing lists would be to the
detriment of our code.
We also need to acknowledge that many of our developers are used to this
mailing list workflow and have worked with it for years, with tools and
processes built around it. Changing away from this would result in a loss
of key people from the project, which would again be to its detriment.
The projects are acutely aware that potential new contributors find the
mailing list approach off-putting and would prefer a web-based GUI.
Since we dont believe that can work for us, the project is aiming to ensure
`patchwork <https://patchwork.yoctoproject.org/>`__ is available to help track
patch status and also looking at how tooling can provide more feedback to users
about patch status. We are looking at improving tools such as ``patchtest`` to
test user contributions before they hit the mailing lists and also at better
documenting how to use such workflows since we recognise that whilst this was
common knowledge a decade ago, it might not be as familiar now.
Preparing Changes for Submission
================================
Set up Git
----------
The first thing to do is to install Git packages. Here is an example
on Debian and Ubuntu::
sudo apt install git-core git-email
Then, you need to set a name and e-mail address that Git will
use to identify your commits::
git config --global user.name "Ada Lovelace"
git config --global user.email "ada.lovelace@gmail.com"
Clone the Git repository for the component to modify
----------------------------------------------------
After identifying the component to modify as described in the
":doc:`../contributor-guide/identify-component`" section, clone the
corresponding Git repository. Here is an example for OpenEmbedded-Core::
git clone https://git.openembedded.org/openembedded-core
cd openembedded-core
Create a new branch
-------------------
Then, create a new branch in your local Git repository
for your changes, starting from the reference branch in the upstream
repository (often called ``master``)::
$ git checkout <ref-branch>
$ git checkout -b my-changes
If you have completely unrelated sets of changes to submit, you should even
create one branch for each set.
Implement and commit changes
----------------------------
In each branch, you should group your changes into small, controlled and
isolated ones. Keeping changes small and isolated aids review, makes
merging/rebasing easier and keeps the change history clean should anyone need
to refer to it in future.
To this purpose, you should create *one Git commit per change*,
corresponding to each of the patches you will eventually submit.
See `further guidance <https://www.kernel.org/doc/html/latest/process/submitting-patches.html#separate-your-changes>`__
in the Linux kernel documentation if needed.
For example, when you intend to add multiple new recipes, each recipe
should be added in a separate commit. For upgrades to existing recipes,
the previous version should usually be deleted as part of the same commit
to add the upgraded version.
#. *Stage Your Changes:* Stage your changes by using the ``git add``
command on each file you modified. If you want to stage all the
files you modified, you can even use the ``git add -A`` command.
#. *Commit Your Changes:* This is when you can create separate commits. For
each commit to create, use the ``git commit -s`` command with the files
or directories you want to include in the commit::
$ git commit -s file1 file2 dir1 dir2 ...
To include **a**\ ll staged files::
$ git commit -sa
- The ``-s`` option of ``git commit`` adds a "Signed-off-by:" line
to your commit message. There is the same requirement for contributing
to the Linux kernel. Adding such a line signifies that you, the
submitter, have agreed to the `Developer's Certificate of Origin 1.1
<https://www.kernel.org/doc/html/latest/process/submitting-patches.html#sign-your-work-the-developer-s-certificate-of-origin>`__
as follows:
.. code-block:: none
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
- Provide a single-line summary of the change and, if more
explanation is needed, provide more detail in the body of the
commit. This summary is typically viewable in the "shortlist" of
changes. Thus, providing something short and descriptive that
gives the reader a summary of the change is useful when viewing a
list of many commits. You should prefix this short description
with the recipe name (if changing a recipe), or else with the
short form path to the file being changed.
.. note::
To find a suitable prefix for the commit summary, a good idea
is to look for prefixes used in previous commits touching the
same files or directories::
git log --oneline <paths>
- For the body of the commit message, provide detailed information
that describes what you changed, why you made the change, and the
approach you used. It might also be helpful if you mention how you
tested the change. Provide as much detail as you can in the body
of the commit message.
.. note::
If the single line summary is enough to describe a simple
change, the body of the commit message can be left empty.
- If the change addresses a specific bug or issue that is associated
with a bug-tracking ID, include a reference to that ID in your
detailed description. For example, the Yocto Project uses a
specific convention for bug references --- any commit that addresses
a specific bug should use the following form for the detailed
description. Be sure to use the actual bug-tracking ID from
Bugzilla for bug-id::
Fixes [YOCTO #bug-id]
detailed description of change
#. *Crediting contributors:* By using the ``git commit --amend`` command,
you can add some tags to the commit description to credit other contributors
to the change:
- ``Reported-by``: name and email of a person reporting a bug
that your commit is trying to fix. This is a good practice
to encourage people to go on reporting bugs and let them
know that their reports are taken into account.
- ``Suggested-by``: name and email of a person to credit for the
idea of making the change.
- ``Tested-by``, ``Reviewed-by``: name and email for people having
tested your changes or reviewed their code. These fields are
usually added by the maintainer accepting a patch, or by
yourself if you submitted your patches to early reviewers,
or are submitting an unmodified patch again as part of a
new iteration of your patch series.
- ``CC:`` Name and email of people you want to send a copy
of your changes to. This field will be used by ``git send-email``.
See `more guidance about using such tags
<https://www.kernel.org/doc/html/latest/process/submitting-patches.html#using-reported-by-tested-by-reviewed-by-suggested-by-and-fixes>`__
in the Linux kernel documentation.
Test your changes
-----------------
For each contributions you make, you should test your changes as well.
For this the Yocto Project offers several types of tests. Those tests cover
different areas and it depends on your changes which are feasible. For example run:
- For changes that affect the build environment:
- ``bitbake-selftest``: for changes within BitBake
- ``oe-selftest``: to test combinations of BitBake runs
- ``oe-build-perf-test``: to test the performance of common build scenarios
- For changes in a recipe:
- ``ptest``: run package specific tests, if they exist
- ``testimage``: build an image, boot it and run testcases on it
- If applicable, ensure also the ``native`` and ``nativesdk`` variants builds
- For changes relating to the SDK:
- ``testsdk``: to build, install and run tests against a SDK
- ``testsdk_ext``: to build, install and run tests against an extended SDK
Note that this list just gives suggestions and is not exhaustive. More details can
be found here: :ref:`test-manual/intro:Yocto Project Tests --- Types of Testing Overview`.
Creating Patches
================
Here is the general procedure on how to create patches to be sent through email:
#. *Describe the Changes in your Branch:* If you have more than one commit
in your branch, it's recommended to provide a cover letter describing
the series of patches you are about to send.
For this purpose, a good solution is to store the cover letter contents
in the branch itself::
git branch --edit-description
This will open a text editor to fill in the description for your
changes. This description can be updated when necessary and will
be used by Git to create the cover letter together with the patches.
It is recommended to start this description with a title line which
will serve a the subject line for the cover letter.
#. *Generate Patches for your Branch:* The ``git format-patch`` command will
generate patch files for each of the commits in your branch. You need
to pass the reference branch your branch starts from.
If you branch didn't need a description in the previous step::
$ git format-patch <ref-branch>
If you filled a description for your branch, you will want to generate
a cover letter too::
$ git format-patch --cover-letter --cover-from-description=auto <ref-branch>
After the command is run, the current directory contains numbered
``.patch`` files for the commits in your branch. If you have a cover
letter, it will be in the ``0000-cover-letter.patch``.
.. note::
The ``--cover-from-description=auto`` option makes ``git format-patch``
use the first paragraph of the branch description as the cover
letter title. Another possibility, which is easier to remember, is to pass
only the ``--cover-letter`` option, but you will have to edit the
subject line manually every time you generate the patches.
See the `git format-patch manual page <https://git-scm.com/docs/git-format-patch>`__
for details.
#. *Review each of the Patch Files:* This final review of the patches
before sending them often allows to view your changes from a different
perspective and discover defects such as typos, spacing issues or lines
or even files that you didn't intend to modify. This review should
include the cover letter patch too.
If necessary, rework your commits as described in
":ref:`contributor-guide/submit-changes:taking patch review into account`".
Validating Patches with Patchtest
=================================
``patchtest`` is available in ``openembedded-core`` as a tool for making
sure that your patches are well-formatted and contain important info for
maintenance purposes, such as ``Signed-off-by`` and ``Upstream-Status``
tags. Note that no functional testing of the changes will be performed by ``patchtest``.
Currently, it only supports testing patches for ``openembedded-core`` branches.
To setup, perform the following::
pip install -r meta/lib/patchtest/requirements.txt
source oe-init-build-env
bitbake-layers add-layer ../meta-selftest
Once these steps are complete and you have generated your patch files,
you can run ``patchtest`` like so::
patchtest --patch <patch_name>
Alternatively, if you want ``patchtest`` to iterate over and test
multiple patches stored in a directory, you can use::
patchtest --directory <directory_name>
By default, ``patchtest`` uses its own modules' file paths to determine what
repository and test suite to check patches against. If you wish to test
patches against a repository other than ``openembedded-core`` and/or use
a different set of tests, you can use the ``--repodir`` and ``--testdir``
flags::
patchtest --patch <patch_name> --repodir <path/to/repo> --testdir <path/to/testdir>
Finally, note that ``patchtest`` is designed to test patches in a standalone
way, so if your patches are meant to apply on top of changes made by
previous patches in a series, it is possible that ``patchtest`` will report
false failures regarding the "merge on head" test.
Using ``patchtest`` in this manner provides a final check for the overall
quality of your changes before they are submitted for review by the
maintainers.
Sending the Patches via Email
=============================
Using Git to Send Patches
-------------------------
To submit patches through email, it is very important that you send them
without any whitespace or HTML formatting that either you or your mailer
introduces. The maintainer that receives your patches needs to be able
to save and apply them directly from your emails, using the ``git am``
command.
Using the ``git send-email`` command is the only error-proof way of sending
your patches using email since there is no risk of compromising whitespace
in the body of the message, which can occur when you use your own mail
client. It will also properly include your patches as *inline attachments*,
which is not easy to do with standard e-mail clients without breaking lines.
If you used your regular e-mail client and shared your patches as regular
attachments, reviewers wouldn't be able to quote specific sections of your
changes and make comments about them.
Setting up Git to Send Email
----------------------------
The ``git send-email`` command can send email by using a local or remote
Mail Transport Agent (MTA) such as ``msmtp``, ``sendmail``, or
through a direct SMTP configuration in your Git ``~/.gitconfig`` file.
Here are the settings for letting ``git send-email`` send e-mail through your
regular STMP server, using a Google Mail account as an example::
git config --global sendemail.smtpserver smtp.gmail.com
git config --global sendemail.smtpserverport 587
git config --global sendemail.smtpencryption tls
git config --global sendemail.smtpuser ada.lovelace@gmail.com
git config --global sendemail.smtppass = XXXXXXXX
These settings will appear in the ``.gitconfig`` file in your home directory.
If you neither can use a local MTA nor SMTP, make sure you use an email client
that does not touch the message (turning spaces in tabs, wrapping lines, etc.).
A good mail client to do so is Pine (or Alpine) or Mutt. For more
information about suitable clients, see `Email clients info for Linux
<https://www.kernel.org/doc/html/latest/process/email-clients.html>`__
in the Linux kernel sources.
If you use such clients, just include the patch in the body of your email.
Finding a Suitable Mailing List
-------------------------------
You should send patches to the appropriate mailing list so that they can be
reviewed by the right contributors and merged by the appropriate maintainer.
The specific mailing list you need to use depends on the location of the code
you are changing.
If people have concerns with any of the patches, they will usually voice
their concern over the mailing list. If patches do not receive any negative
reviews, the maintainer of the affected layer typically takes them, tests them,
and then based on successful testing, merges them.
In general, each component (e.g. layer) should have a ``README`` file
that indicates where to send the changes and which process to follow.
The "poky" repository, which is the Yocto Project's reference build
environment, is a hybrid repository that contains several individual
pieces (e.g. BitBake, Metadata, documentation, and so forth) built using
the combo-layer tool. The upstream location used for submitting changes
varies by component:
- *Core Metadata:* Send your patches to the
:oe_lists:`openembedded-core </g/openembedded-core>`
mailing list. For example, a change to anything under the ``meta`` or
``scripts`` directories should be sent to this mailing list.
- *BitBake:* For changes to BitBake (i.e. anything under the
``bitbake`` directory), send your patches to the
:oe_lists:`bitbake-devel </g/bitbake-devel>`
mailing list.
- *meta-poky* and *meta-yocto-bsp* trees: These trees contain Metadata. Use the
:yocto_lists:`poky </g/poky>` mailing list.
- *Documentation*: For changes to the Yocto Project documentation, use the
:yocto_lists:`docs </g/docs>` mailing list.
For changes to other layers and tools hosted in the Yocto Project source
repositories (i.e. :yocto_git:`git.yoctoproject.org <>`), use the
:yocto_lists:`yocto </g/yocto/>` general mailing list.
For changes to other layers hosted in the OpenEmbedded source
repositories (i.e. :oe_git:`git.openembedded.org <>`), use
the :oe_lists:`openembedded-devel </g/openembedded-devel>`
mailing list, unless specified otherwise in the layer's ``README`` file.
If you intend to submit a new recipe that neither fits into the core Metadata,
nor into :oe_git:`meta-openembedded </meta-openembedded/>`, you should
look for a suitable layer in https://layers.openembedded.org. If similar
recipes can be expected, you may consider :ref:`dev-manual/layers:creating your own layer`.
If in doubt, please ask on the :yocto_lists:`yocto </g/yocto/>` general mailing list
or on the :oe_lists:`openembedded-devel </g/openembedded-devel>` mailing list.
Subscribing to the Mailing List
-------------------------------
After identifying the right mailing list to use, you will have to subscribe to
it if you haven't done it yet.
If you attempt to send patches to a list you haven't subscribed to, your email
will be returned as undelivered.
However, if you don't want to be receive all the messages sent to a mailing list,
you can set your subscription to "no email". You will still be a subscriber able
to send messages, but you won't receive any e-mail. If people reply to your message,
their e-mail clients will default to including your email address in the
conversation anyway.
Anyway, you'll also be able to access the new messages on mailing list archives,
either through a web browser, or for the lists archived on https://lore.kernel.org,
through an individual newsgroup feed or a git repository.
Sending Patches via Email
-------------------------
At this stage, you are ready to send your patches via email. Here's the
typical usage of ``git send-email``::
git send-email --to <mailing-list-address> *.patch
Then, review each subject line and list of recipients carefully, and then
and then allow the command to send each message.
You will see that ``git send-email`` will automatically copy the people listed
in any commit tags such as ``Signed-off-by`` or ``Reported-by``.
In case you are sending patches for :oe_git:`meta-openembedded </meta-openembedded/>`
or any layer other than :oe_git:`openembedded-core </openembedded-core/>`,
please add the appropriate prefix so that it is clear which layer the patch is intended
to be applied to::
git format-patch --subject-prefix="meta-oe][PATCH" ...
.. note::
It is actually possible to send patches without generating them
first. However, make sure you have reviewed your changes carefully
because ``git send-email`` will just show you the title lines of
each patch.
Here's a command you can use if you just have one patch in your
branch::
git send-email --to <mailing-list-address> -1
If you have multiple patches and a cover letter, you can send
patches for all the commits between the reference branch
and the tip of your branch::
git send-email --cover-letter --cover-from-description=auto --to <mailing-list-address> -M <ref-branch>
See the `git send-email manual page <https://git-scm.com/docs/git-send-email>`__
for details.
Troubleshooting Email Issues
----------------------------
Fixing your From identity
~~~~~~~~~~~~~~~~~~~~~~~~~
We have a frequent issue with contributors whose patches are received through
a ``From`` field which doesn't match the ``Signed-off-by`` information. Here is
a typical example for people sending from a domain name with :wikipedia:`DMARC`::
From: "Linus Torvalds via lists.openembedded.org <linus.torvalds=kernel.org@lists.openembedded.org>"
This ``From`` field is used by ``git am`` to recreate commits with the right
author name. The following will ensure that your e-mails have an additional
``From`` field at the beginning of the Email body, and therefore that
maintainers accepting your patches don't have to fix commit author information
manually::
git config --global sendemail.from "linus.torvalds@kernel.org"
The ``sendemail.from`` should match your ``user.email`` setting,
which appears in the ``Signed-off-by`` line of your commits.
Streamlining git send-email usage
---------------------------------
If you want to save time and not be forced to remember the right options to use
with ``git send-email``, you can use Git configuration settings.
- To set the right mailing list address for a given repository::
git config --local sendemail.to openembedded-devel@lists.openembedded.org
- If the mailing list requires a subject prefix for the layer
(this only works when the repository only contains one layer)::
git config --local format.subjectprefix "meta-something][PATCH"
Using Scripts to Push a Change Upstream and Request a Pull
==========================================================
For larger patch series it is preferable to send a pull request which not
only includes the patch but also a pointer to a branch that can be pulled
from. This involves making a local branch for your changes, pushing this
branch to an accessible repository and then using the ``create-pull-request``
and ``send-pull-request`` scripts from openembedded-core to create and send a
patch series with a link to the branch for review.
Follow this procedure to push a change to an upstream "contrib" Git
repository once the steps in
":ref:`contributor-guide/submit-changes:preparing changes for submission`"
have been followed:
.. note::
You can find general Git information on how to push a change upstream
in the
`Git Community Book <https://git-scm.com/book/en/v2/Distributed-Git-Distributed-Workflows>`__.
#. *Request Push Access to an "Upstream" Contrib Repository:* Send an email to
``helpdesk@yoctoproject.org``:
- Attach your SSH public key which usually named ``id_rsa.pub.``.
If you don't have one generate it by running ``ssh-keygen -t rsa -b 4096 -C "your_email@example.com"``.
- List the repositories you're planning to contribute to.
- Include your preferred branch prefix for ``-contrib`` repositories.
#. *Push Your Commits to the "Contrib" Upstream:* Push your
changes to that repository::
$ git push upstream_remote_repo local_branch_name
For example, suppose you have permissions to push
into the upstream ``meta-intel-contrib`` repository and you are
working in a local branch named `your_name`\ ``/README``. The following
command pushes your local commits to the ``meta-intel-contrib``
upstream repository and puts the commit in a branch named
`your_name`\ ``/README``::
$ git push meta-intel-contrib your_name/README
#. *Determine Who to Notify:* Determine the maintainer or the mailing
list that you need to notify for the change.
Before submitting any change, you need to be sure who the maintainer
is or what mailing list that you need to notify. Use either these
methods to find out:
- *Maintenance File:* Examine the ``maintainers.inc`` file, which is
located in the :term:`Source Directory` at
``meta/conf/distro/include``, to see who is responsible for code.
- *Search by File:* Using :ref:`overview-manual/development-environment:git`, you can
enter the following command to bring up a short list of all
commits against a specific file::
git shortlog -- filename
Just provide the name of the file for which you are interested. The
information returned is not ordered by history but does include a
list of everyone who has committed grouped by name. From the list,
you can see who is responsible for the bulk of the changes against
the file.
- *Find the Mailing List to Use:* See the
":ref:`contributor-guide/submit-changes:finding a suitable mailing list`"
section above.
#. *Make a Pull Request:* Notify the maintainer or the mailing list that
you have pushed a change by making a pull request.
The Yocto Project provides two scripts that conveniently let you
generate and send pull requests to the Yocto Project. These scripts
are ``create-pull-request`` and ``send-pull-request``. You can find
these scripts in the ``scripts`` directory within the
:term:`Source Directory` (e.g.
``poky/scripts``).
Using these scripts correctly formats the requests without
introducing any whitespace or HTML formatting. The maintainer that
receives your patches either directly or through the mailing list
needs to be able to save and apply them directly from your emails.
Using these scripts is the preferred method for sending patches.
First, create the pull request. For example, the following command
runs the script, specifies the upstream repository in the contrib
directory into which you pushed the change, and provides a subject
line in the created patch files::
$ poky/scripts/create-pull-request -u meta-intel-contrib -s "Updated Manual Section Reference in README"
Running this script forms ``*.patch`` files in a folder named
``pull-``\ `PID` in the current directory. One of the patch files is a
cover letter.
Before running the ``send-pull-request`` script, you must edit the
cover letter patch to insert information about your change. After
editing the cover letter, send the pull request. For example, the
following command runs the script and specifies the patch directory
and email address. In this example, the email address is a mailing
list::
$ poky/scripts/send-pull-request -p ~/meta-intel/pull-10565 -t meta-intel@lists.yoctoproject.org
You need to follow the prompts as the script is interactive.
.. note::
For help on using these scripts, simply provide the ``-h``
argument as follows::
$ poky/scripts/create-pull-request -h
$ poky/scripts/send-pull-request -h
Submitting Changes to Stable Release Branches
=============================================
The process for proposing changes to a Yocto Project stable branch differs
from the steps described above. Changes to a stable branch must address
identified bugs or CVEs and should be made carefully in order to avoid the
risk of introducing new bugs or breaking backwards compatibility. Typically
bug fixes must already be accepted into the master branch before they can be
backported to a stable branch unless the bug in question does not affect the
master branch or the fix on the master branch is unsuitable for backporting.
The list of stable branches along with the status and maintainer for each
branch can be obtained from the
:yocto_wiki:`Releases wiki page </Releases>`.
.. note::
Changes will not typically be accepted for branches which are marked as
End-Of-Life (EOL).
With this in mind, the steps to submit a change for a stable branch are as
follows:
#. *Identify the bug or CVE to be fixed:* This information should be
collected so that it can be included in your submission.
See :ref:`dev-manual/vulnerabilities:checking for vulnerabilities`
for details about CVE tracking.
#. *Check if the fix is already present in the master branch:* This will
result in the most straightforward path into the stable branch for the
fix.
#. *If the fix is present in the master branch --- submit a backport request
by email:* You should send an email to the relevant stable branch
maintainer and the mailing list with details of the bug or CVE to be
fixed, the commit hash on the master branch that fixes the issue and
the stable branches which you would like this fix to be backported to.
#. *If the fix is not present in the master branch --- submit the fix to the
master branch first:* This will ensure that the fix passes through the
project's usual patch review and test processes before being accepted.
It will also ensure that bugs are not left unresolved in the master
branch itself. Once the fix is accepted in the master branch a backport
request can be submitted as above.
#. *If the fix is unsuitable for the master branch --- submit a patch
directly for the stable branch:* This method should be considered as a
last resort. It is typically necessary when the master branch is using
a newer version of the software which includes an upstream fix for the
issue or when the issue has been fixed on the master branch in a way
that introduces backwards incompatible changes. In this case follow the
steps in ":ref:`contributor-guide/submit-changes:preparing changes for submission`"
and in the following sections but modify the subject header of your patch
email to include the name of the stable branch which you are
targetting. This can be done using the ``--subject-prefix`` argument to
``git format-patch``, for example to submit a patch to the
"&DISTRO_NAME_NO_CAP_MINUS_ONE;" branch use::
git format-patch --subject-prefix='&DISTRO_NAME_NO_CAP_MINUS_ONE;][PATCH' ...
Taking Patch Review into Account
================================
You may get feedback on your submitted patches from other community members
or from the automated patchtest service. If issues are identified in your
patches then it is usually necessary to address these before the patches are
accepted into the project. In this case you should your commits according
to the feedback and submit an updated version to the relevant mailing list.
In any case, never fix reported issues by fixing them in new commits
on the tip of your branch. Always come up with a new series of commits
without the reported issues.
.. note::
It is a good idea to send a copy to the reviewers who provided feedback
to the previous version of the patch. You can make sure this happens
by adding a ``CC`` tag to the commit description::
CC: William Shakespeare <bill@yoctoproject.org>
A single patch can be amended using ``git commit --amend``, and multiple
patches can be easily reworked and reordered through an interactive Git rebase::
git rebase -i <ref-branch>
See `this tutorial <https://hackernoon.com/beginners-guide-to-interactive-rebasing-346a3f9c3a6d>`__
for practical guidance about using Git interactive rebasing.
You should also modify the ``[PATCH]`` tag in the email subject line when
sending the revised patch to mark the new iteration as ``[PATCH v2]``,
``[PATCH v3]``, etc as appropriate. This can be done by passing the ``-v``
argument to ``git format-patch`` with a version number::
git format-patch -v2 <ref-branch>
Lastly please ensure that you also test your revised changes. In particular
please don't just edit the patch file written out by ``git format-patch`` and
resend it.
Tracking the Status of Patches
==============================
The Yocto Project uses a `Patchwork instance <https://patchwork.yoctoproject.org/>`__
to track the status of patches submitted to the various mailing lists and to
support automated patch testing. Each submitted patch is checked for common
mistakes and deviations from the expected patch format and submitters are
notified by ``patchtest`` if such mistakes are found. This process helps to
reduce the burden of patch review on maintainers.
.. note::
This system is imperfect and changes can sometimes get lost in the flow.
Asking about the status of a patch or change is reasonable if the change
has been idle for a while with no feedback.
If your patches have not had any feedback in a few days, they may have already
been merged. You can run ``git pull`` branch to check this. Note that many if
not most layer maintainers do not send out acknowledgement emails when they
accept patches. Alternatively, if there is no response or merge after a few days
the patch may have been missed or the appropriate reviewers may not currently be
around. It is then perfectly fine to reply to it yourself with a reminder asking
for feedback.
.. note::
Patch reviews for feature and recipe upgrade patches are likely be delayed
during a feature freeze because these types of patches aren't merged during
at that time --- you may have to wait until after the freeze is lifted.
Maintainers also commonly use ``-next`` branches to test submissions prior to
merging patches. Thus, you can get an idea of the status of a patch based on
whether the patch has been merged into one of these branches. The commonly
used testing branches for OpenEmbedded-Core are as follows:
- *openembedded-core "master-next" branch:* This branch is part of the
:oe_git:`openembedded-core </openembedded-core/>` repository and contains
proposed changes to the core metadata.
- *poky "master-next" branch:* This branch is part of the
:yocto_git:`poky </poky/>` repository and combines proposed
changes to BitBake, the core metadata and the poky distro.
Similarly, stable branches maintained by the project may have corresponding
``-next`` branches which collect proposed changes. For example,
``&DISTRO_NAME_NO_CAP;-next`` and ``&DISTRO_NAME_NO_CAP_MINUS_ONE;-next``
branches in both the "openembdedded-core" and "poky" repositories.
Other layers may have similar testing branches but there is no formal
requirement or standard for these so please check the documentation for the
layers you are contributing to.

View File

@@ -32,6 +32,10 @@ build host running Linux.
OpenEmbedded build system, see the
:doc:`/brief-yoctoprojectqs/index` document.
- You can also use the `Yocto Project BitBake
<https://marketplace.visualstudio.com/items?itemName=yocto-project.yocto-bitbake>`__
extension for Visual Studio Code to build images.
The build process creates an entire Linux distribution from source and
places it in your :term:`Build Directory` under ``tmp/deploy/images``. For
detailed information on the build process using BitBake, see the
@@ -156,7 +160,7 @@ Follow these steps to set up and execute multiple configuration builds:
The location for these multiconfig configuration files is specific.
They must reside in the current :term:`Build Directory` in a sub-directory of
``conf`` named ``multiconfig`` or within a layer's ``conf`` directory
under a directory named ``multiconfig``. Following is an example that defines
under a directory named ``multiconfig``. Here is an example that defines
two configuration files for the "x86" and "arm" multiconfigs:
.. image:: figures/multiconfig_files.png
@@ -273,12 +277,12 @@ loading modules needed to locate and mount the final root filesystem.
Follow these steps to create an :term:`Initramfs` image:
#. *Create the :term:`Initramfs` Image Recipe:* You can reference the
#. *Create the Initramfs Image Recipe:* You can reference the
``core-image-minimal-initramfs.bb`` recipe found in the
``meta/recipes-core`` directory of the :term:`Source Directory`
as an example from which to work.
#. *Decide if You Need to Bundle the :term:`Initramfs` Image Into the Kernel
#. *Decide if You Need to Bundle the Initramfs Image Into the Kernel
Image:* If you want the :term:`Initramfs` image that is built to be bundled
in with the kernel image, set the :term:`INITRAMFS_IMAGE_BUNDLE`
variable to ``"1"`` in your ``local.conf`` configuration file and set the
@@ -771,10 +775,9 @@ your tunings to best consider build times and package feed maintenance.
in the script for information on how to use the tool.
- *BitBake's "-S printdiff" Option:* Using this option causes
BitBake to try to establish the closest signature match it can
(e.g. in the shared state cache) and then run ``bitbake-diffsigs``
over the matches to determine the stamps and delta where these two
stamp trees diverge.
BitBake to try to establish the most recent signature match
(e.g. in the shared state cache) and then compare matched signatures
to determine the stamps and delta where these two stamp trees diverge.
Building Software from an External Source
=========================================

Some files were not shown because too many files have changed in this diff Show More