summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* resulttool: Clean up repoducible build logsRichard Purdie2024-11-231-0/+22
| | | | | | | | | | We've improved the data stored for reproduicible builds. Teach resulttool how to apply those cleanups when reprocessing data so we can reduce results file sizes and make the data easier to process. (From OE-Core rev: b799c57ae6d61c1b1c7035c8a2c4ba6ee08d1a81) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* resulttool: Handle ltp rawlogs as well as ptestRichard Purdie2024-11-231-13/+20
| | | | | | | | | Improve the rawlogs handling to include ltp logs as well as the ptest ones to reduce the size of the results git repos. (From OE-Core rev: a0a1954d559609c2c1ca16936d0d68eb3c4c6b45) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* resulttool: Add --logfile-archive option to store modeRichard Purdie2024-11-231-2/+17
| | | | | | | | | | Storing the log files inside the testresults git repo isn't scaling and isn't really appropriate use of a git repository. Allow these to be optionally stored in a separate filesystem location so the git repo can remain managable. (From OE-Core rev: 1afc0f3d7e93fa8496be241e9622d3b9a6904bd5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* resulttool: Fix passthrough of --all files in store modeRichard Purdie2024-11-231-1/+1
| | | | | | | | | When using store mode, --all was broken as not all files were being preserved. Fix this by limiting the scope of the git rm command. (From OE-Core rev: 9604561d2022b6c76b1cb4186d40800d1affdd2b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/utils/gitarchive: Return tag name and improve exclude handlingRichard Purdie2024-11-231-1/+3
| | | | | | | | | | | Tweak the gitarchive exclude handling not to error if excluded files don't match. Also return the tagname created so that other code can then use it. (From OE-Core rev: 1adba3430faffdf6217b6a00533a3b48a9388abc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* resulttool: Use single space indentation in json outputRichard Purdie2024-11-234-4/+4
| | | | | | | | | | | Using 4 space indentation in resulted in hundreds of megabytes of extra file size in general use. Reduce this to make filesizes more managable and reduce the processing cost. Some level of indentation and spacing does make the files more readable and allows use of git diff so we need to retain some of it. (From OE-Core rev: a274cdcaf852cca9497f0358f44dda99c06aacbe) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 72.1.0 -> 75.6.0Trevor Gamblin2024-11-222-5/+12
| | | | | | | | | | | | | Changelog: https://github.com/pypa/setuptools/blob/main/NEWS.rst 0001-conditionally-do-not-fetch-code-by-easy_install.patch had to be adjusted to apply on top of 75.6.0. (From OE-Core rev: 6d7e621ef133d625e8405c74a9dba712b8692064) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: upgrade 1.26.4 -> 2.1.3Trevor Gamblin2024-11-222-32/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This release contains numerous API changes and bug fixes. Changelog: https://github.com/numpy/numpy/releases - Notably, the build backend has switched to mesonpy since 1.26.4. - Patch 0001-numpy-core-Define-RISCV-32-support.patch had to be updated to change the paths for the target files. It has now been merged upstream, but isn't included in any release yet. PR for reference: https://github.com/numpy/numpy/pull/17780 - Builds OK and seems to be compatible with current piglit and pandas (meta-python), which was not the case for the previous upgrade attempt to numpy 2.0.1. - For numpy, add 'pkgconfig' to inherit to avoid errors like this at do_compile: | Found Pkg-config: NO | Run-time dependency python found: YES 3.12 | Has header "Python.h" with dependency python: NO | | ../numpy-2.0.0/meson.build:44:2: ERROR: Problem encountered: Cannot compile `Python.h`. Perhaps you need to install python-dev|python-devel | | A full log can be found at /home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux/python3-numpy/2.0.0/build/meson-logs/meson-log.txt - Mmodify the FILES:${PN}-staticdev line to fix a QA issue. - This is now reproducible as of oe-core commit: 917df5ed022f License-Update: Change copyright year to 2024 buildall-qemu log: BUILDALL-QEMU LOG FOR python3-numpy START TIME: 2024-11-20_14:02:08 HOSTNAME: megalith HOST OS: Debian GNU/Linux 12 (bookworm) HOST KERNEL: 6.1.0-27-amd64 =============== BUILD RESULTS: [glibc] FAIL: qemuloongarch64 PASS: qemuriscv32 PASS: qemuarmv5 PASS: qemuppc PASS: qemumips64 PASS: qemuriscv64 PASS: qemuarm64 PASS: qemuarm PASS: qemux86-64 PASS: qemuppc64 PASS: qemux86 PASS: qemumips [musl] FAIL: qemuloongarch64 FAIL: qemuriscv32 PASS: qemuarmv5 PASS: qemuppc PASS: qemumips64 PASS: qemuriscv64 PASS: qemuarm64 PASS: qemuarm PASS: qemux86-64 PASS: qemuppc64 PASS: qemux86 PASS: qemumips =============== PASSED: 21 FAILED: 3 (From OE-Core rev: fd656aaf7fbed3115e3b4251ff76257ee8f19c82) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-meson-python: upgrade 0.16.0 -> 0.17.1Trevor Gamblin2024-11-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog (https://mesonbuild.com/meson-python/changelog.html): 0.17.1 - Update tests to work with newly released pyproject-metadata 0.9.0. Fix tests to work when not executed in a git work tree. Daniele Nicolodi — 23-10-2024. 0.17.0 - Refuse to build wheels targeting the limited API and free-threaded CPython: the free-threaded CPython build does not support the limited API yet. - Always use UTF-8 encoding for writing Meson native and cross files. Always use UTF-8 encoding for reading read Meson introspection data and pyproject.toml. - Do not include uncommitted changes when creating source distributions. Previously, uncommitted changes to files under version control were included, but not untracked files. There was no strong use case for this behavior and it was too surprising to keep it. - Make source distribution reproducible: use the modification time of pyproject.toml for the generated files in the source distribution archives. - Disable the abi3 wheel tag for PyPy when building wheels targeting the limited API: PyPy supports the limited API but not the stable ABI. - Raise ImportError when the package rebuild fails when importing an editable install. - Fix the wheel platform tag for GraalPy. - Add .gitignore and .hgignore files to build directory if it is empty. - Allow install_subdir() of missing directories. Christian Clauss, Daniele Nicolodi, Jonathan J. Helmus, Leo Singer, Loïc Estève, Michael Simacek, Ralf Gommers, Simon McVittie — 19-10-2024. (From OE-Core rev: 27a818f8e7d7abafea48cf84baaaf510916f6c86) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: don't look on the host for GTest when cross-compilingRoss Burton2024-11-222-0/+37
| | | | | | | | | | | | | When cross-compiling prepend the sysroot to the hardcoded /usr/src paths that Meson looks in for the GoogleTest sources. [ YOCTO #13508 ] (From OE-Core rev: feb9a58814720a4382d3f02467dcecb276f58040) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux: Modify kernel configuration to fix runqlat issueHarish Sadineni2024-11-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Qemu Running "/usr/share/bcc/tools/runqlat 1 5" gives following error:- libbpf: kernel BTF is missing at '/sys/kernel/btf/vmlinux', was CONFIG_DEBUG_INFO_BTF enabled? libbpf: failed to find valid kernel BTF modprobe: FATAL: Module kheaders not found in directory /lib/modules/6.10.14-yocto-standard Unable to find kernel headers. Try rebuilding kernel with CONFIG_IKHEADERS=m (module) or installing the kernel development package for your running kernel version. chdir(/lib/modules/6.10.14-yocto-standard/build): No such file or directory Traceback (most recent call last): File "/usr/share/bcc/tools/./runqlat", line 293, in <module> b = BPF(text=bpf_text) File "/usr/lib/python3.13/site-packages/bcc/__init__.py", line 479, in __init__ raise Exception("Failed to compile BPF module %s" % (src_file or "<text>")) the following patch fixes the error. BCC test summary for x86_64: Before applying the patch: TOTAL: 95 PASS: 29 FAIL: 66 After applying the patch: TOTAL: 95 PASS: 79 FAIL: 16 50 new test cases passed (From OE-Core rev: 3e2f78fba9d259483311db5fa1101e3907549364) Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* migration-guides: document ZSTD_COMPRESSION_LEVEL changeAlexander Kanavin2024-11-221-0/+3
| | | | | | | | | (From yocto-docs rev: 6dcc70c4fa780d8531c58bd7886d6f8b602c10af) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: document ZSTD_COMPRESSION_LEVELAlexander Kanavin2024-11-221-0/+5
| | | | | | | | | (From yocto-docs rev: ca3cbe1bac3261fd01aeb1afdca98fbe283e9ac7) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: merge two separate descriptions of RECIPE_UPGRADE_EXTRA_TASKSAlexander Kanavin2024-11-221-6/+5
| | | | | | | | | | | The second description was added due to confusion over the variable rename in oe-core. (From yocto-docs rev: b64fb34643343b364705df9c3bd64af91ed9d687) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* migration-guides: add release notes for 5.0.4Lee Chee Yang2024-11-222-0/+213
| | | | | | | | (From yocto-docs rev: bf1077eb1b215ded502a61876eb071c21b21c4ec) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* standards.md: add a section on admonitionsAntonin Godard2024-11-221-0/+15
| | | | | | | | | | | | | We try to limit our usage of these admonitions to `note` and `warning`, as the Sphinx documentation warns that most themes only style these two admonitions. So add a section on that. Suggested-by: Quentin Schulz <quentin.schulz@cherry.de> Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> (From yocto-docs rev: 0c1252b67e602ebf7197e1388dd1fb86b37d25c8) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest/reproducible: Clean up pathnamesRichard Purdie2024-11-221-1/+1
| | | | | | | | | | | | | | | | | There are several problems with these paths. Firstly they contain full system paths which depend upon where the test was run. These are pretty pointless and just take up a lot of space making the results files large. Secondly, they contain the same path twice. The reference and target path will always be the same thing in two different locations. Strip off the prefix and remove the duplication. This does change the output data but that can't really be avoided. It does shrink the results data and makes it more readable. (From OE-Core rev: 81a44de36e864b08687451fd85aeba7c529fd7f7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest/reproducible: Drop rawlogsRichard Purdie2024-11-221-6/+0
| | | | | | | | | | | | | The "rawlogs" data consists of a long string of results data which is already in a structured data format. I can't see this is adding much value in duplciating the data but it does create a huge string with a lot of long problematic pathnames and inflates the results data size. I suggest we drop this data as obsolete and not necessary. (From OE-Core rev: 5b2c70fab2ffa409b861d83f048b65d458d03a90) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rxvt-unicode.inc: disable the terminfo installation by setting TIC to :Changqing Li2024-11-221-1/+2
| | | | | | | | | | | | | | | | | Without this change, TIC is the native tic in recipe-sysroot-native. By default, native tic has set its default terminfo path to native path: ${datadir}/terminfo; $HOME/.terminfo When sstate cache is used, the cached native tic's terminfo path could be a path not exist on current host, then native tic will try to install terminfo to HOME dir, cause host contamination. Disable the terminfo installation by setting TIC to : (From OE-Core rev: fe35ead2c3135a18c346e7baa31d34b15c3e2d95) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: update from 6.11 to 6.12Randy MacLeod2024-11-222-51/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release highlights: https://github.com/strace/strace/releases/tag/v6.12 Drop patch merged upstream: 0001-sched_attr-Define-conditionally-on-SCHED_ATTR_SIZE_V.patch 3b6f69aa2 sched_attr: Define conditionally on SCHED_ATTR_SIZE_VER1 qemux86-64 ptest results: glibc musl: TOTAL: 1393 1393 PASS: 1066 1059 SKIP: 327 330 XFAIL: 0 0 FAIL: 0 4 XPASS: 0 0 ERROR: 0 0 The skipped tests are mostly SELinux. The musl tests that fail, currently for unknown reasons, are: pread64-pwrite64.gen preadv-pwritev.gen pwritev.gen uio At least for pread64-pwrite6 the pwrite(64) syscalls are not traced and that makes the test fail. (From OE-Core rev: 07d4e9312781f5a865cbdd088d5e3485e8c1bffc) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: increase ptest timeout from 240 to 600 secondsRandy MacLeod2024-11-221-1/+1
| | | | | | | | | | Increase timeout to from 240 to 600 seconds for the following slow tests: filtering_syscall-syntax, qual_fault-syscall, qual_fault (From OE-Core rev: d2b7a8883f47257c1800584fb2d9433ce519d23a) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdk-pixbuf: remove obsolete .la referencesRoss Burton2024-11-221-3/+0
| | | | | | | | | gdk-pixbuf uses Meson to build now, so it doesn't generate .la files. (From OE-Core rev: 366440d0e99b4c0182d1b82b66389584e046bc39) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xorg-driver-common: remove obsolete .la removalRoss Burton2024-11-221-6/+0
| | | | | | | | | | We globally inherit remove-libtool, so there's no need to explicitly remove the .la files in the xorg drivers. (From OE-Core rev: 7619ed2819f6f95ab5d47f19a0ae4249e1199876) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: upgrade 75-1 -> 76-1Jason Schonberg2024-11-223-130/+3
| | | | | | | | | | | | | License-Update: add JSON parsing library under MIT license. Drop backported patches which have been merged into the new version. ICU-22813_rise_buffer_sizes_pkgdata_PR3058.patch - https://github.com/unicode-org/icu/pull/3058/commits/db70adaddcfa8050db6a69cdfef080a7f1423ad7 fix-install-manx.patch (From OE-Core rev: ef2bd18dd1db7e5f01db76889933bfdbb5415aaf) Signed-off-by: Jason Schonberg <schonm@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* webkitgtk: Add backported patch to support ICU-76.1Jason Schonberg2024-11-222-0/+37
| | | | | | | | | Ths allows us to upgrade icu. (From OE-Core rev: 059155fbcf799507cb58e35dbe5830d8ae9dfea3) Signed-off-by: Jason Schonberg <schonm@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-libc-headers: update to v6.12Bruce Ashfield2024-11-222-3/+2
| | | | | | | | | | Updating linux-libc-headers to the 6.12 LTS release, we drop 6.10 and make 6.12 the default. (From OE-Core rev: ac76d281e28cf0cb42dd76869572fa01716198ca) 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.62Bruce Ashfield2024-11-223-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/6.6 to the latest korg -stable release that comprises the following commits: c1036e4f14d0 Linux 6.6.62 9da3636a4880 9p: fix slab cache name creation for real fc4951c3e335 mm/thp: fix deferred split unqueue naming and locking eb6b6d3e1f1e mm: refactor folio_undo_large_rmappable() 0275e4021b0c mm: always initialise folio->_deferred_list e8769509d622 mm: support order-1 folios in the page cache 2ad2067e9ffc mm/readahead: do not allow order-1 folio bc8990235fb5 mm: add page_rmappable_folio() wrapper 71548fada7ee mm: krealloc: Fix MTE false alarm in __do_krealloc 950ac86cff33 io_uring: fix possible deadlock in io_register_iowq_max_workers() d5092b0a1aaf bpf: Check validity of link->type in bpf_link_show_fdinfo() 9dcf69612453 net: usb: qmi_wwan: add Fibocom FG132 0x0112 composition f08621233573 ASoC: fsl_micfil: Add sample rate constraint f198c09fe2ca LoongArch: Use "Exception return address" to comment ERA 4f885fa64983 ASoC: rt722-sdca: increase clk_stop_timeout to fix clock stop issue e01cac3d6284 RISCV: KVM: use raw_spinlock for critical section in imsic bff14c38ed51 HID: lenovo: Add support for Thinkpad X1 Tablet Gen 3 keyboard 24e8cc49c03e HID: multitouch: Add quirk for Logitech Bolt receiver w/ Casa touchpad 1cb5bfc5bfc6 fs: Fix uninitialized value issue in from_kuid and from_kgid ebf63d5c82e7 ASoC: amd: yc: Fix non-functional mic on ASUS E1404FA 34ec7bcee3d8 ASoC: amd: yc: Add quirk for ASUS Vivobook S15 M3502RA 77c523dfb053 bpf: Fix mismatched RCU unlock flavour in bpf_out_neigh_v6 a078a480ff3f bpf: Add sk_is_inet and IS_ICSK check in tls_sw_has_ctx_tx/rx 6fbf6ff7549e vDPA/ifcvf: Fix pci_read_config_byte() return code handling 5a526388d0ac nvme/host: Fix RCU list traversal to use SRCU primitive e8c714941811 smb: client: Fix use-after-free of network namespace. 1a1bcca5c9ef nvme: make keep-alive synchronous operation e4f9fffbb1dc nvme-loop: flush off pending I/O while shutting down loop controller dd5d32f74fc1 net: phy: mdio-bcm-unimac: Add BCM6846 support bee372110e69 powerpc/powernv: Free name on error in opal_event_init() 4c332037fcbb drm/amdkfd: Accounting pdd vram_usage for svm 4a57f42e5ed4 nvme-multipath: defer partition scanning 3406bfc813a9 RDMA/siw: Add sendpage_ok() check to disable MSG_SPLICE_PAGES c6db3a111e2d drm/vmwgfx: Limit display layout ioctl array size to VMWGFX_NUM_DISPLAY_UNITS 87791a733a3b sound: Make CONFIG_SND depend on INDIRECT_IOMEM instead of UML 839c22a2134a crypto: marvell/cesa - Disable hash algorithms 83394e7d9421 crypto: api - Fix liveliness check in crypto_alg_tested d22f177935dd bpf: use kvzmalloc to allocate BPF verifier environment e04e64805802 nvme: disable CC.CRIME (NVME_CC_CRIME) 8902a5223962 iommu/arm-smmu: Clarify MMU-500 CPRE workaround ded2b3b2bc50 HID: multitouch: Add quirk for HONOR MagicBook Art 14 touchpad 6e306b87c035 HID: multitouch: Add support for B2402FVA track point f49a9d86c4cd block: Fix elevator_get_default() checking for NULL q->tag_set 975cb1d21215 nvme: tcp: avoid race between queue_lock lock and destroy 4b3441089235 irqchip/ocelot: Fix trigger register address 68ec5395bc24 selftests/bpf: Verify that sync_linked_regs preserves subreg_def 0d6c0b3b6f3f 9p: Avoid creating multiple slab caches with the same name a63c78c3493c 9p: v9fs_fid_find: also lookup by inode if not found dentry f1ab3a1bcbbc Linux 6.6.61 b110196fec44 vsock/virtio: Initialization of the dangling pointer occurring in vsk->trans 4bdc5a62c6e5 hv_sock: Initializing vsk->trans to NULL to prevent a dangling pointer f7a08b2897da ASoC: amd: yc: fix internal mic on Xiaomi Book Pro 14 2022 1e8f31656ac1 ucounts: fix counter leak in inc_rlimit_get_ucounts() dd73c942eed7 ocfs2: remove entry once instead of null-ptr-dereference in ocfs2_xa_remove() c8fe8c223297 irqchip/gic-v3: Force propagation of the active state with a read-back 4fea315a9fd8 USB: serial: option: add Quectel RG650V 836eefa7c7e1 USB: serial: option: add Fibocom FG132 0x0112 composition 4ffcb9d7891c USB: serial: qcserial: add support for Sierra Wireless EM86xx 13d6ff3ca760 USB: serial: io_edgeport: fix use after free in debug printk 69e19774f15e usb: typec: fix potential out of bounds in ucsi_ccg_update_set_new_cam_cmd() 35925e2b7b40 usb: typec: qcom-pmic: init value of hdr_len/txbuf_len earlier 4abc5ee334fe usb: dwc3: fix fault at system suspend if device was already runtime suspended 8a30da5aa960 usb: musb: sunxi: Fix accessing an released usb phy 4877d9b2a2eb signal: restore the override_rlimit logic 5b548fd0d298 fs/proc: fix compile warning about variable 'vmcore_mmap_ops' ef59a49a4b0b i2c: designware: do not hold SCL low when I2C_DYNAMIC_TAR_UPDATE is not set a2746ab3bbc9 filemap: Fix bounds checking in filemap_read() 575a562f7a3e media: uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in uvc_parse_format 0186347f1605 Revert "selftests/bpf: Implement get_hw_ring_size function to retrieve current and max interface size" bb9982d77734 Revert "wifi: mac80211: fix RCU list iterations" 6e62dab357ee riscv/purgatory: align riscv_kernel_entry f04be6d68f71 btrfs: reinitialize delayed ref list after deleting it from the list 701fae8dce72 arm64: smccc: Remove broken support for SMCCCv1.3 SVE discard hint 22aaaa7a1a73 arm64: Kconfig: Make SME depend on BROKEN for now 51d11ea0250d arm64/sve: Discard stale CPU state when handling SVE traps 30db2a648550 mptcp: use sock_kfree_s instead of kfree 1325e838089d net: vertexcom: mse102x: Fix possible double free of TX skb 20f4eb96afe2 net: wwan: t7xx: Fix off-by-one error in t7xx_dpmaif_rx_buf_alloc() f749cb60a01f nfs: Fix KMSAN warning in decode_getfattr_attrs() 203003c4ff18 posix-cpu-timers: Clear TICK_DEP_BIT_POSIX_TIMER on clone e639fe493614 ALSA: usb-audio: Add quirk for HP 320 FHD Webcam edfae9d997c7 dm-unstriped: cast an operand to sector_t to prevent potential uint32_t overflow 036dd6e3d263 dm cache: fix potential out-of-bounds access on the first resume 53421c3c0ee0 dm cache: optimize dirty bit checking with find_next_bit when resizing e57648ce325f dm cache: fix out-of-bounds access to the dirty bitset when resizing 8cc12dab6353 dm cache: fix flushing uninitialized delayed_work on cache_ctr error 11d5a3f8427a dm cache: correct the number of origin blocks to match the target length 1df8231f4e99 thermal/drivers/qcom/lmh: Remove false lockdep backtrace a613a3924175 drm/amdgpu: prevent NULL pointer dereference if ATIF is not supported 3930715c1aef drm/amdgpu: Fix DPX valid mode check on GC 9.4.3 e2574b57990d drm/amdgpu: Adjust debugfs register access permissions 8906728f2fbd drm/amdgpu: add missing size check in amdgpu_debugfs_gprwave_read() 5a8ae5fa576c drm/amdgpu: Adjust debugfs eviction and IB access permissions 343fcd066c09 rpmsg: glink: Handle rejected intent request better 767975d74952 pwm: imx-tpm: Use correct MODULO value for EPWM mode c6cdc08c25a8 ksmbd: fix slab-use-after-free in smb3_preauth_hash_rsp 726c1568b914 ksmbd: Fix the missing xa_store error check 1f993777275c ksmbd: check outstanding simultaneous SMB operations e923503a56b3 ksmbd: fix slab-use-after-free in ksmbd_smb2_session_create 5ba7258ff028 can: mcp251xfd: mcp251xfd_ring_alloc(): fix coalescing configuration when switching CAN modes 91017ba42df0 can: mcp251xfd: mcp251xfd_get_tef_len(): fix length calculation 89d8048df70c can: m_can: m_can_close(): don't call free_irq() for IRQ-less devices 32adcb833ecc media: v4l2-ctrls-api: fix error handling for v4l2_g_ctrl() 2d0f01aa602f media: v4l2-tpg: prevent the risk of a division by zero 4264e26a34e3 media: pulse8-cec: fix data timestamp at pulse8_setup() 83c152b55d88 media: cx24116: prevent overflows on SNR calculus 784bc785a453 media: s5p-jpeg: prevent buffer overflows a244b82d0ae6 media: ar0521: don't overflow when checking PLL values bd24d8337159 ASoC: SOF: sof-client-probes-ipc4: Set param_size extension bits 23bdbd1ef3e0 ASoC: stm32: spdifrx: fix dma channel release in stm32_spdifrx_remove d3304dbc2d5f thermal/of: support thermal zones w/o trips subnode 5f2d0b607c70 tools/lib/thermal: Fix sampling handler context ptr 57a9e9d71d77 ALSA: firewire-lib: fix return value on fail in amdtp_tscm_init() a8ce18094f42 scsi: sd_zbc: Use kvzalloc() to allocate REPORT ZONES buffer b01f2230868b media: adv7604: prevent underflow condition when reporting colorspace 492275748168 media: dvb_frontend: don't play tricks with underflow values 1e461672616b media: dvbdev: prevent the risk of out of memory access c776231e3d0b media: stb0899_algo: initialize cfr before using it 203d04968af0 Revert "ALSA: hda/conexant: Mute speakers at suspend / shutdown" 1947143cb188 drivers: net: ionic: add missed debugfs cleanup to ionic_probe() error path 996a7208dadb rxrpc: Fix missing locking causing hanging calls 0012be71c55b net: arc: rockchip: fix emac mdio node support 8ed7a4a39c3f net: arc: fix the device for dma_map_single/dma_unmap_single af0aa8aecbe8 virtio_net: Add hash_key_length check bfd05c68e4c6 netfilter: nf_tables: wait for rcu grace period on net_device removal 825a80817cf1 netfilter: nf_tables: pass nft_chain to destroy function, not nft_ctx d122b259a717 netfilter: nf_tables: cleanup documentation b0a3c915529e net: stmmac: Fix unbalanced IRQ wake disable warning on single irq case 421cf80e7dee net: phy: ti: add PHY_RST_AFTER_CLK_EN flag 719edd9f3372 net: hns3: fix kernel crash when uninstalling driver 4b0599a66614 e1000e: Remove Meteor Lake SMBUS workarounds bf5f837d9fd2 i40e: fix race condition by adding filter's intermediate sync state 6103d401b1cf ice: change q_index variable type to s16 to store -1 value f32fc3becfc7 can: c_can: fix {rx,tx}_errors statistics ef0edfbe9eee net: enetc: allocate vf_state during PF probes d3fb3cc83cf3 sctp: properly validate chunk size in sctp_sf_ootb() 345267bf3643 dt-bindings: net: xlnx,axi-ethernet: Correct phy-mode property value d4c52c6a2bd5 net: enetc: set MAC address to the VF net_device 9b7c0405af66 regulator: rtq2208: Fix uninitialized use of regulator_config 3e79ad156bed security/keys: fix slab-out-of-bounds in key_task_permission 6173b0bfcea3 nfs: avoid i_lock contention in nfs_clear_invalid_mapping 351f03398ba8 NFSv3: only use NFS timeout for MOUNT when protocols are compatible d428de979bb2 sunrpc: handle -ENOTCONN in xs_tcp_setup_socket() 7a3ed3f12529 platform/x86/amd/pmc: Detect when STB is not available 9d9f5c75c0c7 HID: core: zero-initialize the report buffer 24a7ac9d3d1b arm64: dts: rockchip: Correct GPIO polarity on brcm BT nodes 95106521c1d8 ARM: dts: rockchip: Fix the realtek audio codec on rk3036-kylin 1a22d3723f48 ARM: dts: rockchip: Fix the spi controller on rk3036 0f4e827100ad ARM: dts: rockchip: drop grf reference from rk3036 hdmi f3d09c233bea ARM: dts: rockchip: fix rk3036 acodec node 6900713f93c8 arm64: dts: rockchip: remove orphaned pinctrl-names from pinephone pro 15b17bbcea07 firmware: arm_scmi: Fix slab-use-after-free in scmi_bus_notifier() 810615507942 arm64: dts: imx8mp: correct sdhc ipg clk 5cfe9619ce8a arm64: dts: imx8-ss-vpu: Fix imx8qm VPU IRQs ad0a938050d3 arm64: dts: imx8qxp: Add VPU subsystem file f8181c545d0a arm64: dts: rockchip: remove num-slots property from rk3328-nanopi-r2s-plus e24351485d15 arm64: dts: rockchip: Fix LED triggers on rk3308-roc-cc d0beaf49abc7 arm64: dts: rockchip: Remove #cooling-cells from fan on Theobroma lion d09940e349f6 arm64: dts: rockchip: Remove undocumented supports-emmc property d0a08abbe182 arm64: dts: rockchip: Add DTS for FriendlyARM NanoPi R2S Plus 87759aaaab5c arm64: dts: rockchip: Fix bluetooth properties on Rock960 boards 55907bdf4858 arm64: dts: rockchip: Fix bluetooth properties on rk3566 box demo 54d80a600051 arm64: dts: rockchip: fix i2c2 pinctrl-names property on anbernic-rg353p/v 08e793866570 arm64: dts: rockchip: Fix reset-gpios property on brcm BT nodes 4d580a57ec23 arm64: dts: rockchip: Fix wakeup prop names on PineNote BT node f1da910ee9a2 arm64: dts: rockchip: Remove hdmi's 2nd interrupt on rk3328 771bd4dde450 arm64: dts: rockchip: Fix rt5651 compatible value on rk3399-sapphire-excavator 27b69008d637 arm64: dts: rockchip: Fix rt5651 compatible value on rk3399-eaidk-610 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: 83dc33ac568e1320e1f675eaaa5e3b75dae26733) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/6.10: cfg: gpio: allow to re-enable the deprecated GPIO sysfs ↵Bruce Ashfield2024-11-223-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | interface Integrating the following commit(s) to linux-yocto/.: 1/1 [ Author: Bartosz Golaszewski Email: bartosz.golaszewski@linaro.org Subject: gpio: allow to re-enable the deprecated GPIO sysfs interface Date: Mon, 11 Nov 2024 14:08:23 +0100 The GPIO sysfs interface is disabled in standard linux config and in general users should use the character device instead but there are still programs out there that depend on it so for the time being add a kernel feature allowing to enable it. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> ] (From OE-Core rev: ae19861bfc336d869a7a84b13ab3e7b318e1b560) 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.60Bruce Ashfield2024-11-223-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/6.6 to the latest korg -stable release that comprises the following commits: 9b5aad3a7498c Linux 6.6.60 cc082e50375a2 fs/ntfs3: Sequential field availability check in mi_enum_attr() 10c20d79d59ca drm/amd/display: Add null checks for 'stream' and 'plane' before dereferencing e979a6a626abf ASoC: SOF: ipc4-control: Add support for ALSA enum control 3facc0417d3d7 ASoC: SOF: ipc4-control: Add support for ALSA switch control f01d8fc623711 ASoC: SOF: ipc4-topology: Add definition for generic switch/enum control d54afaef6570c SUNRPC: Remove BUG_ON call sites 27a58a19bd20a mtd: spi-nor: winbond: fix w25q128 regression 3d544942c0010 mm: don't install PMD mappings when THPs are disabled by the hw/process/vma 02ec4b3bba49e mm: huge_memory: add vma_thp_disabled() and thp_disabled_by_hw() fc621e7a043de wifi: iwlwifi: mvm: fix 6 GHz scan construction f2f1fa446676c nilfs2: fix kernel bug due to missing clearing of checked flag a53c2d847627b wifi: mac80211: fix NULL dereference at band check in starting tx ba session 6a91a5816b289 io_uring: always lock __io_cqring_overflow_flush e3fb0e6afcc39 arm64: dts: imx8ulp: correct the flexspi compatible string 1a49b96c51063 vmscan,migrate: fix page count imbalance on node stats when demoting pages 003d2996964c0 io_uring/rw: fix missing NOWAIT check for O_DIRECT start write 70bbe8d0a9494 kasan: remove vmalloc_percpu test c60af16e1d6cc nvmet-auth: assign dh_key to NULL after kfree_sensitive 4a39320977f9c ALSA: hda/realtek: Fix headset mic on TUXEDO Stellaris 16 Gen6 mb1 b42adef85aca7 ALSA: hda/realtek: Fix headset mic on TUXEDO Gemini 17 Gen3 77ddc732416b0 xfs: fix finding a last resort AG in xfs_filestream_pick_ag 8e886e44397ba mctp i2c: handle NULL header address 88f97a4b5843c ocfs2: pass u64 to ocfs2_truncate_inline maybe overflow c117a980185ee x86/traps: move kmsan check after instrumentation_begin 86ee1845cbbf5 x86/traps: Enable UBSAN traps on x86 b958948ae1cb3 mm/page_alloc: let GFP_ATOMIC order-0 allocs access highatomic reserves 4882a352b5df8 mei: use kvmalloc for read buffer cb8b81ad3e893 mptcp: init: protect sched with rcu_read_lock 4f7ffa83fa79d iov_iter: fix copy_page_from_iter_atomic() if KMAP_LOCAL_FORCE_MAP ade91f6e9848b sched/numa: Fix the potential null pointer dereference in task_numa_work() 8c9a1ec39c698 cxl/acpi: Ensure ports ready at cxl_acpi_probe() return a9ed67f39f888 cxl/port: Fix cxl_bus_rescan() vs bus_rescan_devices() d210bc87cc4fd riscv: Remove duplicated GET_RM 6d84e1b2e5ac0 riscv: Remove unused GENERATING_ASM_OFFSETS a63ba17207c50 riscv: Use '%u' to format the output of 'cpu' 909e71f28e961 riscv: efi: Set NX compat flag in PE/COFF header 58e78589ade88 ALSA: hda/realtek: Limit internal Mic boost on Dell platform ceec8ad09135c Input: edt-ft5x06 - fix regmap leak when probe fails c19a0c171d37f riscv: vdso: Prevent the compiler from inserting calls to memset() e79c1f1c9100b spi: spi-fsl-dspi: Fix crash when not using GPIO chip select 163e6323799bd phy: freescale: imx8m-pcie: Do CMN_RST just before PHY PLL lock check 0d86cd70fc6a7 cgroup/bpf: use a dedicated workqueue for cgroup bpf destruction b3c301b859c4a block: fix sanity checks in blk_rq_map_user_bvec 0fc87887dcb3a mmc: sdhci-pci-gli: GL9767: Fix low power mode in the SD Express process 4159cd6ab5cfe mmc: sdhci-pci-gli: GL9767: Fix low power mode on the set clock function 8e1b52c15c811 cxl/port: Fix use-after-free, permit out-of-order decoder shutdown 8cd25f1fce6b8 thunderbolt: Honor TMU requirements in the domain when setting TMU mode 9523a0268924a tools/mm: -Werror fixes in page-types/slabinfo edd1f90505068 mm: shmem: fix data-race in shmem_getattr() b6f95df4f7af6 RISC-V: ACPI: fix early_ioremap to early_memremap 1246d86e7bbde nilfs2: fix potential deadlock with newly created symlinks 1a797936d3468 iio: light: veml6030: fix microlux value calculation 38d6e8be234d8 iio: gts-helper: Fix memory leaks in iio_gts_build_avail_scale_table() 62c1189668312 iio: gts-helper: Fix memory leaks for the error path of iio_gts_build_avail_scale_table() 3dc0eda2cd5c6 iio: adc: ad7124: fix division by zero in ad7124_set_channel_odr() adfbc08b94e7d staging: iio: frequency: ad9832: fix division by zero in ad9832_calc_freqreg() cedf0f1db8d5f wifi: iwlegacy: Clear stale interrupts before resuming device 6c44abb2d4c32 wifi: cfg80211: clear wdev->cqm_config pointer on free 5f5a939759c79 wifi: ath10k: Fix memory leak in management tx ee35c423042c9 wifi: mac80211: do not pass a stopped vif to the driver in .get_txpower 0b9be24679358 Revert "selftests/mm: replace atomic_bool with pthread_barrier_t" 1fe6799ee9b5f Revert "selftests/mm: fix deadlock for fork after pthread_create on ARM" fd28d95894609 Revert "driver core: Fix uevent_show() vs driver detach race" a762d0fc17df2 xhci: Use pm_runtime_get to prevent RPM on unsupported systems 809dd30ee9011 xhci: Fix Link TRB DMA in command ring stopped completion event 7e8066811a2c4 phy: qcom: qmp-usb-legacy: fix NULL-deref on runtime suspend 370814e9d512b phy: qcom: qmp-usb: fix NULL-deref on runtime suspend e8180a4b1cf93 usb: typec: qcom-pmic-typec: use fwnode_handle_put() to release fwnodes 558650b18f090 usb: typec: fix unreleased fwnode_handle in typec_port_register_altmodes() cd205590599a3 usb: phy: Fix API devm_usb_put_phy() can not release the phy 53e0684f3093b usbip: tools: Fix detach_port() invalid port error path aa03c31a001ac ALSA: usb-audio: Add quirks for Dell WD19 dock b3b2431ed27f4 rcu-tasks: Fix access non-existent percpu rtpcp variable in rcu_tasks_need_gpcb() 7679283e61a8b rcu-tasks: Initialize data to eliminate RCU-tasks/do_exit() deadlocks dc5d4d4c12246 rcu-tasks: Add data to eliminate RCU-tasks/do_exit() deadlocks 01a2b99ffcca8 rcu-tasks: Pull sampling of ->percpu_dequeue_lim out of loop 7d85884576a3b USB: gadget: dummy-hcd: Fix "task hung" problem e028b82aba882 usb: gadget: dummy_hcd: execute hrtimer callback in softirq context 365a13cf5baa6 usb: gadget: dummy_hcd: Set transfer interval to 1 microframe 4a4cb56556124 usb: gadget: dummy_hcd: Switch to hrtimer transfer scheduler f6568620246d2 misc: sgi-gru: Don't disable preemption in GRU driver fe8cb9fac9793 NFS: remove revoked delegation from server's delegation list cc0ff7495e41b net: amd: mvme147: Fix probe banner message 715db716a9f83 thermal: intel: int340x: processor: Add MMIO RAPL PL4 support 56029f1bc3f1f thermal: intel: int340x: processor: Remove MMIO RAPL CPU hotplug support 34c0344e7eac5 cifs: Fix creating native symlinks pointing to current or parent directory 201430d21faab cifs: Improve creating native symlinks pointing to directory 45eaaa13dd91d scsi: scsi_transport_fc: Allow setting rport state to current state 550ef40fa6366 fs/ntfs3: Additional check in ntfs_file_release 68b39c0765de7 fs/ntfs3: Fix general protection fault in run_is_mapped_full 7a4ace681dbb6 fs/ntfs3: Additional check in ni_clear() 34e3220efd666 fs/ntfs3: Fix possible deadlock in mi_read e91fbb21f248b fs/ntfs3: Add rough attr alloc_size check 898c8795ec492 fs/ntfs3: Stale inode instead of bad 84d363dbcfabc fs/ntfs3: Fix warning possible deadlock in ntfs_set_state 5f21e3e60982c fs/ntfs3: Check if more than chunk-size bytes are written 22cdf3be7d34f ntfs3: Add bounds checking to mi_enum_attr() 3c73746c222a7 cxl/events: Fix Trace DRAM Event Record 7013af5bbd281 smb: client: set correct device number on nfs reparse points bbc258dcdbfe5 smb: client: fix parsing of device numbers 0eb2b767c42fa ACPI: CPPC: Make rmw_lock a raw_spin_lock 790dc90b96481 afs: Fix missing subdir edit when renamed between parent dirs 243d2506e7eb0 afs: Automatically generate trace tag enums a6fd78620f25a firmware: arm_sdei: Fix the input parameter of cpuhp_remove_state() 2e4eb1866990e kasan: Fix Software Tag-Based KASAN with GCC 4c3575787e988 iomap: turn iomap_want_unshare_iter into an inline function 9bc18bb476e50 fsdax: dax_unshare_iter needs to copy entire blocks 35adbe088888a fsdax: remove zeroing code from dax_unshare_iter 451b0a27ca6a7 iomap: share iomap_unshare_iter predicate code with fsdax 3c06d13ec80be iomap: don't bother unsharing delalloc extents 61ada9422009e iomap: improve shared block detection in iomap_unshare_iter d4d5767c53581 bpf, test_run: Fix LIVE_FRAME frame update after a page has been recycled 0ab3be58b45b9 netfilter: nft_payload: sanitize offset and length before calling skb_checksum() 31384aa2ad05c mlxsw: spectrum_ipip: Fix memory leak when changing remote IPv6 address 598f95742fdc6 mlxsw: spectrum_ptp: Add missing verification before pushing Tx header c69bc67c1cb21 net: skip offload for NETIF_F_IPV6_CSUM if ipv6 header contains extension 1f1764466c33a Bluetooth: hci: fix null-ptr-deref in hci_read_supported_codecs fef63832317d9 netfilter: nf_reject_ipv6: fix potential crash in nf_send_reset6() 6a1f088f9807f netfilter: Fix use-after-free in get_info() ac5977001eee7 net: fix crash when config small gso_max_size/gso_ipv4_max_size 90a6e0e1e151e bpf: Fix out-of-bounds write in trie_get_next_key() 6a604877160fe netdevsim: Add trailing zero to terminate the string in nsim_nexthop_bucket_activity_write() e20459b5f658b bpf: Force checkpoint when jmp history is too long bef1f6beae90f selftests/bpf: Add bpf_percpu_obj_{new,drop}() macro in bpf_experimental.h 597cf9748c347 net/sched: stop qdisc_tree_reduce_backlog on TC_H_ROOT 42097a9dcaee3 gtp: allow -1 to be specified as file description from userspace 699b48fc31727 ipv4: ip_tunnel: Fix suspicious RCU usage warning in ip_tunnel_init_flow() 07c9c26e37542 net: stmmac: TSO: Fix unbalanced DMA map/unmap for non-paged SKB data bf6b2cd3c55de net: stmmac: dwmac4: Fix high address display by updating reg_space[] from register values 9f5ae743dbe9a macsec: Fix use-after-free while sending the offloading packet b33b410597ebe ASoC: cs42l51: Fix some error handling paths in cs42l51_probe() fa078b39e3f1b wifi: iwlwifi: mvm: don't add default link in fw restart flow 3eb986c64c6bf wifi: iwlwifi: mvm: Fix response handling in iwl_mvm_send_recovery_cmd() 3b01b9985a543 wifi: iwlwifi: mvm: disconnect station vifs if recovery failed 148f6af754781 RDMA/bnxt_re: synchronize the qp-handle table array 16dbff3e8d195 RDMA/bnxt_re: Fix the usage of control path spin locks 8636072c21e39 RDMA/mlx5: Round max_rd_atomic/max_dest_rd_atomic up instead of down e9c62661a0697 RDMA/cxgb4: Dump vendor specific QP details 0a59445e2cdf3 wifi: brcm80211: BRCM_TRACING should depend on TRACING 9b5c89acc8e99 wifi: ath11k: Fix invalid ring usage in full monitor mode 189f1bfc5c84e wifi: mac80211: skip non-uploaded keys in ieee80211_iter_keys 021693dad10a2 mac80211: MAC80211_MESSAGE_TRACING should depend on TRACING 5db6e193c4ca0 wifi: iwlegacy: Fix "field-spanning write" warning in il_enqueue_hcmd() 9cfab1f3d425c spi: geni-qcom: Fix boot warning related to pm_runtime and devres fb384669cb8c2 cgroup: Fix potential overflow issue when checking max_depth 73ca1c70b8b7f Input: xpad - add support for 8BitDo Ultimate 2C Wireless Controller 403777d303399 Input: xpad - sort xpad_device by vendor and product ID eabe285e1c629 thermal: core: Free tzp copy along with the thermal zone 3eb073abba327 thermal: core: Rework thermal zone availability check a95a9e3089d56 thermal: core: Make thermal_zone_device_unregister() return after freeing the zone 18abb2787b536 x86/syscall: Mark exit[_group] syscall handlers __noreturn 2879d995e5697 pnmtologo: sync with 6.6 43ea1c5e6eb3c lib/build_OID_registry: take -stable reproducibility changes 35046aea43c85 bpftool: Fix undefined bpf macro for unix socket 9a558d4b86219 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids 42b2eec2e5039 bpftool: Query only cgroup-related attach types f71bb11887bae cpu/amd: inhibit SMP check for qemux86 c31365597a17b powerpc/uaccess: Fix build errors seen with GCC 13/14 64ebf485c56b5 usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock 7c76aad68f6d1 kselftest: Add a ksft_perror() helper 06644f0d7193d drm/tilcdc: Set preferred depth ff7ae7b323242 crypto: jitter - add RCT/APT support for different OSRs 50cd24ddb6f0b arm64: defconfig: remove CONFIG_IPQ_APSS_5018 58e5c91d6701f x86/alternatives: Disable interrupts and sync when optimizing NOPs in place c878fd2d4c793 x86/alternatives: Sync core before enabling interrupts c2d64b9f52b6e qemux86: add configuration symbol to select values 630c33229e6d5 sched/isolation: really align nohz_full with rcu_nocbs 0e5e0f68e2e6e clear_warn_once: add a clear_warn_once= boot parameter 46934791b9026 clear_warn_once: bind a timer to written reset value cdee9e38ff324 clear_warn_once: expand debugfs to include read support 82b562b818419 tools: Remove some options from CLANG_CROSS_FLAGS 36dc380b776b1 libbpf: Fix build warning on ref_ctr_off 9e3e1fe209827 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel. e497a4a5da65b perf: x86-32: explicitly include <errno.h> 7b57ddd89565b perf: mips64: Convert __u64 to unsigned long long 1cfc19423dc7f perf: fix bench numa compilation 98bc2815fade4 perf: add SLANG_INC for slang.h 17209a70b9b39 perf: add sgidefs.h to for mips builds 9cd4258d910af perf: change --root to --prefix for python install 8110a4f266284 perf: add 'libperl not found' warning bc89d5e08f773 perf: force include of <stdbool.h> 4f6c760cc876a fat: Replace prandom_u32() with get_random_u32() bc53117b12b21 fat: don't use obsolete random32 call in namei_vfat 30b2236ab3786 FAT: Added FAT_NO_83NAME cef98d22b4edf FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option 0bbd7daba9e1b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option 5883fc340084a aufs6: adapt to v6.6 i_op->ctime changes c4342d979bf21 aufs6: fix magic.mk include path 35266bc2dc81a aufs6: adapt to v6.6 8edede4e98be1 aufs6: core 712248233ebe1 aufs6: standalone 3b71a8a848d8b aufs6: mmap 3e2924871f371 aufs6: base 7f4907a931016 aufs6: kbuild d2f7b03e4aa77 yaffs2: update VFS ctime operations to 6.6+ bcd6cfcd1aa04 yaffs2: v6.5 fixups cc615704b5f54 yaffs2: Fix miscalculation of devname buffer length 8ef2e22dcf913 yaffs2: convert user_namespace to mnt_idmap c9c749f9f7d34 yaffs2: replace bdevname call with sprintf 395b01cdc39d1 yaffs2: convert read_page -> readfolio d98b07e43ba61 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL 613c6d50fdbe8 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name 622c4648936f3 yaffs2: v5.12+ build fixups (not runtime tested) 7562133d4090b yaffs: include blkdev.h dbd44252cd592 yaffs: fix misplaced variable declaration c223a10b1ac08 yaffs2: v5.6 build fixups 90f6007cfbf41 yaffs2: fix memory leak when /proc/yaffs is read 37ee169c5ea10 yaffs: add strict check when call yaffs_internal_read_super b6e007b8abb6e yaffs: repair yaffs_get_mtd_device fb98f65a466a7 yaffs: Fix build failure by handling inode i_version with proper atomic API 51e0aac75ea27 yaffs2: fix memory leak in mount/umount 2b74a0cae7b0b yaffs: Avoid setting any ACL releated xattr ff4130a9c3766 Yaffs:check oob size before auto selecting Yaffs1 ba95b409c67cd fs: yaffs2: replace CURRENT_TIME by other appropriate apis 8fa35eba90565 yaffs2: adjust to proper location of MS_RDONLY 1eb5deaad8c4a yaffs2: import git revision b4ce1bb (jan, 2020) 4dce67c1e8c8b initramfs: allow an optional wrapper script around initramfs generation 2f603d83fcc4d pnmtologo: use relocatable file name 664a6a0a484ba tools: use basename to identify file in gen-mach-types 9de64bc0c1857 lib/build_OID_registry: fix reproducibility issues ae9b80797295a vt/conmakehash: improve reproducibility a972323151bdd iwlwifi: select MAC80211_LEDS conditionally 15d2adcc01984 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119) 5556a6c04b197 arm64/perf: Fix wrong cast that may cause wrong truncation 5552dc768ffcd defconfigs: drop obselete options 00fe4152df313 arm64/perf: fix backtrace for AAPCS with FP enabled 3888d0652edf1 linux-yocto: Handle /bin/awk issues 3d55d299f23a7 uvesafb: provide option to specify timeout for task completion 23c068c080bea uvesafb: print error message when task timeout occurs edbfc939266ec compiler.h: Undef before redefining __attribute_const__ c99ae7e2a19ab vmware: include jiffies.h 572d84d928c87 Resolve jiffies wrapping about arp fdcd47cac8435 nfs: Allow default io size to be configured. 927d488010984 check console device file on fs when booting 57cc27f821ddf mount_root: clarify error messages for when no rootfs found 1b53d82a81528 mconf: fix output of cflags and libraries 1811da09f42ca menuconfig,mconf-cfg: Allow specification of ncurses location 83c2e0c6eb1f3 modpost: mask trivial warnings 6de6730394846 kbuild: exclude meta directory from distclean processing 6decd32815f53 powerpc: serialize image targets f6b683b38318c arm: serialize build targets e798b09ebf572 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition dc8a1e5a88f86 x86_64_defconfig: Fix warnings 68491e5f72b61 powerpc/ptrace: Disable array-bounds warning with gcc8 d71ebfce30048 powerpc: Disable attribute-alias warnings from gcc8 62f50884b8b18 powerpc: kexec fix for powerpc64 da6871c62c371 powerpc: Add unwind information for SPE registers of E500 core f161c880c11de mips: make current_cpu_data preempt safe 5e94a8247ce7f mips: vdso: fix 'jalr $t9' crash in vdso code 19e36714b1c7f mips: Kconfig: add QEMUMIPS64 option e2e537db3cbdc 4kc cache tlb hazard: tlbp cache coherency aee9870611e5d malta uhci quirks: make allowance for slow 4k(e)c 881948cd15176 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var 98ec1963fcb7a arm64: defconfig: cleanup config options f1727c537ba8d vexpress: Pass LOADADDR to Makefile 4474c32dc24a4 arm: ARM EABI socketcall 75e31a2b70fd3 ARM: LPAE: Invalidate the TLB for module addresses during translation fault (From OE-Core rev: d8c3c6dab1b4993c7f122dac86ca9c1a5640245e) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-devsrc: fix powerpc for 6.12+Bruce Ashfield2024-11-221-0/+5
| | | | | | | | | | | | | | | | crtsavres need to be available for scripts to be regenerated in 6.12+: commit 699d53f04829d6b8855ff458f86e4b75ef3e5f0c Author: Christophe Leroy <christophe.leroy@csgroup.eu> Date: Thu Sep 19 20:55:57 2024 +0200 powerpc/vdso32: Fix use of crtsavres for PPC64 (From OE-Core rev: ecf72da891ebb08807a694967caccb51805813f2) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/checklayer: check for SECURITY.mdRoss Burton2024-11-222-1/+45
| | | | | | | | | | | Add a check for a SECURITY.md file (or similar) to yocto-check-layer, as knowing where to report security issues is important. (From OE-Core rev: c7cb22ac4ceed60f88452e83c907a4c4f33660e4) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/classes/spdx-common.bbclass: fix sstate cache racing issue on kernel ↵Hongxu Jia2024-11-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | source while SPDX_INCLUDE_SOURCES = "1" While two projects share one sstate cache, the 1st project builds kernel-devsrc without setting SPDX_INCLUDE_SOURCES, and 2nd project build kernel-devsrc with setting SPDX_INCLUDE_SOURCES = "1". Then the 2nd build failed with kernel-source not found 1. In 1st build $ cd path-to-first-build $ bitbake kernel-devsrc 2. In 2nd build, share sstate cache of 1st build and SPDX_INCLUDE_SOURCES = "1" $ cd path-to-second-build $ echo 'SSTATE_DIR = "path-to-first-build/sstate-cache"' >> conf/local.conf $ echo 'SPDX_INCLUDE_SOURCES = "1"' >> conf/local.conf $ bitbake kernel-devsrc ... NOTE: copyhardlinktree path-to-second-build/tmp-glibc/work-shared/axxiaarm64/kernel-source to path-to-second-build/tmp-glibc/work/axxiaarm64-wrs-linux/kernel-devsrc/1.0/spdx/3.0.1/work/kernel-source ERROR: Error executing a python function in exec_func_python() autogenerated: ... 0208: bb.note(f"copyhardlinktree {share_src} to {src_dir}") *** 0209: oe.path.copyhardlinktree(share_src, src_dir) ... tar: path-to-second-build/tmp-glibc/work-shared/axxiaarm64/kernel-source: Cannot open: No such file or directory ... The recipe kernel-devsrc or the recipe to inherit kernelsrc.bbclass, they do not have task do_shared_workdir but depends on virtual/kernel:do_shared_workdir. In this situation(the ${S} == ${STAGING_KERNEL_DIR}), explicitly make do_create_spdx depends on virtual/kernel:do_shared_workdir could fix the racing issue (From OE-Core rev: b05ff49de1e58f5696e8ee28fceaf9319be70e1f) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site/arm-linux: Fix typo for sizeof_char_pRichard Purdie2024-11-211-1/+1
| | | | | | | | | I noticed a typo while looking at the file. It doesn't change a value but worth fixing since I spotted it. (From OE-Core rev: 84b407ca5542a6fa828c4b0c62ff60964db73901) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu/testimage: Ensure GNU tar is in test imagesRichard Purdie2024-11-214-1/+10
| | | | | | | | | | | | | | | | We've seen cases where a ptest (strace) has a 43GB sparse file in the test directory. busybox tar doesn't work well with this. The resulting 1.4GB archive takes hours to extract too. Ensure tar is added to our full images and use the sparse option to collect files for debugging. This stops crazy build hangs. Since tar is GPLv3, we have to exclude it from that test code. We don't boot any of those images so the debug collection code is safe there, at least for now. (From OE-Core rev: fefeb919696b6ac76f0997acfb0f612203ef7f1b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: upgrade 2.82.1 -> 2.82.2Guðni Már Gilbert2024-11-2116-46/+37
| | | | | | | | | | | https://gitlab.gnome.org/GNOME/glib/-/releases/2.82.2 Upgrade was performed using devtool (From OE-Core rev: c4e48010a49d575ca3b8ed78b68a269c77775fbe) Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography-vectors: don't remove RECORDRoss Burton2024-11-211-5/+0
| | | | | | | | | | We remove this file in the python_pep517 class now, so we don't need to do it here. (From OE-Core rev: 717b9e08d6a19ee31a217ceeb255aaed6a395de4) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes-recipe/python_pep517: remove all RECORD filesRoss Burton2024-11-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python modules install metadata into a .dist-info directory, one of which is RECORD, which contains the files that were installed and their checksum[1]. This is typically used by pip to validate the install, or to know what files to remove when the module is uninstalled. This is slightly problematic when we need to do patching of installed .py files in do_install(), as the RECORD file has already been written at that point. However, the RECORD files only really have a use outside of a system- managed environment, which our python packages are. We already have commands to verify and remove modules (opkg, dpkg, rpm) and the RECORD file existing simply allows people to 'sudo pip' and alter the package- managed directories outside of the package manager. This is not a good idea, and some other distros remove the RECORD file to stop this possibility: - Debian[2] - Fedora[3] - Gentoo[4] We can follow for all packages which inherit python_pep517, which is the majority of the Python packages now. [1] https://peps.python.org/pep-0491/#the-dist-info-directory [2] https://salsa.debian.org/python-team/tools/dh-python/-/blob/master/dhpython/fs.py?ref_type=heads#L185 [3] https://src.fedoraproject.org/rpms/pyproject-rpm-macros/blob/rawhide/f/macros.pyproject#_105 [4] https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73c49f3c00415dee99407dabba8d3b22895c9d25 (From OE-Core rev: 917df5ed022f9512473fe0971db48b5253c97b85) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_rpm: restrict rpm to 4 threadsAlexander Kanavin2024-11-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TL;DR version: with this, and the previous compression level changes I am seeing drastic speedups in package_write_rpm completion times: webkitgtk goes from 78 seconds to 37 seconds glibc-locale goes from 399 seconds to 58 seconds (!) The long version: rpm uses multithreading for two purposes: - spawning compressors (which are nowadays themselves multi-threaded, so the feature is not as useful as it once was) - parallel file classification While the former behaves well on massively parallel CPUs (it was written and verified here :), the latter was then added by upstream and only benchmarked on their very old, slow laptop, apparently: https://github.com/rpm-software-management/rpm/commit/41f0e214f2266f02d6185ba11f797716de8125d4 On anything more capable it starts showing pathologic behavior, presumably from spawning massive amount of very short-lived threads, and then having to synchronize them. For example classifying glibc-locale takes 5m20s with 256 threads (default on my machine!) 1m49s with 64 threads 59s with 16 threads 48s with 8 threads Even a more typical recipe like webkitgtk is affected: 47s with 256 threads 32s with 64 threads 27s with 16 or 8 threads I have found that the optimal amount is actually four: this also means that only four compressors are running at a time, but as they're themselves using threads, and typical recipes are dominated by just two or three large packages, this does not affect overall completion time. (From OE-Core rev: 286d456e71ee2730c197ce394d6be2c7eeced18d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_rpm: use zstd's default compression levelAlexander Kanavin2024-11-211-1/+1
| | | | | | | | | | | | | | | | | | | | zstd uses 3 by default (and ZSTD_COMPRESSION_LEVEL is set to that), while 19 is the highest and slowest. It's not clear why 19 was picked to begin with, possibly I copy-pasted it from rpm's examples without thinking: https://git.yoctoproject.org/poky/commit/?h=master-next&id=4a4d5f78a6962dda5f63e9891825c80a8a87bf66 This brings significant speedups in rpm's compression step: for example compressing webkitgtk takes 11s instead of 36s. The rpm size increases from 175648k to 234860k. I think it's a worthy default tradeoff. (From OE-Core rev: f1c7d76361425c85d68ad1f61be1e7ff05df4bab) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: make ZSTD_COMPRESSION_LEVEL a number rather than a ↵Alexander Kanavin2024-11-211-2/+2
| | | | | | | | | | | | dash-prefixed option This allows using it where only a number is needed, such as rpm compression setting. (From OE-Core rev: 9c284b4c661566855f15ba3f4508982c2a60b147) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* testimage: Handle /var/log being volatileRichard Purdie2024-11-211-0/+1
| | | | | | | | When /var/log is volatile, capturing just the symlink isn't useful. Fix this. (From OE-Core rev: 06bb8069b023c6b71f3c7dd87a6c2bebc5820083) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/ssh: Improve performance and log sizesRichard Purdie2024-11-211-12/+32
| | | | | | | | | | | | | | | | | | The current code is not fit for purpose when handling large files via ssh. In the strace ptest case, we can end up with a 1.4GB archive being transferred for which every byte is printed into the task logfile twice over. This is then sent over bitbake IPC which compounds the problems. Make the following improvements: * when the output is large (over 64kb), don't print it * use a bytearray for better concat performance since strings are slow for this * when there is no ssh output, say that * print periodic size status output rather than the data itself since this could be binary and/or large * fix the killed process message logic which appeared broken (From OE-Core rev: e7dd009a17dc902852983a82bce41bf78bb1e242) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* testimage.bbclass: change test failure logging from bb.fatal() to bb.error()Mikko Rapeli2024-11-211-2/+2
| | | | | | | | | | | | | | | | | | | | | bb.fatal() exists right away while bb.error() does some cleanup before exiting. Fixes running tests during image build with TESTIMAGE_AUTO multiple times in a row when some of the tests fail: $ killall -9 Cooker ; bitbake -c clean core-image-base ; \ bitbake core-image-base ; \ bitbake core-image-base With bb.fatal() something in cleanup is not done and second image build builds an empty rootfs into .wic image. Workaround is to kill Cooker processes between bitbake calls, or to switch testimage.bbclass from bb.fatal() to bb.error() logging which is done here. (From OE-Core rev: 077bdd26e6c5bd161f082524ceee9e90d56315b5) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: Upgrade 1.80.0->1.80.1Deepthi Hemraj2024-11-216-1/+1
| | | | | | | | | | | | | | | | | | https://blog.rust-lang.org/2024/08/08/Rust-1.80.1.html Testing Summary for rust_1.80.1 Target pass skipped x86_64 18254 434 x86 18084 604 ARM64 18111 577 ARM 18067 621 ppc 18035 653 (From OE-Core rev: 41da52480931c5ff90884c9d658075b8885abe8c) Signed-off-by: Sunil Dora <SunilKumar.Dora@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: extract dependencies from .note.dlopen ELF segmentsRoss Burton2024-11-212-2/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First, this is likely not the final implementation, but a RFC and prototype. Some binaries don't dynamically link to libraries, but instead at runtime dlopen() them. This means extra work for distributions as the dependencies are not detected automatically, so libraries may be missing. systemd is one such project which does this, and in an attempt to solve the packaging problem it also embeds the names of the libraries that can potentially be opened at runtime into ELF notes. These can be read to generate package dependencies. For example: packages/cortexa57-poky-linux/systemd/libsystemd-shared: RRECOMMENDS: added "libkmod (['>= 33']) libzstd (['>= 1.5.6'])" packages/cortexa57-poky-linux/systemd/libsystemd: RRECOMMENDS: added "libzstd (['>= 1.5.6'])" I expect this code to be changed before merging. Whilst systemd is the main user of his approach right now, I expect to see it used in more places in the future so there's a reasonably good argument to merge it into the core shlibs code. Also it currently manually extracts and parses the data, whereas maybe we should incorporate pyelftools into meta/lib/oe and use that to parse ELF files across all of OE. This also means we can remove the explicit dependency on libkmod in udev, which now comes in via libsystemd-shared. (From OE-Core rev: 905da779bcfe98f105adac708e0045ce8ffe5636) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts: patchreview: fix failure when running from a different folderNicolas Dechesne2024-11-211-1/+1
| | | | | | | | | | | | | | | | | | | | When running patchreview with --blame, the scripts runs a git log command on the analyzed patch. When trying to analyse a layer which is not in poky tree, we might be running the git log command from outside the git workspace where the file is located, which results in such failures: Missing Signed-off-by tag ([truncated]/meta-qcom-hwe/recipes-devtools/partition-utils/qcom-ptool/0001-ptool.py-Generate-zero-files-in-output-folder-when-s.patch) fatal: not a git repository (or any parent up to mount point /local/mnt) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). Fix this situation by setting the current work dir inside the git workspace of the patch when running git log. (From OE-Core rev: 8cc1c900b91d60e633f62bfe16a2ffc2d61c3f55) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@oss.qualcomm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: wrap mtime based time with packageconfigDaniel McGregor2024-11-211-1/+3
| | | | | | | | | | | | | | | | | | Recently the systemd recipe grew support for setting the epoch time at image build time. Unfortunately this is unconditional, and our use case for the set-time-epoch PACKAGECONFIG is we have a system requirement that our product boot with the time set to the UNIX epoch. Instead of trying to complicate things with either an image hook or overriding the systemd recipe, just make setting the epoch at image time optional, with the same PACKAGECONFIG that controls hardcoding the systemd build time as the default epoch. (From OE-Core rev: ae433b35fb2d5475e33dea61e6bc65d83d3af56a) Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl8: fix headers pathYoann Congal2024-11-211-2/+2
| | | | | | | | | | | | | | During the tcl_8.x removal[0] and its reintegration as tcl8_x[1], BPN has changed from tcl to tcl8. But, recipes that depends on tcl headers search the tcl8.6.15 directory where the current recipe generate a tcl88.6.15 ($BPN+$VERSION) directory. Fix this by hardcoding the base part of the directory name to "tcl". (From OE-Core rev: dd8461f27b4a55dbf79baa4a71dc08b127801181) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cython: swap prefix-mapping patch for an upstream commitRoss Burton2024-11-214-152/+74
| | | | | | | | | | | | | Upstream has solved the absolute path problem differently by taking paths relative to the top of the module. This appears to solve the problem, at least I've not found any cases where it breaks. Drop my patch, and backport the relevant commit from upstream. (From OE-Core rev: 47f7808dd93e50fb3ecddbf980e40e51dd7376cb) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/documentation.conf: Show warnings for BB_DANGLINGAPPENDS_WARNONLY usageRichard Purdie2024-11-212-1/+1
| | | | | | | | | Following bitbake "cooker: Drop support for BB_DANGLINGAPPENDS_WARNONLY", show warnings for use of the variable. (From OE-Core rev: ab0f6898a0f3892a9c4536919adaa1d8d847bb7c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>