summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* release-notes-5.1: update for several sectionLee Chee Yang2024-10-111-4/+312
| | | | | | | | | | | | | | | | | | | | | | | update for these changes: - license - recipe enable for ptests - new class, recipe and variable. - PACKAGECONFIG - some utility script, class and include file. - bitbake. - qemu/runqemu. - Contributors. removed wic as no significant change or improvement. Antonin Godard: amend and fix some typos. (From yocto-docs rev: afbcc16cd5244d8bb6bb79796aa064156f99e3d3) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: add mission pep517-backend sanity checkAntonin Godard2024-10-111-0/+3
| | | | | | | | | New sanity check to check for PEP517-backend compliance. (From yocto-docs rev: 24e5bbeefe989e22ecdf5e86f48432e437330cc2) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: merge patch-status-* to patch-statusAntonin Godard2024-10-111-6/+2
| | | | | | | | | These are not distinct anymore and check for any patches in any layer. (From yocto-docs rev: 300c585909743754e0e6662d48d43834c031b835) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: add missing variable PRSERV_UPSTREAMAntonin Godard2024-10-111-0/+5
| | | | | | | (From yocto-docs rev: 94a590aad8d503c5d5528bff4d8ec07746ca9805) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: add missing OPKGBUILDCMD variableAntonin Godard2024-10-111-0/+7
| | | | | | | (From yocto-docs rev: a6a2c8e48995200c9c3be7096f34d912427de145) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: drop TCLIBCAPPEND variableAntonin Godard2024-10-111-13/+0
| | | | | | | | | | No longer required as TMPDIR can be shared for multiple lib providers nowadays. (From yocto-docs rev: 6690c0aee9e7f0dcc63ccbe19657b78963240610) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: add missing EXTERNAL_KERNEL_DEVICETREE variableAntonin Godard2024-10-111-0/+7
| | | | | | | | | | | This variable can be used to specify one or more compiled device tree or device tree overlays to use in addition to the one compiled by the kernel. (From yocto-docs rev: 6566ffceab3780dc5ecbfe26f786ebe6ff17e693) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: add missing image manifest variablesAntonin Godard2024-10-111-0/+29
| | | | | | | | | New variables that control the output of the image task manifests. (From yocto-docs rev: e46af38733ae581c4aa180efc226d8a34ea4e590) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: add missing TESTIMAGE_FAILED_QA_ARTIFACTSAntonin Godard2024-10-111-0/+5
| | | | | | | | | | This variable lists space-separated paths on the target to retrieve onto the host, when inheriting testimage. (From yocto-docs rev: 2537642d2cdf844dc5f6027fb3097aac52162c1f) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: drop siteconfig classAntonin Godard2024-10-111-9/+0
| | | | | | | | | | Removed as it was only used by ncurses and zlib and adding minimal added-value for a considerable amount of added runtime. (From yocto-docs rev: c35688a0f4cb115c63387cc15fd15ec57cb386fb) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: add new RECIPE_UPGRADE_EXTRA_TASKS variableAntonin Godard2024-10-111-0/+5
| | | | | | | (From yocto-docs rev: c80bc42afa40fd9eb5acaba24da3ad3b5915a254) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: add missing nospdx classAntonin Godard2024-10-111-0/+8
| | | | | | | (From yocto-docs rev: ec41a5bf1a49e5d83bb93a3438ba1cd01f613088) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: add new retain class and variablesAntonin Godard2024-10-112-0/+52
| | | | | | | | | | Document the new `retain` class with its configuration variables in the variable index. (From yocto-docs rev: b62f1be5dada0fb760ff7e0806b16225f7261560) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: add new vex classAntonin Godard2024-10-111-0/+25
| | | | | | | | | | Add a brief description on the new vex.bbclass that is used to generate metadata needed by external tools to check for vulnerabilities. (From yocto-docs rev: 32cf3414f5ed127f59119e38639bc8dbd57b7891) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: add missing CVE_CHECK manifest variablesAntonin Godard2024-10-111-0/+12
| | | | | | | | | | Variables that can be used for toggling creation of manifest and specifying the path to the output in the deploy directory. (From yocto-docs rev: 14131a42a7ea8bbae2165c1b8dbcabd5f28b2b22) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* release-notes-5.1: document spirv-tools reproducibilityYoann Congal2024-10-091-0/+2
| | | | | | | | | | | | | This covers Poky's commits 47ed8ac83a6 (spirv-tools: Fix git-describe related reproducibility, 2024-08-03) a19bb8c1d51 (spirv-tools: Update merged patch to backport status, 2024-09-05) (From yocto-docs rev: 98e7f378bc5670d23a6c2bdfcd3b7af965f7c450) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Reviewed-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* release-notes-5.1: document fixed _test_devtool_add_git_url testYoann Congal2024-10-091-0/+2
| | | | | | | | | | | | | This covers Poky's commits: 3c05286fa10 (oeqa/selftest/devtool: fix _test_devtool_add_git_url, 2024-04-26) 268dfbd9491 (Revert "oeqa/selftest/devtool: fix test_devtool_add_git_style2", 2024-04-26) (From yocto-docs rev: 8c4efab8f9baf1e8b11232dc8438ab7c103a9a40) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Reviewed-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* release-notes-5.1: document added python3-libarchive-c ptestYoann Congal2024-10-091-0/+2
| | | | | | | | | | | | This covers Poky's commit c01e633ab91 (python3-libarchive-c: add ptest, 2024-08-02) (From yocto-docs rev: 94126f6f5526b460ebd5ce548ad0aa83dbc1eeaa) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Reviewed-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* migration/release-notes-5.1: document oeqa/selftest envvars changeYoann Congal2024-10-092-0/+16
| | | | | | | | | | | | This covers the Poky commit: 61186bc98a5 (oeqa/selftest: Only rewrite envvars paths that absolutely point to builddir, 2024-09-10) (From yocto-docs rev: 59bfb63af0913ad69ae36691436af96d63dd657b) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Reviewed-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* migration-guide: add release notes for 4.0.21Lee Chee Yang2024-10-092-0/+167
| | | | | | | | (From yocto-docs rev: bbe2ae02d01ffd962e0a7086c9e08a0e205c1728) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2/git: Use quote from shlex, not pipesRichard Purdie2024-10-011-2/+1
| | | | | | | | | | | The pipes module is removed in python 3.13. It was already using the quote function from shlex so use that directly instead. The module already imports shlex too so it is an easy substitution. (Bitbake rev: 9ef4f2a30127455562e38e869793a723eed6c07c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: don't try to preserve all attributes when unpacking filesRoss Burton2024-10-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When copying files as part of the unpack we currently use cp -p, which is a shortcut for --preserve=mode,ownership,timestamps. We do want to preserve timestamps, because some fetchers set these explicitly. We don't care about ownership. If the files are owned by us then they ill remain owned by us, and if they're not then the attempt to change ownership will be silently ignored. In a shared DL_DIR where files have group ownership this group access isn't relevant in the single-user build tree. We do want to preserve executable bits in the mode, but cp always does this. The difference between --preserve=mode and no --preserve is that the mode isn't preserved exactly (no sticky bits, no suid, umask is applied) but this also isn't a relevant difference in a build tree. Also expand the arguments to be clearer about what options are being passed. The impetus for this is that coreutils 9.4 includes a change in gnulib[1] and will now try to preserve permission-based xattrs if asked to preserve the mode. This can result in cp failing when copying a file from a NFSv4 server with ACLs stored in xattrs to a non-NFS directory where those xattrs cannot be written: cp: preserving permissions for ‘./jquery-3.7.1.js’: Operation not supported The error comes from the kernel refusing to write a system.nfs4_acl xattr to a file on ext4. This situation doesn't appear on all systems with coreutils 9.4, at the time of writing it fails on Ubuntu 24.04 onwards but not Fedora 40. This is because /etc/xattr.conf is used to determine which xattrs describe permissions, and Fedora 40 has removed the NFSv4 attributes[2]. Also, use long-form options to make the cp command clearer. [1] https://github.com/coreutils/gnulib/commit/eb6a8a4dfb [2] https://src.fedoraproject.org/rpms/attr/blob/rawhide/f/0003-attr-2.4.48-xattr-conf-nfs4-acls.patch [ YOCTO #15596 ] (Bitbake rev: 2f35dac0c821ab231459922ed98e1b2cc599ca9a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: tests/fetch: Update GoModTest and GoModGitTestChristian Lindeberg2024-10-011-0/+55
| | | | | | | | | | | Add test cases for a module path consisting of only a hostname and add checksum verification of the unpacked go.mod files. (Bitbake rev: 9380859b59923dee17469348f472a22e11be1779) Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/postactions: Fix archive retrieval from targetMathieu Dubois-Briand2024-09-201-0/+1
| | | | | | | | | | | | | A previous patch broke archive retrieval because of an undeclared variable. Declare the archive_name variable as expected. (From OE-Core rev: 0d0f3541552b073f3536176e2caf847bec24548d) Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Reported-by: Richard Purdie <richard.purdie@linuxfoundation.org> CC: Alexis Lothoré <alexis.lothore@bootlin.com> CC: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* doc/features: describe distribution feature pni-nameJörg Sommer2024-09-201-0/+4
| | | | | | | | | (From yocto-docs rev: c32b55b3403dcfd76a4694ff407d4b513e14c8f4) Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de> Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* doc/features: remove duplicate word in distribution feature ext2Jörg Sommer2024-09-201-1/+1
| | | | | | | | (From yocto-docs rev: 20a5986ec3395f83e8469b08dd79f019e2051626) Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionyocto-5.1styhead-5.1Richard Purdie2024-09-171-1/+1
| | | | | | (From OE-Core rev: 161c5b311f1aeb8f254dca96331b31d5b67fc92d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.conf: Bump version for 5.1 styhead releaseRichard Purdie2024-09-171-3/+7
| | | | | | | | | Also update sanity tested distros to list distros on the typhoon and valkyrie clusters which are known to work. (From meta-yocto rev: d2ff1a0780456681ca0747cdf7aa79d6002cf70a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2024-09-171-1/+1
| | | | | | (From OE-Core rev: 4d27344f0cd414dee71bded529536616cef277c1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/install-buildtools: Update to 5.0.3Richard Purdie2024-09-171-2/+2
| | | | | | | | Update to the 5.0.3 release of the 5.0 series for buildtools. (From OE-Core rev: c922ca720a0c3b7b4d3d3187539e7cf77d93d457) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Update fixtures for styheadRichard Purdie2024-09-173-12/+75
| | | | | | | | Add styhead. Also fix a typo in the usage instructions. (Bitbake rev: d3c84198771b7f79aa84dc73061d8ca071fe18f3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2/gomod: Support URIs with only a hostnamePeter Kjellerstedt2024-09-171-2/+6
| | | | | | | | | | | | | | | | When calculating the module name for a gomod URI with only a hostname, e.g.: gomod://go.opencensus.io;version=v0.24.0;sha256sum=203a767d7f8e7c1ebe5588220ad168d1e15b14ae70a636de7ca9a4a88a7e0d0c the non-existing path would actually be treated as "/", which resulted in a trailing slash being added to the module name preventing the unpack method from correctly locating the go.mod file. (Bitbake rev: f0e02e1de4d649e647e4ab61341042dd38d0eeb0) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wpa-supplicant: add patch to check for kernel header version when compiling ↵Jon Mason2024-09-172-0/+54
| | | | | | | | | | | | | | | | | | | | | macsec When using Arm binary toolchain, version 2.11 of wpa-supplicant is failing to compile with the following error: | ../src/drivers/driver_macsec_linux.c:81:29: error: field ‘offload’ has incomplete type | 81 | enum macsec_offload offload; | | Backport a recent patch that corrects the issue by adding a check for the version of kernel headers being used in compilation and disabling that enum if too old a version is being used (or is used by the binary toolchain). (From OE-Core rev: 373d8d4f5316416d70eb2c0733d9838e57419ac3) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bluez5: remove redundant patch for MAX_INPUTGuðni Már Gilbert2024-09-172-27/+0
| | | | | | | | | | | | | The solution to the problem upstream was fixed by the following commit: https://github.com/bluez/bluez/commit/ca6546fe521360fcf905bc115b893f322e706cb2 Now MAX_INPUT is defined for non-glibc systems such as musl. This fix was added in BlueZ 5.67. (From OE-Core rev: fea1bb917ebb1f99c83dbbc87a6f0ffc3627879a) Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_qa: fix error handlingLouis Rannou2024-09-172-6/+7
| | | | | | | | | | | | | | | | Make ImageQAFailed inherit BBHandledException so exceptions raised in tests are catched when the actual test function is executed by bb.utils.better_exec. Change the do_image_qa tasks so errors are handled with oe.qa.handle_error. Add some comment to explain this requires to list the test in ERROR_QA or WARN_QA. [YOCTO #14807] https://bugzilla.yoctoproject.org/show_bug.cgi?id=14807 (From OE-Core rev: 905e224849fbbed1719e0add231b00e2d570b3b4) Signed-off-by: Louis Rannou <louis.rannou@non.se.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: mark TCLIBCAPPEND as deprecatedRoss Burton2024-09-171-0/+1
| | | | | | | | | | | In oe-core ebcd355 TCLIBCAPPEND (a string that is appended to TMPDIR) was removed entirely. Warn if this is being set by the distro as it will no longer have any effect. (From OE-Core rev: 992ba784c168710328749fd61a0e2869df519dea) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: add new package for cc33xx firmwareSabeeh Khan2024-09-171-1/+7
| | | | | | | | | | | Add the firmware package for the TI CC33xx firmware. The TI CC33xx family are combo WLAN and BLE devices supporting 802.11ax and BLE 5.4. (From OE-Core rev: b618504e496a5df84cfc8d6b90ba295f8f0497e4) Signed-off-by: Sabeeh Khan <sabeeh-khan@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre2: Update base uri PhilipHazel -> PCRE2ProjectKhem Raj2024-09-171-1/+1
| | | | | | | (From OE-Core rev: bd6d18228835773163a085070651e13ed961d66d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl2: Fix non-deterministic configure option for libsamplerateRichard Purdie2024-09-171-0/+1
| | | | | | | | | The libsamplerate option was floating and being enabled on some systems and not others. Fix this to be deterministic. (From OE-Core rev: 61455a839e568a3ae7e059ea95c02a1c88d39e1a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky-tiny: Drop TCLIBCAPPENDRichard Purdie2024-09-171-3/+0
| | | | | | | | This is no longer needed/supported. That solves the FIXME I guess! (From meta-yocto rev: 9ea01f67bb15c78cd7ba0efe1dfc8861f21f9825) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Revert "fetch2/gitsm: use configparser to parse .gitmodules"Martin Jansa2024-09-161-13/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit a4f42e396e2942fde94b8b4944487c1c45f7a295. Unfortunately configparser is a bit more strict and fails to parse e.g.: https://github.com/espressif/esp-idf/blob/e104dd7f27d2e73ab0e9b614dd7b9295099069bf/.gitmodules [submodule "components/bt/controller/lib_esp32"] path = components/bt/controller/lib_esp32 url = ../../espressif/esp32-bt-lib.git The url is using 8 spaces while path 1 tab causing: Exception: configparser.NoOptionError: No option 'url' in section: 'submodule "components/bt/controller/lib_esp32"' It was fixed in: https://github.com/espressif/esp-idf/commit/62ca8e2fb478a1cdc0e47003025265cd0d840395#diff-fe7afb5c9c916e521401d3fcfb4277d5071798c3baf83baf11d6071742823584 but mcuboot is using a bit older esp-idf revision in: https://github.com/ATmobica/mcuboot/blame/main/.gitmodules and mcuboot is then used as submodule in: https://github.com/project-chip/connectedhomeip/blob/master/.gitmodules so it might take a while for the fix to be propagated everywhere. Not sure how common these issues are, but configparser parses "url = ../../espressif/esp32-bt-lib.git" as 2nd line of "path" value (because it's indented differently) while git submodule and old gitsm implementation parses it as separate path and url keys. (Bitbake rev: d9eb2650256292a524a0c0bb1c0562d87bedcbc4) Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity: check for working user namespacesRoss Burton2024-09-131-0/+24
| | | | | | | | | | | | | | | | If user namespaces are not available (typically because AppArmor is blocking them), alert the user. We consider network isolation sufficiently important that this is a fatal error, and the user will need to configure AppArmor to allow bitbake to create a user namespace. [ YOCTO #15592 ] (From OE-Core rev: b6af956fe6e876957a49d4abf425e8c789bf0459) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Upgrade 3.12.5 -> 3.12.6Divya Chellam2024-09-133-244/+9
| | | | | | | | | | | | | | | | Includes security fixes for CVE-2024-7592, CVE-2024-8088, CVE-2024-6232 and other bug fixes. Removed below patches, as the fix is included in 3.12.6 upgrade: 1. CVE-2024-7592.patch Release Notes: https://www.python.org/downloads/release/python-3126/ (From OE-Core rev: aa492b1fd5973c37b8fa2cd17d28199eba46afcc) Signed-off-by: Divya Chellam <divya.chellam@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/6.10: cfg: arm64 configuration updatesBruce Ashfield2024-09-133-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating the following commit(s) to linux-yocto/.: 1/2 [ Author: Ross Burton Email: ross.burton@arm.com Subject: features/security: fix Meltdown/Spectre configurations Date: Thu, 12 Sep 2024 16:42:50 +0100 These are both specific to x86 so move them into the x86 file, and were renamed to have a MITIGATION_ prefix in 6.9. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> ] 2/2 [ Author: Ross Burton Email: ross.burton@arm.com Subject: bsp/genericarm64: update for 6.10 kconfig symbol renames Date: Thu, 12 Sep 2024 16:42:51 +0100 Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> ] (From OE-Core rev: dcf2879bb3ac663509743c760042e93cbc5d447e) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/6.6: update to v6.6.50Bruce Ashfield2024-09-133-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/6.6 to the latest korg -stable release that comprises the following commits: ad07a29023ce Linux 6.6.50 9d24eaa21731 i2c: Use IS_REACHABLE() for substituting empty ACPI functions f5e9a22d19bb virtio_net: Fix napi_skb_cache_put warning d8915d271630 media: uvcvideo: Enforce alignment of frame and interval e3a95f29647a drm/amd/display: Skip wbscl_set_scaler_filter if filter is null e50bec62acae drm/amd/display: Check BIOS images before it is used 67cf14c04ff0 drm/amd/display: use preferred link settings for dp signal only 800a5ab673c4 drm/amd/display: Correct the defined value for AMDGPU_DMUB_NOTIFICATION_MAX 154a50bf4221 drm/amd/display: added NULL check at start of dc_validate_stream da696cbb4794 drm/amd/display: Don't use fsleep for PSR exit waits on dmub replay 381113ef01e2 drm/amdgpu: add lock in kfd_process_dequeue_from_device ddfe95f2e1fc drm/amdgpu: add lock in amdgpu_gart_invalidate_tlb 494b42f35fc2 drm/amdgpu: add skip_hw_access checks for sriov 2e91ea29622c block: remove the blk_flush_integrity call in blk_integrity_unregister 72f022ebb9de driver: iio: add missing checks on iio_info's callback access 6290d3f5883d f2fs: fix to do sanity check on blocks for inline_data inode 862b19f0b1c2 wifi: cfg80211: make hash table duplicates more survivable 63ca5b467011 hwmon: (k10temp) Check return value of amd_smn_read() 20bf2920a869 dmaengine: altera-msgdma: properly free descriptor in msgdma_free_descriptor cd3851ef3f7d dmaengine: altera-msgdma: use irq variant of spin_lock/unlock while invoking callbacks 9d567126474e drm/bridge: tc358767: Check if fully initialized before signalling HPD event via IRQ d9612c66af36 gfs2: Revert "Add quota_change type" d93a2f86b0a9 crypto: stm32/cryp - call finalize with bh disabled 68957f511ba4 drm/meson: plane: Add error handling ae9018e3f61b net/mlx5e: SHAMPO, Fix incorrect page release 0b722b813c7d platform/chrome: cros_ec_lpc: MEC access can use an AML mutex 4be9fd15c3c8 smack: tcp: ipv4, fix incorrect labeling 4c1145144c94 regmap: spi: Fix potential off-by-one when calculating reserved size 54a11ce4ff2a drm/amdgu: fix Unintentional integer overflow for mall size 69f397e60c3b net: remove NULL-pointer net parameter in ip_metrics_convert fc1b1e135c3f fsnotify: clear PARENT_WATCHED flags lazily 3b9f2d9301ae usb: typec: ucsi: Fix null pointer dereference in trace 73ec94aac593 usbip: Don't submit special requests twice f576acf75227 media: v4l2-cci: Always assign *val 37d9fd31347e rcu/nocb: Remove buggy bypass lock contention mitigation f9a9cf96c3d4 pwm: xilinx: Fix u32 overflow issue in 32-bit width PWM mode. 04e787f836e2 ionic: fix potential irq name truncation fd867e74fa4d RDMA/efa: Properly handle unexpected AQ completions 220725de5aa5 soc: qcom: smem: Add qcom_smem_bust_hwspin_lock_by_host() a6978d1b7bb8 hwspinlock: Introduce hwspin_lock_bust() e51077ad1bf4 wifi: mac80211: check ieee80211_bss_info_change_notify() against MLD 7cdb51585589 PCI: al: Check IORESOURCE_BUS existence during probe ea37096a6a92 cpufreq: scmi: Avoid overflow of target_freq in fast switch 0bd1be7e84f5 wifi: iwlwifi: remove fw_running op 0798e4330b54 drm/amdgpu: update type of buf size to u32 for eeprom functions cdc65b5f9998 drm/kfd: Correct pinned buffer handling at kfd restore and validate process 1107129305c1 wifi: rtw89: ser: avoid multiple deinit on same CAM 7e8d106ca98a drm/amd/pm: check negtive return for table entries 7d265772e44d drm/amdgpu: the warning dereferencing obj for nbio_v7_4 025798f44b8d drm/amd/pm: check specific index for smu13 d0230b372068 drm/amd/pm: check specific index for aldebaran 4ab720b6aa1e drm/amdgpu: fix the waring dereferencing hive 0aad97bf6d0b drm/amdgpu: fix dereference after null check d116bb921e8b drm/amdgpu: Fix the warning division or modulo by zero 58350786dbbd drm/amdgpu/pm: Check input value for CUSTOM profile mode setting on legacy SOCs eba7c58b7a83 wifi: ath11k: initialize 'ret' in ath11k_qmi_load_file_target_mem() 17d89c79181e wifi: ath12k: initialize 'ret' in ath12k_qmi_load_file_target_mem() 59f742e55a46 apparmor: fix possible NULL pointer dereference f163ba83e607 drm/amdkfd: Reconcile the definition and use of oem_id in struct kfd_topology_device d0a43bf367ed drm/amdgpu: fix mc_data out-of-bounds read warning f2b7a9f3839e drm/amdgpu: fix ucode out-of-bounds read warning f9267972490f drm/amdgpu: Fix out-of-bounds read of df_v1_7_channel_number e6ea3b8fe398 drm/amdkfd: Check debug trap enable before write dbg_ev_file a60d1f7ff62e drm/amdgpu: Fix out-of-bounds write warning f71ef2bb69dd drm/amdgpu: Fix the uninitialized variable warning 3ad44174a576 drm/amdgpu/pm: Fix uninitialized variable agc_btc_response 3e04fa97077d drm/amdgpu/pm: Fix uninitialized variable warning for smu10 97667de35ba7 drm/amd/pm: fix uninitialized variable warnings for vangogh_ppt 4dfec5f5501a drm/amd/amdgpu: Check tbo resource pointer 4003bac78438 drm/amd/display: Fix index may exceed array range within fpu_update_bw_bounding_box 8406158a5464 drm/amd/display: Skip inactive planes within ModeSupportAndSystemConfiguration 3dc6bb57dab3 drm/amd/display: Ensure index calculation will not overflow 94b0689984dd drm/amd/display: Fix Coverity INTEGER_OVERFLOW within decide_fallback_link_setting_max_bw_policy af43ed726fa5 drm/amd/display: Spinlock before reading event 313d3dd4ca0e drm/amd/display: Fix Coverity INTEGER_OVERFLOW within dal_gpio_service_create 13faa9d401a5 drm/amd/display: Fix Coverity INTERGER_OVERFLOW within construct_integrated_info cb63090a17d3 drm/amd/display: Check msg_id before processing transcation 21f9cb44f8c6 drm/amd/display: Check num_valid_sets before accessing reader_wm_sets[] 8b5ccf3d0119 drm/amd/display: Add array index check for hdcp ddc access 48e0b68e2360 drm/amd/display: Check index for aux_rd_interval before using 94cb77700fa4 drm/amd/display: Stop amdgpu_dm initialize when stream nums greater than 6 08e7755f754e drm/amd/display: Check gpio_id before used as array index 30e60db4296c drm/amdgpu: avoid reading vf2pf info size from FB 1a2c89396ddc drm/amd/pm: fix uninitialized variable warnings for vega10_hwmgr f1e261ced9bc drm/amd/pm: fix the Out-of-bounds read warning 4711b1347cb9 drm/amd/pm: Fix negative array index read 59dd0d4b3326 drm/amd/pm: fix warning using uninitialized value of max_vid_step 1dbce92f3250 drm/amd/pm: fix uninitialized variable warning for smu8_hwmgr fc0cb02efdfb drm/amd/pm: fix uninitialized variable warning a2f2beaba783 drm/amdgpu/pm: Check the return value of smum_send_msg_to_smc da22d1b98d9d drm/amdgpu: fix overflowed array index read warning d2fe7ac613a1 drm/amd/display: Assign linear_pitch_alignment even for VM 761964b756c6 drm/amdgpu: Fix uninitialized variable warning in amdgpu_afmt_acr 3d2e1b82558b mptcp: pr_debug: add missing \n at the end a088190f3fbf mptcp: avoid duplicated SUB_CLOSED events 1f4ca105abb5 selftests: mptcp: join: stop transfer when check is done (part 2.2) 5803af655fd5 selftests: mptcp: join: disable get and dump addr checks 81f2e73e73fb selftests: mptcp: join: test for flush/re-add endpoints f9ca09beedda selftests: mptcp: join: check re-re-adding ID 0 signal a417ef47a665 selftests: mptcp: join: validate event numbers b66609e9aa7c selftests: mptcp: add mptcp_lib_events helper 0a37a0ec0d7d selftests: mptcp: join: check re-adding init endp with != id 43ca9a10d052 selftests: mptcp: join: check re-using ID of unused ADD_ADDR a95e3e702ce4 selftests: mptcp: add explicit test case for remove/readd 8863e430e6dc selftests: mptcp: join: cannot rm sf if closed a17d1419126b selftests: mptcp: declare event macros in mptcp_lib 485bb1981a2e selftests: mptcp: userspace pm get addr tests 1b8af4ba00b2 selftests: mptcp: dump userspace addrs list 05867195c96f selftests: mptcp: userspace pm create id 0 subflow 2a72ceb86359 mptcp: pm: fix RM_ADDR ID for the initial subflow 0229074a5170 mptcp: make pm_remove_addrs_and_subflows static 489f245e00f0 ASoC: codecs: ES8326: button detect issue 2eb143e0962c ASoC: amd: yc: Support mic on Lenovo Thinkpad E14 Gen 6 cc300463aa06 net: usb: qmi_wwan: add MeiG Smart SRM825L 2ea1fab2df6c dma-debug: avoid deadlock between dma debug vs printk and netconsole b1322bc32a34 i2c: Fix conditional for substituting empty ACPI functions 8b28f8c5d124 spi: hisi-kunpeng: Add validation for the minimum value of speed_hz 533e175c82ad ASoC: amd: yc: Support mic on HP 14-em0002la 77e5d743a8cf smb: client: fix FSCTL_GET_REPARSE_POINT against NetApp ad3bc43e7296 net/mlx5: DR, Fix 'stack guard page was hit' error in dr_rule f8b39e2da7d9 ALSA: seq: ump: Explicitly reset RPN with Null RPN 9062e98473a9 ALSA: seq: ump: Transmit RPN/NRPN message at each MSB/LSB data reception 7c34c6894779 ALSA: seq: ump: Use the common RPN/bank conversion context 4ed4e84939ac ALSA: ump: Explicitly reset RPN with Null RPN 5a494fdbfc63 ALSA: ump: Transmit RPN/NRPN message at each MSB/LSB data reception bd819563d5c3 ALSA: hda/conexant: Mute speakers at suspend / shutdown 8f11fbe1199b ALSA: hda/generic: Add a helper to mute speakers at suspend/shutdown 9b090ccd80cc btrfs: tree-checker: validate dref root and objectid 02c19d769d2b scsi: ufs: core: Bypass quick recovery if force reset is needed 8d1af5c6af5c scsi: ufs: core: Check LSDBS cap when !mcq 512bd0cd535b drm: panel-orientation-quirks: Add quirk for OrangePi Neo d5618eaea886 drm/fb-helper: Don't schedule_work() to flush frame buffer during panic() 18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn 2879d995e569 pnmtologo: sync with 6.6 43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes 35046aea43c8 bpftool: Fix undefined bpf macro for unix socket 9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids 42b2eec2e503 bpftool: Query only cgroup-related attach types f71bb11887ba cpu/amd: inhibit SMP check for qemux86 c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14 64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock 7c76aad68f6d kselftest: Add a ksft_perror() helper 06644f0d7193 drm/tilcdc: Set preferred depth ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs 50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018 58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts c2d64b9f52b6 qemux86: add configuration symbol to select values 630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs 0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter 46934791b902 clear_warn_once: bind a timer to written reset value cdee9e38ff32 clear_warn_once: expand debugfs to include read support 82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS 36dc380b776b libbpf: Fix build warning on ref_ctr_off 9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel. e497a4a5da65 perf: x86-32: explicitly include <errno.h> 7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long 1cfc19423dc7 perf: fix bench numa compilation 98bc2815fade perf: add SLANG_INC for slang.h 17209a70b9b3 perf: add sgidefs.h to for mips builds 9cd4258d910a perf: change --root to --prefix for python install 8110a4f26628 perf: add 'libperl not found' warning bc89d5e08f77 perf: force include of <stdbool.h> 4f6c760cc876 fat: Replace prandom_u32() with get_random_u32() bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat 30b2236ab378 FAT: Added FAT_NO_83NAME cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option 0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option 5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes c4342d979bf2 aufs6: fix magic.mk include path 35266bc2dc81 aufs6: adapt to v6.6 8edede4e98be aufs6: core 712248233ebe aufs6: standalone 3b71a8a848d8 aufs6: mmap 3e2924871f37 aufs6: base 7f4907a93101 aufs6: kbuild d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+ bcd6cfcd1aa0 yaffs2: v6.5 fixups cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length 8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap c9c749f9f7d3 yaffs2: replace bdevname call with sprintf 395b01cdc39d yaffs2: convert read_page -> readfolio d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL 613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name 622c4648936f yaffs2: v5.12+ build fixups (not runtime tested) 7562133d4090 yaffs: include blkdev.h dbd44252cd59 yaffs: fix misplaced variable declaration c223a10b1ac0 yaffs2: v5.6 build fixups 90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read 37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super b6e007b8abb6 yaffs: repair yaffs_get_mtd_device fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API 51e0aac75ea2 yaffs2: fix memory leak in mount/umount 2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1 ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis 8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY 1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020) 4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation 2f603d83fcc4 pnmtologo: use relocatable file name 664a6a0a484b tools: use basename to identify file in gen-mach-types 9de64bc0c185 lib/build_OID_registry: fix reproducibility issues ae9b80797295 vt/conmakehash: improve reproducibility a972323151bd iwlwifi: select MAC80211_LEDS conditionally 15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119) 5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation 5552dc768ffc defconfigs: drop obselete options 00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled 3888d0652edf linux-yocto: Handle /bin/awk issues 3d55d299f23a uvesafb: provide option to specify timeout for task completion 23c068c080be uvesafb: print error message when task timeout occurs edbfc939266e compiler.h: Undef before redefining __attribute_const__ c99ae7e2a19a vmware: include jiffies.h 572d84d928c8 Resolve jiffies wrapping about arp fdcd47cac843 nfs: Allow default io size to be configured. 927d48801098 check console device file on fs when booting 57cc27f821dd mount_root: clarify error messages for when no rootfs found 1b53d82a8152 mconf: fix output of cflags and libraries 1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location 83c2e0c6eb1f modpost: mask trivial warnings 6de673039484 kbuild: exclude meta directory from distclean processing 6decd32815f5 powerpc: serialize image targets f6b683b38318 arm: serialize build targets e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition dc8a1e5a88f8 x86_64_defconfig: Fix warnings 68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8 d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8 62f50884b8b1 powerpc: kexec fix for powerpc64 da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core f161c880c11d mips: make current_cpu_data preempt safe 5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code 19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c 881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var 98ec1963fcb7 arm64: defconfig: cleanup config options f1727c537ba8 vexpress: Pass LOADADDR to Makefile 4474c32dc24a arm: ARM EABI socketcall 75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault (From OE-Core rev: 6687a404a7b3c9d3b28832204b1d9ce575f12e13) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* spdx30_tasks.py: fix typo in call of is_file methodDaniil Batalov2024-09-131-1/+1
| | | | | | | | | Method is_file() was wrongly called as isfile() (From OE-Core rev: 356c52a45db139bf1fdfcf5b6e0903ece7d1dd46) Signed-off-by: Daniil Batalov <dbatalov@deltard.ru> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add missing dependency on libkmod to udevRoss Burton2024-09-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | As of systemd 256, libsystemd-shared.so doesn't directly link to a number of libraries but instead dlopen()'s them as needed to reduce the size of the attack surface. Instead the .so has a .note.dlopen segment that lists the libraries that may be opened, with the intention that these are transformed into package recommendation fields. We don't yet have support for these (see #15595) so explicit dependencies have been added to the systemd package itself. However, in an initramfs with udev but without systemd and no recommendations you end up without libkmod, so module loading is impossible. Add an explicit hard dependency on libkmod to udev, because modules are critical functionality. (From OE-Core rev: 12fadefe11ed9f09171087608c3c4b83c7302b3f) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: include sysvinit in default PACKAGECONFIG only if in DISTRO_FEATURESRasmus Villemoes2024-09-131-2/+1
| | | | | | | | | | | | | | | | | | The sysvinit PACKAGECONFIG knob enables various legacy/compatibility code that may not be needed or even desired. If DISTRO_FEATURES includes systemd (as it must for this recipe to build) but not sysvinit, there is no point building and installing that legacy support. As most other changes, this can cause breakage, but given that sysvinit not being in DISTRO_FEATURES requires explicit opt-out (due to backfill), I think the risk is low. Moreover, it is generally easier to add to than to remove from PACKAGECONFIG. (From OE-Core rev: 3668235fd60a9027608f37251c4b453ed21b3687) Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: prserv: increment 9 to 10 correctlyDan McGregor2024-09-122-1/+3
| | | | | | | | | | | | | | | | | | | Previously, incrementing "0.9" would result in "0.1.0", which generally gets recognised as a lower version number. Even more surprising, incrementing "0.99" returned "0.1.0.0". This is due to the behaviour of the list function on a string object; it adds each character as an element in a new list, causing the new string '10' to become the list [ '1', '0' ]. Instead of converting a string to a list, add the string to a new list, and concatenate it with the existing list slice. And provide test cases for "0.9" -> "0.10" and related edge cases. (Bitbake rev: 96ddeefa88ff4c37e9ea096726a7cdca5b5b4572) Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2/gitsm: use configparser to parse .gitmodulesRoss Burton2024-09-121-11/+13
| | | | | | | | | | .gitmodules is basically ini-style, so use configparser instead of manually parsing by hand. (Bitbake rev: a4f42e396e2942fde94b8b4944487c1c45f7a295) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>