Compare commits

...

259 Commits

Author SHA1 Message Date
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
253 changed files with 7303 additions and 1964 deletions

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

@@ -15,6 +15,13 @@ 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):
"""

View File

@@ -550,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:
@@ -574,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

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
@@ -234,13 +234,11 @@ class XhrSetDefaultImageUrl(View):
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

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`"
@@ -1194,7 +1178,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 +1234,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 +1253,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 +1275,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 +1312,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 +1329,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 +1357,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 +1375,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 +1440,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::
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

@@ -250,6 +250,18 @@ Recipes need to define both the :term:`LICENSE` and
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
---------------------------------------

View File

@@ -279,6 +279,46 @@ Here is the general procedure on how to create patches to be sent through email:
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. 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
=============================
@@ -420,7 +460,7 @@ 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 send-email --subject-prefix="meta-oe][PATCH" ...
git format-patch --subject-prefix="meta-oe][PATCH" ...
.. note::

View File

@@ -327,7 +327,7 @@ BitBake has determined by doing the following:
the task. This list also includes indirect dependencies from
variables depending on other variables, recursively::
Task dependencies: ['PV', 'SRCREV', 'SRC_URI', 'SRC_URI[md5sum]', 'SRC_URI[sha256sum]', 'base_do_fetch']
Task dependencies: ['PV', 'SRCREV', 'SRC_URI', 'SRC_URI[sha256sum]', 'base_do_fetch']
.. note::

View File

@@ -42,6 +42,7 @@ Yocto Project Development Tasks Manual
runtime-testing
debugging
licenses
security-subjects
vulnerabilities
sbom
error-reporting-tool

View File

@@ -128,6 +128,20 @@ Follow these general steps to create your layer without using tools:
variable is a good way to indicate if your particular layer is
current.
.. note::
A layer does not have to contain only recipes ``.bb`` or append files
``.bbappend``. Generally, developers create layers using
``bitbake-layers create-layer``.
See ":ref:`dev-manual/layers:creating a general layer using the \`\`bitbake-layers\`\` script`",
explaining how the ``layer.conf`` file is created from a template located in
``meta/lib/bblayers/templates/layer.conf``.
In fact, none of the variables set in ``layer.conf`` are mandatory,
except when :term:`BBFILE_COLLECTIONS` is present. In this case
:term:`LAYERSERIES_COMPAT` and :term:`BBFILE_PATTERN` have to be
defined too.
#. *Add Content:* Depending on the type of layer, add the content. If
the layer adds support for a machine, add the machine configuration
in a ``conf/machine/`` file within the layer. If the layer adds
@@ -299,7 +313,7 @@ Logo for your layer and application. The process consists of two parts:
successful compatibility registration.
#. Completion of an application acceptance form, which you can find at
:yocto_home:`/webform/yocto-project-compatible-registration`.
:yocto_home:`/compatible-registration/`.
To be granted permission to use the logo, you need to satisfy the
following:
@@ -323,7 +337,7 @@ application, you can use the Yocto Project Compatibility Logo with your
layer and the application that uses your layer.
To access the form, use this link:
:yocto_home:`/webform/yocto-project-compatible-registration`.
:yocto_home:`/compatible-registration`.
Follow the instructions on the form to complete your application.
The application consists of the following sections:

View File

@@ -38,7 +38,7 @@ file or include from a lower-level configuration file are as follows:
- ``PREFERRED_PROVIDER_virtual/kernel``
- :term:`MACHINE_FEATURES` (e.g. "apm screen wifi")
- :term:`MACHINE_FEATURES` (e.g. "screen wifi")
You might also need these variables:

View File

@@ -303,28 +303,33 @@ If your :term:`SRC_URI` statement includes URLs pointing to individual files
fetched from a remote server other than a version control system,
BitBake attempts to verify the files against checksums defined in your
recipe to ensure they have not been tampered with or otherwise modified
since the recipe was written. Two checksums are used:
``SRC_URI[md5sum]`` and ``SRC_URI[sha256sum]``.
since the recipe was written. Multiple checksums are supported:
``SRC_URI[md5sum]``, ``SRC_URI[sha1sum]``, ``SRC_URI[sha256sum]``.
``SRC_URI[sha384sum]`` and ``SRC_URI[sha512sum]``, but only
``SRC_URI[sha256sum]`` is commonly used.
.. note::
``SRC_URI[md5sum]`` used to also be commonly used, but it is deprecated
and should be replaced by ``SRC_URI[sha256sum]`` when updating existing
recipes.
If your :term:`SRC_URI` variable points to more than a single URL (excluding
SCM URLs), you need to provide the ``md5`` and ``sha256`` checksums for
each URL. For these cases, you provide a name for each URL as part of
the :term:`SRC_URI` and then reference that name in the subsequent checksum
statements. Here is an example combining lines from the files
``git.inc`` and ``git_2.24.1.bb``::
SCM URLs), you need to provide the ``sha256`` checksum for each URL. For these
cases, you provide a name for each URL as part of the :term:`SRC_URI` and then
reference that name in the subsequent checksum statements. Here is an example
combining lines from the files ``git.inc`` and ``git_2.24.1.bb``::
SRC_URI = "${KERNELORG_MIRROR}/software/scm/git/git-${PV}.tar.gz;name=tarball \
${KERNELORG_MIRROR}/software/scm/git/git-manpages-${PV}.tar.gz;name=manpages"
SRC_URI[tarball.md5sum] = "166bde96adbbc11c8843d4f8f4f9811b"
SRC_URI[tarball.sha256sum] = "ad5334956301c86841eb1e5b1bb20884a6bad89a10a6762c958220c7cf64da02"
SRC_URI[manpages.md5sum] = "31c2272a8979022497ba3d4202df145d"
SRC_URI[manpages.sha256sum] = "9a7ae3a093bea39770eb96ca3e5b40bff7af0b9f6123f089d7821d0e5b8e1230"
Proper values for ``md5`` and ``sha256`` checksums might be available
The proper value for the ``sha256`` checksum might be available together
with other signatures on the download page for the upstream source (e.g.
``md5``, ``sha1``, ``sha256``, ``GPG``, and so forth). Because the
OpenEmbedded build system only deals with ``sha256sum`` and ``md5sum``,
OpenEmbedded build system typically only deals with ``sha256sum``,
you should verify all the signatures you find by hand.
If no :term:`SRC_URI` checksums are specified when you attempt to build the
@@ -409,8 +414,8 @@ Patching Code
Sometimes it is necessary to patch code after it has been fetched. Any
files mentioned in :term:`SRC_URI` whose names end in ``.patch`` or
``.diff`` or compressed versions of these suffixes (e.g. ``diff.gz`` are
treated as patches. The
``.diff`` or compressed versions of these suffixes (e.g. ``diff.gz``,
``patch.bz2``, etc.) are treated as patches. The
:ref:`ref-tasks-patch` task
automatically applies these patches.

View File

@@ -160,12 +160,6 @@ options are available:
comments at the top of the BeagleBoneTarget
``meta-yocto-bsp/lib/oeqa/controllers/beaglebonetarget.py`` file.
- *"EdgeRouterTarget":* Choose "EdgeRouterTarget" if you are deploying
images and running tests on the Ubiquiti Networks EdgeRouter Lite.
For information on how to use these tests, see the comments at the
top of the EdgeRouterTarget
``meta-yocto-bsp/lib/oeqa/controllers/edgeroutertarget.py`` file.
- *"GrubTarget":* Choose "GrubTarget" if you are deploying images and running
tests on any generic PC that boots using GRUB. For information on how
to use these tests, see the comments at the top of the GrubTarget
@@ -288,7 +282,7 @@ Serial Console Connection
-------------------------
For test target classes requiring a serial console to interact with the
bootloader (e.g. BeagleBoneTarget, EdgeRouterTarget, and GrubTarget),
bootloader (e.g. BeagleBoneTarget and GrubTarget),
you need to specify a command to use to connect to the serial console of
the target machine by using the
:term:`TEST_SERIALCONTROL_CMD`
@@ -459,7 +453,7 @@ layer's ``layer.conf`` file as normal). Just remember the following:
directory.
To create a new test, start by copying an existing module (e.g.
``syslog.py`` or ``gcc.py`` are good ones to use). Test modules can use
``oe_syslog.py`` or ``gcc.py`` are good ones to use). Test modules can use
code from ``meta/lib/oeqa/utils``, which are helper classes.
.. note::

View File

@@ -0,0 +1,189 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Dealing with Vulnerability Reports
**********************************
The Yocto Project and OpenEmbedded are open-source, community-based projects
used in numerous products. They assemble multiple other open-source projects,
and need to handle security issues and practices both internal (in the code
maintained by both projects), and external (maintained by other projects and
organizations).
This manual assembles security-related information concerning the whole
ecosystem. It includes information on reporting a potential security issue,
the operation of the YP Security team and how to contribute in the
related code. It is written to be useful for both security researchers and
YP developers.
How to report a potential security vulnerability?
=================================================
If you would like to report a public issue (for example, one with a released
CVE number), please report it using the
:yocto_bugs:`Security Bugzilla </enter_bug.cgi?product=Security>`.
If you are dealing with a not-yet-released issue, or an urgent one, 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. This mailing list is monitored by the
Yocto Project Security team.
For each layer, you might also look for specific instructions (if any) for
reporting potential security issues in the specific ``SECURITY.md`` file at the
root of the repository. Instructions on how and where submit a patch are
usually available in ``README.md``. If this is your first patch to the
Yocto Project/OpenEmbedded, you might want to have a look into the
Contributor's Manual section
":ref:`contributor-guide/submit-changes:preparing changes for submission`".
Branches maintained with security fixes
---------------------------------------
See the
:ref:`Release process <ref-manual/release-process:Stable Release Process>`
documentation for details regarding the policies and maintenance of stable
branches.
The :yocto_wiki:`Releases page </Releases>` contains a list
of all releases of the Yocto Project. Versions in gray are no longer actively
maintained with security patches, but well-tested patches may still be accepted
for them for significant issues.
Security-related discussions at the Yocto Project
-------------------------------------------------
We have set up two security-related mailing lists:
- Public List: yocto [dash] security [at] yoctoproject[dot] org
This is a public mailing list for anyone to subscribe to. This list is an
open list to discuss public security issues/patches and security-related
initiatives. For more information, including subscription information,
please see the :yocto_lists:`yocto-security mailing list info page </g/yocto-security>`.
- Private List: security [at] yoctoproject [dot] org
This is a private mailing list for reporting non-published potential
vulnerabilities. The list is monitored by the Yocto Project Security team.
What you should do if you find a security vulnerability
-------------------------------------------------------
If you find a security flaw: a crash, an information leakage, or anything that
can have a security impact if exploited in any Open Source software built or
used by the Yocto Project, please report this to the Yocto Project Security
Team. If you prefer to contact the upstream project directly, please send a
copy to the security team at the Yocto Project as well. If you believe this is
highly sensitive information, please report the vulnerability in a secure way,
i.e. encrypt the email and send it to the private list. This ensures that
the exploit is not leaked and exploited before a response/fix has been generated.
Security team
=============
The Yocto Project/OpenEmbedded security team coordinates the work on security
subjects in the project. All general discussion takes place publicly. The
Security Team only uses confidential communication tools to deal with private
vulnerability reports before they are released.
Security team appointment
-------------------------
The Yocto Project Security Team consists of at least three members. When new
members are needed, the Yocto Project Technical Steering Committee (YP TSC)
asks for nominations by public channels including a nomination deadline.
Self-nominations are possible. When the limit time is
reached, the YP TSC posts the list of candidates for the comments of project
participants and developers. Comments may be sent publicly or privately to the
YP and OE TSCs. The candidates are approved by both YP TSC and OpenEmbedded
Technical Steering Committee (OE TSC) and the final list of the team members
is announced publicly. The aim is to have people representing technical
leadership, security knowledge and infrastructure present with enough people
to provide backup/coverage but keep the notification list small enough to
minimize information risk and maintain trust.
YP Security Team members may resign at any time.
Security Team Operations
------------------------
The work of the Security Team might require high confidentiality. Team members
are individuals selected by merit and do not represent the companies they work
for. They do not share information about confidential issues outside of the team
and do not hint about ongoing embargoes.
Team members can bring in domain experts as needed. Those people should be
added to individual issues only and adhere to the same standards as the YP
Security Team.
The YP security team organizes its meetings and communication as needed.
When the YP Security team receives a report about a potential security
vulnerability, they quickly analyze and notify the reporter of the result.
They might also request more information.
If the issue is confirmed and affects the code maintained by the YP, they
confidentially notify maintainers of that code and work with them to prepare
a fix.
If the issue is confirmed and affects an upstream project, the YP security team
notifies the project. Usually, the upstream project analyzes the problem again.
If they deem it a real security problem in their software, they develop and
release a fix following their security policy. They may want to include the
original reporter in the loop. There is also sometimes some coordination for
handling patches, backporting patches etc, or just understanding the problem
or what caused it.
When the fix is publicly available, the YP security team member or the
package maintainer sends patches against the YP code base, following usual
procedures, including public code review.
What Yocto Security Team does when it receives a security vulnerability
-----------------------------------------------------------------------
The YP Security Team team performs a quick analysis and would usually report
the flaw to the upstream project. Normally the upstream project analyzes the
problem. If they deem it a real security problem in their software, they
develop and release a fix following their own security policy. They may want
to include the original reporter in the loop. There is also sometimes some
coordination for handling patches, backporting patches etc, or just
understanding the problem or what caused it.
The security policy of the upstream project might include a notification to
Linux distributions or other important downstream projects in advance to
discuss coordinated disclosure. These mailing lists are normally non-public.
When the upstream project releases a version with the fix, they are responsible
for contacting `Mitre <https://www.cve.org/>`__ to get a CVE number assigned and
the CVE record published.
If an upstream project does not respond quickly
-----------------------------------------------
If an upstream project does not fix the problem in a reasonable time,
the Yocto's Security Team will contact other interested parties (usually
other distributions) in the community and together try to solve the
vulnerability as quickly as possible.
The Yocto Project Security team adheres to the 90 days disclosure policy
by default. An increase of the embargo time is possible when necessary.
Current Security Team members
-----------------------------
For secure communications, please send your messages encrypted using the GPG
keys. Remember, message headers are not encrypted so do not include sensitive
information in the subject line.
- Ross Burton: <ross@burtonini.com> `Public key <https://keys.openpgp.org/search?q=ross%40burtonini.com>`__
- Michael Halstead: <mhalstead [at] linuxfoundation [dot] org>
`Public key <https://pgp.mit.edu/pks/lookup?op=vindex&search=0x3373170601861969>`__
or `Public key <https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xd1f2407285e571ed12a407a73373170601861969>`__
- Richard Purdie: <richard.purdie@linuxfoundation.org> `Public key <https://keys.openpgp.org/search?q=richard.purdie%40linuxfoundation.org>`__
- Marta Rybczynska: <marta DOT rybczynska [at] syslinbit [dot] com> `Public key <https://keys.openpgp.org/search?q=marta.rybczynska@syslinbit.com>`__
- Steve Sakoman: <steve [at] sakoman [dot] com> `Public key <https://keys.openpgp.org/search?q=steve%40sakoman.com>`__

View File

@@ -88,27 +88,15 @@ particular working environment and set of practices.
For information about BitBake, see the
:doc:`bitbake:index`.
It is relatively easy to set up Git services and create
infrastructure like :yocto_git:`/`, which is based on
server software called ``gitolite`` with ``cgit`` being used to
generate the web interface that lets you view the repositories. The
``gitolite`` software identifies users using SSH keys and allows
It is relatively easy to set up Git services and create infrastructure like
:yocto_git:`/`, which is based on server software called
`Gitolite <https://gitolite.com>`__
with `cgit <https://git.zx2c4.com/cgit/about/>`__ being used to
generate the web interface that lets you view the repositories.
``gitolite`` identifies users using SSH keys and allows
branch-based access controls to repositories that you can control as
little or as much as necessary.
.. note::
The setup of these services is beyond the scope of this manual.
However, here are sites describing how to perform setup:
- `Gitolite <https://gitolite.com>`__: Information for
``gitolite``.
- `Interfaces, frontends, and
tools <https://git.wiki.kernel.org/index.php/Interfaces,_frontends,_and_tools>`__:
Documentation on how to create interfaces and frontends for
Git.
#. *Set up the Application Development Machines:* As mentioned earlier,
application developers are creating applications on top of existing
software stacks. Following are some best practices for setting up

View File

@@ -129,31 +129,97 @@ NVD about CVE entries can be provided through the `NVD contact form <https://nvd
Fixing vulnerabilities in recipes
=================================
If a CVE security issue impacts a software component, it can be fixed by updating to a newer
version of the software component, by applying a patch or by marking it as patched via
:term:`CVE_STATUS` variable flag. For Poky and OE-Core master branches, updating
to a newer software component release with fixes is the best option, but patches can be applied
if releases are not yet available.
Suppose a CVE security issue impacts a software component. In that case, it can
be fixed by updating to a newer version, by applying a patch, or by marking it
as patched via :term:`CVE_STATUS` variable flag. For Poky and OE-Core master
branches, updating to a more recent software component release with fixes is
the best option, but patches can be applied if releases are not yet available.
For stable branches, it is preferred to apply patches for the issues. For some software
components minor version updates can also be applied if they are backwards compatible.
For stable branches, we want to avoid API (Application Programming Interface)
or ABI (Application Binary Interface) breakages. When submitting an update,
a minor version update of a component is preferred if the version is
backward-compatible. Many software components have backward-compatible stable
versions, with a notable example of the Linux kernel. However, if the new
version does or likely might introduce incompatibilities, extracting and
backporting patches is preferred.
Here is an example of fixing CVE security issues with patch files,
an example from the :oe_layerindex:`ffmpeg recipe</layerindex/recipe/47350>`::
an example from the :oe_layerindex:`ffmpeg recipe for dunfell </layerindex/recipe/122174>`::
SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \
file://mips64_cpu_detection.patch \
file://CVE-2020-12284.patch \
file://0001-libavutil-include-assembly-with-full-path-from-sourc.patch \
file://fix-CVE-2020-20446.patch \
file://fix-CVE-2020-20453.patch \
file://fix-CVE-2020-22015.patch \
file://fix-CVE-2020-22021.patch \
file://fix-CVE-2020-22033-CVE-2020-22019.patch \
file://fix-CVE-2021-33815.patch \
file://CVE-2021-3566.patch \
file://CVE-2021-38291.patch \
file://CVE-2022-1475.patch \
file://CVE-2022-3109.patch \
file://CVE-2022-3341.patch \
file://CVE-2022-48434.patch \
"
A good practice is to include the CVE identifier in both the patch file name
and inside the patch file commit message using the format::
The recipe has both generic and security-related fixes. The CVE patch files are named
according to the CVE they fix.
CVE: CVE-2020-22033
When preparing the patch file, take the original patch from the upstream repository.
Do not use patches from different distributions, except if it is the only available source.
Modify the patch adding OE-related metadata. We will follow the example of the
``CVE-2022-3341.patch``.
The original `commit message <https://github.com/FFmpeg/FFmpeg/commit/9cf652cef49d74afe3d454f27d49eb1a1394951e.patch/>`__
is::
From 9cf652cef49d74afe3d454f27d49eb1a1394951e Mon Sep 17 00:00:00 2001
From: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Date: Wed, 23 Feb 2022 10:31:59 +0800
Subject: [PATCH] avformat/nutdec: Add check for avformat_new_stream
Check for failure of avformat_new_stream() and propagate
the error code.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
libavformat/nutdec.c | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
For the correct operations of the ``cve-check``, it requires the CVE
identification in a ``CVE:`` tag of the patch file commit message using
the format::
CVE: CVE-2022-3341
It is also recommended to add the ``Upstream-Status:`` tag with a link
to the original patch and sign-off by people working on the backport.
If there are any modifications to the original patch, note them in
the ``Comments:`` tag.
With the additional information, the header of the patch file in OE-core becomes::
From 9cf652cef49d74afe3d454f27d49eb1a1394951e Mon Sep 17 00:00:00 2001
From: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Date: Wed, 23 Feb 2022 10:31:59 +0800
Subject: [PATCH] avformat/nutdec: Add check for avformat_new_stream
Check for failure of avformat_new_stream() and propagate
the error code.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
CVE: CVE-2022-3341
Upstream-Status: Backport [https://github.com/FFmpeg/FFmpeg/commit/9cf652cef49d74afe3d454f27d49eb1a1394951e]
Comments: Refreshed Hunk
Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Bhabu Bindu <bhabu.bindu@kpit.com>
---
libavformat/nutdec.c | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
A good practice is to include the CVE identifier in the patch file name, the patch file
commit message and optionally in the recipe commit message.
CVE checker will then capture this information and change the CVE status to ``Patched``
in the generated reports.
@@ -161,8 +227,16 @@ in the generated reports.
If analysis shows that the CVE issue does not impact the recipe due to configuration, platform,
version or other reasons, the CVE can be marked as ``Ignored`` by using
the :term:`CVE_STATUS` variable flag with appropriate reason which is mapped to ``Ignored``.
As mentioned previously, if data in the CVE database is wrong, it is recommend to fix those
issues in the CVE database directly.
The entry should have the format like::
CVE_STATUS[CVE-2016-10642] = "cpe-incorrect: This is specific to the npm package that installs cmake, so isn't relevant to OpenEmbedded"
As mentioned previously, if data in the CVE database is wrong, it is recommended
to fix those issues in the CVE database (NVD in the case of OE-core and Poky)
directly.
Note that if there are many CVEs with the same status and reason, those can be
shared by using the :term:`CVE_STATUS_GROUPS` variable.
Recipes can be completely skipped by CVE check by including the recipe name in
the :term:`CVE_CHECK_SKIP_RECIPE` variable.

View File

@@ -140,19 +140,19 @@ command to return the available Wic images as follows::
$ wic list images
genericx86 Create an EFI disk image for genericx86*
edgerouter Create SD card image for Edgerouter
beaglebone-yocto Create SD card image for Beaglebone
qemux86-directdisk Create a qemu machine 'pcbios' direct disk image
systemd-bootdisk Create an EFI disk image with systemd-boot
mkhybridiso Create a hybrid ISO image
qemuriscv Create qcow2 image for RISC-V QEMU machines
mkefidisk Create an EFI disk image
sdimage-bootpart Create SD card image with a boot partition
qemuloongarch Create qcow2 image for LoongArch QEMU machines
directdisk-multi-rootfs Create multi rootfs image using rootfs plugin
directdisk Create a 'pcbios' direct disk image
directdisk-bootloader-config Create a 'pcbios' direct disk image with custom bootloader config
qemuriscv Create qcow2 image for RISC-V QEMU machines
efi-bootdisk
mkhybridiso Create a hybrid ISO image
directdisk-gpt Create a 'pcbios' direct disk image
efi-bootdisk
systemd-bootdisk Create an EFI disk image with systemd-boot
sdimage-bootpart Create SD card image with a boot partition
qemux86-directdisk Create a qemu machine 'pcbios' direct disk image
directdisk-bootloader-config Create a 'pcbios' direct disk image with custom bootloader config
Once you know the list of available
Wic images, you can use ``help`` with the command to get help on a
@@ -284,15 +284,17 @@ Use the following command to list the available kickstart files::
$ wic list images
genericx86 Create an EFI disk image for genericx86*
beaglebone-yocto Create SD card image for Beaglebone
edgerouter Create SD card image for Edgerouter
qemux86-directdisk Create a QEMU machine 'pcbios' direct disk image
directdisk-gpt Create a 'pcbios' direct disk image
qemuriscv Create qcow2 image for RISC-V QEMU machines
mkefidisk Create an EFI disk image
directdisk Create a 'pcbios' direct disk image
systemd-bootdisk Create an EFI disk image with systemd-boot
mkhybridiso Create a hybrid ISO image
sdimage-bootpart Create SD card image with a boot partition
qemuloongarch Create qcow2 image for LoongArch QEMU machines
directdisk-multi-rootfs Create multi rootfs image using rootfs plugin
directdisk Create a 'pcbios' direct disk image
efi-bootdisk
mkhybridiso Create a hybrid ISO image
directdisk-gpt Create a 'pcbios' direct disk image
systemd-bootdisk Create an EFI disk image with systemd-boot
sdimage-bootpart Create SD card image with a boot partition
qemux86-directdisk Create a qemu machine 'pcbios' direct disk image
directdisk-bootloader-config Create a 'pcbios' direct disk image with custom bootloader config
When you use an existing file, you

View File

@@ -69,8 +69,7 @@ to indicate the branch.
You can use the :term:`KBRANCH` value to define an alternate branch typically
with a machine override as shown here from the ``meta-yocto-bsp`` layer::
KBRANCH:edgerouter = "standard/edgerouter"
KBRANCH:beaglebone-yocto = "standard/beaglebone"
The linux-yocto style recipes can optionally define the following
variables:

View File

@@ -387,13 +387,13 @@ Creating the Append File
You create this file in your custom layer. You also name it accordingly
based on the linux-yocto recipe you are using. For example, if you are
modifying the ``meta/recipes-kernel/linux/linux-yocto_4.12.bb`` recipe,
modifying the ``meta/recipes-kernel/linux/linux-yocto_6.1.bb`` recipe,
the append file will typically be located as follows within your custom
layer:
.. code-block:: none
your-layer/recipes-kernel/linux/linux-yocto_4.12.bbappend
your-layer/recipes-kernel/linux/linux-yocto_6.1.bbappend
The append file should initially extend the
:term:`FILESPATH` search path by
@@ -421,35 +421,31 @@ As an example, consider the following append file used by the BSPs in
.. code-block:: none
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.12.bbappend
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.1.bbappend
Here are the contents of this file. Be aware that the actual commit ID
strings in this example listing might be different than the actual
strings in the file from the ``meta-yocto-bsp`` layer upstream::
KBRANCH:genericx86 = "standard/base"
KBRANCH:genericx86-64 = "standard/base"
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"
KBRANCH:edgerouter = "standard/edgerouter"
KBRANCH:beaglebone = "standard/beaglebone"
KMACHINE:genericx86 ?= "common-pc"
KMACHINE:genericx86-64 ?= "common-pc-64"
KMACHINE:beaglebone-yocto ?= "beaglebone"
SRCREV_machine:genericx86 ?= "d09f2ce584d60ecb7890550c22a80c48b83c2e19"
SRCREV_machine:genericx86-64 ?= "d09f2ce584d60ecb7890550c22a80c48b83c2e19"
SRCREV_machine:edgerouter ?= "b5c8cfda2dfe296410d51e131289fb09c69e1e7d"
SRCREV_machine:beaglebone ?= "b5c8cfda2dfe296410d51e131289fb09c69e1e7d"
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:beaglebone-yocto = "beaglebone-yocto"
COMPATIBLE_MACHINE:genericx86 = "genericx86"
COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64"
COMPATIBLE_MACHINE:edgerouter = "edgerouter"
COMPATIBLE_MACHINE:beaglebone = "beaglebone"
LINUX_VERSION:genericx86 = "4.12.7"
LINUX_VERSION:genericx86-64 = "4.12.7"
LINUX_VERSION:edgerouter = "4.12.10"
LINUX_VERSION:beaglebone = "4.12.10"
LINUX_VERSION:genericx86 = "6.1.30"
LINUX_VERSION:genericx86-64 = "6.1.30"
LINUX_VERSION:beaglebone-yocto = "6.1.20"
This append file
contains statements used to support several BSPs that ship with the
@@ -1005,7 +1001,7 @@ Section.
the following sequence of commands::
$ cd poky/build
$ bitbake -c cleanall yocto-linux
$ bitbake -c cleanall linux-yocto
$ bitbake core-image-minimal -c cleanall
$ bitbake core-image-minimal
$ runqemu qemux86

View File

@@ -29,7 +29,7 @@ Staging Directories in Sysroot Has Been Simplified
The way directories are staged in sysroot has been simplified and
introduces the new :term:`SYSROOT_DIRS`,
:term:`SYSROOT_DIRS_NATIVE`, and ``SYSROOT_DIRS_BLACKLIST``
(replaced by :term:`SYSROOT_DIRS_IGNORE` in version 3.5). See the
(replaced by :term:`SYSROOT_DIRS_IGNORE` in version 4.0). See the
:oe_lists:`v2 patch series on the OE-Core Mailing List
</pipermail/openembedded-core/2016-May/121365.html>`
for additional information.

View File

@@ -150,7 +150,7 @@ XML feeds that ``cve-check-tool`` was using, supports CVSSv3 scoring,
and makes other improvements.
Additionally, the ``CVE_CHECK_CVE_WHITELIST`` variable has been replaced
by ``CVE_CHECK_WHITELIST`` (replaced by :term:`CVE_CHECK_IGNORE` in version 3.5).
by ``CVE_CHECK_WHITELIST`` (replaced by :term:`CVE_CHECK_IGNORE` in version 4.0).
.. _migration-3.0-bitbake-changes:

View File

@@ -255,7 +255,7 @@ Miscellaneous
- The previously deprecated ``COMPRESS_CMD`` and
``CVE_CHECK_CVE_WHITELIST`` variables have been removed. Use
:term:`CONVERSION_CMD` and ``CVE_CHECK_WHITELIST`` (replaced by
:term:`CVE_CHECK_IGNORE` in version 3.5) respectively
:term:`CVE_CHECK_IGNORE` in version 4.0) respectively
instead.
- The obsolete ``oe_machinstall`` function previously provided in the

View File

@@ -26,15 +26,26 @@ no longer the default supported configuration. This setting does not affect whic
kernel versions SDKs will run against and does not affect which versions of the kernel
can be used to run builds.
.. _migration-4.3-layername-override:
Layername override implications
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Code can now know which layer a recipe is coming from through the newly added
:term:`FILE_LAYERNAME` variable and the ``layer-<layername> override``. This is being used
for enabling QA checks on a per layer basis. For existing code this has the
side effect that the QA checks will apply to things being bbappended to recipes
from other layers. Those other layers would need to have patch upstream status
entries for patches being bbappended for example.
side effect that the QA checks will apply to recipes being bbappended
from other layers - for example, patches added through such bbappends will now
need to have the "Upstream-Status" specified in the patch header.
.. _migration-4.3-compiling-changes:
Compiling changes
~~~~~~~~~~~~~~~~~
- Code on 32 bit platforms is now compiled with largefile support and 64
bit ``time_t``, to avoid the Y2038 time overflow issue. This breaks the ABI
and could break existing programs in untested layers.
.. _migration-4.3-supported-distributions:
@@ -43,10 +54,31 @@ Supported distributions
This release supports running BitBake on new GNU/Linux distributions:
- Ubuntu 22.10
- Fedora 38
- Debian 12
- CentOS Stream 8
- AlmaLinux 8.8
- AlmaLinux 9.2
On the other hand, some earlier distributions are no longer supported:
- Fedora 36
- AlmaLinux 8.7
- AlmaLinux 9.1
See :ref:`all supported distributions <system-requirements-supported-distros>`.
.. _migration-4.3-removed-machines:
edgerouter machine removed
~~~~~~~~~~~~~~~~~~~~~~~~~~
The ``edgerouter`` reference BSP for the MIPS architecture in ``meta-yocto-bsp``
has been removed as the hardware has been unavailable for some time. There is no
suitable reference MIPS hardware to replace it with, but the MIPS architecture
will continue to get coverage via QEMU build/boot testing.
.. _migration-4.3-go-changes:
Go language changes
@@ -55,7 +87,9 @@ Go language changes
- Support for the Glide package manager has been removed, as ``go mod``
has become the standard.
Systemd changes
.. _migration-4.3-systemd-changes:
systemd changes
~~~~~~~~~~~~~~~
Upstream systemd is now more strict on filesystem layout and the ``usrmerge``
@@ -70,14 +104,14 @@ Recipe changes
- Runtime testing of ptest now fails if no test results are returned by
any given ptest.
.. _migration-4.3-class-changes:
.. _migration-4.3-deprecated-variables:
Class changes
~~~~~~~~~~~~~
Deprecated variables
~~~~~~~~~~~~~~~~~~~~
- The ``perl-version`` class no longer provides the ``PERLVERSION`` and ``PERLARCH`` variables
as there were no users in any core layer. The functions for this functionality
are still available.
The following variables have been deprecated:
- :term:`CVE_CHECK_IGNORE`: use :term:`CVE_STATUS` instead.
.. _migration-4.3-removed-variables:
@@ -86,8 +120,13 @@ Removed variables
The following variables have been removed:
- ``AUTHOR``
- ``PERLARCH``
- ``PERLVERSION``
- ``QEMU_USE_SLIRP`` - add ``slirp`` to ``TEST_RUNQEMUPARAMS`` instead.
- ``SERIAL_CONSOLES_CHECK`` - no longer necessary because all
consoles listed in :term:`SERIAL_CONSOLES` are checked for their existence
before a ``getty`` is started.
.. _migration-4.3-removed-recipes:
@@ -96,7 +135,15 @@ Removed recipes
The following recipes have been removed in this release:
- ``glide``, as explained in :ref:`migration-4.3-go-changes`.
- ``apmd``: obsolete (``apm`` in :term:`MACHINE_FEATURES` also removed).
- ``cve-update-db-native``: functionally replaced by ``cve-update-nvd2-native``
- ``gcr3``: no longer needed by core recipes, moved to meta-gnome (gcr, i.e. version 4.x, is still provided).
- ``glide``: as explained in :ref:`migration-4.3-go-changes`.
- ``libdmx``: obsolete
- ``linux-yocto`` version 5.15 (versions 6.1 and 6.5 provided instead).
- ``python3-async``: obsolete - no longer needed by ``python3-gitdb`` or any other core recipe
- ``rust-hello-world``: there are sufficient other Rust recipes and test cases such that this is no longer needed.
.. _migration-4.3-removed-classes:
@@ -105,6 +152,90 @@ Removed classes
The following classes have been removed in this release:
- ``glide``: as explained in :ref:`migration-4.3-go-changes`.
Output file naming changes
~~~~~~~~~~~~~~~~~~~~~~~~~~
In 4.3 there are some minor differences in image and SDK output file names.
If you rely on the existing naming (e.g. in external scripts) you may need to
either modify configuration or adapt to the new naming. Further details:
- :term:`IMAGE_NAME` and :term:`IMAGE_LINK_NAME` now include the
:term:`IMAGE_NAME_SUFFIX` value directly. In practical terms, this means
that ``.rootfs`` will now appear in image output file names. If you do not
wish to have the ``.rootfs`` suffix used, you can just set
:term:`IMAGE_NAME_SUFFIX` to "" and this will now be consistently respected
in both the image file and image file symlink names. As part of this change,
support for the ``imgsuffix`` task varflag has been dropped (mostly
an internal implementation detail, but if you were implementing a custom
image construction with a task in a similar manner to ``do_bootimg``
you may have been using this).
- :term:`SDK_NAME` now includes the values of :term:`IMAGE_BASENAME` and
:term:`MACHINE` so that they are unique when building SDKs for different
images and machines.
.. _migration-4.3-pr-pe:
Versioning changes
~~~~~~~~~~~~~~~~~~
- :term:`PR` values have been removed from all core recipes - distro maintainers
who make use of :term:`PR` values would need to curate these already so the
sparsely set base values would not be that useful anymore. If you have been
relying on these (i.e. you are maintaining a binary package feed where package
versions should only ever increase), double-check the output (perhaps with the
help of the :ref:`ref-classes-buildhistory` class) to ensure that package
versions are consistent.
- The :term:`PR` value can no longer be set from the recipe file name - this
was rarely used, but in any case is no longer supported.
- :term:`PE` and :term:`PR` are no longer included in the work directory path
(:term:`WORKDIR`). This may break some tool assumptions about directory paths,
but those should really be querying paths from the build system (or not poking
into :term:`WORKDIR` externally).
- Source revision information has been moved from :term:`PV` to :term:`PKGV`.
The user visible effect of this change is that :term:`PV` will no longer have
revision information in it and this will now be appended to the :term:`PV`
value through :term:`PKGV` when the packages are written out (as long as "+"
is present in the :term:`PKGV` value). Since :term:`PV` is used in
:term:`STAMP` and :term:`WORKDIR`, you may notice small directory naming and
stamp naming changes.
- The :term:`SRCPV` variable is no longer needed in :term:`PV`, but since
the default :term:`SRCPV` value is now "", using it is effectively now just a
null operation - you can remove it (leaving behind the "+") , but it is not
yet required to do so.
.. _migration-4.3-qemu-changes:
QEMU changes
~~~~~~~~~~~~
- The ``runqemu`` script no longer systematically adds two serial ports
(``--serial null`` and ``-serial mon:stdio``) to the QEMU emulated machine
if the user already adds such ports through the ``QB_OPT_APPEND`` setting.
If the user adds one port, only ``--serial null`` is added, and
``-serial mon:stdio`` is no longer passed. If the user adds more than one
port, ``--serial null`` is no longer added either. This can break some
existing QEMU based configurations expecting such serial ports to be added
when ``runqemu`` is executed.
This change was made to avoid exceeding two serial ports, which interferes
with automated testing.
- ``runqemu`` now uses the ``ip tuntap`` command instead of ``tunctl``, and
thus ``tunctl`` is no longer built by the ``qemu-helper-native`` recipe; if
for some reason you were calling ``tunctl`` directly from your own scripts
you should switch to calling ``ip tuntap`` instead.
.. _migration-4.3-misc-changes:
@@ -115,5 +246,7 @@ Miscellaneous changes
``virtual/XXX`` provider/dependencies where a ``PREFIX`` was used as well,
as we don't need both and it made automated dependency rewriting
unnecessarily complex. In general this only affects internal toolchain
dependencies so isn't end user visible.
dependencies so isn't end user visible, but if for some reason you have
custom classes or recipes that rely upon the old providers then you will
need to update those.

View File

@@ -20,3 +20,5 @@ Release 4.0 (kirkstone)
release-notes-4.0.11
release-notes-4.0.12
release-notes-4.0.13
release-notes-4.0.14
release-notes-4.0.15

View File

@@ -10,3 +10,4 @@ Release 4.2 (mickledore)
release-notes-4.2.1
release-notes-4.2.2
release-notes-4.2.3
release-notes-4.2.4

View File

@@ -7,3 +7,4 @@ Release 4.3 (nanbield)
migration-4.3
release-notes-4.3
release-notes-4.3.1

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,189 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Release notes for Yocto-4.0.15 (Kirkstone)
------------------------------------------
Security Fixes in Yocto-4.0.15
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- avahi: Fix :cve:`2023-1981`, :cve:`2023-38469`, :cve:`2023-38470`, :cve:`2023-38471`, :cve:`2023-38472` and :cve:`2023-38473`
- binutils: Fix :cve:`2022-47007`, :cve:`2022-47010` and :cve:`2022-48064`
- bluez5: Fix :cve:`2023-45866`
- ghostscript: Ignore GhostPCL :cve:`2023-38560`
- gnutls: Fix :cve:`2023-5981`
- go: Ignore :cve:`2023-45283` and :cve:`2023-45284`
- grub: Fix :cve:`2023-4692` and :cve:`2023-4693`
- gstreamer1.0-plugins-bad: Fix :cve_mitre:`2023-44429`
- libsndfile: Fix :cve:`2022-33065`
- libwebp: Fix :cve:`2023-4863`
- openssl: Fix :cve:`2023-5678`
- python3-cryptography: Fix :cve:`2023-49083`
- qemu: Fix :cve:`2023-1544`
- sudo: :cve:`2023-42456` and :cve_mitre:`2023-42465`
- tiff: Fix :cve:`2023-41175`
- vim: Fix :cve:`2023-46246`, :cve:`2023-48231`, :cve:`2023-48232`, :cve:`2023-48233`, :cve:`2023-48234`, :cve:`2023-48235`, :cve:`2023-48236`, :cve:`2023-48237` and :cve:`2023-48706`
- xserver-xorg: Fix :cve:`2023-5367` and :cve:`2023-5380`
- xwayland: Fix :cve:`2023-5367`
Fixes in Yocto-4.0.15
~~~~~~~~~~~~~~~~~~~~~
- bash: changes to SIGINT handler while waiting for a child
- bitbake: Fix disk space monitoring on cephfs
- bitbake: bitbake-getvar: Make --quiet work with --recipe
- bitbake: runqueue.py: fix PSI check logic
- bitbake: runqueue: Add pressure change logging
- bitbake: runqueue: convert deferral messages from bb.note to bb.debug
- bitbake: runqueue: fix PSI check calculation
- bitbake: runqueue: show more pressure data
- bitbake: runqueue: show number of currently running bitbake threads when pressure changes
- bitbake: tinfoil: Do not fail when logging is disabled and full config is used
- build-appliance-image: Update to kirkstone head revision
- cve-check: don't warn if a patch is remote
- cve-check: slightly more verbose warning when adding the same package twice
- cve-check: sort the package list in the JSON report
- cve-exclusion_5.10.inc: update for 5.10.202
- go: Fix issue in DNS resolver
- goarch: Move Go architecture mapping to a library
- gstreamer1.0-plugins-base: enable glx/opengl support
- linux-yocto/5.10: update to v5.10.202
- manuals: update class references
- migration-guide: add release notes for 4.0.14
- native: Clear TUNE_FEATURES/ABIEXTENSION
- openssh: drop sudo from ptest dependencies
- overview-manual: concepts: Add Bitbake Tasks Map
- poky.conf: bump version for 4.0.15
- python3-jinja2: Fixed ptest result output as per the standard
- ref-manual: classes: explain cml1 class name
- ref-manual: update :term:`SDK_NAME` variable documentation
- ref-manual: variables: add :term:`RECIPE_MAINTAINER`
- ref-manual: variables: document OEQA_REPRODUCIBLE_* variables
- ref-manual: variables: mention new CDN for :term:`SSTATE_MIRRORS`
- rust-common: Set llvm-target correctly for cross SDK targets
- rust-cross-canadian: Fix ordering of target json config generation
- rust-cross/rust-common: Merge arm target handling code to fix cross-canadian
- rust-cross: Simplfy the rust_gen_target calls
- rust-llvm: Allow overriding LLVM target archs
- sdk-manual: extensible.rst: remove instructions for using SDK functionality directly in a yocto build
- sudo: upgrade to 1.9.15p2
- systemtap_git: fix used uninitialized error
- vim: Improve locale handling
- vim: Upgrade to 9.0.2130
- vim: use upstream generated .po files
Known Issues in Yocto-4.0.15
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- N/A
Contributors to Yocto-4.0.15
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Alexander Kanavin
- Archana Polampalli
- BELHADJ SALEM Talel
- Bruce Ashfield
- Chaitanya Vadrevu
- Chen Qi
- Deepthi Hemraj
- Denys Dmytriyenko
- Hitendra Prajapati
- Lee Chee Yang
- Li Wang
- Martin Jansa
- Meenali Gupta
- Michael Opdenacker
- Mikko Rapeli
- Narpat Mali
- Niko Mauno
- Ninad Palsule
- Niranjan Pradhan
- Paul Eggleton
- Peter Kjellerstedt
- Peter Marko
- Richard Purdie
- Ross Burton
- Samantha Jalabert
- Sanjana
- Soumya Sambu
- Steve Sakoman
- Tim Orling
- Vijay Anusuri
- Vivek Kumbhar
- Wenlin Kang
- Yogita Urade
Repositories / Downloads for Yocto-4.0.15
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
poky
- Repository Location: :yocto_git:`/poky`
- Branch: :yocto_git:`kirkstone </poky/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.15 </poky/log/?h=yocto-4.0.15>`
- Git Revision: :yocto_git:`755632c2fcab43aa05cdcfa529727064b045073c </poky/commit/?id=755632c2fcab43aa05cdcfa529727064b045073c>`
- Release Artefact: poky-755632c2fcab43aa05cdcfa529727064b045073c
- sha: b40b43bd270d21a420c399981f9cfe0eb999f15e051fc2c89d124f249cdc0bd5
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.15/poky-755632c2fcab43aa05cdcfa529727064b045073c.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.15/poky-755632c2fcab43aa05cdcfa529727064b045073c.tar.bz2
openembedded-core
- Repository Location: :oe_git:`/openembedded-core`
- Branch: :oe_git:`kirkstone </openembedded-core/log/?h=kirkstone>`
- Tag: :oe_git:`yocto-4.0.15 </openembedded-core/log/?h=yocto-4.0.15>`
- Git Revision: :oe_git:`eea685e1caafd8e8121006d3f8b5d0b8a4f2a933 </openembedded-core/commit/?id=eea685e1caafd8e8121006d3f8b5d0b8a4f2a933>`
- Release Artefact: oecore-eea685e1caafd8e8121006d3f8b5d0b8a4f2a933
- sha: ddc3d4a2c8a097f2aa7132ae716affacc44b119c616a1eeffb7db56caa7fc79e
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.15/oecore-eea685e1caafd8e8121006d3f8b5d0b8a4f2a933.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.15/oecore-eea685e1caafd8e8121006d3f8b5d0b8a4f2a933.tar.bz2
meta-mingw
- Repository Location: :yocto_git:`/meta-mingw`
- Branch: :yocto_git:`kirkstone </meta-mingw/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.15 </meta-mingw/log/?h=yocto-4.0.15>`
- Git Revision: :yocto_git:`f6b38ce3c90e1600d41c2ebb41e152936a0357d7 </meta-mingw/commit/?id=f6b38ce3c90e1600d41c2ebb41e152936a0357d7>`
- Release Artefact: meta-mingw-f6b38ce3c90e1600d41c2ebb41e152936a0357d7
- sha: 7d57167c19077f4ab95623d55a24c2267a3a3fb5ed83688659b4c03586373b25
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.15/meta-mingw-f6b38ce3c90e1600d41c2ebb41e152936a0357d7.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.15/meta-mingw-f6b38ce3c90e1600d41c2ebb41e152936a0357d7.tar.bz2
meta-gplv2
- Repository Location: :yocto_git:`/meta-gplv2`
- Branch: :yocto_git:`kirkstone </meta-gplv2/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.15 </meta-gplv2/log/?h=yocto-4.0.15>`
- Git Revision: :yocto_git:`d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a </meta-gplv2/commit/?id=d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a>`
- Release Artefact: meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a
- sha: c386f59f8a672747dc3d0be1d4234b6039273d0e57933eb87caa20f56b9cca6d
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.15/meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.15/meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a.tar.bz2
bitbake
- Repository Location: :oe_git:`/bitbake`
- Branch: :oe_git:`2.0 </bitbake/log/?h=2.0>`
- Tag: :oe_git:`yocto-4.0.15 </bitbake/log/?h=yocto-4.0.15>`
- Git Revision: :oe_git:`42a1c9fe698a03feb34c5bba223c6e6e0350925b </bitbake/commit/?id=42a1c9fe698a03feb34c5bba223c6e6e0350925b>`
- Release Artefact: bitbake-42a1c9fe698a03feb34c5bba223c6e6e0350925b
- sha: 64c684ccd661fa13e25c859dfc68d66bec79281da0f4f81b0d6a9995acb659b5
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.15/bitbake-42a1c9fe698a03feb34c5bba223c6e6e0350925b.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.15/bitbake-42a1c9fe698a03feb34c5bba223c6e6e0350925b.tar.bz2
yocto-docs
- Repository Location: :yocto_git:`/yocto-docs`
- Branch: :yocto_git:`kirkstone </yocto-docs/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.15 </yocto-docs/log/?h=yocto-4.0.15>`
- Git Revision: :yocto_git:`08fda7a5601393617b1ecfe89229459e14a90b1d </yocto-docs/commit/?id=08fda7a5601393617b1ecfe89229459e14a90b1d>`

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,237 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Release notes for Yocto-4.3.1 (Nanbield)
----------------------------------------
Security Fixes in Yocto-4.3.1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- libsndfile1: Fix :cve:`2022-33065`
- libxml2: Ignore :cve:`2023-45322`
- linux-yocto/6.1: Ignore :cve:`2020-27418`, :cve:`2023-31085`, :cve_mitre:`2023-34324`, :cve:`2023-39189`, :cve:`2023-39192`, :cve:`2023-39193`, :cve:`2023-39194`, :cve:`2023-4244`, :cve:`2023-42754`, :cve:`2023-42756`, :cve:`2023-44466`, :cve:`2023-4563`, :cve:`2023-45862`, :cve:`2023-45863`, :cve:`2023-45871`, :cve:`2023-45898`, :cve:`2023-4732`, :cve:`2023-5158`, :cve:`2023-5197` and :cve:`2023-5345`
- linux-yocto/6.5: Ignore :cve:`2020-27418`, :cve:`2023-1193`, :cve:`2023-39191`, :cve:`2023-39194`, :cve:`2023-40791`, :cve:`2023-44466`, :cve:`2023-45862`, :cve:`2023-45863`, :cve:`2023-4610` and :cve:`2023-4732`
- openssl: Fix :cve:`2023-5363`
- pixman: Ignore :cve:`2023-37769`
- vim: Fix :cve:`2023-46246`
- zlib: Ignore :cve:`2023-45853`
Fixes in Yocto-4.3.1
~~~~~~~~~~~~~~~~~~~~
- baremetal-helloworld: Pull in fix for race condition on x86-64
- base: Ensure recipes using mercurial-native have certificates
- bb-matrix-plot.sh: Show underscores correctly in labels
- bin_package.bbclass: revert "Inhibit the default dependencies"
- bitbake: SECURITY.md: add file
- brief-yoctoprojectqs: use new CDN mirror for sstate
- bsp-guide: bsp.rst: update beaglebone example
- bsp-guide: bsp: skip Intel machines no longer supported in Poky
- build-appliance-image: Update to nanbield head revision
- contributor-guide: add patchtest section
- contributor-guide: clarify patchtest usage
- cve-check: don't warn if a patch is remote
- cve-check: slightly more verbose warning when adding the same package twice
- cve-check: sort the package list in the JSON report
- dev-manual: add security team processes
- dev-manual: extend the description of CVE patch preparation
- dev-manual: layers: Add notes about layer.conf
- dev-manual: new-recipe.rst: add missing parenthesis to "Patching Code" section
- dev-manual: start.rst: remove obsolete reference
- dev-manual: wic: update "wic list images" output
- docs: add support for nanbield (4.3) release
- documentation.conf: drop SERIAL_CONSOLES_CHECK
- ell: Upgrade to 0.59
- glib-2.0: Remove unnecessary assignement
- goarch: Move Go architecture mapping to a library
- kernel-arch: drop CCACHE from :term:`KERNEL_STRIP` definition
- kernel.bbclass: Use strip utility used for kernel build in do_package
- layer.conf: Switch layer to nanbield series only
- libsdl2: upgrade to 2.28.4
- linux-yocto: make sure the pahole-native available before do_kernel_configme
- llvm: Upgrade to 17.0.3
- machine: drop obsolete SERIAL_CONSOLES_CHECK
- manuals: correct "yocto-linux" by "linux-yocto"
- manuals: improve description of :term:`CVE_STATUS` and :term:`CVE_STATUS_GROUPS`
- manuals: Remove references to apm in :term:`MACHINE_FEATURES`
- manuals: update linux-yocto append examples
- manuals: update list of supported machines
- migration-4.3: additional migration items
- migration-4.3: adjustments to existing text
- migration-4.3: remove some unnecessary items
- migration-guides: QEMU_USE_SLIRP variable removed
- migration-guides: add BitBake changes
- migration-guides: add debian 12 to newly supported distros
- migration-guides: add kernel notes
- migration-guides: add testing notes
- migration-guides: add utility notes
- migration-guides: edgerouter machine removed
- migration-guides: enabling :term:`SPDX` only for Poky, not a global default
- migration-guides: fix empty sections
- migration-guides: further updates for 4.3
- migration-guides: further updates for release 4.3
- migration-guides: git recipes reword
- migration-guides: mention CDN
- migration-guides: mention LLVM 17
- migration-guides: mention runqemu change in serial port management
- migration-guides: packaging changes
- migration-guides: remove SERIAL_CONSOLES_CHECK
- migration-guides: remove non-notable change
- migration-guides: updates for 4.3
- oeqa/selftest/debuginfod: improve selftest
- oeqa/selftest/devtool: abort if a local workspace already exist
- oeqa/ssh: Handle SSHCall timeout error code
- openssl: Upgrade to 3.1.4
- overview-manual: concepts: Add Bitbake Tasks Map
- patchtest-send-results: add In-Reply-To
- patchtest-send-results: check max line length, simplify responses
- patchtest-send-results: fix sender parsing
- patchtest-send-results: improve subject line
- patchtest-send-results: send results to submitter
- patchtest/selftest: add XSKIP, update test files
- patchtest: disable merge test
- patchtest: fix lic_files_chksum test regex
- patchtest: make pylint tests compatible with 3.x
- patchtest: reduce checksum test output length
- patchtest: remove test for CVE tag in mbox
- patchtest: remove unused imports
- patchtest: rework license checksum tests
- patchtest: shorten test result outputs
- patchtest: simplify test directory structure
- patchtest: skip merge test if not targeting master
- patchtest: test regardless of mergeability
- perl: fix intermittent test failure
- poky.conf: bump version for 4.3.1 release
- profile-manual: aesthetic cleanups
- ref-manual: Add documentation for the unimplemented-ptest QA warning
- ref-manual: Fix :term:`PACKAGECONFIG` term and add an example
- ref-manual: Warn about :term:`COMPATIBLE_MACHINE` skipping native recipes
- ref-manual: add systemd-resolved to distro features
- ref-manual: classes: explain cml1 class name
- ref-manual: document :term:`KERNEL_LOCALVERSION`
- ref-manual: document :term:`KERNEL_STRIP`
- ref-manual: document :term:`MESON_TARGET`
- ref-manual: document cargo_c class
- ref-manual: remove semicolons from ``*PROCESS_COMMAND`` variables
- ref-manual: update :term:`SDK_NAME` variable documentation
- ref-manual: variables: add :term:`RECIPE_MAINTAINER`
- ref-manual: variables: add :term:`RECIPE_SYSROOT` and :term:`RECIPE_SYSROOT_NATIVE`
- ref-manual: variables: add :term:`TOOLCHAIN_OPTIONS` variable
- ref-manual: variables: add example for :term:`SYSROOT_DIRS` variable
- ref-manual: variables: document :term:`OEQA_REPRODUCIBLE_TEST_PACKAGE`
- ref-manual: variables: mention new CDN for :term:`SSTATE_MIRRORS`
- ref-manual: variables: provide no-match example for :term:`COMPATIBLE_MACHINE`
- ref-manual: variables: remove SERIAL_CONSOLES_CHECK
- release-notes-4.3: add CVEs, recipe upgrades, license changes, contributors
- release-notes-4.3: add Repositories / Downloads section
- release-notes-4.3: feature additions
- release-notes-4.3: fix some typos
- release-notes-4.3: move new classes to Rust section
- release-notes-4.3: remove the Distribution section
- release-notes-4.3: tweaks to existing text
- sdk-manual: appendix-obtain: improve and update descriptions
- test-manual: reproducible-builds: stop mentioning LTO bug
- vim: Improve locale handling
- vim: Upgrade to 9.0.2068
- vim: use upstream generated .po files
Known Issues in Yocto-4.3.1
~~~~~~~~~~~~~~~~~~~~~~~~~~~
- N/A
Contributors to Yocto-4.3.1
~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Alejandro Hernandez Samaniego
- Alex Stewart
- Archana Polampalli
- Arne Schwerdt
- BELHADJ SALEM Talel
- Dmitry Baryshkov
- Eero Aaltonen
- Joshua Watt
- Julien Stephan
- Jérémy Rosen
- Khem Raj
- Lee Chee Yang
- Marta Rybczynska
- Max Krummenacher
- Michael Halstead
- Michael Opdenacker
- Paul Eggleton
- Peter Kjellerstedt
- Peter Marko
- Quentin Schulz
- Richard Purdie
- Robert P. J. Day
- Ross Burton
- Rouven Czerwinski
- Steve Sakoman
- Trevor Gamblin
- Wang Mingyu
- William Lyu
- Xiangyu Chen
- luca fancellu
Repositories / Downloads for Yocto-4.3.1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
poky
- Repository Location: :yocto_git:`/poky`
- Branch: :yocto_git:`nanbield </poky/log/?h=nanbield>`
- Tag: :yocto_git:`yocto-4.3.1 </poky/log/?h=yocto-4.3.1>`
- Git Revision: :yocto_git:`bf9f2f6f60387b3a7cd570919cef6c4570edcb82 </poky/commit/?id=bf9f2f6f60387b3a7cd570919cef6c4570edcb82>`
- Release Artefact: poky-bf9f2f6f60387b3a7cd570919cef6c4570edcb82
- sha: 9b4351159d728fec2b63a50f1ac15edc412e2d726e9180a40afc06051fadb922
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.3.1/poky-bf9f2f6f60387b3a7cd570919cef6c4570edcb82.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.3.1/poky-bf9f2f6f60387b3a7cd570919cef6c4570edcb82.tar.bz2
openembedded-core
- Repository Location: :oe_git:`/openembedded-core`
- Branch: :oe_git:`nanbield </openembedded-core/log/?h=nanbield>`
- Tag: :oe_git:`yocto-4.3.1 </openembedded-core/log/?h=yocto-4.3.1>`
- Git Revision: :oe_git:`cce77e8e79c860f4ef0ac4a86b9375bf87507360 </openembedded-core/commit/?id=cce77e8e79c860f4ef0ac4a86b9375bf87507360>`
- Release Artefact: oecore-cce77e8e79c860f4ef0ac4a86b9375bf87507360
- sha: e6cde08e7c549f57a67d833a36cdb942648fba81558dc8b0e65332d2a2c023cc
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.3.1/oecore-cce77e8e79c860f4ef0ac4a86b9375bf87507360.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.3.1/oecore-cce77e8e79c860f4ef0ac4a86b9375bf87507360.tar.bz2
meta-mingw
- Repository Location: :yocto_git:`/meta-mingw`
- Branch: :yocto_git:`nanbield </meta-mingw/log/?h=nanbield>`
- Tag: :yocto_git:`yocto-4.3.1 </meta-mingw/log/?h=yocto-4.3.1>`
- Git Revision: :yocto_git:`49617a253e09baabbf0355bc736122e9549c8ab2 </meta-mingw/commit/?id=49617a253e09baabbf0355bc736122e9549c8ab2>`
- Release Artefact: meta-mingw-49617a253e09baabbf0355bc736122e9549c8ab2
- sha: 2225115b73589cdbf1e491115221035c6a61679a92a93b2a3cf761ff87bf4ecc
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.3.1/meta-mingw-49617a253e09baabbf0355bc736122e9549c8ab2.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.3.1/meta-mingw-49617a253e09baabbf0355bc736122e9549c8ab2.tar.bz2
bitbake
- Repository Location: :oe_git:`/bitbake`
- Branch: :oe_git:`2.6 </bitbake/log/?h=2.6>`
- Tag: :oe_git:`yocto-4.3.1 </bitbake/log/?h=yocto-4.3.1>`
- Git Revision: :oe_git:`936fcec41efacc4ce988c81882a9ae6403702bea </bitbake/commit/?id=936fcec41efacc4ce988c81882a9ae6403702bea>`
- Release Artefact: bitbake-936fcec41efacc4ce988c81882a9ae6403702bea
- sha: efbdd5fe7f29227a3fd26d6a08a368bf8215083a588b4d23f3adf35044897520
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.3.1/bitbake-936fcec41efacc4ce988c81882a9ae6403702bea.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.3.1/bitbake-936fcec41efacc4ce988c81882a9ae6403702bea.tar.bz2
yocto-docs
- Repository Location: :yocto_git:`/yocto-docs`
- Branch: :yocto_git:`nanbield </yocto-docs/log/?h=nanbield>`
- Tag: :yocto_git:`yocto-4.3.1 </yocto-docs/log/?h=yocto-4.3.1>`
- Git Revision: :yocto_git:`6b98a6164263298648e89b5a5ae1260a58f1bb35 </yocto-docs/commit/?id=6b98a6164263298648e89b5a5ae1260a58f1bb35>`

View File

@@ -1,16 +1,24 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Release notes for 4.3 (nandbield)
----------------------------------
Release notes for 4.3 (nanbield)
--------------------------------
New Features / Enhancements in 4.3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Linux kernel 6.x, glibc 2.xx and ~xxx other recipe upgrades
- Linux kernel 6.5 and 6.1, gcc 13, glibc 2.38, LLVM 17, and over 300 other recipe upgrades
- The autobuilder's shared-state artefacts are now available over the `jsDelivr
<https://jsdelivr.com>`__ Content Delivery Network (CDN).
See :term:`SSTATE_MIRRORS`.
- New variables:
- :term:`FILE_LAYERNAME`: bitbake now sets this to the name of the layer containing the recipe
- :term:`CVE_CHECK_STATUSMAP`, :term:`CVE_STATUS`, :term:`CVE_STATUS_GROUPS`,
replacing the deprecated :term:`CVE_CHECK_IGNORE`.
- :term:`FILE_LAYERNAME`: bitbake now sets this to the name of the layer
containing the recipe
- :term:`FIT_ADDRESS_CELLS` and :term:`UBOOT_FIT_ADDRESS_CELLS`.
See details below.
@@ -19,62 +27,257 @@ New Features / Enhancements in 4.3
- :term:`KERNEL_DTBVENDORED`: whether to keep vendor subdirectories.
- :term:`KERNEL_LOCALVERSION`: to add a string to the kernel version
information.
- :term:`KERNEL_STRIP`: to specify the command to strip the kernel binary.
- :term:`LICENSE_FLAGS_DETAILS`: add extra details about a recipe license
in case it is not allowed by :term:`LICENSE_FLAGS_ACCEPTED`.
- Layername functionality available through overrides
- :term:`MESON_TARGET`: to compile a specific Meson target instead of the
default ones.
Code can now know which layer a recipe is coming from through the newly added :term:`FILE_LAYERNAME`
variable. This has been added as an override of the form ``layer-<layername>``. In particular,
this means QA checks can now be layer specific, for example::
- :term:`OEQA_REPRODUCIBLE_TEST_PACKAGE`: to restrict package managers used
in reproducibility testing.
ERROR_QA:layer-core:append = " patch-status"
- Layername functionality available through overrides
which will enable the ``patch-status`` QA check for the core layer.
Code can now know which layer a recipe is coming from through the newly added :term:`FILE_LAYERNAME`
variable. This has been added as an override of the form ``layer-<layername>``. In particular,
this means QA checks can now be layer specific, for example::
ERROR_QA:layer-core:append = " patch-status"
This will enable the ``patch-status`` QA check for the core layer.
- Architecture-specific enhancements:
- RISCV support is now enabled in LLVM 17.
- Loongarch support in the :ref:`ref-classes-linuxloader` class and
``core-image-minimal-initramfs`` image.
- The ``arch-armv8`` and ``arch-armv9`` architectures are now given
`Scalable Vector Extension (SVE)
<https://developer.arm.com/documentation/100891/0612/sve-overview/introducing-sve>`__
based tune options. Commits:
:yocto_git:`1 </poky/commit/?id=e4be03be5be62e367a40437a389121ef97d6cff3>`,
:yocto_git:`2 </poky/commit/?id=8cd5d264af4c346730531cb98ae945ab862dbd69>`.
- Many changes to support 64-bit ``time_t`` on 32-bit architectures
- Kernel-related enhancements:
- The default kernel is the current stable (6.5), and there is also support
for the latest long-term release (6.1).
- The list of fixed kernel CVEs is updated regularly using data from
`linuxkernelcves.com <https://linuxkernelcves.com>`__.
- A ``showconfig`` task was added to the :ref:`ref-classes-cml1` class, to
easily examine the final generated ``.config`` file.
- New core recipes:
- New classes:
- `appstream <https://github.com/ximion/appstream>`__: a collaborative effort
for making machine-readable software metadata easily available
(from meta-oe)
- A ``ptest-cargo`` class was added to allow Cargo based recipes to easily add ptests
- `cargo-c-native <https://crates.io/crates/cargo-c>`__: cargo applet to build
and install C-ABI compatible dynamic and static libraries
- QEMU/runqemu enhancements:
- `libadwaita <https://gitlab.gnome.org/GNOME/libadwaita>`__: Building blocks
for modern GNOME applications (from meta-gnome)
- QEMU has been upgraded to version 8.0
- `libtraceevent <https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/>`__:
API to access the kernel tracefs directory (from meta-openembedded)
- `libxmlb <https://github.com/hughsie/libxmlb>`__: A library to help create
and query binary XML blobs (from meta-oe)
- ``musl-legacy-error``: glibc ``error()`` API implementation still needed
by a few packages.
- `python3-beartype <https://beartype.readthedocs.io>`__, unbearably fast
runtime type checking in pure Python.
- `python3-booleanpy <https://github.com/bastikr/boolean.py>`__: Define boolean
algebras, create and parse boolean expressions and create custom boolean DSL
(from meta-python)
- `python3-calver <https://github.com/di/calver>`__: Setuptools extension for
CalVer package versions
- `python3-click <http://click.pocoo.org/>`__: A simple wrapper around optparse
for powerful command line utilities (from meta-python)
- ``python3-dtc``: Python Library for the Device Tree Compiler (from
meta-virtualization)
- `python3-isodate <https://github.com/gweis/isodate/>`__: ISO 8601 date/time
parser (from meta-python)
- `python3-license-expression <https://github.com/nexB/license-expression>`__:
Utility library to parse, compare, simplify and normalize license expressions
(from meta-python)
- `python3-rdflib <https://github.com/RDFLib/rdflib>`__: a pure Python package
for working with RDF (from meta-python)
- `python3-spdx-tools <https://github.com/spdx/tools-python>`__,
tools for SPDX validation and conversion.
- `python3-trove-classifiers <https://github.com/pypa/trove-classifiers>`__:
Canonical source for classifiers on PyPI (pypi.org)
- `python3-uritools <https://github.com/tkem/uritools/>`__, replacement for
the ``urllib.parse`` module.
- `python3-xmltodict <https://github.com/martinblech/xmltodict>`__: Makes
working with XML feel like you are working with JSON (from meta-python)
- `ttyrun <https://github.com/ibm-s390-linux/s390-tools>`__, starts
``getty`` programs only when a terminal exists, preventing respawns
through the ``init`` program. This enabled removing the
``SERIAL_CONSOLES_CHECK`` variable.
- ``vulkan-validation-layers``: Khronos official validation layers to assist in
verifying that applications correctly use the
`Vulkan API <https://www.khronos.org/vulkan>`__.
- `xcb-util-cursor <http://xcb.freedesktop.org/XcbUtil/>`__: XCB port of
libXcursor (from meta-oe)
- QEMU / ``runqemu`` enhancements:
- QEMU has been upgraded to version 8.1
- Many updates to the ``runqemu`` command.
- The ``qemu-system-native`` recipe is now built with PNG support, which could be
useful to grab screenshots for error reporting purposes.
- Rust improvements:
- Rust has been upgraded to version 1.69
- Rust has been upgraded to version 1.70
- Image-related enhancements:
- New ``ptest-cargo`` class was added to allow Cargo based recipes to easily add ptests
- New :ref:`ref-classes-cargo_c` class was added to allow recipes to make Rust code
available to C and C++ programs. See
``meta-selftest/recipes-devtools/rust/rust-c-lib-example_git.bb`` for an example.
- wic Image Creator enhancements:
- ``bootimg-efi``: if ``fixed-size`` is set then use that for mkdosfs
- ``bootimg-efi``: stop hardcoding VMA offsets, as required by systemd-boot v254
(and dracut/ukify)
- ``bootimg-pcbios``: use kernel name from :term:`KERNEL_IMAGETYPE` instead of
hardcoding ``vmlinuz``
- Added new ``gpt-hybrid`` option to ``ptable_format`` (formatting a disk with a hybrid
MBR and GPT partition scheme)
- Use ``part_name`` in default imager when defined
- Added ``--hidden`` argument to default imager to avoid MS Windows prompting to
format partition after flashing to a USB stick/SD card
- FIT image related improvements:
- New :term:`FIT_ADDRESS_CELLS` and :term:`UBOOT_FIT_ADDRESS_CELLS` variables allowing
to specify 64 bit addresses, typically for loading U-Boot.
- Added ``compatible`` line to config section (with value from dtb) to allow bootloaders
to select the best matching configuration.
- SDK-related improvements:
- Extended the following recipes to ``nativesdk``: ``libwebp``, ``python3-ply``
- Testing:
- The :ref:`ref-classes-insane` class now adds an :ref:`unimplemented-ptest
<qa-check-unimplemented-ptest>` infrastructure to detect package sources
with unit tests but no implemented ptests in the recipe.
- A new task to perform recipe-wide QA checks was added: ``do_recipe_qa``.
- New build-time checks for set :term:`SUMMARY`, :term:`HOMEPAGE`, and
:term:`RECIPE_MAINTAINER` fields was added, and enabled for the core
recipes.
- The ``parselogs`` runtime test was rewritten. Notably it no longer uses
regular expressions, which may mean custom patterns need updating.
- A self-test to validate that the :term:`SPDX` manifests generated by
image builds are valid was added.
- The ``QEMU_USE_SLIRP`` variable has been replaced by adding ``slirp`` to
``TEST_RUNQEMUPARAMS``.
- Utility script changes:
- New ``scripts/patchtest`` utility to check patches to the
OpenEmbedded-Core project. See
:ref:`contributor-guide/submit-changes:validating patches with patchtest`
for details.
- ``scripts/bblock`` was added, allowing the user to lock/unlock specific
recipes from being built. This makes it possibly to work on the
``python3`` recipe without causing ``python3-native`` to rebuild.
- BitBake improvements:
- A fetcher for the Google Cloud Platform (``gs://``) was added.
- The BitBake Cooker log now contains notes when the caches are
invalidated which is useful for memory resident bitbake debugging.
invalidated which is useful for memory resident BitBake debugging.
- BitBake no longer watches files with :wikipedia:`inotify <inotify>` for
changes, as under load this can lead to races causing build instability.
- Toaster's dependencies were upgraded to current releases, specifically
to Django 4.2.
- Packaging changes:
- :term:`FILES` now accepts a ``**`` wildcard, which matches zero or more
subdirectories.
- The X server packagegroup now defaults to using the ``modesetting`` X
driver, which obsoletes the ``fbdev`` driver.
- If a recipe uses :term:`LICENSE_FLAGS` and the licenses are not accepted,
it can set a custom message with :term:`LICENSE_FLAGS_DETAILS` to be
displayed to the users.
- Recipes that fetch specific revisions no longer need to explicitly add
:term:`SRCPV` to :term:`PV` as BitBake will now automatically add the
revision information to :term:`PKGV` if needed (as long as "+" is still
present in the :term:`PKGV` value, which is set from :term:`PV` by
default).
- The default :term:`PR` values in many recipes have been removed.
- Security improvements:
- Most repositories now include a :yocto_git:`SECURITY.md
</poky/tree/SECURITY.md>` file with hints for security researchers
and other parties who might report potential security vulnerabilities.
- Prominent documentation updates:
- Long due documentation for the :ref:`ref-classes-devicetree` class.
- New :doc:`../contributor-guide/index` document.
- New :doc:`../dev-manual/security-subjects` chapter in the Development
Tasks Manual.
- Long overdue documentation for the :ref:`ref-classes-devicetree` class.
- New :ref:`summary about available init systems
<dev-manual/init-manager:summary>`.
@@ -85,26 +288,678 @@ New Features / Enhancements in 4.3
- Miscellaneous changes:
- Git based recipes in OE-Core which used the git protocol have been
changed to use https where possibile. https is now believed to be
faster and more reliable.
- Selecting systemd via :term:`INIT_MANAGER` now adds ``usrmerge`` to
:term:`DISTRO_FEATURES` as current versions of systemd now require
merged ``/usr``.
- Generation of :term:`SPDX` manifests is now enabled by default.
- Git based recipes in OE-Core which used the ``git`` protocol have been
changed to use `https`` where possible, as it is typically faster and
more reliable.
- The ``os-release`` recipe added a ``CPE_NAME`` to the fields provided, with the
default being populated from :term:`DISTRO`.
- The ``psplash`` recipe now accepts a PNG format image through
:term:`SPLASH_IMAGES`, instead of a harder to generate and modify
``.h`` file.
- The ; character is no longer needed to separate functions specified in
:term:`IMAGE_POSTPROCESS_COMMAND`, :term:`IMAGE_PREPROCESS_COMMAND`,
:term:`POPULATE_SDK_POST_HOST_COMMAND`, :term:`ROOTFS_POSTINSTALL_COMMAND`
etc. (If any are present they will be replaced with spaces, so existing
metadata does not yet need to be changed.)
- In the ``Upstream-Status`` field in a patch header, "Accepted" is no longer
a valid value since it is logically the same as "Backport". Change any
values you have (particularly in patches applied through bbappends for core
recipes, since they will be validated as indicated above).
Known Issues in 4.3
~~~~~~~~~~~~~~~~~~~
- N/A
Recipe License changes in 4.3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The following corrections have been made to the :term:`LICENSE` values set by recipes:
- ``glib-networking``: make :term:`LICENSE` more accurate (``LGPL-2.1`` -> ``LGPL-2.1-or-later``) and add an exception for linking to OpenSSL if it is enabled (``openssl`` is in :term:`PACKAGECONFIG`)
- ``libbsd``: set per-package licensing to clarify that BSD-4-Clause code is only in the ``-doc`` package
- ``openssh``: BSD-4-Clause code has been removed completely from the codebase as part of 9.4p1 update - previously in the kirkstone release, ``BSD-4-Clause`` was removed from the :term:`LICENSE` value in our recipe, however some BSD-4-Clause code actually still remained upstream until 9.4p1.
- ``python3-sphinx``: remove ``BSD-3-Clause`` from :term:`LICENSE` - BSD-3-Clause code was removed as part of the python3-sphinx 7.0.1 release (see `this upstream commit <https://github.com/sphinx-doc/sphinx/commit/a7f5d91c29d6f377b9fe7e926965c6f9d3e7b802>`__)
Security Fixes in 4.3
~~~~~~~~~~~~~~~~~~~~~
- bind: :cve:`2023-2911`, :cve:`2023-2828`, :cve:`2023-3341`, :cve:`2023-4236`
- binutils: :cve:`2023-1972`
- connman: :cve:`2023-28488`
- cups: :cve:`2023-32324`, :cve:`2023-34241`, :cve:`2023-4504`
- dbus: :cve:`2023-34969`
- dmidecode: :cve:`2023-30630`
- dropbear: :cve:`2023-36328`
- erofs-utils: :cve:`2023-33551`, :cve:`2023-33552`
- gcc: :cve:`2023-4039`
- ghostscript: :cve:`2023-28879`, :cve:`2023-36664`, :cve:`2023-38559;` ignore :cve:`2023-38560`
- git: :cve:`2023-25652`, :cve:`2023-29007`
- glibc: :cve:`2023-4527`, :cve:`2023-4806`
- go: :cve:`2023-24537`, :cve:`2023-39325`
- gstreamer: :cve:`2023-40475`, :cve:`2023-40476`
- inetutils: :cve:`2023-40303`
- libarchive: ignore :cve:`2023-30571`
- librsvg: :cve:`2023-38633`
- libwebp: :cve:`2023-1999`, :cve:`2023-4863`
- libx11: :cve:`2023-3138`, :cve:`2023-43785`, :cve:`2023-43786`, :cve:`2023-43787`
- libxml2: :cve:`2023-28484`, :cve:`2023-29469;` ignore disputed :cve:`2023-45322`
- libxpm: :cve:`2023-43788`, :cve:`2023-43789`, :cve:`2022-44617`
- linux: update CVE exclusions
- ncurses: :cve:`2023-29491`
- nghttp2: :cve:`2023-44487`
- ninja: ignore :cve:`2021-4336`, wrong ninja
- openssh: :cve:`2023-38408`
- openssl: :cve:`2023-2650`, :cve:`2023-1255`, :cve:`2023-0466`, :cve:`2023-0465`, :cve:`2023-0464`, :cve:`2023-3817`, :cve:`2023-3446`, :cve:`2023-2975`, :cve:`2023-4807`
- perl: :cve:`2023-31484`, :cve:`2023-31486`
- pixman: ignore :cve:`2023-37769`
- procps: :cve:`2023-4016`
- python3-git: :cve:`2023-41040`
- python3: ignore :cve:`2023-36632`
- python3-urllib3: :cve:`2023-43804`
- qemu: :cve:`2023-40360`, :cve:`2023-42467;` ignore :cve:`2023-0664` (Windows-specific), ignore :cve:`2023-2680` (RHEL specific)
- screen: :cve:`2023-24626`
- shadow: :cve:`2023-29383`
- sqlite3: ignore :cve:`2023-36191`
- sysstat: :cve:`2023-33204`
- tiff: :cve:`2022-4645`, :cve:`2023-2731`, :cve:`2023-26965`, :cve:`2023-40745`, :cve:`2023-41175`
- vim: :cve:`2023-2426`, :cve:`2023-2609`, :cve:`2023-2610`, :cve:`2023-3896`, :cve:`2023-5441`, :cve:`2023-5535`
- zlib: ignore :cve:`2023-45853`
Recipe Upgrades in 4.3
~~~~~~~~~~~~~~~~~~~~~~
- acpica: upgrade 20220331 -> 20230628
- adwaita-icon-theme: 43 -> 45.0
- alsa-lib: upgrade 1.2.8 -> 1.2.10
- alsa-ucm-conf: upgrade 1.2.8 -> 1.2.10
- alsa-utils: upgrade 1.2.8 -> 1.2.10
- apr: upgrade 1.7.2 -> 1.7.4
- apt: Upgrade to v2.6.0
- at-spi2-core: update 2.46.0 -> 2.50.0
- autoconf: Upgrade to 2.72c
- babeltrace2: upgrade 2.0.4 -> 2.0.5
- bind: upgrade 9.18.12 -> 9.18.19
- binutils: Upgrade to 2.41 release
- bluez5: upgrade 5.66 -> 5.69
- boost: upgrade 1.81.0 -> 1.83.0
- btrfs-tools: upgrade 6.1.3 -> 6.5.1
- busybox: 1.36.0 -> 1.36.1
- ccache: upgrade 4.7.4 -> 4.8.3
- cmake: upgrade to 3.27.5
- connman: update 1.41 -> 1.42
- coreutils: upgrade 9.1 -> 9.4
- cpio: upgrade to 2.14
- cracklib: upgrade 2.9.10 -> 2.9.11
- createrepo-c: update 0.20.1 -> 1.0.0
- cryptodev: update to 1.13 + latest git
- cups: upgrade to 2.4.6
- curl: upgrade 8.0.1 -> 8.4.0
- dbus: upgrade 1.14.6 -> 1.14.10
- debianutils: upgrade 5.8 -> 5.13
- dhcpcd: upgrade to 10.0.2
- diffoscope: upgrade 236 -> 249
- diffutils: update 3.9 -> 3.10
- dmidecode: upgrade to 3.5
- dnf: upgrade 4.14.0 -> 4.17.0
- dos2unix: upgrade 7.4.4 -> 7.5.1
- dpkg: upgrade to v1.22.0
- efivar: Upgrade to tip of trunk
- elfutils: upgrade 0.188 -> 0.189
- ell: upgrade 0.56 -> 0.58
- enchant2: upgrade 2.3.4 -> 2.6.1
- epiphany: upgrade 43.1 -> 44.6
- erofs-utils: update 1.5 -> 1.6
- ethtool: upgrade 6.2 -> 6.5
- eudev: Upgrade 3.2.11 -> 3.2.12
- ffmpeg: update 5.1.2 -> 6.0
- file: upgrade 5.44 -> 5.45
- flac: Upgrade 1.4.2 -> 1.4.3
- font-util: upgrade 1.4.0 -> 1.4.1
- freetype: upgrade 2.13.0 -> 2.13.2
- fribidi: upgrade 1.0.12 -> 1.0.13
- gawk: upgrade 5.2.1 -> 5.2.2
- gcc: upgrade to 13.2
- gcompat: Upgrade to 1.1.0
- gcr: update 4.0.0 -> 4.1.0
- gdb: upgrade 13.1 -> 13.2
- gettext: upgrade 0.21.1 -> 0.22
- ghostscript: upgrade to 10.02.0
- git: upgrade to 2.42.0
- glib-2.0: upgrade 2.74.6 -> 2.78.0
- glibc: upgrade to 2.38 + stable updates
- glib-networking: upgrade 2.74.0 -> 2.76.1
- glslang: upgrade to 1.3.243
- gmp: upgrade 6.2.1 -> 6.3.0
- gnu-efi: upgrade 3.0.15 -> 3.0.17
- gnupg: upgrade 2.4.0 -> 2.4.3
- gnutls: update 3.8.0 -> 3.8.1
- gobject-introspection: upgrade 1.74.0 -> 1.78.1
- go-helloworld: Upgrade to tip of trunk
- go: update 1.20.1 -> 1.20.10
- gpgme: update 1.18.0 -> 1.22.0
- grep: upgrade 3.10 -> 3.11
- groff: update 1.22.4 -> 1.23.0
- gsettings-desktop-schemas: upgrade 43.0 -> 44.0
- gstreamer1.0: upgrade 1.22.0 -> 1.22.5
- gstreamer: upgrade 1.22.5 -> 1.22.6
- gtk+3: upgrade 3.24.36 -> 3.24.38
- gtk4: update 4.10.0 -> 4.12.3
- gzip: update 1.12 -> 1.13
- harfbuzz: upgrade 7.1.0 -> 8.2.1
- icu: upgrade 72-1 -> 73-2
- igt-gpu-tools: update 1.27.1 -> 1.28
- iproute2: upgrade 6.2.0 -> 6.5.0
- iso-codes: upgrade 4.13.0 -> 4.15.0
- jquery: upgrade 3.6.3 -> 3.7.1
- json-c: upgrade 0.16 -> 0.17
- kbd: upgrade 2.5.1 -> 2.6.3
- kea: upgrade to v2.4.0
- kexec-tools: upgrade 2.0.26 -> 2.0.27
- kmscube: upgrade to latest revision
- less: update 608 -> 643
- libadwaita: upgrade 1.3.3 -> 1.4.0
- libarchive: upgrade 3.6.2 -> 3.7.2
- libassuan: upgrade 2.5.5 -> 2.5.6
- libatomic-ops: update 7.6.14 -> 7.8.0
- libcap: upgrade 2.67 -> 2.69
- libcgroup: update 3.0.0 -> 3.1.0
- libconvert-asn1-perl: upgrade 0.33 -> 0.34
- libdnf: update 0.70.1 -> 0.70.1
- libdrm: upgrade 2.4.115 -> 2.4.116
- libedit: upgrade 20221030-3.1 -> 20230828-3.1
- libevdev: upgrade 1.13.0 -> 1.13.1
- libgcrypt: update 1.10.1 -> 1.10.2
- libgit2: upgrade 1.6.3 -> 1.7.1
- libglu: update 9.0.2 -> 9.0.3
- libgpg-error: update 1.46 -> 1.47
- libgudev: upgrade 237 -> 238
- libhandy: upgrade 1.8.1 -> 1.8.2
- libinput: upgrade to 1.24.0
- libjpeg-turbo: upgrade to 3.0.0
- libksba: upgrade 1.6.3 -> 1.6.4
- libmd: upgrade 1.0.4 -> 1.1.0
- libmicrohttpd: upgrade 0.9.76 -> 0.9.77
- libmodule-build-perl: upgrade 0.4232 -> 0.4234
- libmodulemd: upgrade 2.14.0 -> 2.15.0
- libnl: upgrade 3.7.0 -> 3.8.0
- libnss-nis: upgrade 3.1 -> 3.2
- libpam: update 1.5.2 -> 1.5.3
- libpcap: upgrade 1.10.3 -> 1.10.4
- libpng: upgrade 1.6.39 -> 1.6.40
- libportal: upgrade 0.6 -> 0.7.1
- libproxy: update 0.4.18 -> 0.5.3
- libpthread-stubs: update 0.4 -> 0.5
- librepo: upgrade 1.15.1 -> 1.16.0
- librsvf: update 2.54.5 -> 2.56.0
- librsvg: update 2.56.0 -> 2.56.3
- libsdl2: upgrade 2.26.3 -> 2.28.3
- libsecret: upgrade 0.20.5 -> 0.21.1
- libsndfile1: upgrade 1.2.0 -> 1.2.2
- libsolv: upgrade 0.7.23 -> 0.7.25
- libsoup: upgrade 3.2.2 -> 3.4.2
- libssh2: update 1.10.0 -> 1.11.0
- libtraceevent: upgrade 1.7.2 -> 1.7.3
- libubootenv: upgrade 0.3.3 -> 0.3.4
- liburi-perl: update 5.17 -> 5.21
- libuv: upgrade 1.44.2 -> 1.46.0
- libva: update 2.16 -> 2.19.0
- libva-utils: update 2.19.0 -> 2.20.0
- libwebp: upgrade 1.3.0 -> 1.3.2
- libx11: upgrade 1.8.4 -> 1.8.7
- libxcb: upgrade 1.15 -> 1.16
- libxcrypt: upgrade 4.4.33 -> 4.4.36
- libxfixes: Upgrade to v6.0.1
- libxft: upgrade 2.3.7 -> 2.3.8
- libxi: upgrade to v1.8.1
- libxml2: upgrade 2.10.3 -> 2.11.5
- libxpm: upgrade 3.5.15 -> 3.5.17
- libxslt: upgrade 1.1.37 -> 1.1.38
- libxt: Upgrade to v1.3.0
- lighttpd: upgrade 1.4.69 -> 1.4.71
- linux-firmware: upgrade 20230210 -> 20230804
- linux-libc-headers: uprev to v6.5
- linux-yocto/6.1: update to v6.1.57
- linux-yocto-dev: update to v6.6-rcX
- linux-yocto: introduce 6.5 reference kernel recipes
- llvm: Upgrade to 17.0.2
- ltp: upgrade 20230127 -> 20230516
- lttng-modules: Upgrade 2.13.9 -> 2.13.10
- lttng-tools: Upgrade 2.13.9 -> 2.13.11
- lttng-ust: upgrade 2.13.5 -> 2.13.6
- lua: update 5.4.4 -> 5.4.6
- man-pages: upgrade 6.03 -> 6.05.01
- mc: upgrade 4.8.29 -> 4.8.30
- mesa: upgrade 23.0.0 -> 23.2.1
- meson: upgrade 1.0.1 -> 1.2.2
- mmc-utils: upgrade to latest revision
- mobile-broadband-provider-info: upgrade 20221107 -> 20230416
- mpfr: upgrade 4.2.0 -> 4.2.1
- mpg123: upgrade 1.31.2 -> 1.31.3
- msmtp: upgrade 1.8.23 -> 1.8.24
- mtd-utils: upgrade 2.1.5 -> 2.1.6
- mtools: upgrade 4.0.42 -> 4.0.43
- musl: update to latest master
- neard: upgrade 0.18 -> 0.19
- nettle: upgrade 3.8.1 -> 3.9.1
- nfs-utils: upgrade 2.6.2 -> 2.6.3
- nghttp2: upgrade 1.52.0 -> 1.57.0
- ofono: upgrade 2.0 -> 2.1
- openssh: upgrade to 9.5p1
- openssl: upgrade 3.1.0 -> 3.1.3
- opkg: upgrade 0.6.1 -> 0.6.2
- opkg-utils: upgrade 0.5.0 -> 0.6.2
- orc: upgrade 0.4.33 -> 0.4.34
- ovmf: update 202211 -> 202305
- ovmf: update edk2-stable202305 -> edk2-stable202308
- p11-kit: upgrade 0.24.1 -> 0.25.0
- pango: upgrade 1.50.13 -> 1.51.0
- parted: upgrade 3.5 -> 3.6
- patchelf: Upgrade 0.17.2 -> 0.18.0
- pciutils: upgrade 3.9.0 -> 3.10.0
- perlcross: update 1.4 -> 1.5
- perl: update 5.36.0 -> 5.38.0
- piglit: upgrade to latest revision
- pigz: upgrade 2.7 -> 2.8
- pkgconf: upgrade 1.9.4 -> 2.0.3
- ppp: upgrade 2.4.9 -> 2.5.0
- procps: update 4.0.3 -> 4.0.4
- puzzles: upgrade to latest revision
- python3-attrs: upgrade 22.2.0 -> 23.1.0
- python3-build: upgrade to 1.0.3
- python3-certifi: upgrade 2022.12.7 -> 2023.7.22
- python3-chardet: upgrade 5.1.0 -> 5.2.0
- python3-cryptography{-vectors}: upgrade 39.0.2 -> 41.0.4
- python3-cython: upgrade 0.29.33 -> 0.29.36
- python3-dbusmock: upgrade 0.28.7 -> 0.29.1
- python3-docutils: upgrade 0.19 -> 0.20.1
- python3-dtc: upgrade 1.6.1 -> 1.7.0
- python3-dtschema: upgrade 2023.1 -> 2023.7
- python3-editables: upgrade 0.3 -> 0.5
- python3-flit-core: upgrade 3.8.0 -> 3.9.0
- python3-git: upgrade 3.1.31 -> 3.1.36
- python3-hatch-fancy-pypi-readme: upgrade 22.8.0 -> 23.1.0
- python3-hatchling: upgrade 1.13.0 -> 1.18.0
- python3-hypothesis: upgrade 6.68.2 -> 6.86.2
- python3-importlib-metadata: upgrade 6.0.0 -> 6.8.0
- python3-installer: upgrade 0.6.0 -> 0.7.0
- python3-iso8601: upgrade 1.1.0 -> 2.0.0
- python3-jsonpointer: upgrade to 2.4
- python3-libarchive-c: upgrade 4.0 -> 5.0
- python3-lxml: upgrade 4.9.2 -> 4.9.3
- python3-markdown: upgrade 3.4.1 -> 3.4.4
- python3-markupsafe: upgrade 2.1.2 -> 2.1.3
- python3-more-itertools: upgrade 9.1.0 -> 10.1.0
- python3-numpy: upgrade 1.24.2 -> 1.26.0
- python3-packaging: upgrade 23.0 -> 23.1
- python3-pathspec: upgrade 0.11.0 -> 0.11.2
- python3-pip: upgrade 23.0.1 -> 23.2.1
- python3-pluggy: upgrade 1.0.0 -> 1.3.0
- python3-poetry-core: upgrade 1.5.2 -> 1.7.0
- python3-psutil: upgrade 5.9.4 -> 5.9.5
- python3-pyasn1: upgrade 0.4.8 -> 0.5.0
- python3-pycairo: upgrade 1.23.0 -> 1.24.0
- python3-pycryptodome: upgrade 3.17 -> 3.19.0
- python3-pycryptodomex: upgrade 3.17 -> 3.19.0
- python3-pyelftools: upgrade 0.29 -> 0.30
- python3-pygments: upgrade 2.14.0 -> 2.16.1
- python3-pygobject: upgrade 3.42.2 -> 3.46.0
- python3-pyopenssl: upgrade 23.0.0 -> 23.2.0
- python3-pyparsing: upgrade 3.0.9 -> 3.1.1
- python3-pytest-subtests: upgrade 0.10.0 -> 0.11.0
- python3-pytest: upgrade 7.2.2 -> 7.4.2
- python3-pytz: upgrade 2022.7.1 -> 2023.3
- python3-pyyaml: upgrade 6.0 -> 6.0.1
- python3-requests: Upgrade to 2.31.0
- python3-ruamel-yaml: upgrade 0.17.21 -> 0.17.32
- python3-setuptools-rust: upgrade 1.5.2 -> 1.7.0
- python3-setuptools: upgrade 67.6.0 -> 68.2.2
- python3-smmap: upgrade 5.0.0 -> 6.0.0
- python3-sphinx-rtd-theme: upgrade 1.2.0 -> 1.3.0
- python3-sphinx: upgrade 6.1.3 -> 7.2.6
- python3-trove-classifiers: upgrade 2023.4.29 -> 2023.9.19
- python3-typing-extensions: upgrade 4.5.0 -> 4.8.0
- python3: upgrade 3.11.2 -> 3.11.5
- python3-urllib3: upgrade 1.26.15 -> 2.0.6
- python3-webcolors: upgrade 1.12 -> 1.13
- python3-wheel: upgrade 0.40.0 -> 0.41.2
- python3-zipp: upgrade 3.15.0 -> 3.17.0
- qemu: Upgrade 7.2.0 -> 8.1.0
- re2c: upgrade 3.0 -> 3.1
- repo: upgrade 2.32 -> 2.36.1
- rpcsvc-proto: Upgrade to 1.4.4
- rpm2cpio.sh: update to the last 4.x version
- rpm: update 4.18.0 -> 4.18.1
- ruby: upgrade 3.2.1 -> 3.2.2
- rust: Upgrade 1.68.1 -> 1.70.0
- screen: update 4.9.0 -> 4.9.1
- seatd: upgrade 0.7.0 -> 0.8.0
- serf: upgrade 1.3.9 -> 1.3.10
- shaderc: upgrade 2023.2 -> 2023.6
- spirv-headers: upgrade 1.3.239.0 -> 1.3.243.0
- spirv-tools: upgrade 1.3.239.0 -> 1.3.243.0
- sqlite3: upgrade 3.41.0 -> 3.43.1
- squashfs-tools: upgrade 4.5.1 -> 4.6.1
- sstatesig: Update to match bitbake changes to runtaskdeps
- strace: upgrade 6.2 -> 6.5
- stress-ng: upgrade 0.15.06 -> 0.16.05
- sudo: update 1.9.13p3 -> 1.9.14p3
- sysfsutils: update 2.1.0 -> 2.1.1
- sysklogd: upgrade 2.4.4 -> 2.5.2
- sysstat: update 12.6.2 -> 12.7.4
- systemd: upgrade 253.1 -> 254.4
- systemtap: upgrade 4.8 -> 4.9
- taglib: upgrade 1.13 -> 1.13.1
- tar: upgrade 1.34 -> 1.35
- tcf-agent: Update to 1.8.0 release
- texinfo: upgrade 7.0.2 -> 7.0.3
- tiff: upgrade to 4.6.0
- u-boot: Upgrade to 2023.10
- util-linux: upgrade 2.38.1 -> 2.39.2
- vala: upgrade 0.56.4 -> 0.56.13
- valgrind: update 3.20.0 -> 3.21.0
- vim: upgrade 9.0.1429 -> 9.0.2048
- vte: upgrade 0.72.0 -> 0.72.2
- vulkan-headers: upgrade to 1.3.243
- vulkan-loader: upgrade to 1.3.243
- vulkan-samples: update to latest SHA
- vulkan-tools: upgrade to 1.3.243
- vulkan: upgrade 1.3.243.0 -> 1.3.261.1
- waffle: upgrade 1.7.0 -> 1.7.2
- wayland-protocols: upgrade 1.31 -> 1.32
- wayland: upgrade 1.21.0 -> 1.22.0
- wayland-utils: upgrade 1.1.0 -> 1.2.0
- webkitgtk: update 2.38.5 -> 2.40.5
- weston: update 11.0.1 -> 12.0.2
- wget: upgrade 1.21.3 -> 1.21.4
- wireless-regdb: upgrade 2023.02.13 -> 2023.09.01
- wpebackend-fdo: upgrade 1.14.0 -> 1.14.2
- xcb-proto: upgrade 1.15.2 -> 1.16.0
- xdpyinfo: upgrade 1.3.3 -> 1.3.4
- xeyes: upgrade 1.2.0 -> 1.3.0
- xf86-input-libinput: upgrade 1.2.1 -> 1.4.0
- xf86-input-mouse: upgrade 1.9.4 -> 1.9.5
- xinput: upgrade to v1.6.4
- xkeyboard-config: upgrade 2.38 -> 2.39
- xorgproto: upgrade 2022.2 -> 2023.2
- xserver-xorg: upgrade 21.1.7 -> 21.1.8
- xtrans: update 1.4.0 -> 1.5.0
- xwayland: upgrade 22.1.8 -> 23.2.1
- xwininfo: upgrade to v1.1.6
- xxhash: upgrade 0.8.1 -> 0.8.2
- xz: upgrade 5.4.2 -> 5.4.4
- zlib: upgrade 1.2.13 -> 1.3
- zstd: upgrade 1.5.4 -> 1.5.5
Contributors to 4.3
~~~~~~~~~~~~~~~~~~~
Thanks to the following people who contributed to this release:
- Adrian Freihofer
- Alassane Yattara
- Alberto Pianon
- Alberto Planas
- Alejandro Hernandez Samaniego
- Alexander Kanavin
- Alexandre Belloni
- Alexis Lothoré
- Alex Kiernan
- Andreas Cord-Landwehr
- André Draszik
- Andrej Valek
- Andrew Jeffery
- Andrey Zhizhikin
- Angelo Ribeiro
- Antoine Lubineau
- Antonin Godard
- Anuj Mittal
- Archana Polampalli
- Armin Kuster
- Arne Schwerdt
- Arno Baumfalk
- Arslan Ahmad
- Bartosz Golaszewski
- BELHADJ SALEM Talel
- BELOUARGA Mohamed
- Benjamin Bara
- Benjamin Bouvier
- Bergin, Peter
- Bruce Ashfield
- Changhyeok Bae
- Changqing Li
- Charles-Antoine Couret
- Charlie Wu
- Chen Qi
- Chi Xu
- Chris Laplante
- Christopher Larson
- Daniel Ammann
- Daniel McGregor
- Daniel Semkowicz
- David Reyna
- Deepthi Hemraj
- Denis OSTERLAND-HEIM
- Denys Dmytriyenko
- Derek Straka
- Dit Kozmaj
- Dmitry Baryshkov
- Ed Beroset
- Eero Aaltonen
- Eilís 'pidge' Ní Fhlannagáin
- Emil Ekmečić
- Emil Kronborg Andersen
- Enrico Jörns
- Enrico Scholz
- Etienne Cordonnier
- Fabien Mahot
- Fabio Estevam
- Fahad Arslan
- Frank WOLFF
- Frederic Martinsons
- Frieder Paape
- Frieder Schrempf
- Geoff Parker
- Hannu Lounento
- Ian Ray
- Insu Park
- Jaeyoon Jung
- Jamin Lin
- Jan Garcia
- Jan Vermaete
- Jasper Orschulko
- Jean-Marie Lemetayer
- Jérémy Rosen
- Jermain Horsman
- Jialing Zhang
- Joel Stanley
- Joe Slater
- Johannes Schrimpf
- Jon Mason
- Jörg Sommer
- Jose Quaresma
- Joshua Watt
- Julien Stephan
- Kai Kang
- Khem Raj
- Kyle Russell
- Lee Chee Yang
- Lei Maohui
- Leon Anavi
- Lorenzo Arena
- Louis Rannou
- Luan Rafael Carneiro
- Luca Boccassi
- Luca Ceresoli
- Marc Ferland
- Marcus Flyckt
- Marek Vasut
- Mark Asselstine
- Mark Hatle
- Markus Niebel
- Markus Volk
- Marlon Rodriguez Garcia
- Marta Rybczynska
- Martijn de Gouw
- Martin Jansa
- Martin Siegumfeldt
- Matthias Schnelte
- Mauro Queiros
- Max Krummenacher
- Michael Halstead
- Michael Opdenacker
- Mickael RAMILISON
- Mikko Rapeli
- Ming Liu
- Mingli Yu
- Narpat Mali
- Natasha Bailey
- Nikhil R
- Ninad Palsule
- Ola x Nilsson
- Oleksandr Hnatiuk
- Otavio Salvador
- Ovidiu Panait
- Pascal Bach
- Patrick Williams
- Paul Eggleton
- Paul Gortmaker
- Paulo Neves
- Pavel Zhukov
- Pawan Badganchi
- Peter Bergin
- Peter Hoyes
- Peter Kjellerstedt
- Peter Marko
- Peter Suti
- Petr Gotthard
- Petr Kubizňák
- Piotr Łobacz
- Poonam Jadhav
- Qiu Tingting
- Quentin Schulz
- Randolph Sapp
- Randy MacLeod
- Ranjitsinh Rathod
- Rasmus Villemoes
- Remi Peuvergne
- Richard Purdie
- Riyaz Khan
- Robert Joslyn
- Robert P. J. Day
- Robert Yang
- Roland Hieber
- Ross Burton
- Ryan Eatmon
- Sakib Sajal
- Samantha Jalabert
- Sanjay Chitroda
- Sean Nyekjaer
- Sergei Zhmylev
- Siddharth Doshi
- Soumya Sambu
- Staffan Rydén
- Stefano Babic
- Stefan Tauner
- Stéphane Veyret
- Stephan Wurm
- Sudip Mukherjee
- Sundeep KOKKONDA
- Svend Meyland Nicolaisen
- Tan Wen Yan
- Thomas Roos
- Tim Orling
- Tom Hochstein
- Tom Isaacson
- Trevor Gamblin
- Ulrich Ölmann
- Victor Kamensky
- Vincent Davis Jr
- Virendra Thakur
- Wang Mingyu
- Xiangyu Chen
- Yang Xu
- Yash Shinde
- Yi Zhao
- Yoann Congal
- Yogita Urade
- Yuta Hayama
- Zang Ruochen
- Zhixiong Chi
Repositories / Downloads for Yocto-4.3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
poky
- Repository Location: :yocto_git:`/poky`
- Branch: :yocto_git:`nanbield </poky/log/?h=nanbield>`
- Tag: :yocto_git:`yocto-4.3 </poky/log/?h=yocto-4.3>`
- Git Revision: :yocto_git:`15b576c4101231d248fda7ae0824e1780e1a8901 </poky/commit/?id=15b576c4101231d248fda7ae0824e1780e1a8901>`
- Release Artefact: poky-15b576c4101231d248fda7ae0824e1780e1a8901
- sha: 6b0ef7914d15db057f3efdf091b169a7361c74aac0abcfa717ef55d1a0adf74c
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.3/poky-15b576c4101231d248fda7ae0824e1780e1a8901.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.3/poky-15b576c4101231d248fda7ae0824e1780e1a8901.tar.bz2
openembedded-core
- Repository Location: :oe_git:`/openembedded-core`
- Branch: :oe_git:`nanbield </openembedded-core/log/?h=nanbield>`
- Tag: :oe_git:`yocto-4.3 </openembedded-core/log/?h=yocto-4.3>`
- Git Revision: :oe_git:`4c261f8cbdf0c7196a74daad041d04eb093015f3 </openembedded-core/commit/?id=4c261f8cbdf0c7196a74daad041d04eb093015f3>`
- Release Artefact: oecore-4c261f8cbdf0c7196a74daad041d04eb093015f3
- sha: c9e6ac75d7848ce8844cb29c98659dd8f83b3de13b916124dff76abe034e6a5c
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.3/oecore-4c261f8cbdf0c7196a74daad041d04eb093015f3.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.3/oecore-4c261f8cbdf0c7196a74daad041d04eb093015f3.tar.bz2
meta-mingw
- Repository Location: :yocto_git:`/meta-mingw`
- Branch: :yocto_git:`nanbield </meta-mingw/log/?h=nanbield>`
- Tag: :yocto_git:`yocto-4.3 </meta-mingw/log/?h=yocto-4.3>`
- Git Revision: :yocto_git:`65ef95a74f6ae815f63f636ed53e140a26a014ce </meta-mingw/commit/?id=65ef95a74f6ae815f63f636ed53e140a26a014ce>`
- Release Artefact: meta-mingw-65ef95a74f6ae815f63f636ed53e140a26a014ce
- sha: fb2bf806941a00a1be6349c074379b63a76490bcf0f3b740d96d1aeeefa12286
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.3/meta-mingw-65ef95a74f6ae815f63f636ed53e140a26a014ce.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.3/meta-mingw-65ef95a74f6ae815f63f636ed53e140a26a014ce.tar.bz2
bitbake
- Repository Location: :oe_git:`/bitbake`
- Branch: :oe_git:`2.6 </bitbake/log/?h=2.6>`
- Tag: :oe_git:`yocto-4.3 </bitbake/log/?h=yocto-4.3>`
- Git Revision: :oe_git:`5419a8473d6d4cd1d01537de68ad8d72cf5be0b2 </bitbake/commit/?id=5419a8473d6d4cd1d01537de68ad8d72cf5be0b2>`
- Release Artefact: bitbake-5419a8473d6d4cd1d01537de68ad8d72cf5be0b2
- sha: e5dab4b3345d91307860803e2ad73b2fcffa9d17dd3fde0e013ca0ebea0d05ca
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.3/bitbake-5419a8473d6d4cd1d01537de68ad8d72cf5be0b2.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.3/bitbake-5419a8473d6d4cd1d01537de68ad8d72cf5be0b2.tar.bz2
yocto-docs
- Repository Location: :yocto_git:`/yocto-docs`
- Branch: :yocto_git:`nanbield </yocto-docs/log/?h=nanbield>`
- Tag: :yocto_git:`yocto-4.3 </yocto-docs/log/?h=yocto-4.3>`
- Git Revision: :yocto_git:`ceb1812e63b9fac062f886c2a1dde23137c0e1ed </yocto-docs/commit/?id=ceb1812e63b9fac062f886c2a1dde23137c0e1ed>`

View File

@@ -2189,3 +2189,173 @@ For more information, see the
BitBake User Manual. You can also reference the "`Why Not
Fakeroot? <https://github.com/wrpseudo/pseudo/wiki/WhyNotFakeroot>`__"
article for background information on Fakeroot and Pseudo.
BitBake Tasks Map
=================
To understand how BitBake operates in the build directory and environment
we can consider the following recipes and diagram, to have full picture
about the tasks that BitBake runs to generate the final package file
for the recipe.
We will have two recipes as an example:
- ``libhello``: A recipe that provides a shared library
- ``sayhello``: A recipe that uses ``libhello`` library to do its job
.. note::
``sayhello`` depends on ``libhello`` at compile time as it needs the shared
library to do the dynamic linking process. It also depends on it at runtime
as the shared library loader needs to find the library.
For more details about dependencies check :ref:`ref-varlocality-recipe-dependencies`.
``libhello`` sources are as follows:
- ``LICENSE``: This is the license associated with this library
- ``Makefile``: The file used by ``make`` to build the library
- ``hellolib.c``: The implementation of the library
- ``hellolib.h``: The C header of the library
``sayhello`` sources are as follows:
- ``LICENSE``: This is the license associated with this project
- ``Makefile``: The file used by ``make`` to build the project
- ``sayhello.c``: The source file of the project
Before presenting the contents of each file, here are the steps
that we need to follow to accomplish what we want in the first place,
which is integrating ``sayhello`` in our root file system:
#. Create a Git repository for each project with the corresponding files
#. Create a recipe for each project
#. Make sure that ``sayhello`` recipe :term:`DEPENDS` on ``libhello``
#. Make sure that ``sayhello`` recipe :term:`RDEPENDS` on ``libhello``
#. Add ``sayhello`` to :term:`IMAGE_INSTALL` to integrate it into
the root file system
The following are the contents of ``libhello/Makefile``::
LIB=libhello.so
all: $(LIB)
$(LIB): hellolib.o
$(CC) $< -Wl,-soname,$(LIB).1 -fPIC $(LDFLAGS) -shared -o $(LIB).1.0
%.o: %.c
$(CC) -c $<
clean:
rm -rf *.o *.so*
.. note::
When creating shared libraries, it is strongly recommended to follow the Linux
conventions and guidelines (see `this article
<https://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html>`__
for some background).
.. note::
When creating ``Makefile`` files, it is strongly recommended to use ``CC``, ``LDFLAGS``
and ``CFLAGS`` as BitBake will set them as environment variables according
to your build configuration.
The following are the contents of ``libhello/hellolib.h``::
#ifndef HELLOLIB_H
#define HELLOLIB_H
void Hello();
#endif
The following are the contents of ``libhello/hellolib.c``::
#include <stdio.h>
void Hello(){
puts("Hello from a Yocto demo \n");
}
The following are the contents of ``sayhello/Makefile``::
EXEC=sayhello
LDFLAGS += -lhello
all: $(EXEC)
$(EXEC): sayhello.c
$(CC) $< $(LDFLAGS) $(CFLAGS) -o $(EXEC)
clean:
rm -rf $(EXEC) *.o
The following are the contents of ``sayhello/sayhello.c``::
#include <hellolib.h>
int main(){
Hello();
return 0;
}
The following are the contents of ``libhello_0.1.bb``::
SUMMARY = "Hello demo library"
DESCRIPTION = "Hello shared library used in Yocto demo"
# NOTE: Set the License according to the LICENSE file of your project
# and then add LIC_FILES_CHKSUM accordingly
LICENSE = "CLOSED"
# Assuming the branch is main
# Change <username> accordingly
SRC_URI = "git://github.com/<username>/libhello;branch=main;protocol=https"
S = "${WORKDIR}/git"
do_install(){
install -d ${D}${includedir}
install -d ${D}${libdir}
install hellolib.h ${D}${includedir}
oe_soinstall ${PN}.so.${PV} ${D}${libdir}
}
The following are the contents of ``sayhello_0.1.bb``::
SUMMARY = "SayHello demo"
DESCRIPTION = "SayHello project used in Yocto demo"
# NOTE: Set the License according to the LICENSE file of your project
# and then add LIC_FILES_CHKSUM accordingly
LICENSE = "CLOSED"
# Assuming the branch is main
# Change <username> accordingly
SRC_URI = "git://github.com/<username>/sayhello;branch=main;protocol=https"
DEPENDS += "libhello"
RDEPENDS:${PN} += "libhello"
S = "${WORKDIR}/git"
do_install(){
install -d ${D}/usr/bin
install -m 0700 sayhello ${D}/usr/bin
}
After placing the recipes in a custom layer we can run ``bitbake sayhello``
to build the recipe.
The following diagram shows the sequences of tasks that BitBake
executes to accomplish that.
.. image:: svg/bitbake_tasks_map.*
:width: 100%

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 197 KiB

View File

@@ -1,10 +1,10 @@
DISTRO : "4.2"
DISTRO_NAME_NO_CAP : "mickledore"
DISTRO_NAME : "Mickledore"
DISTRO_NAME_NO_CAP_MINUS_ONE : "langdale"
DISTRO : "4.3"
DISTRO_NAME_NO_CAP : "nanbield"
DISTRO_NAME : "Nanbield"
DISTRO_NAME_NO_CAP_MINUS_ONE : "mickledore"
DISTRO_NAME_NO_CAP_LTS : "kirkstone"
YOCTO_DOC_VERSION : "4.2"
DISTRO_REL_TAG : "yocto-4.2"
YOCTO_DOC_VERSION : "4.3"
DISTRO_REL_TAG : "yocto-4.3"
DOCCONF_VERSION : "dev"
BITBAKE_SERIES : ""
YOCTO_DL_URL : "https://downloads.yoctoproject.org"

View File

@@ -7,43 +7,45 @@ Yocto Project Profiling and Tracing Manual
Introduction
============
Yocto bundles a number of tracing and profiling tools --- this 'HOWTO'
Yocto Project bundles a number of tracing and profiling tools --- this manual
describes their basic usage and shows by example how to make use of them
to examine application and system behavior.
to analyze application and system behavior.
The tools presented are for the most part completely open-ended and have
The tools presented are, for the most part, completely open-ended and have
quite good and/or extensive documentation of their own which can be used
to solve just about any problem you might come across in Linux. Each
section that describes a particular tool has links to that tool's
documentation and website.
The purpose of this 'HOWTO' is to present a set of common and generally
The purpose of this manual is to present a set of common and generally
useful tracing and profiling idioms along with their application (as
appropriate) to each tool, in the context of a general-purpose
'drill-down' methodology that can be applied to solving a large number
(90%?) of problems. For help with more advanced usages and problems,
please see the documentation and/or websites listed for each tool.
of problems. For help with more advanced usages and problems,
refer to the documentation and/or websites provided for each tool.
The final section of this 'HOWTO' is a collection of real-world examples
which we'll be continually adding to as we solve more problems using the
tools --- feel free to add your own examples to the list!
The final section of this manual is a collection of real-world examples
which we'll be continually updating as we solve more problems using the
tools --- feel free to suggest additions to what you read here.
General Setup
=============
Most of the tools are available only in 'sdk' images or in images built
after adding 'tools-profile' to your local.conf. So, in order to be able
to access all of the tools described here, please first build and boot
an 'sdk' image e.g. ::
Most of the tools are available only in ``sdk`` images or in images built
after adding ``tools-profile`` to your ``local.conf`` file. So, in order to be able
to access all of the tools described here, you can build and boot
an ``sdk`` image, perhaps one of::
$ bitbake core-image-sato-sdk
$ bitbake core-image-weston-sdk
$ bitbake core-image-rt-sdk
or alternatively by adding 'tools-profile' to the :term:`EXTRA_IMAGE_FEATURES` line in
your local.conf::
Alternatively, you can add ``tools-profile`` to the :term:`EXTRA_IMAGE_FEATURES` line in
your ``local.conf`` file::
EXTRA_IMAGE_FEATURES = "debug-tweaks tools-profile"
If you use the 'tools-profile' method, you don't need to build an sdk image -
If you use the ``tools-profile`` method, you don't need to build an sdk image ---
the tracing and profiling tools will be included in non-sdk images as well e.g.::
$ bitbake core-image-sato
@@ -64,12 +66,12 @@ the tracing and profiling tools will be included in non-sdk images as well e.g.:
If you've already built a stripped image, you can generate debug
packages (xxx-dbg) which you can manually install as needed.
To generate debug info for packages, you can add dbg-pkgs to
:term:`EXTRA_IMAGE_FEATURES` in local.conf. For example::
To generate debug info for packages, you can add ``dbg-pkgs`` to
:term:`EXTRA_IMAGE_FEATURES` in ``local.conf``. For example::
EXTRA_IMAGE_FEATURES = "debug-tweaks tools-profile dbg-pkgs"
Additionally, in order to generate the right type of debuginfo, we also need to
Additionally, in order to generate the right type of debug info, we also need to
set :term:`PACKAGE_DEBUG_SPLIT_STYLE` in the ``local.conf`` file::
PACKAGE_DEBUG_SPLIT_STYLE = 'debug-file-directory'

View File

@@ -281,6 +281,19 @@ tool.
This class inherits the :ref:`ref-classes-cargo_common` class.
.. _ref-classes-cargo_c:
``cargo_c``
===========
The :ref:`ref-classes-cargo_c` class can be inherited by a recipe to generate
a Rust library that can be called by C/C++ code. The recipe which inherits this
class has to only replace ``inherit cargo`` by ``inherit cargo_c``.
See the :yocto_git:`rust-c-lib-example_git.bb
</poky/tree/meta-selftest/recipes-devtools/rust/rust-c-lib-example_git.bb>`
example recipe.
.. _ref-classes-cargo_common:
``cargo_common``
@@ -370,7 +383,9 @@ preferred CMake Module directory: ``${D}${datadir}/cmake/modules/``.
========
The :ref:`ref-classes-cml1` class provides basic support for the Linux kernel style
build configuration system.
build configuration system. "cml" stands for "Configuration Menu Language", which
originates from the Linux kernel but is also used in other projects such as U-Boot
and BusyBox. It could have been called "kconfig" too.
.. _ref-classes-compress_doc:
@@ -1480,6 +1495,9 @@ Here are the tests you can list with the :term:`WARN_QA` and
also inherits :ref:`ref-classes-features_check` in order for the
requirement to actually work.
- ``unimplemented-ptest:`` Checks that ptests are implemented for upstream
tests.
- ``unlisted-pkg-lics:`` Checks that all declared licenses applying
for a package are also declared on the recipe level (i.e. any license
in ``LICENSE:*`` should appear in :term:`LICENSE`).
@@ -1776,9 +1794,10 @@ class.
=========
The :ref:`ref-classes-meson` class allows to create recipes that build software
using the `Meson <https://mesonbuild.com/>`__ build system. You can use
the :term:`MESON_BUILDTYPE` and :term:`EXTRA_OEMESON` variables to specify
additional configuration options to be passed using the ``meson`` command line.
using the `Meson <https://mesonbuild.com/>`__ build system. You can use the
:term:`MESON_BUILDTYPE`, :term:`MESON_TARGET` and :term:`EXTRA_OEMESON`
variables to specify additional configuration options to be passed using the
``meson`` command line.
.. _ref-classes-metadata_scm:

View File

@@ -52,8 +52,6 @@ Project metadata:
- *alsa:* Hardware has ALSA audio drivers
- *apm:* Hardware uses APM (or APM emulation)
- *bluetooth:* Hardware has integrated BT
- *efi:* Support for booting through EFI
@@ -225,6 +223,10 @@ metadata, as extra layers can define their own:
reduced shell overhead, and other features. This ``init`` manager is
used by many distributions.
- *systemd-resolved:* Include support and use ``systemd-resolved`` as the
main DNS name resolver in ``glibc`` Name Service Switch. This is a DNS
resolver daemon from ``systemd``.
- *usbgadget:* Include USB Gadget Device support (for USB
networking/serial/storage).

View File

@@ -789,6 +789,17 @@ Errors and Warnings
use a relative path rather than an absolute one, or to pick up the path from
runtime configuration or environment variables.
.. _qa-check-unimplemented-ptest:
- ``<tool> tests detected [unimplemented-ptest]``
This check will detect if the source of the package contains some
upstream-provided tests and, if so, that ptests are implemented for this
recipe. See the ":ref:`dev-manual/packages:testing packages with ptest`"
section in the Yocto Project Development Tasks Manual. See also the
":ref:`ref-classes-ptest`" section.
Configuring and Disabling QA Checks
===================================

View File

@@ -404,15 +404,15 @@
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1846"
inkscape:window-height="1016"
inkscape:window-width="1920"
inkscape:window-height="1043"
id="namedview4"
showgrid="true"
inkscape:zoom="0.51166405"
inkscape:cx="-43.974166"
inkscape:cy="311.72798"
inkscape:window-x="1994"
inkscape:window-y="27"
inkscape:zoom="1.4472045"
inkscape:cx="736.24703"
inkscape:cy="312.32629"
inkscape:window-x="1728"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="g10"
inkscape:document-rotation="0"
@@ -669,28 +669,28 @@
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:13.3333px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';text-align:center;text-anchor:middle;fill:#fffefe;fill-opacity:1;stroke:none"
id="tspan10317-2-9-1-4">4.2</tspan></text>
<g
id="g32107">
id="g1379">
<rect
style="opacity:0.75;fill:#333333;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2;stroke-opacity:1"
id="rect917-0-0-4-4-9-4-5-3"
width="140.00014"
style="fill:#333333;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2;stroke-opacity:1"
id="rect917-0-0-4-4-9-4-5-38"
width="140.00003"
height="45.000004"
x="1199.9999"
y="-229.99998"
x="1220"
y="-230.00005"
ry="2.2558987" />
<text
xml:space="preserve"
style="font-weight:bold;font-size:13.3333px;line-height:125%;font-family:'Nimbus Roman';-inkscape-font-specification:'Nimbus Roman, Bold';letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;fill:#fffefe;fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="1247.2329"
x="1269.2329"
y="-210.32925"
id="text1185-3-55-4-0-0-0-1-1"><tspan
sodipodi:role="line"
x="1247.2329"
x="1269.2329"
y="-210.32925"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:13.3333px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';text-align:center;text-anchor:middle;fill:#fffefe;fill-opacity:1;stroke:none"
id="tspan957-2-8-6-3-9-7-4">Nanbield</tspan><tspan
sodipodi:role="line"
x="1247.2329"
x="1269.2329"
y="-192.33258"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:13.3333px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';text-align:center;text-anchor:middle;fill:#fffefe;fill-opacity:1;stroke:none"
id="tspan10317-2-9-1-4-6">4.3</tspan></text>

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 106 KiB

View File

@@ -1358,6 +1358,32 @@ system and gives an overview of their function and contents.
speed since the build system skips parsing recipes not compatible
with the current machine.
If one wants to have a recipe only available for some architectures
(here ``aarch64`` and ``mips64``), the following can be used::
COMPATIBLE_MACHINE = "^$"
COMPATIBLE_MACHINE:arch64 = "^(aarch64)$"
COMPATIBLE_MACHINE:mips64 = "^(mips64)$"
The first line means "match all machines whose :term:`MACHINEOVERRIDES`
contains the empty string", which will always be none.
The second is for matching all machines whose :term:`MACHINEOVERRIDES`
contains one override which is exactly ``aarch64``.
The third is for matching all machines whose :term:`MACHINEOVERRIDES`
contains one override which is exactly ``mips64``.
The same could be achieved with::
COMPATIBLE_MACHINE = "^(aarch64|mips64)$"
.. note::
When :term:`COMPATIBLE_MACHINE` is set in a recipe inherits from
native, the recipe is always skipped. All native recipes must be
entirely target independent and should not rely on :term:`MACHINE`.
:term:`COMPLEMENTARY_GLOB`
Defines wildcards to match when installing a list of complementary
packages for all the packages explicitly (or implicitly) installed in
@@ -1698,7 +1724,8 @@ system and gives an overview of their function and contents.
It has the format "reason: description" and the description is optional.
The Reason is mapped to the final CVE state by mapping via
:term:`CVE_CHECK_STATUSMAP`
:term:`CVE_CHECK_STATUSMAP`. See :ref:`dev-manual/vulnerabilities:fixing vulnerabilities in recipes`
for details.
:term:`CVE_STATUS_GROUPS`
If there are many CVEs with the same status and reason, they can by simplified by using this
@@ -2459,6 +2486,16 @@ system and gives an overview of their function and contents.
external tools. See the :ref:`ref-classes-kernel-yocto` class in
``meta/classes-recipe`` to see how the variable is used.
:term:`KERNEL_LOCALVERSION`
This variable allows to append a string to the version
of the kernel image. This corresponds to the ``CONFIG_LOCALVERSION``
kernel configuration parameter.
Using this variable is only useful when you are using a kernel recipe
inheriting the :ref:`ref-classes-kernel` class, and which doesn't
already set a local version. Therefore, setting this variable has no
impact on ``linux-yocto`` kernels.
:term:`EXTERNAL_TOOLCHAIN`
When you intend to use an
:ref:`external toolchain <dev-manual/external-toolchain:optionally using an external toolchain>`,
@@ -3765,9 +3802,9 @@ system and gives an overview of their function and contents.
:term:`IMAGE_POSTPROCESS_COMMAND`
Specifies a list of functions to call once the OpenEmbedded build
system creates the final image output files. You can specify
functions separated by semicolons::
functions separated by spaces::
IMAGE_POSTPROCESS_COMMAND += "function; ... "
IMAGE_POSTPROCESS_COMMAND += "function"
If you need to pass the root filesystem path to a command within the
function, you can use ``${IMAGE_ROOTFS}``, which points to the
@@ -3778,9 +3815,9 @@ system and gives an overview of their function and contents.
:term:`IMAGE_PREPROCESS_COMMAND`
Specifies a list of functions to call before the OpenEmbedded build
system creates the final image output files. You can specify
functions separated by semicolons::
functions separated by spaces::
IMAGE_PREPROCESS_COMMAND += "function; ... "
IMAGE_PREPROCESS_COMMAND += "function"
If you need to pass the root filesystem path to a command within the
function, you can use ``${IMAGE_ROOTFS}``, which points to the
@@ -4333,17 +4370,16 @@ system and gives an overview of their function and contents.
This variable is also used from the kernel's append file to identify
the kernel branch specific to a particular machine or target
hardware. Continuing with the previous kernel example, the kernel's
append file (i.e. ``linux-yocto_4.12.bbappend``) is located in the
append file is located in the
BSP layer for a given machine. For example, the append file for the
Beaglebone, EdgeRouter, and generic versions of both 32 and 64-bit IA
Beaglebone and generic versions of both 32 and 64-bit IA
machines (``meta-yocto-bsp``) is named
``meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.12.bbappend``.
``meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.1.bbappend``.
Here are the related statements from that append file::
KBRANCH:genericx86 = "standard/base"
KBRANCH:genericx86-64 = "standard/base"
KBRANCH:edgerouter = "standard/edgerouter"
KBRANCH:beaglebone = "standard/beaglebone"
KBRANCH:genericx86 = "v6.1/standard/base"
KBRANCH:genericx86-64 = "v6.1/standard/base"
KBRANCH:beaglebone-yocto = "v6.1/standard/beaglebone"
The :term:`KBRANCH` statements
identify the kernel branch to use when building for each supported
@@ -4718,6 +4754,10 @@ system and gives an overview of their function and contents.
to the :term:`KERNEL_SRC` variable. Both variables are common variables
used by external Makefiles to point to the kernel source directory.
:term:`KERNEL_STRIP`
Allows to specific which ``strip`` command to use to strip the kernel
binary, typically either GNU binutils ``strip`` or ``llvm-strip``.
:term:`KERNEL_VERSION`
Specifies the version of the kernel as extracted from ``version.h``
or ``utsrelease.h`` within the kernel sources. Effects of setting
@@ -5075,7 +5115,6 @@ system and gives an overview of their function and contents.
MACHINE ?= "genericx86"
MACHINE ?= "genericx86-64"
MACHINE ?= "beaglebone"
MACHINE ?= "edgerouter"
The last five are Yocto Project reference hardware
boards, which are provided in the ``meta-yocto-bsp`` layer.
@@ -5280,6 +5319,11 @@ system and gives an overview of their function and contents.
you to specify the inclusion of debugging symbols and the compiler
optimizations (none, performance or size).
:term:`MESON_TARGET`
A variable for the :ref:`ref-classes-meson` class, allowing to choose
a Meson target to build in :ref:`ref-tasks-compile`. Otherwise, the
default targets are built.
:term:`METADATA_BRANCH`
The branch currently checked out for the OpenEmbedded-Core layer (path
determined by :term:`COREBASE`).
@@ -5303,9 +5347,8 @@ system and gives an overview of their function and contents.
:term:`PREMIRRORS`, the upstream source, and then
locations specified by :term:`MIRRORS` in that order.
Assuming your distribution (:term:`DISTRO`) is "poky",
the default value for :term:`MIRRORS` is defined in the
``conf/distro/poky.conf`` file in the ``meta-poky`` Git repository.
The default value for :term:`MIRRORS` is defined in the
``meta/classes-global/mirrors.bbclass`` file in the core metadata layer.
:term:`MLPREFIX`
Specifies a prefix has been added to :term:`PN` to create a
@@ -5591,6 +5634,11 @@ system and gives an overview of their function and contents.
For additional information on how this variable is used, see the
initialization script.
:term:`OEQA_REPRODUCIBLE_TEST_PACKAGE`
Set the package manager(s) for build reproducibility testing.
See :yocto_git:`reproducible.py </poky/tree/meta/lib/oeqa/selftest/cases/reproducible.py>`
and :doc:`/test-manual/reproducible-builds`.
:term:`OEQA_REPRODUCIBLE_TEST_TARGET`
Set build target for build reproducibility testing. By default
all available recipes are compiled with "bitbake world", see also :term:`EXCLUDE_FROM_WORLD`
@@ -6059,13 +6107,11 @@ system and gives an overview of their function and contents.
omit any argument you like but must retain the separating commas. The
order is important and specifies the following:
#. Extra arguments that should be added to the configure script
argument list (:term:`EXTRA_OECONF` or
:term:`PACKAGECONFIG_CONFARGS`) if
the feature is enabled.
#. Extra arguments that should be added to :term:`PACKAGECONFIG_CONFARGS`
if the feature is enabled.
#. Extra arguments that should be added to :term:`EXTRA_OECONF` or
:term:`PACKAGECONFIG_CONFARGS` if the feature is disabled.
#. Extra arguments that should be added to :term:`PACKAGECONFIG_CONFARGS`
if the feature is disabled.
#. Additional build dependencies (:term:`DEPENDS`)
that should be added if the feature is enabled.
@@ -6123,6 +6169,38 @@ system and gives an overview of their function and contents.
PACKAGECONFIG:append:pn-recipename = " f4"
Consider the following example of a :ref:`ref-classes-cmake` recipe with a systemd service
in which :term:`PACKAGECONFIG` is used to transform the systemd service
into a feature that can be easily enabled or disabled via :term:`PACKAGECONFIG`::
example.c
example.service
CMakeLists.txt
The ``CMakeLists.txt`` file contains::
if(WITH_SYSTEMD)
install(FILES ${PROJECT_SOURCE_DIR}/example.service DESTINATION /etc/systemd/systemd)
endif(WITH_SYSTEMD)
In order to enable the installation of ``example.service`` we need to
ensure that ``-DWITH_SYSTEMD=ON`` is passed to the ``cmake`` command
execution. Recipes that have ``CMakeLists.txt`` generally inherit the
:ref:`ref-classes-cmake` class, that runs ``cmake`` with
:term:`EXTRA_OECMAKE`, which :term:`PACKAGECONFIG_CONFARGS` will be
appended to. Now, knowing that :term:`PACKAGECONFIG_CONFARGS` is
automatically filled with either the first or second element of
:term:`PACKAGECONFIG` flag value, the recipe would be like::
inherit cmake
PACKAGECONFIG = "systemd"
PACKAGECONFIG[systemd] = "-DWITH_SYSTEMD=ON,-DWITH_SYSTEMD=OFF"
A side note to this recipe is to check if ``systemd`` is in fact the used :term:`INIT_MANAGER`
or not::
PACKAGECONFIG = "${@'systemd' if d.getVar('INIT_MANAGER') == 'systemd' else ''}"
:term:`PACKAGECONFIG_CONFARGS`
A space-separated list of configuration options generated from the
:term:`PACKAGECONFIG` setting.
@@ -6409,9 +6487,9 @@ system and gives an overview of their function and contents.
:term:`POPULATE_SDK_POST_HOST_COMMAND`
Specifies a list of functions to call once the OpenEmbedded build
system has created the host part of the SDK. You can specify
functions separated by semicolons::
functions separated by spaces::
POPULATE_SDK_POST_HOST_COMMAND += "function; ... "
POPULATE_SDK_POST_HOST_COMMAND += "function"
If you need to pass the SDK path to a command within a function, you
can use ``${SDK_DIR}``, which points to the parent directory used by
@@ -6421,9 +6499,9 @@ system and gives an overview of their function and contents.
:term:`POPULATE_SDK_POST_TARGET_COMMAND`
Specifies a list of functions to call once the OpenEmbedded build
system has created the target part of the SDK. You can specify
functions separated by semicolons::
functions separated by spaces::
POPULATE_SDK_POST_TARGET_COMMAND += "function; ... "
POPULATE_SDK_POST_TARGET_COMMAND += "function"
If you need to pass the SDK path to a command within a function, you
can use ``${SDK_DIR}``, which points to the parent directory used by
@@ -6568,9 +6646,8 @@ system and gives an overview of their function and contents.
source, and then locations specified by
:term:`MIRRORS` in that order.
Assuming your distribution (:term:`DISTRO`) is "poky",
the default value for :term:`PREMIRRORS` is defined in the
``conf/distro/poky.conf`` file in the ``meta-poky`` Git repository.
The default value for :term:`PREMIRRORS` is defined in the
``meta/classes-global/mirrors.bbclass`` file in the core metadata layer.
Typically, you could add a specific server for the build system to
attempt before any others by adding something like the following to
@@ -6910,6 +6987,22 @@ system and gives an overview of their function and contents.
":ref:`bitbake-user-manual/bitbake-user-manual-execution:dependencies`" sections in the
BitBake User Manual for additional information on tasks and dependencies.
:term:`RECIPE_MAINTAINER`
This variable defines the name and e-mail address of the maintainer of a
recipe. Such information can be used by human users submitted changes,
and by automated tools to send notifications, for example about
vulnerabilities or source updates.
The variable can be defined in a global distribution :oe_git:`maintainers.inc
</openembedded-core/tree/meta/conf/distro/include/maintainers.inc>` file::
meta/conf/distro/include/maintainers.inc:RECIPE_MAINTAINER:pn-sysvinit = "Ross Burton <ross.burton@arm.com>"
It can also be directly defined in a recipe,
for example in the ``libgpiod`` one::
RECIPE_MAINTAINER = "Bartosz Golaszewski <brgl@bgdev.pl>"
:term:`RECIPE_NO_UPDATE_REASON`
If a recipe should not be replaced by a more recent upstream version,
putting the reason why in this variable in a recipe allows
@@ -6917,6 +7010,36 @@ system and gives an overview of their function and contents.
in the ":ref:`ref-manual/devtool-reference:checking on the upgrade status of a recipe`"
section.
:term:`RECIPE_SYSROOT`
This variable points to the directory that holds all files populated from
recipes specified in :term:`DEPENDS`. As the name indicates,
think of this variable as a custom root (``/``) for the recipe that will be
used by the compiler in order to find headers and other files needed to complete
its job.
This variable is related to :term:`STAGING_DIR_HOST` or :term:`STAGING_DIR_TARGET`
according to the type of the recipe and the build target.
To better understand this variable, consider the following examples:
- For ``#include <header.h>``, ``header.h`` should be in ``"${RECIPE_SYSROOT}/usr/include"``
- For ``-lexample``, ``libexample.so`` should be in ``"${RECIPE_SYSROOT}/lib"``
or other library sysroot directories.
The default value is ``"${WORKDIR}/recipe-sysroot"``.
Do not modify it.
:term:`RECIPE_SYSROOT_NATIVE`
This is similar to :term:`RECIPE_SYSROOT` but the populated files are from
``-native`` recipes. This allows a recipe built for the target machine to
use ``native`` tools.
This variable is related to :term:`STAGING_DIR_NATIVE`.
The default value is ``"${WORKDIR}/recipe-sysroot-native"``.
Do not modify it.
:term:`REPODIR`
See :term:`bitbake:REPODIR` in the BitBake manual.
@@ -6979,9 +7102,9 @@ system and gives an overview of their function and contents.
:term:`ROOTFS_POSTINSTALL_COMMAND`
Specifies a list of functions to call after the OpenEmbedded build
system has installed packages. You can specify functions separated by
semicolons::
spaces::
ROOTFS_POSTINSTALL_COMMAND += "function; ... "
ROOTFS_POSTINSTALL_COMMAND += "function"
If you need to pass the root filesystem path to a command within a
function, you can use ``${IMAGE_ROOTFS}``, which points to the
@@ -6992,9 +7115,9 @@ system and gives an overview of their function and contents.
:term:`ROOTFS_POSTPROCESS_COMMAND`
Specifies a list of functions to call once the OpenEmbedded build
system has created the root filesystem. You can specify functions
separated by semicolons::
separated by spaces::
ROOTFS_POSTPROCESS_COMMAND += "function; ... "
ROOTFS_POSTPROCESS_COMMAND += "function"
If you need to pass the root filesystem path to a command within a
function, you can use ``${IMAGE_ROOTFS}``, which points to the
@@ -7007,9 +7130,9 @@ system and gives an overview of their function and contents.
system has removed unnecessary packages. When runtime package
management is disabled in the image, several packages are removed
including ``base-passwd``, ``shadow``, and ``update-alternatives``.
You can specify functions separated by semicolons::
You can specify functions separated by spaces::
ROOTFS_POSTUNINSTALL_COMMAND += "function; ... "
ROOTFS_POSTUNINSTALL_COMMAND += "function"
If you need to pass the root filesystem path to a command within a
function, you can use ``${IMAGE_ROOTFS}``, which points to the
@@ -7020,9 +7143,9 @@ system and gives an overview of their function and contents.
:term:`ROOTFS_PREPROCESS_COMMAND`
Specifies a list of functions to call before the OpenEmbedded build
system has created the root filesystem. You can specify functions
separated by semicolons::
separated by spaces::
ROOTFS_PREPROCESS_COMMAND += "function; ... "
ROOTFS_PREPROCESS_COMMAND += "function"
If you need to pass the root filesystem path to a command within a
function, you can use ``${IMAGE_ROOTFS}``, which points to the
@@ -7297,13 +7420,16 @@ system and gives an overview of their function and contents.
:term:`SDK_EXT_TYPE` is set to "full".
:term:`SDK_NAME`
The base name for SDK output files. The name is derived from the
:term:`DISTRO`, :term:`TCLIBC`,
:term:`SDK_ARCH`,
:term:`IMAGE_BASENAME`, and
:term:`TUNE_PKGARCH` variables::
The base name for SDK output files. The default value (as set in
``meta-poky/conf/distro/poky.conf``) is derived from the
:term:`DISTRO`,
:term:`TCLIBC`,
:term:`SDKMACHINE`,
:term:`IMAGE_BASENAME`,
:term:`TUNE_PKGARCH`, and
:term:`MACHINE` variables::
SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${IMAGE_BASENAME}-${TUNE_PKGARCH}"
SDK_NAME = "${DISTRO}-${TCLIBC}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}"
:term:`SDK_OS`
Specifies the operating system for which the SDK will be built. The
@@ -7334,7 +7460,9 @@ system and gives an overview of their function and contents.
:term:`SDK_POSTPROCESS_COMMAND`
Specifies a list of functions to call once the OpenEmbedded build
system creates the SDK. You can specify functions separated by
semicolons: SDK_POSTPROCESS_COMMAND += "function; ... "
spaces:
SDK_POSTPROCESS_COMMAND += "function"
If you need to pass an SDK path to a command within a function, you
can use ``${SDK_DIR}``, which points to the parent directory used by
@@ -7516,23 +7644,6 @@ system and gives an overview of their function and contents.
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1"
:term:`SERIAL_CONSOLES_CHECK`
Specifies serial consoles, which must be listed in
:term:`SERIAL_CONSOLES`, to check against
``/proc/console`` before enabling them using getty. This variable
allows aliasing in the format: <device>:<alias>. If a device was
listed as "sclp_line0" in ``/dev/`` and "ttyS0" was listed in
``/proc/console``, you would do the following::
SERIAL_CONSOLES_CHECK = "slcp_line0:ttyS0"
This variable is currently only supported with SysVinit (i.e. not
with systemd). Note that :term:`SERIAL_CONSOLES_CHECK` also requires
``/etc/inittab`` to be writable when used with SysVinit. This makes it
incompatible with customizations such as the following::
EXTRA_IMAGE_FEATURES += "read-only-rootfs"
:term:`SETUPTOOLS_BUILD_ARGS`
When used by recipes that inherit the :ref:`ref-classes-setuptools3`
class, this variable can be used to specify additional arguments to be
@@ -8105,6 +8216,16 @@ system and gives an overview of their function and contents.
file://.* https://someserver.tld/share/sstate/PATH;downloadfilename=PATH \
file://.* file:///some-local-dir/sstate/PATH"
The Yocto Project actually shares the cache data objects built by its
autobuilder::
SSTATE_MIRRORS ?= "file://.* http://cdn.jsdelivr.net/yocto/sstate/all/PATH;downloadfilename=PATH"
As such binary artifacts are built for the generic QEMU machines
supported by the various Poky releases, they are less likely to be
reusable in real projects building binaries optimized for a specific
CPU family.
:term:`SSTATE_SCAN_FILES`
Controls the list of files the OpenEmbedded build system scans for
hardcoded installation paths. The variable uses a space-separated
@@ -8221,10 +8342,15 @@ system and gives an overview of their function and contents.
for ``-native`` recipes, as they make use of host headers and
libraries.
Check :term:`RECIPE_SYSROOT` and :term:`RECIPE_SYSROOT_NATIVE`.
:term:`STAGING_DIR_NATIVE`
Specifies the path to the sysroot directory used when building
components that run on the build host itself.
The default value is ``"${RECIPE_SYSROOT_NATIVE}"``,
check :term:`RECIPE_SYSROOT_NATIVE`.
:term:`STAGING_DIR_TARGET`
Specifies the path to the sysroot used for the system for which the
component generates code. For components that do not generate code,
@@ -8409,6 +8535,35 @@ system and gives an overview of their function and contents.
${libdir}/${BPN}/ptest \
"
Consider the following example in which you need to manipulate this variable.
Assume you have a recipe ``A`` that provides a shared library ``.so.*`` that is
installed into a custom folder other than "``${libdir}``"
or "``${base_libdir}``", let's say "``/opt/lib``".
.. note::
This is not a recommended way to deal with shared libraries, but this
is just to show the usefulness of setting :term:`SYSROOT_DIRS`.
When a recipe ``B`` :term:`DEPENDS` on ``A``, it means what is in
:term:`SYSROOT_DIRS` will be copied from :term:`D` of the recipe ``B``
into ``B``'s :term:`SYSROOT_DESTDIR` that is "``${WORKDIR}/sysroot-destdir``".
Now, since ``/opt/lib`` is not in :term:`SYSROOT_DIRS`, it will never be copied to
``A``'s :term:`RECIPE_SYSROOT`, which is "``${WORKDIR}/recipe-sysroot``". So,
the linking process will fail.
To fix this, you need to add ``/opt/lib`` to :term:`SYSROOT_DIRS`::
SYSROOT_DIRS:append = " /opt/lib"
.. note::
Even after setting ``/opt/lib`` to :term:`SYSROOT_DIRS`, the linking process will still fail
because the linker does not know that location, since :term:`TARGET_LDFLAGS`
doesn't contain it (if your recipe is for the target). Therefore, so you should add::
TARGET_LDFLAGS:append = " -L${RECIPE_SYSROOT}/opt/lib"
:term:`SYSROOT_DIRS_NATIVE`
Extra directories staged into the sysroot by the
:ref:`ref-tasks-populate_sysroot` task for
@@ -9046,6 +9201,16 @@ system and gives an overview of their function and contents.
portion of an eSDK. This is similar to :term:`TOOLCHAIN_HOST_TASK`
applying to SDKs.
:term:`TOOLCHAIN_OPTIONS`
This variable holds extra options passed to the compiler and the linker
for non ``-native`` recipes as they have to point to their custom
``sysroot`` folder pointed to by :term:`RECIPE_SYSROOT`::
TOOLCHAIN_OPTIONS = " --sysroot=${RECIPE_SYSROOT}"
Native recipes don't need this variable to be set, as they are
built for the host machine with the native compiler.
:term:`TOOLCHAIN_OUTPUTNAME`
This variable defines the name used for the toolchain output. The
:ref:`populate_sdk_base <ref-classes-populate-sdk-*>` class sets

View File

@@ -39,27 +39,20 @@ Follow these steps to locate and hand-install the toolchain:
download the installer appropriate for your build host, target
hardware, and image type.
The installer files (``*.sh``) follow this naming convention::
The installer files (``*.sh``) follow this naming convention:
``poky-glibc-host_system-core-image-type-arch-toolchain[-ext]-release.sh``:
poky-glibc-host_system-core-image-type-arch-toolchain[-ext]-release.sh
- ``host_system``: string representing your development system: ``i686`` or ``x86_64``
Where:
host_system is a string representing your development system:
"i686" or "x86_64"
- ``type``: string representing the image: ``sato`` or ``minimal``
type is a string representing the image:
"sato" or "minimal"
- ``arch``: string representing the target architecture such as ``cortexa57-qemuarm64``
arch is a string representing the target architecture:
"aarch64", "armv5e", "core2-64", "cortexa8hf-neon", "i586", "mips32r2",
"mips64", or "ppc7400"
release is the version of Yocto Project.
NOTE:
The standard SDK installer does not have the "-ext" string as
part of the filename.
- ``release``: version of the Yocto Project.
.. note::
The standard SDK installer does not have the ``-ext`` string as
part of the filename.
The toolchains provided by the Yocto
Project are based off of the ``core-image-sato`` and
@@ -67,16 +60,16 @@ Follow these steps to locate and hand-install the toolchain:
developing against those images.
For example, if your build host is a 64-bit x86 system and you need
an extended SDK for a 64-bit core2 target, go into the ``x86_64``
an extended SDK for a 64-bit core2 QEMU target, go into the ``x86_64``
folder and download the following installer::
poky-glibc-x86_64-core-image-sato-core2-64-toolchain-ext-&DISTRO;.sh
poky-glibc-x86_64-core-image-sato-core2-64-qemux86-64-toolchain-&DISTRO;.sh
#. *Run the Installer:* Be sure you have execution privileges and run
the installer. Following is an example from the ``Downloads``
directory::
$ ~/Downloads/poky-glibc-x86_64-core-image-sato-core2-64-toolchain-ext-&DISTRO;.sh
$ ~/Downloads/poky-glibc-x86_64-core-image-sato-core2-64-qemux86-64-toolchain-&DISTRO;.sh
During execution of the script, you choose the root location for the
toolchain. See the
@@ -216,21 +209,14 @@ Follow these steps to extract the root filesystem:
also contain flattened root filesystem image files (``*.ext4``),
which you can use with QEMU directly.
The pre-built root filesystem image files follow these naming
conventions::
The pre-built root filesystem image files follow the
``core-image-profile-machine.tar.bz2`` naming convention:
core-image-profile-arch.tar.bz2
- ``profile``: filesystem image's profile, such as ``minimal``,
``minimal-dev`` or ``sato``. For information on these types of image
profiles, see the "Images" chapter in the Yocto Project Reference Manual.
Where:
profile is the filesystem image's profile:
lsb, lsb-dev, lsb-sdk, minimal, minimal-dev, minimal-initramfs,
sato, sato-dev, sato-sdk, sato-sdk-ptest. For information on
these types of image profiles, see the "Images" chapter in
the Yocto Project Reference Manual.
arch is a string representing the target architecture:
beaglebone-yocto, beaglebone-yocto-lsb, edgerouter, edgerouter-lsb,
genericx86, genericx86-64, genericx86-64-lsb, genericx86-lsb and qemu*.
- ``machine``: same string as the name of the parent download directory.
The root filesystems
provided by the Yocto Project are based off of the

View File

@@ -26,8 +26,8 @@ ourversion = None
if len(sys.argv) == 2:
ourversion = sys.argv[1]
activereleases = ["mickledore", "kirkstone", "dunfell"]
devbranch = "nanbield"
activereleases = ["nanbield", "mickledore", "kirkstone", "dunfell"]
devbranch = "scarthgap"
ltsseries = ["kirkstone", "dunfell"]
# used by run-docs-builds to get the default page
@@ -36,6 +36,7 @@ if ourversion == "getlatest":
sys.exit(0)
release_series = collections.OrderedDict()
release_series["scarthgap"] = "5.0"
release_series["nanbield"] = "4.3"
release_series["mickledore"] = "4.2"
release_series["langdale"] = "4.1"
@@ -67,6 +68,7 @@ release_series["laverne"] = "0.9"
bitbake_mapping = {
"scarthgap" : "2.8",
"nanbield" : "2.6",
"mickledore" : "2.4",
"langdale" : "2.2",

View File

@@ -14,15 +14,13 @@ release works as intended. All the project's testing infrastructure and
processes are publicly visible and available so that the community can
see what testing is being performed, how it's being done and the current
status of the tests and the project at any given time. It is intended
that Other organizations can leverage off the process and testing
that other organizations can leverage off the process and testing
environment used by the Yocto Project to create their own automated,
production test environment, building upon the foundations from the
project core.
Currently, the Yocto Project Test Environment Manual has no projected
release date. This manual is a work-in-progress and is being initially
loaded with information from the README files and notes from key
engineers:
This manual is a work-in-progress and is being initially loaded with
information from the README files and notes from key engineers:
- *yocto-autobuilder2:* This
:yocto_git:`README.md </yocto-autobuilder2/tree/README.md>`
@@ -39,7 +37,7 @@ engineers:
As a result, it can be used by any Continuous Improvement (CI) system
to run builds, support getting the correct code revisions, configure
builds and layers, run builds, and collect results. The code is
independent of any CI system, which means the code can work `Buildbot <https://docs.buildbot.net/0.9.15.post1/>`__,
independent of any CI system, which means the code can work `Buildbot <https://docs.buildbot.net/current/>`__,
Jenkins, or others. This repository has a branch per release of the
project defining the tests to run on a per release basis.
@@ -54,8 +52,8 @@ the Autobuilder tests if things work. The Autobuilder builds all test
targets and runs all the tests.
The Yocto Project uses now uses standard upstream
`Buildbot <https://docs.buildbot.net/0.9.15.post1/>`__ (version 9) to
drive its integration and testing. Buildbot Nine has a plug-in interface
Buildbot (`version 3.8 <https://docs.buildbot.net/3.8.0/>`__) to
drive its integration and testing. Buildbot has a plug-in interface
that the Yocto Project customizes using code from the
``yocto-autobuilder2`` repository, adding its own console UI plugin. The
resulting UI plug-in allows you to visualize builds in a way suited to
@@ -93,8 +91,8 @@ the following types of tests:
- *Build Testing:* Tests whether specific configurations build by
varying :term:`MACHINE`,
:term:`DISTRO`, other configuration
options, and the specific target images being built (or world). Used
to trigger builds of all the different test configurations on the
options, and the specific target images being built (or ``world``). This is
used to trigger builds of all the different test configurations on the
Autobuilder. Builds usually cover many different targets for
different architectures, machines, and distributions, as well as
different configurations, such as different init systems. The
@@ -120,7 +118,7 @@ the following types of tests:
$ bitbake image -c testsdkext
The tests utilize the :ref:`ref-classes-testsdk` class and the
The tests use the :ref:`ref-classes-testsdk` class and the
``do_testsdkext`` task.
- *Feature Testing:* Various scenario-based tests are run through the
@@ -131,7 +129,7 @@ the following types of tests:
$ bitbake image -c testimage
The tests utilize the :ref:`ref-classes-testimage`
The tests use the :ref:`ref-classes-testimage`
class and the :ref:`ref-tasks-testimage` task.
- *Layer Testing:* The Autobuilder has the possibility to test whether
@@ -151,7 +149,7 @@ the following types of tests:
$ bitbake image -c testsdk
The tests utilize the :ref:`ref-classes-testsdk` class and
The tests use the :ref:`ref-classes-testsdk` class and
the ``do_testsdk`` task.
- *Unit Testing:* Unit tests on various components of the system run
@@ -190,38 +188,39 @@ Tests map into the codebase as follows:
$ bitbake-selftest -v
To skip tests that access the Internet, use the ``BB_SKIP_NETTESTS``
variable when running "bitbake-selftest" as follows::
variable when running ``bitbake-selftest`` as follows::
$ BB_SKIP_NETTESTS=yes bitbake-selftest
Use this option when you wish to skip tests that access the network,
which are mostly necessary to test the fetcher modules. To specify
individual test modules to run, append the test module name to the
"bitbake-selftest" command. For example, to specify the tests for the
bb.data.module, run::
``bitbake-selftest`` command. For example, to specify the tests for
``bb.tests.data.DataExpansions``, run::
$ bitbake-selftest bb.test.data.module
$ bitbake-selftest bb.tests.data.DataExpansions
You can also specify individual tests by defining the full name and module
plus the class path of the test, for example::
$ bitbake-selftest bb.tests.data.TestOverrides.test_one_override
$ bitbake-selftest bb.tests.data.DataExpansions.test_one_var
The tests are based on `Python
unittest <https://docs.python.org/3/library/unittest.html>`__.
The tests are based on
`Python unittest <https://docs.python.org/3/library/unittest.html>`__.
- *oe-selftest:*
- These tests use OE to test the workflows, which include testing
specific features, behaviors of tasks, and API unit tests.
- The tests can take advantage of parallelism through the "-j"
- The tests can take advantage of parallelism through the ``-j``
option, which can specify a number of threads to spread the tests
across. Note that all tests from a given class of tests will run
in the same thread. To parallelize large numbers of tests you can
split the class into multiple units.
- The tests are based on Python unittest.
- The tests are based on
`Python unittest <https://docs.python.org/3/library/unittest.html>`__.
- The code for the tests resides in
``meta/lib/oeqa/selftest/cases/``.
@@ -231,18 +230,18 @@ Tests map into the codebase as follows:
$ oe-selftest -a
- To run a specific test, use the following command form where
testname is the name of the specific test::
``testname`` is the name of the specific test::
$ oe-selftest -r <testname>
For example, the following command would run the tinfoil
getVar API test::
For example, the following command would run the ``tinfoil``
``getVar`` API test::
$ oe-selftest -r tinfoil.TinfoilTests.test_getvar
It is also possible to run a set
of tests. For example the following command will run all of the
tinfoil tests::
``tinfoil`` tests::
$ oe-selftest -r tinfoil
@@ -277,7 +276,7 @@ Tests map into the codebase as follows:
- These tests build an extended SDK (eSDK), install that eSDK, and
run tests against the eSDK.
- The code for these tests resides in ``meta/lib/oeqa/esdk``.
- The code for these tests resides in ``meta/lib/oeqa/sdkext/cases/``.
- To run the tests, use the following command form::
@@ -304,13 +303,13 @@ Tests map into the codebase as follows:
Git repository.
Use the ``oe-build-perf-report`` command to generate text reports
and HTML reports with graphs of the performance data. For
examples, see
:yocto_dl:`/releases/yocto/yocto-2.7/testresults/buildperf-centos7/perf-centos7.yoctoproject.org_warrior_20190414204758_0e39202.html`
and HTML reports with graphs of the performance data. See
:yocto_dl:`html </releases/yocto/yocto-4.3/testresults/buildperf-debian11/perf-debian11_nanbield_20231019191258_15b576c410.html>`
and
:yocto_dl:`/releases/yocto/yocto-2.7/testresults/buildperf-centos7/perf-centos7.yoctoproject.org_warrior_20190414204758_0e39202.txt`.
:yocto_dl:`txt </releases/yocto/yocto-4.3/testresults/buildperf-debian11/perf-debian11_nanbield_20231019191258_15b576c410.txt>`
examples.
- The tests are contained in ``lib/oeqa/buildperf/test_basic.py``.
- The tests are contained in ``meta/lib/oeqa/buildperf/test_basic.py``.
Test Examples
=============
@@ -318,16 +317,14 @@ Test Examples
This section provides example tests for each of the tests listed in the
:ref:`test-manual/intro:How Tests Map to Areas of Code` section.
For oeqa tests, testcases for each area reside in the main test
directory at ``meta/lib/oeqa/selftest/cases`` directory.
- ``oe-selftest`` testcases reside in the ``meta/lib/oeqa/selftest/cases`` directory.
For oe-selftest. bitbake testcases reside in the ``lib/bb/tests/``
directory.
- ``bitbake-selftest`` testcases reside in the ``bitbake/lib/bb/tests/`` directory.
``bitbake-selftest``
--------------------
A simple test example from ``lib/bb/tests/data.py`` is::
A simple test example from ``bitbake/lib/bb/tests/data.py`` is::
class DataExpansions(unittest.TestCase):
def setUp(self):
@@ -340,21 +337,24 @@ A simple test example from ``lib/bb/tests/data.py`` is::
val = self.d.expand("${foo}")
self.assertEqual(str(val), "value_of_foo")
In this example, a ``DataExpansions`` class of tests is created,
derived from standard Python unittest. The class has a common ``setUp``
function which is shared by all the tests in the class. A simple test is
then added to test that when a variable is expanded, the correct value
is found.
In this example, a ``DataExpansions`` class of tests is created, derived from
standard `Python unittest <https://docs.python.org/3/library/unittest.html>`__.
The class has a common ``setUp`` function which is shared by all the tests in
the class. A simple test is then added to test that when a variable is
expanded, the correct value is found.
BitBake selftests are straightforward Python unittest. Refer to the
Python unittest documentation for additional information on writing
these tests at: https://docs.python.org/3/library/unittest.html.
BitBake selftests are straightforward
`Python unittest <https://docs.python.org/3/library/unittest.html>`__.
Refer to the `Python unittest documentation
<https://docs.python.org/3/library/unittest.html>`__ for additional information
on writing such tests.
``oe-selftest``
---------------
These tests are more complex due to the setup required behind the scenes
for full builds. Rather than directly using Python's unittest, the code
for full builds. Rather than directly using `Python unittest
<https://docs.python.org/3/library/unittest.html>`__, the code
wraps most of the standard objects. The tests can be simple, such as
testing a command from within the OE build environment using the
following example::
@@ -391,14 +391,14 @@ so tests within a given test class should always run in the same build,
while tests in different classes or modules may be split into different
builds. There is no data store available for these tests since the tests
launch the ``bitbake`` command and exist outside of its context. As a
result, common bitbake library functions (bb.\*) are also unavailable.
result, common BitBake library functions (``bb.\*``) are also unavailable.
``testimage``
-------------
These tests are run once an image is up and running, either on target
hardware or under QEMU. As a result, they are assumed to be running in a
target image environment, as opposed to a host build environment. A
target image environment, as opposed to in a host build environment. A
simple example from ``meta/lib/oeqa/runtime/cases/python.py`` contains
the following::
@@ -413,19 +413,19 @@ the following::
In this example, the ``OERuntimeTestCase`` class wraps
``unittest.TestCase``. Within the test, ``self.target`` represents the
target system, where commands can be run on it using the ``run()``
target system, where commands can be run using the ``run()``
method.
To ensure certain test or package dependencies are met, you can use the
To ensure certain tests or package dependencies are met, you can use the
``OETestDepends`` and ``OEHasPackage`` decorators. For example, the test
in this example would only make sense if python3-core is installed in
in this example would only make sense if ``python3-core`` is installed in
the image.
``testsdk_ext``
---------------
These tests are run against built extensible SDKs (eSDKs). The tests can
assume that the eSDK environment has already been setup. An example from
assume that the eSDK environment has already been set up. An example from
``meta/lib/oeqa/sdk/cases/devtool.py`` contains the following::
class DevtoolTest(OESDKExtTestCase):
@@ -472,9 +472,9 @@ following::
output = self._run(cmd)
self.assertEqual(output, "Hello, world\n")
In this example, if nativesdk-python3-core has been installed into the SDK, the code runs
the python3 interpreter with a basic command to check it is working
correctly. The test would only run if Python3 is installed in the SDK.
In this example, if ``nativesdk-python3-core`` has been installed into the SDK,
the code runs the ``python3`` interpreter with a basic command to check it is
working correctly. The test would only run if Python3 is installed in the SDK.
``oe-build-perf-test``
----------------------
@@ -520,7 +520,7 @@ an isolated directory.
This can delete files from :term:`SSTATE_DIR` which would potentially break
other builds running in parallel. If this is required, :term:`SSTATE_DIR` must
be set to an isolated directory. Alternatively, you can use the "-f"
be set to an isolated directory. Alternatively, you can use the ``-f``
option with the ``bitbake`` command to "taint" tasks by changing the
sstate checksums to ensure sstate cache items will not be reused.

View File

@@ -68,17 +68,6 @@ things we do within the build system to ensure reproducibility include:
- Filtering the tools available from the host's ``PATH`` to only a specific set
of tools, set using the :term:`HOSTTOOLS` variable.
.. note::
Because of an open bug in GCC, using ``DISTRO_FEATURES:append = " lto"`` or
adding ``-flto`` (Link Time Optimization) to :term:`CFLAGS` makes the resulting
binary non-reproducible, in that it depends on the full absolute build path
to ``recipe-sysroot-native``, so installing the Yocto Project in a different
directory results in a different binary.
This issue is addressed by
:yocto_bugs:`bug 14481 - Programs built with -flto are not reproducible</show_bug.cgi?id=14481>`.
=========================================
Can we prove the project is reproducible?
=========================================

View File

@@ -20,8 +20,8 @@ helps review and test patches and this is his testing tree).
We have two broad categories of test builds, including "full" and
"quick". On the Autobuilder, these can be seen as "a-quick" and
"a-full", simply for ease of sorting in the UI. Use our Autobuilder
console view to see where me manage most test-related items, available
at: :yocto_ab:`/typhoon/#/console`.
:yocto_ab:`console view </typhoon/#/console>` to see where we manage most
test-related items.
Builds are triggered manually when the test branches are ready. The
builds are monitored by the SWAT team. For additional information, see
@@ -34,24 +34,21 @@ which the result was required.
The Autobuilder does build the ``master`` branch once daily for several
reasons, in particular, to ensure the current ``master`` branch does
build, but also to keep ``yocto-testresults``
(:yocto_git:`/yocto-testresults/`),
buildhistory
(:yocto_git:`/poky-buildhistory/`), and
our sstate up to date. On the weekend, there is a master-next build
build, but also to keep (:yocto_git:`yocto-testresults </yocto-testresults/>`),
(:yocto_git:`buildhistory </poky-buildhistory/>`), and
our sstate up to date. On the weekend, there is a ``master-next`` build
instead to ensure the test results are updated for the less frequently
run targets.
Performance builds (buildperf-\* targets in the console) are triggered
Performance builds (``buildperf-\*`` targets in the console) are triggered
separately every six hours and automatically push their results to the
buildstats repository at:
:yocto_git:`/yocto-buildstats/`.
:yocto_git:`buildstats </yocto-buildstats/>` repository.
The 'quick' targets have been selected to be the ones which catch the
most failures or give the most valuable data. We run 'fast' ptests in
The "quick" targets have been selected to be the ones which catch the
most failures or give the most valuable data. We run "fast" ptests in
this case for example but not the ones which take a long time. The quick
target doesn't include \*-lsb builds for all architectures, some world
builds and doesn't trigger performance tests or ltp testing. The full
target doesn't include ``\*-lsb`` builds for all architectures, some ``world``
builds and doesn't trigger performance tests or ``ltp`` testing. The full
build includes all these things and is slower but more comprehensive.
Release Builds
@@ -67,12 +64,12 @@ that in :ref:`test-manual/test-process:day to day development`, in that the
a-full target of the Autobuilder is used but in addition the form is
configured to generate and publish artifacts and the milestone number,
version, release candidate number and other information is entered. The
box to "generate an email to QA"is also checked.
box to "generate an email to QA" is also checked.
When the build completes, an email is sent out using the send-qa-email
script in the ``yocto-autobuilder-helper`` repository to the list of
people configured for that release. Release builds are placed into a
directory in https://autobuilder.yocto.io/pub/releases on the
When the build completes, an email is sent out using the ``send-qa-email``
script in the :yocto_git:`yocto-autobuilder-helper </yocto-autobuilder-helper>`
repository to the list of people configured for that release. Release builds
are placed into a directory in https://autobuilder.yocto.io/pub/releases on the
Autobuilder which is included in the email. The process from here is
more manual and control is effectively passed to release engineering.
The next steps include:
@@ -80,14 +77,15 @@ The next steps include:
- QA teams respond to the email saying which tests they plan to run and
when the results will be available.
- QA teams run their tests and share their results in the yocto-
testresults-contrib repository, along with a summary of their
findings.
- QA teams run their tests and share their results in the
:yocto_git:`yocto-testresults-contrib </yocto-testresults-contrib>`
repository, along with a summary of their findings.
- Release engineering prepare the release as per their process.
- Test results from the QA teams are included into the release in
separate directories and also uploaded to the yocto-testresults
separate directories and also uploaded to the
:yocto_git:`yocto-testresults </yocto-testresults>`
repository alongside the other test results for the given revision.
- The QA report in the final release is regenerated using resulttool to

View File

@@ -9,8 +9,8 @@ Execution Flow within the Autobuilder
The "a-full" and "a-quick" targets are the usual entry points into the
Autobuilder and it makes sense to follow the process through the system
starting there. This is best visualized from the Autobuilder Console
view (:yocto_ab:`/typhoon/#/console`).
starting there. This is best visualized from the :yocto_ab:`Autobuilder
Console view </typhoon/#/console>`.
Each item along the top of that view represents some "target build" and
these targets are all run in parallel. The 'full' build will trigger the
@@ -18,9 +18,9 @@ majority of them, the "quick" build will trigger some subset of them.
The Autobuilder effectively runs whichever configuration is defined for
each of those targets on a separate buildbot worker. To understand the
configuration, you need to look at the entry on ``config.json`` file
within the ``yocto-autobuilder-helper`` repository. The targets are
defined in the overrides' section, a quick example could be qemux86-64
which looks like::
within the :yocto_git:`yocto-autobuilder-helper </yocto-autobuilder-helper>`
repository. The targets are defined in the ``overrides`` section, a quick
example could be ``qemux86-64`` which looks like::
"qemux86-64" : {
"MACHINE" : "qemux86-64",
@@ -32,8 +32,8 @@ which looks like::
}
},
And to expand that, you need the "arch-qemu" entry from
the "templates" section, which looks like::
And to expand that, you need the ``arch-qemu`` entry from
the ``templates`` section, which looks like::
"arch-qemu" : {
"BUILDINFO" : true,
@@ -54,11 +54,11 @@ the "templates" section, which looks like::
}
},
Combining these two entries you can see that "qemux86-64" is a three step build where the
``bitbake BBTARGETS`` would be run, then ``bitbake SANITYTARGETS`` for each step; all for
``MACHINE="qemux86-64"`` but with differing :term:`SDKMACHINE` settings. In step
1 an extra variable is added to the ``auto.conf`` file to enable wic
image generation.
Combining these two entries you can see that ``qemux86-64`` is a three step
build where ``bitbake BBTARGETS`` would be run, then ``bitbake SANITYTARGETS``
for each step; all for ``MACHINE="qemux86-64"`` but with differing
:term:`SDKMACHINE` settings. In step 1, an extra variable is added to the
``auto.conf`` file to enable wic image generation.
While not every detail of this is covered here, you can see how the
template mechanism allows quite complex configurations to be built up
@@ -88,9 +88,9 @@ roughly consist of:
#. *Obtain yocto-autobuilder-helper*
This step clones the ``yocto-autobuilder-helper`` git repository.
This is necessary to prevent the requirement to maintain all the
release or project-specific code within Buildbot. The branch chosen
This step clones the :yocto_git:`yocto-autobuilder-helper </yocto-autobuilder-helper>`
git repository. This is necessary to avoid the requirement to maintain all
the release or project-specific code within Buildbot. The branch chosen
matches the release being built so we can support older releases and
still make changes in newer ones.
@@ -163,8 +163,9 @@ Autobuilder Worker Janitor
--------------------------
This is a process running on each Worker that performs two basic
operations, including background file deletion at IO idle (see :ref:`test-manual/understand-autobuilder:Autobuilder Target Execution Overview`: Run clobberdir) and
maintenance of a cache of cloned repositories to improve the speed
operations, including background file deletion at IO idle (see
"Run clobberdir" in :ref:`test-manual/understand-autobuilder:Autobuilder Target Execution Overview`)
and maintenance of a cache of cloned repositories to improve the speed
the system can checkout repositories.
Shared DL_DIR
@@ -172,7 +173,7 @@ Shared DL_DIR
The Workers are all connected over NFS which allows :term:`DL_DIR` to be shared
between them. This reduces network accesses from the system and allows
the build to be sped up. Usage of the directory within the build system
the build to be sped up. The usage of the directory within the build system
is designed to be able to be shared over NFS.
Shared SSTATE_DIR
@@ -180,8 +181,8 @@ Shared SSTATE_DIR
The Workers are all connected over NFS which allows the ``sstate``
directory to be shared between them. This means once a Worker has built
an artifact, all the others can benefit from it. Usage of the directory
within the directory is designed for sharing over NFS.
an artifact, all the others can benefit from it. The usage of the directory
within the build system is designed for sharing over NFS.
Resulttool
----------
@@ -192,7 +193,7 @@ in a given build and their status. Additional information, such as
failure logs or the time taken to run the tests, may also be included.
Resulttool is part of OpenEmbedded-Core and is used to manipulate these
json results files. It has the ability to merge files together, display
JSON results files. It has the ability to merge files together, display
reports of the test results and compare different result files.
For details, see :yocto_wiki:`/Resulttool`.
@@ -206,7 +207,7 @@ are general setup steps that are run once and include:
#. Set up any :term:`buildtools` tarball if configured.
#. Call "buildhistory-init" if :ref:`ref-classes-buildhistory` is configured.
#. Call ``buildhistory-init`` if :ref:`ref-classes-buildhistory` is configured.
For each step that is configured in ``config.json``, it will perform the
following:
@@ -250,15 +251,16 @@ Deploying Yocto Autobuilder
===========================
The most up to date information about how to setup and deploy your own
Autobuilder can be found in README.md in the ``yocto-autobuilder2``
repository.
Autobuilder can be found in :yocto_git:`README.md </yocto-autobuilder2/tree/README.md>`
in the :yocto_git:`yocto-autobuilder2 </yocto-autobuilder2>` repository.
We hope that people can use the ``yocto-autobuilder2`` code directly but
it is inevitable that users will end up needing to heavily customise the
``yocto-autobuilder-helper`` repository, particularly the
``config.json`` file as they will want to define their own test matrix.
We hope that people can use the :yocto_git:`yocto-autobuilder2 </yocto-autobuilder2>`
code directly but it is inevitable that users will end up needing to heavily
customize the :yocto_git:`yocto-autobuilder-helper </yocto-autobuilder-helper>`
repository, particularly the ``config.json`` file as they will want to define
their own test matrix.
The Autobuilder supports wo customization options:
The Autobuilder supports two customization options:
- variable substitution
@@ -278,7 +280,7 @@ environment::
$ ABHELPER_JSON="config.json /some/location/local.json"
One issue users often run into is validation of the ``config.json`` files. A
tip for minimizing issues from invalid json files is to use a Git
tip for minimizing issues from invalid JSON files is to use a Git
``pre-commit-hook.sh`` script to verify the JSON file before committing
it. Create a symbolic link as follows::

View File

@@ -29,8 +29,9 @@ contact us with other suggestions.
#. **Get to know the layer index:**
All layers can be found in the :oe_layerindex:`layer index <>`. Layers which
have applied for Yocto Project Compatible status (structure continuity
assurance and testing) can be found in the :yocto_home:`Yocto Project Compatible index
</software-over/layer/>`. Generally check the Compatible layer index first,
assurance and testing) can be found in the :yocto_home:`Yocto Project
Compatible Layers </development/yocto-project-compatible-layers/>` page.
Generally check the Compatible layer index first,
and if you don't find the necessary layer check the general layer index. The
layer index is an original artifact from the Open Embedded Project. As such,
that index doesn't have the curating and testing that the Yocto Project

View File

@@ -1,6 +1,6 @@
DISTRO = "poky"
DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
DISTRO_VERSION = "4.3"
DISTRO_VERSION = "4.3.2"
DISTRO_CODENAME = "nanbield"
SDK_VENDOR = "-pokysdk"
SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${METADATA_REVISION}', 'snapshot')}"

View File

@@ -18,7 +18,6 @@ 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 115200;ttyAMA0"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
PREFERRED_VERSION_linux-yocto ?= "6.1%"

View File

@@ -6,6 +6,5 @@ DEFAULTTUNE ?= "core2-64"
require conf/machine/include/x86/tune-core2.inc
require conf/machine/include/genericx86-common.inc
SERIAL_CONSOLES_CHECK = "ttyS0"
#For runqemu
QB_SYSTEM_NAME = "qemu-system-x86_64"

View File

@@ -634,7 +634,7 @@ python () {
# Mercurial packages should DEPEND on mercurial-native
elif uri.scheme == "hg":
d.appendVar("EXTRANATIVEPATH", ' python3-native ')
d.appendVarFlag('do_fetch', 'depends', ' mercurial-native:do_populate_sysroot')
d.appendVarFlag('do_fetch', 'depends', ' mercurial-native:do_populate_sysroot ca-certificates-native:do_populate_sysroot')
# OSC packages should DEPEND on osc-native
elif uri.scheme == "osc":

View File

@@ -47,6 +47,10 @@ python do_package_ipk () {
do_package_ipk[vardeps] += "ipk_write_pkg"
do_package_ipk[vardepsexclude] = "BB_NUMBER_THREADS"
# FILE isn't included by default but we want the recipe to change if basename() changes
IPK_RECIPE_FILE = "${@os.path.basename(d.getVar('FILE'))}"
IPK_RECIPE_FILE[vardepvalue] = "${IPK_RECIPE_FILE}"
def ipk_write_pkg(pkg, d):
import re, copy
import subprocess
@@ -62,7 +66,7 @@ def ipk_write_pkg(pkg, d):
outdir = d.getVar('PKGWRITEDIRIPK')
pkgdest = d.getVar('PKGDEST')
recipesource = os.path.basename(d.getVar('FILE'))
recipesource = d.getVar('IPK_RECIPE_FILE')
localdata = bb.data.createCopy(d)
root = "%s/%s" % (pkgdest, pkg)

View File

@@ -937,6 +937,7 @@ def sstate_checkhashes(sq_data, d, siginfo=False, currentcount=0, summary=True,
sstatefile = d.expand("${SSTATE_DIR}/" + getsstatefile(tid, siginfo, d))
if os.path.exists(sstatefile):
oe.utils.touch(sstatefile)
found.add(tid)
bb.debug(2, "SState: Found valid sstate file %s" % sstatefile)
else:
@@ -1183,16 +1184,7 @@ python sstate_eventhandler() {
if not os.path.exists(siginfo):
bb.siggen.dump_this_task(siginfo, d)
else:
try:
os.utime(siginfo, None)
except PermissionError:
pass
except OSError as e:
# Handle read-only file systems gracefully
import errno
if e.errno != errno.EROFS:
raise e
oe.utils.touch(siginfo)
}
SSTATE_PRUNE_OBSOLETEWORKDIR ?= "1"

View File

@@ -20,9 +20,6 @@
# they would be in ${WORKDIR}.
#
# Nothing is being built so there is no need for the cross-compiler.
INHIBIT_DEFAULT_DEPS = "1"
# Skip the unwanted steps
do_configure[noexec] = "1"
do_compile[noexec] = "1"

View File

@@ -68,33 +68,10 @@ SECURITY_NOPIE_CFLAGS ??= ""
CCACHE_DISABLE ?= "1"
def go_map_arch(a, d):
import re
if re.match('i.86', a):
return '386'
elif a == 'x86_64':
return 'amd64'
elif re.match('arm.*', a):
return 'arm'
elif re.match('aarch64.*', a):
return 'arm64'
elif re.match('mips64el.*', a):
return 'mips64le'
elif re.match('mips64.*', a):
return 'mips64'
elif a == 'mips':
return 'mips'
elif a == 'mipsel':
return 'mipsle'
elif re.match('p(pc|owerpc)(64le)', a):
return 'ppc64le'
elif re.match('p(pc|owerpc)(64)', a):
return 'ppc64'
elif a == 'riscv64':
return 'riscv64'
elif a == 'loongarch64':
return 'loong64'
else:
arch = oe.go.map_arch(a)
if not arch:
raise bb.parse.SkipRecipe("Unsupported CPU architecture: %s" % a)
return arch
def go_map_arm(a, d):
if a.startswith("arm"):

View File

@@ -74,8 +74,8 @@ TARGET_STRIP_KERNEL_ARCH ?= ""
HOST_STRIP_KERNEL_ARCH ?= "${TARGET_STRIP_KERNEL_ARCH}"
KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_KERNEL_ARCH} -fuse-ld=bfd ${DEBUG_PREFIX_MAP} -fdebug-prefix-map=${STAGING_KERNEL_DIR}=${KERNEL_SRC_PATH} -fdebug-prefix-map=${STAGING_KERNEL_BUILDDIR}=${KERNEL_SRC_PATH}"
KERNEL_LD = "${CCACHE}${HOST_PREFIX}ld.bfd ${HOST_LD_KERNEL_ARCH}"
KERNEL_AR = "${CCACHE}${HOST_PREFIX}ar ${HOST_AR_KERNEL_ARCH}"
KERNEL_OBJCOPY = "${CCACHE}${HOST_PREFIX}objcopy ${HOST_OBJCOPY_KERNEL_ARCH}"
KERNEL_STRIP = "${CCACHE}${HOST_PREFIX}strip ${HOST_STRIP_KERNEL_ARCH}"
KERNEL_LD = "${HOST_PREFIX}ld.bfd ${HOST_LD_KERNEL_ARCH}"
KERNEL_AR = "${HOST_PREFIX}ar ${HOST_AR_KERNEL_ARCH}"
KERNEL_OBJCOPY = "${HOST_PREFIX}objcopy ${HOST_OBJCOPY_KERNEL_ARCH}"
KERNEL_STRIP = "${HOST_PREFIX}strip ${HOST_STRIP_KERNEL_ARCH}"
TOOLCHAIN ?= "gcc"

View File

@@ -176,12 +176,32 @@ do_kernel_metadata() {
# kernel source tree, where they'll be used later.
check_git_config
patches="${@" ".join(find_patches(d,'kernel-meta'))}"
for p in $patches; do
if [ -n "$patches" ]; then
(
cd ${WORKDIR}/kernel-meta
git am -s $p
)
done
cd ${WORKDIR}/kernel-meta
# take the SRC_URI patches, and create a series file
# this is required to support some better processing
# of issues with the patches
rm -f series
for p in $patches; do
cp $p .
echo "$(basename $p)" >> series
done
# process the series with kgit-s2q, which is what is
# handling the rest of the kernel. This allows us
# more flexibility for handling failures or advanced
# mergeing functinoality
message=$(kgit-s2q --gen -v --patches ${WORKDIR}/kernel-meta 2>&1)
if [ $? -ne 0 ]; then
# setup to try the patch again
kgit-s2q --prev
bberror "Problem applying patches to: ${WORKDIR}/kernel-meta"
bbfatal_log "\n($message)"
fi
)
fi
fi
sccs_from_src_uri="${@" ".join(find_sccs(d))}"

View File

@@ -336,7 +336,7 @@ kernel_do_transform_bundled_initramfs() {
do_transform_bundled_initramfs[dirs] = "${B}"
python do_package:prepend () {
os.environ['STRIP'] = d.getVar('KERNEL_STRIP')
d.setVar('STRIP', d.getVar('KERNEL_STRIP').strip())
}
python do_devshell:prepend () {

View File

@@ -79,7 +79,7 @@ llvm-config = 'llvm-config'
cups-config = 'cups-config'
g-ir-scanner = '${STAGING_BINDIR}/g-ir-scanner-wrapper'
g-ir-compiler = '${STAGING_BINDIR}/g-ir-compiler-wrapper'
${@rust_tool(d, "HOST_SYS")}
${@rust_tool(d, "RUST_HOST_SYS")}
${@"exe_wrapper = '${WORKDIR}/meson-qemuwrapper'" if d.getVar('EXEWRAPPER_ENABLED') == 'True' else ""}
[built-in options]
@@ -116,7 +116,7 @@ readelf = ${@meson_array('BUILD_READELF', d)}
objcopy = ${@meson_array('BUILD_OBJCOPY', d)}
llvm-config = '${STAGING_BINDIR_NATIVE}/llvm-config'
pkgconfig = 'pkg-config-native'
${@rust_tool(d, "BUILD_SYS")}
${@rust_tool(d, "RUST_BUILD_SYS")}
[built-in options]
c_args = ${@meson_array('BUILD_CFLAGS', d)}

View File

@@ -241,10 +241,10 @@ read_only_rootfs_hook () {
#
zap_empty_root_password () {
if [ -e ${IMAGE_ROOTFS}/etc/shadow ]; then
sed -i 's%^root::%root:*:%' ${IMAGE_ROOTFS}/etc/shadow
sed --follow-symlinks -i 's%^root::%root:*:%' ${IMAGE_ROOTFS}/etc/shadow
fi
if [ -e ${IMAGE_ROOTFS}/etc/passwd ]; then
sed -i 's%^root::%root:*:%' ${IMAGE_ROOTFS}/etc/passwd
sed --follow-symlinks -i 's%^root::%root:*:%' ${IMAGE_ROOTFS}/etc/passwd
fi
}

View File

@@ -109,21 +109,6 @@ TESTIMAGE_DUMP_DIR ?= "${LOG_DIR}/runtime-hostdump/"
TESTIMAGE_UPDATE_VARS ?= "DL_DIR WORKDIR DEPLOY_DIR_IMAGE IMAGE_LINK_NAME"
testimage_dump_target () {
top -bn1
ps
free
df
# The next command will export the default gateway IP
export DEFAULT_GATEWAY=$(ip route | awk '/default/ { print $3}')
ping -c3 $DEFAULT_GATEWAY
dmesg
netstat -an
ip address
# Next command will dump logs from /var/log/
find /var/log/ -type f 2>/dev/null -exec echo "====================" \; -exec echo {} \; -exec echo "====================" \; -exec cat {} \; -exec echo "" \;
}
testimage_dump_monitor () {
query-status
query-block
@@ -352,7 +337,6 @@ def testimage_main(d):
target_kwargs['serialcontrol_cmd'] = d.getVar("TEST_SERIALCONTROL_CMD") or None
target_kwargs['serialcontrol_extra_args'] = d.getVar("TEST_SERIALCONTROL_EXTRA_ARGS") or ""
target_kwargs['testimage_dump_monitor'] = d.getVar("testimage_dump_monitor") or ""
target_kwargs['testimage_dump_target'] = d.getVar("testimage_dump_target") or ""
def export_ssh_agent(d):
import os

View File

@@ -138,6 +138,8 @@ def generate_json_report(d, out_path, link_path):
cve_check_merge_jsons(summary, data)
filename = f.readline()
summary["package"].sort(key=lambda d: d['name'])
with open(out_path, "w") as f:
json.dump(summary, f, indent=2)

View File

@@ -160,7 +160,7 @@ perform_passwd_expire () {
local username=`echo "$opts" | awk '{ print $NF }'`
local user_exists="`grep "^$username:" $rootdir/etc/passwd || true`"
if test "x$user_exists" != "x"; then
eval flock -x $rootdir${sysconfdir} -c \"$PSEUDO sed -i \''s/^\('$username':[^:]*\):[^:]*:/\1:0:/'\' $rootdir/etc/shadow \" || true
eval flock -x $rootdir${sysconfdir} -c \"$PSEUDO sed --follow-symlinks -i \''s/^\('$username':[^:]*\):[^:]*:/\1:0:/'\' $rootdir/etc/shadow \" || true
local passwd_lastchanged="`grep "^$username:" $rootdir/etc/shadow | cut -d: -f3`"
if test "x$passwd_lastchanged" != "x0"; then
bbfatal "${PN}: passwd --expire operation did not succeed."

View File

@@ -69,4 +69,3 @@ SECURITY_LDFLAGS:pn-xserver-xorg = "${SECURITY_X_LDFLAGS}"
TARGET_CC_ARCH:append:pn-binutils = " ${SELECTED_OPTIMIZATION}"
TARGET_CC_ARCH:append:pn-gcc = " ${SELECTED_OPTIMIZATION}"
TARGET_CC_ARCH:append:pn-gdb = " ${SELECTED_OPTIMIZATION}"
TARGET_CC_ARCH:append:pn-perf = " ${SELECTED_OPTIMIZATION}"

View File

@@ -379,7 +379,6 @@ SDKMACHINE[doc] = "Specifies the architecture (i.e. i686 or x86_64) for which to
SECTION[doc] = "The section in which packages should be categorized. Package management utilities can make use of this variable."
SELECTED_OPTIMIZATION[doc] = "The variable takes the value of FULL_OPTIMIZATION unless DEBUG_BUILD = '1'. In this case, the value of DEBUG_OPTIMIZATION is used."
SERIAL_CONSOLES[doc] = "Defines the serial consoles (TTYs) to enable using getty."
SERIAL_CONSOLES_CHECK[doc] = "Similar to SERIAL_CONSOLES except the device is checked for existence before attempting to enable it. Supported only by SysVinit."
SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS[doc] = "A list of recipe dependencies that should not be used to determine signatures of tasks from one recipe when they depend on tasks from another recipe."
SIGGEN_EXCLUDERECIPES_ABISAFE[doc] = "A list of recipes that are completely stable and will never change."
SITEINFO_BITS[doc] = "Specifies the number of bits for the target system CPU."

View File

@@ -7,7 +7,7 @@ BBFILE_COLLECTIONS += "core"
BBFILE_PATTERN_core = "^${LAYERDIR}/"
BBFILE_PRIORITY_core = "5"
LAYERSERIES_CORENAMES = "nanbield mickledore"
LAYERSERIES_CORENAMES = "nanbield"
# This should only be incremented on significant changes that will
# cause compatibility issues with other layers

View File

@@ -9,4 +9,4 @@ __path__ = extend_path(__path__, __name__)
BBIMPORTS = ["data", "path", "utils", "types", "package", "packagedata", \
"packagegroup", "sstatesig", "lsb", "cachedpath", "license", \
"qa", "reproducible", "rust", "buildcfg"]
"qa", "reproducible", "rust", "buildcfg", "go"]

View File

@@ -1,26 +1,27 @@
import os
import subprocess
import bb.process
def detect_revision(d):
path = get_scmbasepath(d)
return get_metadata_git_revision(path, d)
return get_metadata_git_revision(path)
def detect_branch(d):
path = get_scmbasepath(d)
return get_metadata_git_branch(path, d)
return get_metadata_git_branch(path)
def get_scmbasepath(d):
return os.path.join(d.getVar('COREBASE'), 'meta')
def get_metadata_git_branch(path, d):
def get_metadata_git_branch(path):
try:
rev, _ = bb.process.run('git rev-parse --abbrev-ref HEAD', cwd=path)
except bb.process.ExecutionError:
rev = '<unknown>'
return rev.strip()
def get_metadata_git_revision(path, d):
def get_metadata_git_revision(path):
try:
rev, _ = bb.process.run('git rev-parse HEAD', cwd=path)
except bb.process.ExecutionError:
@@ -45,5 +46,5 @@ def get_layer_revisions(d):
layers = (d.getVar("BBLAYERS") or "").split()
revisions = []
for i in layers:
revisions.append((i, os.path.basename(i), get_metadata_git_branch(i, None).strip(), get_metadata_git_revision(i, None), is_layer_modified(i)))
revisions.append((i, os.path.basename(i), get_metadata_git_branch(i).strip(), get_metadata_git_revision(i), is_layer_modified(i)))
return revisions

View File

@@ -95,11 +95,6 @@ def get_patched_cves(d):
for url in oe.patch.src_patches(d):
patch_file = bb.fetch.decodeurl(url)[2]
# Remote compressed patches may not be unpacked, so silently ignore them
if not os.path.isfile(patch_file):
bb.warn("%s does not exist, cannot extract CVE list" % patch_file)
continue
# Check patch file name for CVE ID
fname_match = cve_file_name_match.search(patch_file)
if fname_match:
@@ -107,6 +102,12 @@ def get_patched_cves(d):
patched_cves.add(cve)
bb.debug(2, "Found CVE %s from patch file name %s" % (cve, patch_file))
# Remote patches won't be present and compressed patches won't be
# unpacked, so say we're not scanning them
if not os.path.isfile(patch_file):
bb.note("%s is remote or compressed, not scanning content" % patch_file)
continue
with open(patch_file, "r", encoding="utf-8") as f:
try:
patch_text = f.read()
@@ -172,7 +173,7 @@ def cve_check_merge_jsons(output, data):
for product in output["package"]:
if product["name"] == data["package"][0]["name"]:
bb.error("Error adding the same package twice")
bb.error("Error adding the same package %s twice" % product["name"])
return
output["package"].append(data["package"][0])

34
meta/lib/oe/go.py Normal file
View File

@@ -0,0 +1,34 @@
#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#
import re
def map_arch(a):
if re.match('i.86', a):
return '386'
elif a == 'x86_64':
return 'amd64'
elif re.match('arm.*', a):
return 'arm'
elif re.match('aarch64.*', a):
return 'arm64'
elif re.match('mips64el.*', a):
return 'mips64le'
elif re.match('mips64.*', a):
return 'mips64'
elif a == 'mips':
return 'mips'
elif a == 'mipsel':
return 'mipsle'
elif re.match('p(pc|owerpc)(64le)', a):
return 'ppc64le'
elif re.match('p(pc|owerpc)(64)', a):
return 'ppc64'
elif a == 'riscv64':
return 'riscv64'
elif a == 'loongarch64':
return 'loong64'
return ''

View File

@@ -772,8 +772,9 @@ class NOOPResolver(Resolver):
self.patchset.Push()
except Exception:
import sys
os.chdir(olddir)
raise
finally:
os.chdir(olddir)
# Patch resolver which relies on the user doing all the work involved in the
# resolution, with the exception of refreshing the remote copy of the patch
@@ -833,9 +834,9 @@ class UserResolver(Resolver):
# User did not fix the problem. Abort.
raise PatchError("Patch application failed, and user did not fix and refresh the patch.")
except Exception:
os.chdir(olddir)
raise
os.chdir(olddir)
finally:
os.chdir(olddir)
def patch_path(url, fetch, workdir, expand=True):

View File

@@ -125,7 +125,8 @@ def copyhardlinktree(src, dst):
if os.path.isdir(src):
if len(glob.glob('%s/.??*' % src)) > 0:
source = './.??* '
source += './*'
if len(glob.glob('%s/**' % src)) > 0:
source += './*'
s_dir = src
else:
source = src

View File

@@ -7,6 +7,7 @@
import subprocess
import multiprocessing
import traceback
import errno
def read_file(filename):
try:
@@ -528,3 +529,14 @@ def directory_size(root, blocksize=4096):
total += sum(roundup(getsize(os.path.join(root, name))) for name in files)
total += roundup(getsize(root))
return total
# Update the mtime of a file, skip if permission/read-only issues
def touch(filename):
try:
os.utime(filename, None)
except PermissionError:
pass
except OSError as e:
# Handle read-only file systems gracefully
if e.errno != errno.EROFS:
raise e

View File

@@ -14,8 +14,6 @@ from collections import defaultdict
from .ssh import OESSHTarget
from oeqa.utils.qemurunner import QemuRunner
from oeqa.utils.dump import MonitorDumper
from oeqa.utils.dump import TargetDumper
supported_fstypes = ['ext3', 'ext4', 'cpio.gz', 'wic']
@@ -47,14 +45,6 @@ class OEQemuTarget(OESSHTarget):
use_kvm=kvm, use_slirp=slirp, dump_dir=dump_dir, logger=logger,
serial_ports=serial_ports, boot_patterns = boot_patterns,
use_ovmf=ovmf, tmpfsdir=tmpfsdir)
dump_monitor_cmds = kwargs.get("testimage_dump_monitor")
self.monitor_dumper = MonitorDumper(dump_monitor_cmds, dump_dir, self.runner)
if self.monitor_dumper:
self.monitor_dumper.create_dir("qmp")
dump_target_cmds = kwargs.get("testimage_dump_target")
self.target_dumper = TargetDumper(dump_target_cmds, dump_dir, self.runner)
self.target_dumper.create_dir("qemu")
def start(self, params=None, extra_bootparams=None, runqemuparams=''):
if self.use_slirp and not self.server_ip:

View File

@@ -48,8 +48,6 @@ class OESSHTarget(OETarget):
if port:
self.ssh = self.ssh + [ '-p', port ]
self.scp = self.scp + [ '-P', port ]
self._monitor_dumper = None
self.target_dumper = None
def start(self, **kwargs):
pass
@@ -57,15 +55,6 @@ class OESSHTarget(OETarget):
def stop(self, **kwargs):
pass
@property
def monitor_dumper(self):
return self._monitor_dumper
@monitor_dumper.setter
def monitor_dumper(self, dumper):
self._monitor_dumper = dumper
self.monitor_dumper.dump_monitor()
def _run(self, command, timeout=None, ignore_status=True):
"""
Runs command in target using SSHProcess.
@@ -104,14 +93,7 @@ class OESSHTarget(OETarget):
status, output = self._run(sshCmd, processTimeout, ignore_status)
self.logger.debug('Command: %s\nStatus: %d Output: %s\n' % (command, status, output))
if (status == 255) and (('No route to host') in output):
if self.monitor_dumper:
self.monitor_dumper.dump_monitor()
if status == 255:
if self.target_dumper:
self.target_dumper.dump_target()
if self.monitor_dumper:
self.monitor_dumper.dump_monitor()
return (status, output)
def copyTo(self, localSrc, remoteDst):
@@ -232,11 +214,12 @@ def SSHCall(command, logger, timeout=None, **opts):
output_raw = b''
starttime = time.time()
process = subprocess.Popen(command, **options)
has_timeout = False
if timeout:
endtime = starttime + timeout
eof = False
os.set_blocking(process.stdout.fileno(), False)
while time.time() < endtime and not eof:
while not has_timeout and not eof:
try:
logger.debug('Waiting for process output: time: %s, endtime: %s' % (time.time(), endtime))
if select.select([process.stdout], [], [], 5)[0] != []:
@@ -257,6 +240,10 @@ def SSHCall(command, logger, timeout=None, **opts):
logger.debug('BlockingIOError')
continue
if time.time() >= endtime:
logger.debug('SSHCall has timeout! Time: %s, endtime: %s' % (time.time(), endtime))
has_timeout = True
process.stdout.close()
# process hasn't returned yet
@@ -293,6 +280,16 @@ def SSHCall(command, logger, timeout=None, **opts):
pass
process.wait()
if has_timeout:
# Version of openssh before 8.6_p1 returns error code 0 when killed
# by a signal, when the timeout occurs we will receive a 0 error
# code because the process is been terminated and it's wrong because
# that value means success, but the process timed out.
# Afterwards, from version 8.6_p1 onwards, the returned code is 255.
# Fix this behaviour by checking the return code
if process.returncode == 0:
process.returncode = 255
options = {
"stdout": subprocess.PIPE,
"stderr": subprocess.STDOUT,

View File

@@ -13,6 +13,9 @@ class SSHTest(OERuntimeTestCase):
@OETestDepends(['ping.PingTest.test_ping'])
@OEHasPackage(['dropbear', 'openssh-sshd'])
def test_ssh(self):
(status, output) = self.target.run('sleep 20', timeout=2)
msg='run() timed out but return code was zero.'
self.assertNotEqual(status, 0, msg=msg)
(status, output) = self.target.run('uname -a')
self.assertEqual(status, 0, msg='SSH Test failed: %s' % output)
(status, output) = self.target.run('cat /etc/controllerimage')

View File

@@ -6,7 +6,11 @@
import os
import socketserver
import subprocess
import time
import urllib
import pathlib
from oeqa.core.decorator import OETestTag
from oeqa.selftest.case import OESelftestTestCase
from oeqa.utils.commands import bitbake, get_bb_var, runqemu
@@ -21,39 +25,54 @@ class Debuginfod(OESelftestTestCase):
Request the metrics endpoint periodically and wait for there to be no
busy scanning threads.
Returns True if debuginfod is ready, False if we timed out
Returns if debuginfod is ready, raises an exception if not within the
timeout.
"""
import time, urllib
# Wait a minute
countdown = 6
delay = 10
# Wait two minutes
countdown = 24
delay = 5
latest = None
while countdown:
self.logger.info("waiting...")
time.sleep(delay)
self.logger.info("polling server")
if self.debuginfod.poll():
self.logger.info("server dead")
self.debuginfod.communicate()
self.fail("debuginfod terminated unexpectedly")
self.logger.info("server alive")
try:
with urllib.request.urlopen("http://localhost:%d/metrics" % port) as f:
lines = f.read().decode("ascii").splitlines()
if "thread_busy{role=\"scan\"} 0" in lines:
return True
with urllib.request.urlopen("http://localhost:%d/metrics" % port, timeout=10) as f:
for line in f.read().decode("ascii").splitlines():
key, value = line.rsplit(" ", 1)
if key == "thread_busy{role=\"scan\"}":
latest = int(value)
self.logger.info("Waiting for %d scan jobs to finish" % latest)
if latest == 0:
return
except urllib.error.URLError as e:
# TODO: how to catch just timeouts?
self.logger.error(e)
countdown -= 1
return False
raise TimeoutError("Cannot connect debuginfod, still %d scan jobs running" % latest)
def test_debuginfod(self):
self.write_config(
"""
DISTRO_FEATURES:append = " debuginfod"
CORE_IMAGE_EXTRA_INSTALL += "elfutils"
"""
)
bitbake("core-image-minimal elfutils-native:do_addto_recipe_sysroot")
def start_debuginfod(self):
# We assume that the caller has already bitbake'd elfutils-native:do_addto_recipe_sysroot
# Save some useful paths for later
native_sysroot = pathlib.Path(get_bb_var("RECIPE_SYSROOT_NATIVE", "elfutils-native"))
native_bindir = native_sysroot / "usr" / "bin"
self.debuginfod = native_bindir / "debuginfod"
self.debuginfod_find = native_bindir / "debuginfod-find"
native_sysroot = get_bb_var("RECIPE_SYSROOT_NATIVE", "elfutils-native")
cmd = [
os.path.join(native_sysroot, "usr", "bin", "debuginfod"),
self.debuginfod,
"--verbose",
# In-memory database, this is a one-shot test
"--database=:memory:",
@@ -76,31 +95,64 @@ CORE_IMAGE_EXTRA_INSTALL += "elfutils"
else:
self.fail("Unknown package class %s" % format)
# Find a free port
# Find a free port. Racey but the window is small.
with socketserver.TCPServer(("localhost", 0), None) as s:
port = s.server_address[1]
cmd.append("--port=%d" % port)
self.port = s.server_address[1]
cmd.append("--port=%d" % self.port)
self.logger.info(f"Starting server {cmd}")
self.debuginfod = subprocess.Popen(cmd, env={})
self.wait_for_debuginfod(self.port)
def test_debuginfod_native(self):
"""
Test debuginfod outside of qemu, by building a package and looking up a
binary's debuginfo using elfutils-native.
"""
self.write_config("""
TMPDIR = "${TOPDIR}/tmp-debuginfod"
DISTRO_FEATURES:append = " debuginfod"
""")
bitbake("elfutils-native:do_addto_recipe_sysroot xz xz:do_package")
try:
# Remove DEBUGINFOD_URLS from the environment so we don't try
# looking in the distro debuginfod
env = os.environ.copy()
if "DEBUGINFOD_URLS" in env:
del env["DEBUGINFOD_URLS"]
self.start_debuginfod()
self.logger.info(f"Starting server {cmd}")
debuginfod = subprocess.Popen(cmd, env=env)
env = os.environ.copy()
env["DEBUGINFOD_URLS"] = "http://localhost:%d/" % self.port
pkgs = pathlib.Path(get_bb_var("PKGDEST", "xz"))
cmd = (self.debuginfod_find, "debuginfo", pkgs / "xz" / "usr" / "bin" / "xz.xz")
self.logger.info(f"Starting client {cmd}")
output = subprocess.check_output(cmd, env=env, text=True)
# This should be more comprehensive
self.assertIn("/.cache/debuginfod_client/", output)
finally:
self.debuginfod.kill()
@OETestTag("runqemu")
def test_debuginfod_qemu(self):
"""
Test debuginfod-find inside a qemu, talking to a debuginfod on the host.
"""
self.write_config("""
TMPDIR = "${TOPDIR}/tmp-debuginfod"
DISTRO_FEATURES:append = " debuginfod"
CORE_IMAGE_EXTRA_INSTALL += "elfutils xz"
""")
bitbake("core-image-minimal elfutils-native:do_addto_recipe_sysroot")
try:
self.start_debuginfod()
with runqemu("core-image-minimal", runqemuparams="nographic") as qemu:
self.assertTrue(self.wait_for_debuginfod(port))
cmd = (
"DEBUGINFOD_URLS=http://%s:%d/ debuginfod-find debuginfo /usr/bin/debuginfod"
% (qemu.server_ip, port)
)
cmd = "DEBUGINFOD_URLS=http://%s:%d/ debuginfod-find debuginfo /usr/bin/xz" % (qemu.server_ip, self.port)
self.logger.info(f"Starting client {cmd}")
status, output = qemu.run_serial(cmd)
# This should be more comprehensive
self.assertIn("/.cache/debuginfod_client/", output)
finally:
debuginfod.kill()
self.debuginfod.kill()

View File

@@ -27,6 +27,9 @@ def setUpModule():
corecopydir = os.path.join(templayerdir, 'core-copy')
bblayers_conf = os.path.join(os.environ['BUILDDIR'], 'conf', 'bblayers.conf')
edited_layers = []
# make sure user doesn't have a local workspace
result = runCmd('bitbake-layers show-layers')
assert "workspacelayer" not in result.output, "Devtool test suite cannot be run with a local workspace directory"
# We need to take a copy of the meta layer so we can modify it and not
# have any races against other tests that might be running in parallel

View File

@@ -48,6 +48,17 @@ class TinfoilTests(OESelftestTestCase):
rd = tinfoil.parse_recipe_file(best[3])
self.assertEqual(testrecipe, rd.getVar('PN'))
def test_parse_virtual_recipe(self):
with bb.tinfoil.Tinfoil() as tinfoil:
tinfoil.prepare(config_only=False, quiet=2)
testrecipe = 'nativesdk-gcc'
best = tinfoil.find_best_provider(testrecipe)
if not best:
self.fail('Unable to find recipe providing %s' % testrecipe)
rd = tinfoil.parse_recipe_file(best[3])
self.assertEqual(testrecipe, rd.getVar('PN'))
self.assertIsNotNone(rd.getVar('FILE_LAYERNAME'))
def test_parse_recipe_copy_expand(self):
with bb.tinfoil.Tinfoil() as tinfoil:
tinfoil.prepare(config_only=False, quiet=2)
@@ -66,7 +77,7 @@ class TinfoilTests(OESelftestTestCase):
localdata.setVar('PN', 'hello')
self.assertEqual('hello', localdata.getVar('BPN'))
# The config_data API tp parse_recipe_file is used by:
# The config_data API to parse_recipe_file is used by:
# layerindex-web layerindex/update_layer.py
def test_parse_recipe_custom_data(self):
with bb.tinfoil.Tinfoil() as tinfoil:
@@ -80,6 +91,18 @@ class TinfoilTests(OESelftestTestCase):
rd = tinfoil.parse_recipe_file(best[3], config_data=localdata)
self.assertEqual("testval", rd.getVar('TESTVAR'))
def test_parse_virtual_recipe_custom_data(self):
with bb.tinfoil.Tinfoil() as tinfoil:
tinfoil.prepare(config_only=False, quiet=2)
localdata = bb.data.createCopy(tinfoil.config_data)
localdata.setVar("TESTVAR", "testval")
testrecipe = 'nativesdk-gcc'
best = tinfoil.find_best_provider(testrecipe)
if not best:
self.fail('Unable to find recipe providing %s' % testrecipe)
rd = tinfoil.parse_recipe_file(best[3], config_data=localdata)
self.assertEqual("testval", rd.getVar('TESTVAR'))
def test_list_recipes(self):
with bb.tinfoil.Tinfoil() as tinfoil:
tinfoil.prepare(config_only=False, quiet=2)

View File

@@ -103,7 +103,6 @@ class QemuTarget(BaseTarget):
self.rootfs = os.path.join(d.getVar("DEPLOY_DIR_IMAGE"), d.getVar("IMAGE_LINK_NAME") + '.' + self.image_fstype)
self.kernel = os.path.join(d.getVar("DEPLOY_DIR_IMAGE"), d.getVar("KERNEL_IMAGETYPE", False) + '-' + d.getVar('MACHINE', False) + '.bin')
self.qemulog = os.path.join(self.testdir, "qemu_boot_log.%s" % self.datetime)
dump_target_cmds = d.getVar("testimage_dump_target")
dump_monitor_cmds = d.getVar("testimage_dump_monitor")
dump_dir = d.getVar("TESTIMAGE_DUMP_DIR")
if not dump_dir:
@@ -144,7 +143,6 @@ class QemuTarget(BaseTarget):
tmpfsdir = d.getVar("RUNQEMU_TMPFS_DIR"),
serial_ports = len(d.getVar("SERIAL_CONSOLES").split()))
self.target_dumper = TargetDumper(dump_target_cmds, dump_dir, self.runner)
self.monitor_dumper = MonitorDumper(dump_monitor_cmds, dump_dir, self.runner)
if (self.monitor_dumper):
self.monitor_dumper.create_dir("qmp")

View File

@@ -16,7 +16,6 @@
import os
import argparse
import collections
import tempfile
import logging
logger=logging.getLogger('patchtest')

View File

@@ -11,7 +11,6 @@
import os
import utils
import logging
import json
from patch import PatchTestPatch
logger = logging.getLogger('patchtest')

View File

@@ -1,72 +0,0 @@
From 14d72f6973270f78455a8628143f2cff90e8f41e Mon Sep 17 00:00:00 2001
From: Trevor Gamblin <tgamblin@baylibre.com>
Date: Tue, 29 Aug 2023 14:12:27 -0400
Subject: [PATCH] selftest-hello: fix CVE-1234-56789
This patch should fail the test for CVE presence in the mbox commit message.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
---
.../selftest-hello/files/CVE-1234-56789.patch | 27 +++++++++++++++++++
.../selftest-hello/selftest-hello_1.0.bb | 6 +++--
2 files changed, 31 insertions(+), 2 deletions(-)
create mode 100644 meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch
diff --git a/meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch b/meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch
new file mode 100644
index 0000000000..869cfb6fe5
--- /dev/null
+++ b/meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch
@@ -0,0 +1,27 @@
+From b26a31186e6ee2eb1f506d5f2f9394d327a0df2f Mon Sep 17 00:00:00 2001
+From: Trevor Gamblin <tgamblin@baylibre.com>
+Date: Tue, 29 Aug 2023 14:08:20 -0400
+Subject: [PATCH] Fix CVE-NOT-REAL
+
+CVE: CVE-1234-56789
+Upstream-Status: Backport(http://example.com/example)
+
+Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
+---
+ strlen.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/strlen.c b/strlen.c
+index 1788f38..83d7918 100644
+--- a/strlen.c
++++ b/strlen.c
+@@ -8,6 +8,7 @@ int main() {
+
+ printf("%d\n", str_len(string1));
+ printf("%d\n", str_len(string2));
++ printf("CVE FIXED!!!\n");
+
+ return 0;
+ }
+--
+2.41.0
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
index 547587bef4..76975a6729 100644
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
@@ -3,7 +3,9 @@ SECTION = "examples"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
-SRC_URI = "file://helloworld.c"
+SRC_URI = "file://helloworld.c \
+ file://CVE-1234-56789.patch \
+ "
S = "${WORKDIR}"
@@ -16,4 +18,4 @@ do_install() {
install -m 0755 helloworld ${D}${bindir}
}
-BBCLASSEXTEND = "native nativesdk"
\ No newline at end of file
+BBCLASSEXTEND = "native nativesdk"
--
2.41.0

View File

@@ -1,74 +0,0 @@
From 14d72f6973270f78455a8628143f2cff90e8f41e Mon Sep 17 00:00:00 2001
From: Trevor Gamblin <tgamblin@baylibre.com>
Date: Tue, 29 Aug 2023 14:12:27 -0400
Subject: [PATCH] selftest-hello: fix CVE-1234-56789
This test should pass the mbox cve tag test.
CVE: CVE-1234-56789
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
---
.../selftest-hello/files/CVE-1234-56789.patch | 27 +++++++++++++++++++
.../selftest-hello/selftest-hello_1.0.bb | 6 +++--
2 files changed, 31 insertions(+), 2 deletions(-)
create mode 100644 meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch
diff --git a/meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch b/meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch
new file mode 100644
index 0000000000..869cfb6fe5
--- /dev/null
+++ b/meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch
@@ -0,0 +1,27 @@
+From b26a31186e6ee2eb1f506d5f2f9394d327a0df2f Mon Sep 17 00:00:00 2001
+From: Trevor Gamblin <tgamblin@baylibre.com>
+Date: Tue, 29 Aug 2023 14:08:20 -0400
+Subject: [PATCH] Fix CVE-NOT-REAL
+
+CVE: CVE-1234-56789
+Upstream-Status: Backport(http://example.com/example)
+
+Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
+---
+ strlen.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/strlen.c b/strlen.c
+index 1788f38..83d7918 100644
+--- a/strlen.c
++++ b/strlen.c
+@@ -8,6 +8,7 @@ int main() {
+
+ printf("%d\n", str_len(string1));
+ printf("%d\n", str_len(string2));
++ printf("CVE FIXED!!!\n");
+
+ return 0;
+ }
+--
+2.41.0
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
index 547587bef4..76975a6729 100644
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
@@ -3,7 +3,9 @@ SECTION = "examples"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
-SRC_URI = "file://helloworld.c"
+SRC_URI = "file://helloworld.c \
+ file://CVE-1234-56789.patch \
+ "
S = "${WORKDIR}"
@@ -16,4 +18,4 @@ do_install() {
install -m 0755 helloworld ${D}${bindir}
}
-BBCLASSEXTEND = "native nativesdk"
\ No newline at end of file
+BBCLASSEXTEND = "native nativesdk"
--
2.41.0

Some files were not shown because too many files have changed in this diff Show More