Compare commits

...

1241 Commits

Author SHA1 Message Date
Daniel Turull
167f714a72 linux/cve-exclusion: Execute the script after changing to the new data source
Execute new script generate-cve-exclusions.py
./generate-cve-exclusions.py ~/cvelistV5/ 6.12.19 > cve-exclusion_6.12.inc

After using the database from CVEproject, some old
CVEs did not have correct metadata, therefore moving missing ones
from old cve-exclusions_6.12.inc into cve-exclusion.inc

Comparing output from cve_check before and after, two CVEs are removed:
CVE-2023-52904 and CVE-2024-38381

(From OE-Core rev: 02a8d5d255397e85d32879b178dd6dd559a34a05)

Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:50:57 +01:00
Daniel Turull
13f4119ccf linux/generate-cve-exclusions: use data from CVEProject
The old script was relying on linuxkernelcves.com that was archived in
May 2024 when kernel.org became a CNA.

The new script reads CVE json files from the datadir that can be either
from the official kernel.org CNA [1] or CVEProject [2]

[1] https://git.kernel.org/pub/scm/linux/security/vulns.git
[2] https://github.com/CVEProject/cvelistV5

(From OE-Core rev: 96ef76d88851a5a397d9fc04e37baa285d9f4074)

Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:50:57 +01:00
Antonin Godard
9b96fdbb0c migration-guides/release-notes-5.2.rst: add missing cves
Add missing fixed CVEs to the release note as reported here:
https://lore.kernel.org/r/5fc0d33e-4ba5-4f8d-80c2-c5c87be79680@gmail.com

Additions can be verified at the following links:
- https://gstreamer.freedesktop.org/security/
- https://www.openssh.com/txt/release-9.9p2
- http://www.dest-unreach.org/socat/

libssh2 CVE-2023-48795 was already fixed in previous releases so remove
it. See the previous migration guides.

Otherwise the CVE entries have been sorted.

Reported-by: Takayasu Ito <ypa.takayasu.ito@gmail.com>
(From yocto-docs rev: b8d9cf79d299b2e553e6bc962527d835206022ec)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:50:52 +01:00
Antonin Godard
81c9c4f6d4 migration-guides/release-notes-5.2.rst: fix badly formatted gstreamer entries
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 22babeaa9ef4c0e6706c6de8f16fbd0e8d505818)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:50:52 +01:00
Antonin Godard
51d1210367 migration-guides/{migration,release-notes}-5.2.rst: notes for systemd pni-names
Add a note to the migration guide regarding the pni-names behavior
change.

Suggested-by: Enrico Jörns <ejo@pengutronix.de>
(From yocto-docs rev: 9a1b9778c296351a575501a4abc5317e9be954bc)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:50:52 +01:00
Ross Burton
43909a9870 genericarm64: add ttyPS1 for KV260
The AMD KV260 has a serial console on ttyPS1, so until we can dynamically
detect the console under sysvinit we can add it to SERIAL_CONSOLES so
this platform has a working console when not running systemd.

(From meta-yocto rev: 467b6d77e50f92bee3c8f7ca928bd70758bab457)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:49:06 +01:00
Ross Burton
185a87256e systemd: always depend on the explicit serial console units
The systemd-serialgetty recipe generates explicit units for consoles
that are defined in SERIAL_CONSOLES, and if that variable is not defined
then just produces an empty package.

Even when systemd has been configured to use the getty generator, if
there are explicit consoles defined then we should respect them.  Don't
conditionalise the dependency on systemd-serialgetty so that we always
pull in the explicit consoles.

(From OE-Core rev: 6ec2c52b938302b894f119f701ffcf0a847eee85)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:49:06 +01:00
Ross Burton
22f3616aad systemd: enable getty generator by default
Until recently, even when the getty generator was disabled in the
systemd recipe it was actually still active.  This was because the old
behaviour was to delete the serial-getty template unit if the generator
was disabled, but the systemd-serialgetty package shipped then shipped
the same files so the generator continued to run.  This was a bug in the
original commit[1] so this behaviour has been present since 2016.

My recent fixes[2] changed this: if the getty generator was disabled
then the generator itself is deleted. This makes the actual behaviour
match the intention, but the consequence was to demonstrate that some
modern platforms were relying on this unexpected behaviour: specifically
the genericarm64 BSP which intends to support a number of virtual and
physical boards with a number of serial console ports that are not
really suitable to be hardcoded into SERIAL_CONSOLES:

- ttyS0
- ttyAMA0 (AMBA PL011 uart)
- ttyS2 (BeagleBone Play, S0 and S1 are internal)
- hvc0 (KVM)
- ttyPS1 (AMD KV260)
- And most likely more

Restore the existing behaviour by explicitly enabling the serial getty
generator: this means that systemd will automatically bring up a getty
on the first serial console it finds.

In the future we should extend some level of dynamic console-finding to
sysvinit-based systems by searching for a console device in inittab, but
for now this reverts the unintentional regression.

[1] oe-core 2a8d0df47c9 ("systemd: make systemd-serialgetty optional")
[2] oe-core 2beb3170af6 ("systemd: if getty generator is disabled remove
    the generator, not the units")

(From OE-Core rev: 87136e18b70c0fb66d7268b30e8bc0da9268aa31)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:49:06 +01:00
Ross Burton
58776612f0 mesa-demos: fix detection of GLX headers
Backport a patch from upstream to fix the build when glx.pc isn't found,
but the glx headers are available. As libglvnd is the only provider of
glx.pc and by default we build without libglvnd, this is common.

This solves the problem where mesa-demo is missing the GLX demos, such
as glxgears.

[ YOCTO #15825 ]

(From OE-Core rev: 466c01cb1ec9ad2a13dc12b5fa7276b9b450266e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:48:04 +01:00
Ross Burton
62689ff1fb mesa: remove obsolete deletion of .la files
As Mesa is built with Meson now, there's no need to delete the .la files
as they're not installed in the first place.

(From OE-Core rev: 7cc1288c0121268b02ab26d0b032cee6cb9eacb4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:48:04 +01:00
Bruce Ashfield
528b36636b linux-yocto/6.12: cfg: fix iommu configuration for -tiny kernel
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: iommu: add config dependencies
    Date: Sun, 20 Apr 2025 22:28:21 -0400

    commit [cfg/intel.scc: Include iommu.scc for Arrowlake boot support]
    moves the iommu configuration to a location that is included by more
    BSPs and kernel types.

    One of those kernel types is the -tiny kernel, which uses a allnoconfig
    base. Due to the allnoconfig, there are missing dependencies to allow
    the desired options to be enabled in the final .config

    Those missing options throw configuration audit warnings

    By adding the required dependencies to the fragment, it is now
    standalone and can be included from anywhere without configuration
    audit warnings being triggered.

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

(From OE-Core rev: 795594476c6fabd5391dc35f254de8028f7c47d6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:48:04 +01:00
Bruce Ashfield
5f6a1c9838 linux-yocto/6.12: cfg: Include iommu.scc for Arrowlake boot support
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Yogesh Tyagi
    Email: yogesh.tyagi@intel.com
    Subject: cfg/intel.scc: Include iommu.scc for Arrowlake boot support
    Date: Mon, 14 Apr 2025 11:55:45 +0530

    Move features/iommu/iommu.scc from bsp/intel-common/intel-corei7-64.scc and
    bsp/intel-x86/intel-x86.scc to cfg/intel.scc to eliminate redundancy and ensure
    IOMMU support (CONFIG_INTEL_IOMMU=y, etc.) is enabled for genericx86-64
    on Intel Arrowlake, resolving boot issues.

    This changes is needed in 6.12 as well as master branch.

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

    Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: ff91efc2ab25880967b82cc709954d10d62b8cbe)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:48:04 +01:00
Bruce Ashfield
17b2110721 kern-tools: allow comments after configuration options
Bumping the kern-tools SRCREV to allow comments after configuration
options.

Without this update of the regex, symbol_why will incorrectly detect
that options are not in the final .config during audit.

(From OE-Core rev: 79135df956b536d3be1ca86d28d5c77d59c672c4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:48:04 +01:00
Bruce Ashfield
542eec1b1c linux-yocto/6.12: update to v6.12.23
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    83b4161a63b8 Linux 6.12.23
    e70b4b8f93d7 platform/x86/amd/pmf: fix cleanup in amd_pmf_init_smart_pc()
    625e9b91eb13 tracing: Do not use PERF enums when perf is not defined
    59fc42318305 ARM: 9443/1: Require linker to support KEEP within OVERLAY for DCE
    c6f2a8146da1 NFSD: Skip sending CB_RECALL_ANY when the backchannel isn't up
    afec5b5010de NFSD: Never return NFS4ERR_FILE_OPEN when removing a directory
    101fd0aa0d7d NFSD: nfsd_unlink() clobbers non-zero status returned from fh_fill_pre_attrs()
    a84c80515ca8 nfsd: fix management of listener transports
    cad3479b6366 nfsd: put dl_stid if fail to queue dl_recall
    52e209203c35 nfsd: allow SC_STATUS_FREEABLE when searching via nfs4_lookup_stateid()
    adf0ddb914c9 media: streamzap: fix race between device disconnection and urb callback
    845e9286ff99 media: vimc: skip .s_stream() for stopped entities
    e2d8e7bd3314 exec: fix the racy usage of fs_struct->in_exec
    747e3eec1d7d mm: zswap: fix crypto_free_acomp() deadlock in zswap_cpu_comp_dead()
    2d9709690f31 jfs: add index corruption check to DT_GETPAGE()
    0beddc2a3f9b jfs: fix slab-out-of-bounds read in ea_get()
    b47584c55644 ext4: fix OOB read when checking dotdot dir
    13d6f8ba5074 ext4: don't over-report free space or inodes in statvfs
    0cfea60966e4 wifi: mt76: mt7921: fix kernel panic due to null pointer dereference
    2df8ee605eb6 arm64: Don't call NULL in do_compat_alignment_fixup()
    2e877ff34922 mm/gup: reject FOLL_SPLIT_PMD with hugetlb VMAs
    1abca855ea9f tracing/osnoise: Fix possible recursive locking for cpus_read_lock()
    33052e7f52c5 tracing: Fix synth event printk format for str fields
    cffc2a6718e4 tracing: Ensure module defining synth event cannot be unloaded while tracing
    c85efe6e1374 tracing: Fix use-after-free in print_graph_function_flags during tracer switching
    37c9875c178f exfat: fix potential wrong error return from get_block
    49b0a6ab8e52 exfat: fix random stack corruption after get_block
    ca8bed31edf7 ksmbd: fix null pointer dereference in alloc_preauth_hash()
    56de7778a485 ksmbd: validate zero num_subauth before sub_auth is accessed
    6a9cd9ff0fa2 ksmbd: fix overflow in dacloffset bounds check
    9069939d7621 ksmbd: fix session use-after-free in multichannel connection
    ca042cc0e4f9 ksmbd: fix use-after-free in ksmbd_sessions_deregister()
    800c482c9ef5 ksmbd: add bounds check for create lease context
    29b946714d6a ksmbd: add bounds check for durable handle context
    9bc3299039d2 KVM: SVM: Don't change target vCPU state on AP Creation VMGEXIT error
    a31fa24813a7 mmc: sdhci-omap: Disable MMC_CAP_AGGRESSIVE_PM for eMMC/SD
    1209241a6b40 mmc: sdhci-pxav3: set NEED_RSP_BUSY capability
    b548a448993a mmc: omap: Fix memory leak in mmc_omap_new_slot
    0c121f2065e4 Remove unnecessary firmware version check for gc v9_4_2
    6b9ddc4f5f2e media: omap3isp: Handle ARM dma_iommu_mapping
    9f7ae45f0c61 ARM: 9444/1: add KEEP() keyword to ARM_VECTORS
    498edda23f7e ACPI: resource: Skip IRQ override on ASUS Vivobook 14 X1404VAP
    e71a57c5aaa3 acpi: nfit: fix narrowing conversion in acpi_nfit_ctl
    339d6c965f20 wifi: mt76: mt7925: remove unused acpi function for clc
    93224deb50a8 x86/mm: Fix flush_tlb_range() when used for zapping normal PMDs
    70a2fa13d4a9 x86/tsc: Always save/restore TSC sched_clock() on suspend/resume
    e3d54decc75c x86/Kconfig: Add cmpxchg8b support back to Geode CPUs
    e8bba7ced03e idpf: Don't hard code napi_struct size
    c35771342e47 uprobes/x86: Harden uretprobe syscall trampoline check
    3a8bec6583e5 perf/x86/intel: Avoid disable PMU if !cpuc->enabled in sample read
    e853bb7d6aec perf/x86/intel: Apply static call for drain_pebs
    854b6764be33 ntb_perf: Delete duplicate dmaengine_unmap_put() call in perf_copy_chunk()
    1a85281415fb platform/x86: ISST: Correct command storage data length
    48792ab44552 platform/x86: thinkpad_acpi: disable ACPI fan access for T495* and E560
    35c1834dd630 ACPI: x86: Extend Lenovo Yoga Tab 3 quirk with skip GPIO event-handlers
    805e3ce5e0e3 x86/tdx: Fix arch_safe_halt() execution for TDX VMs
    3e3d8169c095 x86/mce: use is_copy_from_user() to determine copy-from-user context
    ada88219d531 x86/microcode/AMD: Fix __apply_microcode_amd()'s return value
    d39838da59bd KVM: x86: block KVM_CAP_SYNC_REGS if guest state is protected
    a54247efbc73 x86/hyperv: Fix check of return value from snp_set_vmsa()
    add72c418d0a LoongArch: BPF: Use move_addr() for BPF_PSEUDO_FUNC
    223d565d8892 LoongArch: BPF: Don't override subprog's return value
    205a2182c51f LoongArch: BPF: Fix off-by-one error in build_prologue()
    0aa5d4370b5b LoongArch: Increase MAX_IO_PICS up to 8
    1d0def2d1658 LoongArch: Increase ARCH_DMA_MINALIGN up to 16
    dc07c4698587 rust: Fix enabling Rust and building with GCC for LoongArch
    d689645cd159 usbnet:fix NPE during rx_complete
    86f327305ed4 wifi: mac80211: Fix sparse warning for monitor_sdata
    96fa2608296d tty: serial: lpuart: only disable CTS instead of overwriting the whole UARTMODIR register
    b09ff334c168 tty: serial: fsl_lpuart: Fix unused variable 'sport' build warning
    ac08fa36d8cb tty: serial: fsl_lpuart: use port struct directly to simply code
    82719d0e7584 tty: serial: fsl_lpuart: Use u32 and u8 for register variables
    3501677651ca cgroup/rstat: Fix forceidle time in cpu.stat
    39bc1484eb06 cgroup/rstat: Tracking cgroup-level niced CPU time
    ef79f2dec7a9 tracing: Correct the refcount if the hist/hist_debug file fails to open
    eecb62a24b23 tracing/hist: Support POLLPRI event for poll on histogram
    fe87f8d3a5b4 tracing/hist: Add poll(POLLIN) support on hist file
    387dc88c2c27 tracing: Switch trace_events_hist.c code over to use guard()
    7de8290a66df tools/power turbostat: report CoreThr per measurement interval
    e9c928807239 perf/core: Fix child_total_time_enabled accounting bug at task exit
    d3f0a68b2914 drm/amdgpu/gfx12: fix num_mec
    2ac69453e9e5 drm/amdgpu/gfx11: fix num_mec
    528287815ee5 kbuild: deb-pkg: don't set KBUILD_BUILD_VERSION unconditionally
    8a88bb092f42 net: ibmveth: make veth_pool_store stop hanging
    ebebeb58d48e arcnet: Add NULL check in com20020pci_probe()
    f4fea25f5c7f ipv6: Do not consider link down nexthops in path selection
    1eb36a2cdf63 ipv6: Start path selection from the first nexthop
    2952776c69a1 net: fix geneve_opt length integer overflow
    9dec9dacaeed net: dsa: mv88e6xxx: propperly shutdown PPU re-enable timer on destroy
    de579015d132 ipv6: fix omitted netlink attributes when using RTEXT_FILTER_SKIP_STATS
    0a93a710d6df netfilter: nft_tunnel: fix geneve_opt type confusion addition
    92a5c1851311 net: decrease cached dst counters in dst_release
    9539c1721a36 tunnels: Accept PACKET_HOST in skb_tunnel_check_pmtu().
    47744d0d5f3b vsock: avoid timeout during connect() if the socket is closing
    a116b271bf3c udp: Fix memory accounting leak.
    94d5ad7b4112 udp: Fix multiple wraparounds of sk->sk_rmem_alloc.
    fcbfb54a0269 net: mvpp2: Prevent parser TCAM memory corruption
    e5178bfc55b3 sctp: add mutual exclusion in proc_sctp_do_udp_port()
    2f35b7673a3a net_sched: skbprio: Remove overly strict queue assertions
    3ba9cf69de50 netlabel: Fix NULL pointer exception caused by CALIPSO on IPv4 sockets
    feb1fa2a03a2 netfilter: nf_tables: don't unregister hook when table is dormant
    86bd9609fd3e netfilter: nft_set_hash: GC reaps elements with conncount for dynamic sets only
    79618e952ef4 idpf: fix adapter NULL pointer dereference on reboot
    d11d0ce887f4 e1000e: change k1 configuration on MTP and later platforms
    40d187b247b3 spi: bcm2835: Restore native CS probing when pinctrl-bcm2835 is absent
    174954911f1c ALSA: hda/realtek: Fix built-in mic on another ASUS VivoBook model
    48b175aa4677 spi: bcm2835: Do not call gpiod_put() on invalid descriptor
    4d8458e48ff1 ASoC: imx-card: Add NULL check in imx_card_probe()
    a3800b64f866 nvme/ioctl: don't warn on vectorized uring_cmd with fixed buffer
    c35ec5e046ba riscv/purgatory: 4B align purgatory_start
    4c6b1d08e614 riscv/kexec_file: Handle R_RISCV_64 in purgatory relocator
    be85b932b578 riscv: Fix hugetlb retrieval of number of ptes in case of !present pte
    e50781bf7acc spi: cadence: Fix out-of-bounds array access in cdns_mrvl_xspi_setup_clock()
    d3b862658669 ASoC: codecs: rt5665: Fix some error handling paths in rt5665_probe()
    c76bb2d0aa54 s390/entry: Fix setting _CIF_MCCK_GUEST with lowcore relocation
    7e3497d7dacb ublk: make sure ubq->canceling is set when queue is frozen
    efd101b1f0f5 x86/uaccess: Improve performance by aligning writes to 8 bytes in copy_user_generic(), on non-FSRM/ERMS CPUs
    0751db851374 RISC-V: errata: Use medany for relocatable builds
    92a25feb4546 ALSA: hda/realtek: Fix built-in mic breakage on ASUS VivoBook X515JA
    26d14768c4ba firmware: cs_dsp: Ensure cs_dsp_load[_coeff]() returns 0 on success
    3dbb73a07579 ntb: intel: Fix using link status DB's
    cb153bdc1812 ntb_hw_switchtec: Fix shift-out-of-bounds in switchtec_ntb_mw_set_trans
    4119e80ce22d riscv: ftrace: Add parentheses in macro definitions of make_call_t0 and make_call_ra
    8522051c58d6 fs/9p: fix NULL pointer dereference on mkdir
    d04600f43569 spufs: fix a leak in spufs_create_context()
    029d8c711f5e spufs: fix gang directory lifetimes
    35f789ccebd6 spufs: fix a leak on spufs_new_file() failure
    7a95b4887348 netfs: Fix netfs_unbuffered_read() to return ssize_t rather than int
    8a2cc9ffd13c hwmon: (nct6775-core) Fix out of bounds access for NCT679{8,9}
    bc08c087118e memory: omap-gpmc: drop no compatible check
    d840c84cdddd can: statistics: use atomic access in hot path
    54c198d672ca ALSA: hda/realtek: Add mute LED quirk for HP Pavilion x360 14-dy1xxx
    a3612053b2e7 selftests: netfilter: skip br_netfilter queue tests if kernel is tainted
    93c59b5548ee net: devmem: do not WARN conditionally after netdev_rx_queue_restart()
    cf1b90486748 drm/amd: Keep display off while going into S4
    3e6ce0d9ec79 nvme-pci: fix stuck reset on concurrent DPC and HP
    5e194e0f77ee x86/sgx: Warn explicitly if X86_FEATURE_SGX_LC is not enabled
    eafd7ec55b1d x86/hyperv: Fix output argument to hypercall that changes page visibility
    ddf40162ac79 locking/semaphore: Use wake_q to wake up processes outside lock critical section
    e401fa5b953e wifi: mac80211: fix SA Query processing in MLO
    9465e09b74eb wifi: mac80211: flush the station before moving it to UN-AUTHORIZED state
    56e6d4a8877f ASoC: rt1320: set wake_capable = 0 explicitly
    f8dfd7c50170 ASoC: codecs: wsa884x: report temps to hwmon in millidegree of Celsius
    e1fc76b2bbf3 x86/hyperv/vtl: Stop kernel from probing VTL0 low memory
    ecc08c460866 sched/deadline: Use online cpus for validating runtime
    c730833bc025 ALSA: hda/realtek: Add support for ASUS Zenbook UM3406KA Laptops using CS35L41 HDA
    01a27b2dd07f ALSA: hda/realtek: Add support for ASUS B5405 and B5605 Laptops using CS35L41 HDA
    2e2626d1e8db ALSA: hda/realtek: Add support for ASUS B3405 and B3605 Laptops using CS35L41 HDA
    f57ca98c65cd ALSA: hda/realtek: Add support for various ASUS Laptops using CS35L41 HDA
    ff8ebaf47dce ALSA: hda/realtek: Add support for ASUS ROG Strix G614 Laptops using CS35L41 HDA
    9dcf970c5c38 ALSA: hda/realtek: Add support for ASUS ROG Strix GA603 Laptops using CS35L41 HDA
    c7943f0677d6 ALSA: hda/realtek: Add support for ASUS ROG Strix G814 Laptop using CS35L41 HDA
    92075758782c exfat: add a check for invalid data size
    77a5ed6b0349 platform/x86/amd/pmf: Update PMF Driver for Compatibility with new PMF-TA
    5dd021991430 platform/x86/amd/pmf: Propagate PMF-TA return codes
    f7038ea68fc0 HID: i2c-hid: improve i2c_hid_get_report error message
    95459156b366 net: dsa: rtl8366rb: don't prompt users for LED control
    64eb31d872fe platform/x86/intel/vsec: Add Diamond Rapids support
    10ac73318c3a platform/x86: intel-hid: fix volume buttons on Microsoft Surface Go 4 tablet
    6edee7c63b93 cifs: fix incorrect validation for num_aces field of smb_acl
    da087905e327 smb: common: change the data type of num_aces to le16
    7364420090ac perf/core: Fix perf_pmu_register() vs. perf_init_event()
    fbd3a04bd86f ALSA: hda: Fix speakers on ASUS EXPERTBOOK P5405CSA 1.0
    64c707d24ccc ALSA: hda/realtek: Fix Asus Z13 2025 audio
    83d888b69310 affs: don't write overlarge OFS data block size fields
    4fbfb003bba4 affs: generate OFS sequence numbers starting at 1
    d8575bdcf820 wifi: brcmfmac: keep power during suspend if board requires it
    5eb8c8fee726 nvme-pci: skip CMB blocks incompatible with PCI P2P DMA
    63bd235de242 nvme-pci: clean up CMBMSC when registering CMB fails
    c2fa1deeb4b8 nvme-tcp: fix possible UAF in nvme_tcp_poll
    12622cb7b1d8 wifi: iwlwifi: mvm: use the right version of the rate API
    bd888d67c7ce wifi: iwlwifi: fw: allocate chained SG tables for dump
    e0862a6d3dab wifi: mac80211: remove debugfs dir for virtual monitor
    5d42a3413724 wifi: mac80211: Cleanup sta TXQs on flush
    eb532ac40dc8 nfs: Add missing release on error in nfs_lock_and_join_requests()
    26bf086ebd70 objtool/loongarch: Add unwind hints in prepare_frametrace()
    d80168db5e0c rcu-tasks: Always inline rcu_irq_work_resched()
    00911b416ad7 context_tracking: Always inline ct_{nmi,irq}_{enter,exit}()
    8e49f912ae14 sched/smt: Always inline sched_smt_active()
    22e1e4e11af5 objtool: Fix verbose disassembly if CROSS_COMPILE isn't set
    10856c530de3 octeontx2-af: Free NIX_AF_INT_VEC_GEN irq
    d2e60c3b8a62 octeontx2-af: Fix mbox INTR handler when num VFs > 64
    a436e1434317 net: phy: broadcom: Correct BCM5221 PHY model detection
    d3561dc471ac ACPI: processor: idle: Return an error if both P_LVL{2,3} idle states are invalid
    00c22ab0614a LoongArch: Rework the arch_kgdb_breakpoint() implementation
    035a4a852ee8 LoongArch: Fix device node refcount leak in fdt_cpu_clk_init()
    396cdb580e2e LoongArch: Fix help text of CMDLINE_EXTEND in Kconfig
    11d479dffde5 objtool: Fix segfault in ignore_unreachable_insn()
    2a6f8823ff60 ring-buffer: Fix bytes_dropped calculation issue
    5923492ba353 net/mlx5e: SHAMPO, Make reserved size independent of page size
    457db486203c ksmbd: fix r_count dec/increment mismatch
    e0b32b6f0f13 ksmbd: fix multichannel connection failure
    3e341dbd5f5a ksmbd: use aead_request_free to match aead_request_alloc
    3f17af46cfc7 rndis_host: Flag RNDIS modems as WWAN devices
    28b21ee8e8fb rtnetlink: Allocate vfinfo size for VF GUIDs when supported
    4a9595eb024b exfat: fix missing shutdown check
    6a1407532500 exfat: fix the infinite loop in exfat_find_last_cluster()
    7d8dfc27d90d smb: client: Fix netns refcount imbalance causing leaks and use-after-free
    81270dd79606 NFS: Shut down the nfs_client only after all the superblocks
    cd80277f6521 objtool, media: dib8000: Prevent divide-by-zero in dib8000_set_dds()
    1adc93a525fd objtool, nvmet: Fix out-of-bounds stack access in nvmet_ctrl_state_show()
    456300be232e thermal: core: Remove duplicate struct declaration
    8f178998af67 perf bpf-filter: Fix a parsing error with comma
    2c3dea5d1776 perf tools: annotate asm_pure_loop.S
    aba918999252 fs/procfs: fix the comment above proc_pid_wchan()
    819685fcebdf perf vendor events arm64 AmpereOneX: Fix frontend_bound calculation
    5b2b692804ce tty: n_tty: use uint for space returned by tty_write_room()
    1817c4b85011 staging: vchiq_arm: Fix possible NPR of keep-alive thread
    f3fafa188d96 staging: vchiq_arm: Register debugfs after cdev
    f14dd4025975 staging: rtl8723bs: select CONFIG_CRYPTO_LIB_AES
    ed1d004a5af0 perf: intel-tpebs: Fix incorrect usage of zfree()
    70afdf771171 perf dso: fix dso__is_kallsyms() check
    18ea76a747ac perf python: Check if there is space to copy all the event
    9816424d65a2 perf python: Don't keep a raw_data pointer to consumed ring buffer space
    4608d15a43fb perf python: Decrement the refcount of just created event on failure
    f0343969111f perf python: Fixup description of sample.id event member
    e1c900e078d5 i3c: master: svc: Fix missing the IBI rules
    a8edfc206ed1 um: hostfs: avoid issues on inode number reuse by host
    5b37d2370d0c um: remove copy_from_kernel_nofault_allowed
    2b0328c5f0f9 um: Pass the correct Rust target and options with gcc
    0d8ba0ed03c3 selftests/mm/cow: fix the incorrect error handling
    eafb4e3a82aa fuse: fix dax truncate/punch_hole fault path
    ca27c16539a3 NFS: fix open_owner_id_maxsz and related fields.
    46117472a279 NFSv4: Avoid unnecessary scans of filesystems for delayed delegations
    8765bc2638ce NFSv4: Avoid unnecessary scans of filesystems for expired delegations
    ac8be75a7deb NFSv4: Avoid unnecessary scans of filesystems for returning delegations
    4595beb5fee9 NFSv4: Don't trigger uneccessary scans for return-on-close delegations
    d04bea49c806 arch/powerpc: drop GENERIC_PTDUMP from mpc885_ads_defconfig
    49d2a2ea9d30 ocfs2: validate l_tree_depth to avoid out-of-bounds access
    c6338b0d56f0 kexec: initialize ELF lowest address to ULONG_MAX
    c42282a07832 kernel/events/uprobes: handle device-exclusive entries correctly in __replace_page()
    32222c0fd242 perf units: Fix insufficient array space
    b18056f753bf perf evlist: Add success path to evlist__create_syswide_maps
    7cd1096d3bea perf debug: Avoid stack overflow in recursive error message
    7a40b52d4442 iio: light: Add check for array bounds in veml6075_read_int_time_ms
    967570b52826 iio: adc: ad7768-1: set MOSI idle state to prevent accidental reset
    dd6391006379 iio: adc: ad7173: Fix comparison of channel configs
    12eeec2fe012 iio: adc: ad7124: Fix comparison of channel configs
    0c13dc967e07 iio: adc: ad4130: Fix comparison of channel setups
    55e2dbe2ba78 dmaengine: fsl-edma: free irq correctly in remove path
    bcd00d044346 dmaengine: fsl-edma: cleanup chan after dma_async_device_unregister
    201a2bdda13b fs/ntfs3: Prevent integer overflow in hdr_first_de()
    284c9549386e fs/ntfs3: Fix a couple integer overflows on 32bit systems
    8109f57613a0 usb: xhci: correct debug message page size calculation
    fc1b20f16897 perf bench: Fix perf bench syscall loop count
    8e901e95bedc perf arm-spe: Fix load-store operation checking
    df3892e5e861 iio: backend: make sure to NULL terminate stack buffer
    91cc7dca2a69 iio: accel: msa311: Fix failure to release runtime pm if direct mode claim fails.
    7c640dd70e63 iio: accel: mma8452: Ensure error return on failure to matching oversampling ratio
    a17a3db6d411 ucsi_ccg: Don't show failed to get FW build information error
    d72a8585043b perf build: Fix in-tree build due to symbolic link
    a7b29a28d1e4 tools/x86: Fix linux/unaligned.h include path in lib/insn.c
    72a149792714 perf pmu: Don't double count common sysfs and json events
    1315b08f609e coresight-etm4x: add isb() before reading the TRCSTATR
    3a19eb3d9818 vhost-scsi: Fix handling of multiple calls to vhost_scsi_set_endpoint
    e90a5776e105 coresight: catu: Fix number of pages while using 64k pages
    6f774f82a7fa greybus: gb-beagleplay: Add error handling for gb_greybus_init
    372a144dbb96 perf report: Switch data file correctly in TUI
    0e344b67bf26 soundwire: slave: fix an OF node reference leak in soundwire slave device
    82d0586c3592 isofs: fix KMSAN uninit-value bug in do_isofs_readdir()
    f9b0819e8b10 phy: phy-rockchip-samsung-hdptx: Don't use dt aliases to determine phy-id
    641394fbb5a5 fs/ntfs3: Update inode->i_mapping->a_ops on compression state
    4f750b846280 w1: fix NULL pointer dereference in probe
    4baed8d7452b perf: Always feature test reallocarray
    de9c71274735 perf stat: Fix find_stat for mixed legacy/non-legacy events
    165b155dfedb clk: qcom: mmcc-sdm660: fix stuck video_subcore0 clock
    bf233124d398 pinctrl: intel: Fix wrong bypass assignment in intel_pinctrl_probe_pwm()
    5416777d568a crypto: hisilicon/sec2 - fix for aead auth key length
    0d6460b9d2a3 RDMA/core: Fix use-after-free when rename device name
    782526a40149 x86/dumpstack: Fix inaccurate unwinding from exception stacks due to misplaced assignment
    c2ddf2f5760b leds: Fix LED_OFF brightness race
    a1fab9e64948 mfd: sm501: Switch to BIT() to mitigate integer overflows
    7ee71ef057b1 pinctrl: renesas: rzv2m: Fix missing of_node_put() call
    cad677085274 RDMA/mlx5: Fix mlx5_poll_one() cur_qp update flow
    19e6817f8400 bpf: Fix array bounds error with may_goto
    cff6b3c8085d clk: qcom: gcc-sm8650: Do not turn off USB GDSCs during gdsc_disable()
    4fdbccc738af crypto: nx - Fix uninitialised hv_nxc on error
    ac9e52aca2cb power: supply: max77693: Fix wrong conversion of charge input threshold value
    b6542ef0d4dd x86/entry: Fix ORC unwinder for PUSH_REGS with save_ret=1
    cd0e4789f870 clk: amlogic: g12a: fix mmc A peripheral clock
    f29760cdca4b clk: clk-imx8mp-audiomix: fix dsp/ocram_a clock parents
    64bb7efb0c4c crypto: qat - remove access to parity register for QAT GEN4
    4409e87cdc8b pinctrl: npcm8xx: Fix incorrect struct npcm8xx_pincfg assignment
    8ba426f170f1 rust: fix signature of rust_fmt_argument
    c9fad5ce1ef9 selftests/bpf: Select NUMA_NO_NODE to create map
    4d32504f7ae9 clk: amlogic: gxbb: drop non existing 32k clock parent
    dc8477444ac6 clk: amlogic: g12b: fix cluster A parent data
    52f3ef292b7b pinctrl: tegra: Set SFIO mode to Mux Register
    2aec4d9a79a7 IB/mad: Check available slots before posting receive WRs
    6d4e56e4c581 crypto: api - Fix larval relookup type and mask
    eae034cdcee9 power: supply: bq27xxx_battery: do not update cached flags prematurely
    005d8de09c71 remoteproc: qcom_q6v5_mss: Handle platforms with one power domain
    a114d25d584c RDMA/erdma: Prevent use-after-free in erdma_accept_newconn()
    257f0bdd5a4b RDMA/mlx5: Fix calculation of total invalidated pages
    df45ae2a4f1c RDMA/core: Don't expose hw_counters outside of init net namespace
    c9c2582c4cd1 clk: rockchip: rk3328: fix wrong clk_ref_usb3otg parent
    dcb5997ead6d selftests/bpf: Fix freplace_link segfault in tailcalls prog test
    25aa4fe297a5 RDMA/mlx5: Fix MR cache initialization error flow
    fb4206c76b99 pinctrl: renesas: rzg2l: Fix missing of_node_put() call
    3980e3741a8c pinctrl: renesas: rza2: Fix missing of_node_put() call
    e7b7f5a170d3 lib: 842: Improve error handling in sw842_compress()
    8ed5381756de bpf: Use preempt_count() directly in bpf_send_signal_common()
    42efddee037b clk: qcom: gcc-x1e80100: Unregister GCC_GPU_CFG_AHB_CLK/GCC_DISP_XO_CLK
    82484764ea90 remoteproc: qcom_q6v5_pas: Use resource with CX PD for MSM8226
    4a7e28e3523f crypto: tegra - Set IV to NULL explicitly for AES ECB
    7d25febb0e03 RDMA/mana_ib: Ensure variable err is initialized
    088a200ebf46 s390: Remove ioremap_wt() and pgprot_writethrough()
    bd717b4dea87 clk: qcom: gcc-msm8953: fix stuck venus0_core0 clock
    13a2312c5352 crypto: tegra - Fix CMAC intermediate result handling
    241d9965109b pinctrl: nuvoton: npcm8xx: Fix error handling in npcm8xx_gpio_fw()
    24307866e0ac clk: samsung: Fix UBSAN panic in samsung_clk_init()
    81d4e03116d3 remoteproc: qcom: pas: add minidump_id to SC7280 WPSS
    b5d1970003cc clk: renesas: r8a08g045: Check the source of the CPU PLL settings
    8d6373f83f36 x86/mm/pat: Fix VM_PAT handling when fork() fails in copy_page_range()
    919206201aac selftests/bpf: Fix string read in strncmp benchmark
    652a3dfd8c2b libbpf: Fix hypothetical STT_SECTION extern NULL deref case
    73fd28b12d78 remoteproc: qcom_q6v5_pas: Make single-PD handling more robust
    26c0229b604e pinctrl: renesas: rzg2l: Suppress binding attributes
    bfcca46f01ac of: property: Increase NR_FWNODE_REFERENCE_ARGS
    2df19f5f6f72 remoteproc: core: Clear table_sz when rproc_shutdown
    01fd737776ca RDMA/mlx5: Fix page_size variable overflow
    51bcbe6cdaf0 crypto: hisilicon/sec2 - fix for sec spec check
    71f4581c464b crypto: hisilicon/sec2 - fix for aead authsize alignment
    0069c0e671ab clk: amlogic: gxbb: drop incorrect flag on 32k clock
    46ea02988bb9 crypto: tegra - Use HMAC fallback when keyslots are full
    057298d19334 crypto: bpf - Add MODULE_DESCRIPTION for skcipher
    3e0d61cf588f crypto: tegra - check return value for hash do_one_req
    5d9147db00d3 crypto: tegra - Use separate buffer for setkey
    f23dfee54b57 crypto: qat - set parity error mask for qat_420xx
    92936d50c5b8 crypto: iaa - Test the correct request flag
    238ece4937aa fbdev: sm501fb: Add some geometry checks.
    8356f4570082 mdacon: rework dependency list
    d3ea050c153d dummycon: fix default rows/cols
    9a14cacaf527 fbdev: au1100fb: Move a variable assignment behind a null pointer check
    b1c4bd166771 PCI: pciehp: Don't enable HPIE when resuming in poll mode
    e23dfb926f5b PCI: Fix BAR resizing when VF BARs are assigned
    a1855c2ebb88 PCI: histb: Fix an error handling path in histb_pcie_probe()
    b004cf517d8e PCI: dwc: ep: Return -ENOMEM for allocation failures
    3453bcaf2ca9 drm/amd/display: avoid NPD when ASIC does not support DMUB
    d877bf6eb39c drm/mediatek: dsi: fix error codes in mtk_dsi_host_transfer()
    57a9fb47551b drm/mediatek: dp: drm_err => dev_err in HPD path to avoid NULL ptr
    e5838a2bf16f drm/mediatek: Fix config_updating flag never false when no mbox channel
    02e94069c3e9 PCI: xilinx-cpm: Fix IRQ domain leak in error path of probe
    362b5879a7f3 PCI: Remove stray put_device() in pci_register_host_bridge()
    7b40c5b938e9 powerpc/kexec: fix physical address calculation in clear_utlb_entry()
    7e754aa0daaf crypto: powerpc: Mark ghashp8-ppc.o as an OBJECT_FILES_NON_STANDARD
    a3030fcba3c8 drm/msm/a6xx: Fix a6xx indexed-regs in devcoreduump
    f42a78df8894 drm/amd/display: fix type mismatch in CalculateDynamicMetadataParameters()
    b8b5e2e77083 drm/panthor: Update CS_STATUS_ defines to correct values
    bcb484200441 PCI: Avoid reset when disabled via sysfs
    2a54a1a9c6c9 PCI/portdrv: Only disable pciehp interrupts early when needed
    2cf276e501c4 PCI: brcmstb: Fix potential premature regulator disabling
    df63321a40cc PCI: brcmstb: Fix error path after a call to regulator_bulk_get()
    0fe63272c43c PCI: brcmstb: Use internal register to change link capability
    4557922dbfca PCI: brcmstb: Set generation limit before PCIe link up
    b23b73ea4c21 PCI: cadence-ep: Fix the driver to send MSG TLP for INTx without data payload
    c0ef1c8ef70b drm/amdkfd: Fix Circular Locking Dependency in 'svm_range_cpu_invalidate_pagetables'
    70f1dcc21779 drm/msm/dsi: Set PHY usescase (and mode) before registering DSI host
    2af52e4d2e19 drm/msm/dsi: Use existing per-interface slice count in DSC timing
    a47ee1884c5b drm/msm/dsi/phy: Program clock inverters in correct register
    47a025046640 drm/msm/dpu: don't use active in atomic_check()
    a99219bbd69a drm/amd/display: fix an indent issue in DML21
    8ba27aa51286 PCI/ACS: Fix 'pci=config_acs=' parameter
    91b0ab875128 drm/panel: ilitek-ili9882t: fix GPIO name in error message
    f556b6ba0ac5 PCI/ASPM: Fix link state exit during switch upstream function removal
    4f997843de78 drm/mediatek: mtk_hdmi: Fix typo for aud_sampe_size member
    0fe9a58fa5d0 drm/mediatek: mtk_hdmi: Unregister audio platform device on failure
    372e387c4f1c PCI: Remove add_align overwrite unrelated to size0
    254f771c7067 PCI: Use downstream bridges for distributing resources
    f2b099e945ee drm/amdgpu/umsch: fix ucode check
    2dbf9e3efcc0 drm/amdgpu: refine smu send msg debug log format
    2a07eab05d9d gpu: cdns-mhdp8546: fix call balance of mhdp->clk handling routines
    d5eb8e347905 drm/vkms: Fix use after free and double free on init error
    b84d743c2393 drm: xlnx: zynqmp: Fix max dma segment size
    dd8e6445e4e3 drm/bridge: it6505: fix HDCP V match check is not performed correctly
    69e90c1e3391 drm/dp_mst: Fix drm RAD print
    5ffb6b9a1a04 drm/ssd130x: ensure ssd132x pitch is correct
    5a3461ca54db drm/ssd130x: fix ssd132x encoding
    a9c4366566e6 drm/ssd130x: Set SPI .id_table to prevent an SPI core warning
    950513eba9cb drm/bridge: ti-sn65dsi86: Fix multiple instances
    15291b561d8c ALSA: timer: Don't take register_mutex with copy_from/to_user()
    11242f4b9baa ASoC: ti: j721e-evm: Fix clock configuration for ti,j7200-cpb-audio compatible
    f751361b3a15 ALSA: hda/realtek: Always honor no_shutup_pins
    2050247d5ebf dt-bindings: vendor-prefixes: add GOcontroll
    7fdca6c0b12c HID: remove superfluous (and wrong) Makefile entry for CONFIG_INTEL_ISH_FIRMWARE_DOWNLOADER
    da3ac4cf7f13 ASoC: amd: acp: Fix for enabling DMIC on acp platforms via _DSD entry
    748a1118d20d ASoC: cs35l41: check the return value from spi_setup()
    5b6739341500 platform/x86: dell-ddv: Fix temperature calculation
    0654ea13976c platform/x86: dell-uart-backlight: Make dell_uart_bl_serdev_driver static
    a4f38bc600f3 platform/x86: lenovo-yoga-tab2-pro-1380-fastcharger: Make symbol static
    4f42478af663 auxdisplay: panel: Fix an API misuse in panel.c
    f0a72629ccec media: platform: allgro-dvt: unregister v4l2_device on the error path
    d34100049923 media: verisilicon: HEVC: Initialize start_bit field
    e161533964de auxdisplay: MAX6959 should select BITREVERSE
    d026245063d2 regulator: pca9450: Fix enable register for LDO5
    f5852872eb29 x86/entry: Add __init to ia32_emulation_override_cmdline()
    52e513a8850c x86/fpu/xstate: Fix inconsistencies in guest FPU xfeatures
    b86500597089 x86/traps: Make exc_double_fault() consistently noreturn
    5108828fecfc perf/ring_buffer: Allow the EPOLLRDNORM flag for poll
    345957c1cfb8 lockdep: Don't disable interrupts on RT in disable_irq_nosync_lockdep.*()
    c3a4c91a409e PM: sleep: Fix handling devices with direct_complete set on errors
    953d28a4f459 thermal: int340x: Add NULL check for adev
    a8a1bcc27d46 x86/resctrl: Fix allocation of cleanest CLOSID on platforms with no monitors
    385a0265295f EDAC/ie31200: Fix the error path order of ie31200_init()
    4294e94f43c7 EDAC/ie31200: Fix the DIMM size mask for several SoCs
    67d079c0f29e EDAC/ie31200: Fix the size of EDAC_MC_LAYER_CHIP_SELECT layer
    96b4f2e97408 selinux: Chain up tool resolving errors in install_policy.sh
    864750968d71 watchdog/hardlockup/perf: Fix perf_event memory leak
    b471631fa19a kunit/stackinit: Use fill byte different from Clang i386 pattern
    ff435a627342 RISC-V: KVM: Disable the kernel perf counter during configure
    e2bda794d381 cpufreq: tegra194: Allow building for Tegra234
    31d5665172b3 PM: sleep: Adjust check before setting power.must_resume
    4d28c2ab2af5 lockdep/mm: Fix might_fault() lockdep check of current->mm->mmap_lock
    9807270d7399 x86/sev: Add missing RIP_REL_REF() invocations during sme_enable()
    3e14d9a4eb74 x86/platform: Only allow CONFIG_EISA for 32-bit
    a086e7cde509 x86/fpu: Avoid copying dynamic FP state from init_task in arch_dup_task_struct()
    568aa554e760 x86/fpu: Fix guest FPU state buffer allocation size
    2c27c9e1d18a EDAC/{skx_common,i10nm}: Fix some missing error reports on Emerald Rapids
    f381c92ab4ec cpufreq: governor: Fix negative 'idle_time' handling in dbs_update()
    b576c4834d5a sched/eevdf: Force propagating min_slice of cfs_rq when {en,de}queue tasks
    7b1d2454d0b6 sched: Cancel the slice protection of the idle entity
    2d5c37dff4b0 smack: ipv4/ipv6: tcp/dccp/sctp: fix incorrect child socket label
    9d93922280f9 smack: dont compile ipv6 code unless ipv6 is configured
    40426fc0970e cpufreq: scpi: compare kHz instead of Hz
    bc4d689a231d x86/mm/pat: cpa-test: fix length for CPA_ARRAY test
    56ec918e6c86 watch_queue: fix pipe accounting mismatch
    2ee7ebed771b mips: Add '-std=gnu11' to vdso CFLAGS
    b2c792d89ac5 yaffs2: switch from readlink_copy() to vfs_readlink()
    807165b1ec1c tools/power/x86/intel-speed-select: Prefix header search path with sysroot
    e97df805b938 drm/tilcdc: Set preferred depth
    7160a4379dcc arch/arm64/configs: remove CONFIG_SM_DISPCC_8650
    6d8ac5ebe6e8 aufs6: core
    587abc1b64c4 aufs6: standalone
    1af41d30ef42 aufs6: mmap
    6ee2464d2e9d aufs6: base
    103b676505f7 aufs6: kbuild
    67281562943f qemux86: add configuration symbol to select values
    73f315ca0823 sched/isolation: really align nohz_full with rcu_nocbs
    1e4e7f8ab622 clear_warn_once: add a clear_warn_once= boot parameter
    918e7a825e8b clear_warn_once: bind a timer to written reset value
    f533f87c3758 clear_warn_once: expand debugfs to include read support
    f149ca27cba9 tools: Remove some options from CLANG_CROSS_FLAGS
    e633abe9c44e libbpf: Fix build warning on ref_ctr_off
    ec0916a4cfc1 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    03721ceb5626 perf: x86-32: explicitly include <errno.h>
    4c36c5295bb0 perf: mips64: Convert __u64 to unsigned long long
    b0200449610d perf: fix bench numa compilation
    aff0940b2212 perf: add SLANG_INC for slang.h
    ef912018d28c perf: add sgidefs.h to for mips builds
    d8860f858b87 perf: change --root to --prefix for python install
    dc38a0eee6e5 perf: add 'libperl not found' warning
    6ed51f8786da perf: force include of <stdbool.h>
    c538d4c4ac65 fat: Replace prandom_u32() with get_random_u32()
    63d94846f0c5 fat: don't use obsolete random32 call in namei_vfat
    7816667451ef FAT: Added FAT_NO_83NAME
    f81dbd60f0d5 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    771cdefba44b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    a24784fd8f88 yaffs2: update to v6.12 folio changes
    d0a48fd46db8 yaffs2: adapt to v6.10 i_time changes
    d097e4d4115a yaffs: fix mtime/itime field access
    4411e0d49fe3 yaffs2: update VFS ctime operations to 6.6+
    1b6619086e8b yaffs2: v6.5 fixups
    25b261ee3c54 yaffs2: Fix miscalculation of devname buffer length
    5c07936a5d1c yaffs2: convert user_namespace to mnt_idmap
    55986a1284b3 yaffs2: replace bdevname call with sprintf
    6f5508f8db8f yaffs2: convert read_page -> readfolio
    fd179a5df5d5 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    c9a620dacdd1 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    78588208ed17 yaffs2: v5.12+ build fixups (not runtime tested)
    8d2dddba272c yaffs: include blkdev.h
    8c1ca9ef9712 yaffs: Fix build failure by handling inode i_version with proper atomic API
    27005cbac2ed yaffs2: v5.6 build fixups
    668211c9f9b7 yaffs2: fix memory leak when /proc/yaffs is read
    285f911dcc1c yaffs: add strict check when call yaffs_internal_read_super
    ffc2ed489ccf yaffs: repair yaffs_get_mtd_device
    6dce4b70a5e3 yaffs: Fix build failure by handling inode i_version with proper atomic API
    19f283abc5d1 yaffs2: fix memory leak in mount/umount
    04e84672b571 yaffs: Avoid setting any ACL releated xattr
    4f221d6a32e2 Yaffs:check oob size before auto selecting Yaffs1
    81f36004e56b fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    26d7a3dd0054 yaffs2: adjust to proper location of MS_RDONLY
    a7016eac4540 yaffs2: import git revision b4ce1bb (jan, 2020)
    feb240bbb91e initramfs: allow an optional wrapper script around initramfs generation
    874746eaa341 drivers: gpu: drm: msm: registers: improve reproducibility
    1d42508faee8 tools: use basename to identify file in gen-mach-types
    4b055eca593d iwlwifi: select MAC80211_LEDS conditionally
    97e20e275ac0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    6dec58319165 defconfigs: drop obselete options
    a416ccb5b6c9 linux-yocto: Handle /bin/awk issues
    7efe8a1e5158 uvesafb: provide option to specify timeout for task completion
    78d10ae07eca uvesafb: print error message when task timeout occurs
    80473b7eb8ca compiler.h: Undef before redefining __attribute_const__
    ddeff2f1a9a7 vmware: include jiffies.h
    3dcdda8912b4 Resolve jiffies wrapping about arp
    3b1507db6735 nfs: Allow default io size to be configured.
    c2fedad05f77 check console device file on fs when booting
    208d6fbada3f mount_root: clarify error messages for when no rootfs found
    dbe9454c8ea0 mconf: fix output of cflags and libraries
    7c7b224f5cce menuconfig,mconf-cfg: Allow specification of ncurses location
    b6c189c81397 modpost: mask trivial warnings
    a5cc21325ba9 kbuild: exclude meta directory from distclean processing
    361ec143c23f powerpc: serialize image targets
    605e6ccb304c arm: serialize build targets
    e94b04fcb7d2 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    44cc7f69a0a0 cpu/amd: inhibit SMP check for qemux86
    a08cb65331e6 x86_64_defconfig: Fix warnings
    8ad332ef777b mips: make current_cpu_data preempt safe
    754f05ddce3f mips: vdso: fix 'jalr $t9' crash in vdso code
    325ff78ff44d mips: Kconfig: add QEMUMIPS64 option
    99ae0eadcf11 4kc cache tlb hazard: tlbp cache coherency
    c6894c66a534 malta uhci quirks: make allowance for slow 4k(e)c
    8b52c01f3294 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    16c7629f035e drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    6b60c874cbb0 arm64: defconfig: cleanup config options
    8e44673ecd89 vexpress: Pass LOADADDR to Makefile
    f34e6805aad5 arm: ARM EABI socketcall
    94dec9b88de4 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 054457a772df0e7866fa4ff0f22d79622ff419bd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:48:04 +01:00
Bruce Ashfield
a472092f33 linux-yocto/6.12: update to v6.12.22
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    55767d6e74ef Linux 6.12.22
    9e6e83e1e2d0 bcachefs: bch2_ioctl_subvolume_destroy() fixes
    a964484a3537 serial: 8250_dma: terminate correct DMA in tx_dma_flush()
    5f9176f82ec7 serial: stm32: do not deassert RS485 RTS GPIO prematurely
    f86907583000 perf tools: Fix up some comments and code to properly use the event_source bus
    b094e8e3988e memstick: rtsx_usb_ms: Fix slab-use-after-free in rtsx_usb_ms_drv_remove
    a4931d9fb99e usb: xhci: Apply the link chain quirk on NEC isoc endpoints
    6af20ac254cb usb: xhci: Don't skip on Stopped - Length Invalid
    ed5760db3d8a net: usb: usbnet: restore usb%d name exception for local mac addresses
    52e05bea53c2 net: usb: qmi_wwan: add Telit Cinterion FE990B composition
    666e78b47713 net: usb: qmi_wwan: add Telit Cinterion FN990B composition
    53a005d3019f tty: serial: fsl_lpuart: disable transmitter before changing RS485 related registers
    27bd86d139ce tty: serial: 8250: Add Brainboxes XC devices
    54f9a8dcab90 tty: serial: 8250: Add some more device IDs
    0fac51a2d143 counter: microchip-tcb-capture: Fix undefined counter channel state on probe
    181a2ab650f7 counter: stm32-lptimer-cnt: fix error handling when enabling
    3ed38d0297fa ALSA: hda/realtek: Support mute LED on HP Laptop 15s-du3xxx
    2bb139e483f8 netfilter: socket: Lookup orig tuple for IPv6 SNAT
    2c1674fb52b2 drm/amd/display: Don't write DP_MSTM_CTRL after LT
    95407304253a nfsd: fix legacy client tracking initialization
    09691f367df4 atm: Fix NULL pointer dereference
    dddd13f7f167 HID: hid-plantronics: Add mic mute mapping and generalize quirks
    a532e7680878 ALSA: usb-audio: Add quirk for Plantronics headsets to fix control names
    2ee7ebed771b mips: Add '-std=gnu11' to vdso CFLAGS
    3423cae69078 Linux 6.12.21
    2fa52cd829c1 mptcp: Fix data stream corruption in the address announcement
    86368616a9ce mm/huge_memory: drop beyond-EOF folios with the right number of refs
    e7940c5794c3 arm64: dts: rockchip: fix u2phy1_host status for NanoPi R4S
    9aaffd371829 libsubcmd: Silence compiler warning
    8ece5abd7490 Revert "sched/core: Reduce cost of sched_move_task when config autogroup"
    c7762348038b KVM: arm64: Eagerly switch ZCR_EL{1,2}
    4a397bf077e7 KVM: arm64: Mark some header functions as inline
    2e4f2c20db53 KVM: arm64: Refactor exit handlers
    cb53828d6911 KVM: arm64: Remove VHE host restore of CPACR_EL1.SMEN
    d547b363f16a KVM: arm64: Remove VHE host restore of CPACR_EL1.ZEN
    f19a46cb5373 KVM: arm64: Remove host FPSIMD saving for non-protected KVM
    79e140bba70b KVM: arm64: Unconditionally save+flush host FPSIMD/SVE/SME state
    e6cd28bbbf90 KVM: arm64: Calculate cptr_el2 traps on activating traps
    73ef4f6e379b io_uring/net: fix sendzc double notif flush
    a4cb17797a5d ksmbd: fix incorrect validation for num_aces field of smb_acl
    731eccbd65aa drm/amdkfd: Fix user queue validation on Gfx7/8
    3aa8e00fefca drm/amdgpu: Fix JPEG video caps max size for navi1x and raven
    a0a43a133371 drm/amdgpu: Fix MPEG2, MPEG4 and VC1 video caps max size
    499d1adcac3e drm/amdgpu: Remove JPEG from vega and carrizo video caps
    97c2a78d2995 drm/amdgpu/pm: wire up hwmon fan speed for smu 14.0.2
    4b8b7026fc3b drm/amdgpu/pm: Handle SCLK offset correctly in overdrive for smu 14.0.2
    8201c17e986e drm/amdgpu: Restore uncached behaviour on GFX12
    eacbc9d28391 drm/amd/pm: add unique_id for gfx12
    c58726d64d08 drm/amd/display: Use HW lock mgr for PSR1 when only one eDP
    1992e216fd3c drm/amd/display: Fix message for support_edp0_on_dp1
    7341e36e6513 drm/amdgpu/gfx12: correct cleanup of 'me' field with gfx_v12_0_me_fini()
    1135a9431160 drm/sched: Fix fence reference count leak
    dd1801aa01bb drm/radeon: fix uninitialized size issue in radeon_vce_cs_parse()
    b2ab8c713bad pmdomain: amlogic: fix T7 ISP secpower
    f4489260f571 soc: qcom: pdr: Fix the potential deadlock
    91176c193417 batman-adv: Ignore own maximum aggregation size during RX
    130290f44bce xsk: fix an integer overflow in xp_create_and_assign_umem()
    6afe2ea2daec keys: Fix UAF in key_put()
    8332847875f7 efi/libstub: Avoid physical address 0x0 when doing random allocation
    c4e37b381a7a firmware: qcom: uefisecapp: fix efivars registration race
    54ccfef43773 ARM: shmobile: smp: Enforce shmobile_smp_* alignment
    0b1d48698ed9 ARM: dts: imx6qdl-apalis: Fix poweroff on Apalis iMX6
    2e1dfe3105ab memcg: drain obj stock on cpu hotplug teardown
    ede3e8ac90ae proc: fix UAF in proc_get_inode()
    4b84c6437f4b mm/page_alloc: fix memory accept before watermarks gets initialized
    c057ee03f751 mm/migrate: fix shmem xarray update during migration
    abc2677d167d mm: fix error handling in __filemap_get_folio() with FGP_NOWAIT
    baa37829052f selftests/mm: run_vmtests.sh: fix half_ufd_size_MB calculation
    8f8eb5afa2cb mmc: atmel-mci: Add missing clk_disable_unprepare()
    e96500b7d695 mmc: sdhci-brcmstb: add cqhci suspend/resume to PM ops
    838c916e6d66 arm64: dts: rockchip: fix pinmux of UART5 for PX30 Ringneck on Haikou
    f8ec8036e7e0 arm64: dts: rockchip: fix pinmux of UART0 for PX30 Ringneck on Haikou
    200517d82b4c arm64: dts: freescale: imx8mm-verdin-dahlia: add Microphone Jack to sound card
    16f1b7dc28a4 arm64: dts: freescale: imx8mp-verdin-dahlia: add Microphone Jack to sound card
    b362fc904d26 accel/qaic: Fix integer overflow in qaic_validate_req()
    a99f1254b11e regulator: check that dummy regulator has been probed before using it
    d3b83a1442a0 regulator: dummy: force synchronous probing
    0def1a40c3e7 netfs: Call `invalidate_cache` only if implemented
    adb7325362c7 riscv: dts: starfive: Fix a typo in StarFive JH7110 pin function definitions
    66e3cc3885e8 io_uring/net: don't clear REQ_F_NEED_CLEANUP unconditionally
    4b4d2527840f drm/v3d: Don't run jobs that have errors flagged in its fence
    c76a537ca228 drm/xe: Fix exporting xe buffers multiple times
    dc55ba5f6dd5 can: flexcan: disable transceiver during system PM
    7072723e0534 can: flexcan: only change CAN state when link up in system PM
    8cec9e314d33 can: ucan: fix out of bound read in strscpy() source
    eb14937ece4f can: rcar_canfd: Fix page entries in the AFL list
    76a13fad5a3f dt-bindings: can: renesas,rcar-canfd: Fix typo in pattern properties for R-Car V4M
    15cc669513d6 net: mana: Support holes in device list reply msg
    bb83e6e7b56e i2c: omap: fix IRQ storms
    71c9cf87776e tracing: tprobe-events: Fix leakage of module refcount
    a3ff812d68f6 Revert "gre: Fix IPv6 link-local address generation."
    250793874f91 net/neighbor: add missing policy for NDTPA_QUEUE_LENBYTES
    176d0333aae4 libfs: Fix duplicate directory entry in offset_dir_lookup
    0d8a8179fa52 net: ipv6: ioam6: fix lwtunnel_output() loop
    49a009135042 net: lwtunnel: fix recursion loops
    1344df9a981c net: ti: icssg-prueth: Add lock to stats
    326223182e47 net: atm: fix use after free in lec_send()
    99918fb674d2 gpu: host1x: Do not assume that a NULL domain means no DMA IOMMU
    58ed057dcdb3 phy: fix xa_alloc_cyclic() error handling
    cb2f8a5c1fd9 dpll: fix xa_alloc_cyclic() error handling
    f8aaa38cfaf6 devlink: fix xa_alloc_cyclic() error handling
    cfbde06fda15 ipv6: Set errno after ip_fib_metrics_init() in ip6_route_info_create().
    29d91820184d ipv6: Fix memleak of nhc_pcpu_rth_output in fib_check_nh_v6_gw().
    8940e6168bb3 net: ipv6: fix TCP GSO segmentation with NAT
    d4bf956547c3 net: ethernet: ti: am65-cpsw: Fix NAPI registration sequence
    8bf2f1ba2729 ata: libata-core: Add ATA_QUIRK_NO_LPM_ON_ATI for certain Samsung SSDs
    5ba4f58ec2de tracing: tprobe-events: Fix to clean up tprobe correctly when module unload
    dfc80ed249b6 ARM: davinci: da850: fix selecting ARCH_DAVINCI_DA8XX
    1be40f79d36d accel/qaic: Fix possible data corruption in BOs > 2G
    e8f50474037f Bluetooth: hci_event: Fix connection regression between LE and non-LE adapters
    761b7c36addd Bluetooth: Fix error code in chan_alloc_skb_cb()
    bc6824b3aaff RDMA/hns: Fix wrong value of max_sge_rd
    abf7f5be159a RDMA/hns: Fix missing xa_destroy()
    0fa35d93d50a RDMA/hns: Fix a missing rollback in error path of hns_roce_create_qp_common()
    7912097c9304 RDMA/hns: Fix invalid sq params not being blocked
    4e4c2571aac4 RDMA/hns: Fix unmatched condition in error path of alloc_user_qp_db()
    13a52f6c9ff9 RDMA/hns: Fix soft lockup during bt pages loop
    d7b8dc4a0dce RDMA/bnxt_re: Avoid clearing VLAN_ID mask in modify qp path
    ca3c033a4fe1 dma-mapping: fix missing clear bdr in check_ram_in_range_map()
    db7dd032eeb2 ARM: dts: BCM5301X: Fix switch port labels of ASUS RT-AC3200
    2c74f29eaa0d ARM: dts: BCM5301X: Fix switch port labels of ASUS RT-AC5300
    d4ebdbbd4603 ARM: dts: bcm2711: Don't mark timer regs unconfigured
    49d3178ea54a ARM: OMAP1: select CONFIG_GENERIC_IRQ_CHIP
    7c2a5a535cbd RDMA/mlx5: Handle errors returned from mlx5r_ib_rate()
    adeba5b0d120 RDMA/bnxt_re: Add missing paranthesis in map_qp_id_to_tbl_indx
    2776978d2fac RDMA/rxe: Fix the failure of ibv_query_device() and ibv_query_device_ex() tests
    9d22afe499d0 arm64: dts: rockchip: Remove undocumented sdmmc property from lubancat-1
    be96850f9ed2 arm64: dts: bcm2712: PL011 UARTs are actually r1p5
    98c175b8eb2b ARM: dts: bcm2711: PL011 UARTs are actually r1p5
    b8a47aa0b3df ARM: dts: bcm2711: Fix xHCI power-domain
    11ae21f1b926 soc: imx8m: Unregister cpufreq and soc dev in cleanup path
    224d8bf798fb soc: imx8m: Use devm_* to simplify probe failure handling
    4d709816638d soc: imx8m: Remove global soc_uid
    25e4700489cf xfrm_output: Force software GSO only in tunnel mode
    a0395e96831a xfrm: fix tunnel mode TX datapath in packet offload mode
    a64df69c9718 arm64: dts: rockchip: remove supports-cqe from rk3588 tiger
    02396956ad89 arm64: dts: rockchip: remove supports-cqe from rk3588 jaguar
    5e203693ebf2 arm64: dts: freescale: tqma8mpql: Fix vqmmc-supply
    ea835113e5d0 firmware: imx-scu: fix OF node leak in .probe()
    d78510d151b5 firmware: qcom: scm: Fix error code in probe()
    f491dd2afe1c Linux 6.12.20
    62b9ad7e52d4 fs/netfs/read_collect: add to next->prev_donated
    8f324d99306b HID: apple: disable Fn key handling on the Omoton KB066
    888bcd6c5832 nvme-fc: rely on state transitions to handle connectivity loss
    f87271d21dd4 Bluetooth: L2CAP: Fix corrupted list in hci_chan_del
    ee06d5c81041 tools/sched_ext: Add helper to check task migration state
    46db29a2c8b1 sched_ext: selftests/dsp_local_on: Fix selftest on UP systems
    9d9d87e44dd7 smb: client: Fix match_session bug preventing session reuse
    beb97eba4cd8 smb3: add support for IAKerb
    f41514828296 mm/hugetlb: wait for hugetlb folios to be freed
    3b699bcc2667 i2c: sis630: Fix an error handling path in sis630_probe()
    ee2ae325f78e i2c: ali15x3: Fix an error handling path in ali15x3_probe()
    be05097610f0 i2c: ali1535: Fix an error handling path in ali1535_probe()
    9233b85afb47 x86/vmware: Parse MP tables for SEV-SNP enabled guests under VMware hypervisors
    1c46673be93d cifs: Fix integer overflow while processing closetimeo mount option
    4740cef2a9d0 cifs: Fix integer overflow while processing actimeo mount option
    2809a79bc649 cifs: Fix integer overflow while processing acdirmax mount option
    833f2903eb8b cifs: Fix integer overflow while processing acregmax mount option
    527bde0d9cac block: change blk_mq_add_to_batch() third argument type to bool
    0dfe4a7957a5 scripts: generate_rust_analyzer: add uapi crate
    4614939363bb scripts: generate_rust_analyzer: add missing include_dirs
    657f5e3eeceb scripts: generate_rust_analyzer: add missing macros deps
    7c29e8fd1f0e drm/i915: Increase I915_PARAM_MMAP_GTT_VERSION version to indicate support for partial mmaps
    e72a52a5cf18 ASoC: codecs: wm0010: Fix error handling path in wm0010_spi_probe()
    77213a424a48 nvme: move error logging from nvme_end_req() to __nvme_end_req()
    6f33bb8664b8 drm/xe/pm: Temporarily disable D3Cold on BMG
    b99b5c254442 drm/xe/userptr: Fix an incorrect assert
    0e9989bea707 drm/xe: Release guc ids before cancelling work
    084c46a133c1 drm/xe: cancel pending job timer before freeing scheduler
    90d1cf2fad80 ASoC: rt722-sdca: add missing readable registers
    9dcd2b72ea05 rust: init: add missing newline to pr_info! calls
    c79a462560d0 ASoC: cs42l43: Fix maximum ADC Volume
    cebcc1f336a6 drm/gma500: Add NULL check for pci_gfx_root in mid_get_vbt_data()
    4ec50b0cead5 rust: error: add missing newline to pr_warn! calls
    a46a9371f8b9 ASoC: ops: Consistently treat platform_max as control value
    752b56bb76e2 sched_ext: Validate prev_cpu in scx_bpf_select_cpu_dfl()
    72833a339f1f net: phy: nxp-c45-tja11xx: add TJA112XB SGMII PCS restart errata
    d52d624f3d70 net: phy: nxp-c45-tja11xx: add TJA112X PHY configuration errata
    b9004fe68878 smb: client: fix regression with guest option
    9721f3a79345 qlcnic: fix memory leak issues in qlcnic_sriov_common.c
    608bbf7ff5a5 Fix mmu notifiers for range-based invalidates
    f6bbea2ffea7 arm64: mm: Populate vmemmap at the page level if not section aligned
    5a87e46da241 dm-flakey: Fix memory corruption in optional corrupt_bio_byte feature
    454825019d2f netmem: prevent TX of unreadable skbs
    e2c89427e08b ASoC: amd: yc: Support mic on another Lenovo ThinkPad E16 Gen 2 model
    ac4b32cb59ff ASoC: Intel: sof_sdw: Fix unlikely uninitialized variable use in create_sdw_dailinks()
    0a024f992500 clk: samsung: gs101: fix synchronous external abort in samsung_clk_save()
    d14ef11b1d1e clk: samsung: update PLL locktime for PLL142XX used on FSD platform
    a4261bbc33fb ksmbd: prevent connection release during oplock break notification
    62746ae3f541 ksmbd: fix use-after-free in ksmbd_free_work_struct
    bac7b8b1a3f1 drm/amd/display: Fix slab-use-after-free on hdcp_work
    04f90b505ad3 drm/amd/display: Assign normalized_pix_clk when color depth = 14
    6d669a3b031a drm/amd/display: Restore correct backlight brightness after a GPU reset
    fefa811e616b drm/amd/display: fix missing .is_two_pixels_per_container
    9826fd36ff20 drm/amd/display: fix default brightness
    d1227b94d75c drm/amd/display: Disable unneeded hpd interrupts during dm_init
    60ae74e367ae drm/amdgpu/display: Allow DCC for video formats on GFX12
    c5c5e76aea80 drm/amd/amdkfd: Evict all queues even HWS remove queue failed
    72235808eabe drm/amdgpu: NULL-check BO's backing store when determining GFX12 PTE flags
    beb47bc67363 drm/dp_mst: Fix locking when skipping CSN before topology probing
    962912aaf8d1 drm/atomic: Filter out redundant DPMS calls
    e487d35964fb drm/panic: fix overindented list items in documentation
    8232ec53bcdd drm/panic: use `div_ceil` to clean Clippy warning
    8f55d4414d55 drm/i915/cdclk: Do cdclk post plane programming later
    220e26960ef4 spi: microchip-core: prevent RX overflows when transmit size > FIFO size
    488ffc0cac38 x86/microcode/AMD: Fix out-of-bounds on systems with CPU-less NUMA nodes
    677088b7fa88 rust: init: fix `Zeroable` implementation for `Option<NonNull<T>>` and `Option<KBox<T>>`
    514d35a745b8 rust: Disallow BTF generation with Rust + LTO
    28d472f153f9 rust: alloc: satisfy POSIX alignment requirement
    6db379b34a06 rust: remove leftover mentions of the `alloc` crate
    2ef7bdb84620 rust: lockdep: Remove support for dynamically allocated LockClassKeys
    ccffb475c133 USB: serial: option: match on interface class for Telit FN990B
    d233dbf101b1 USB: serial: option: fix Telit Cinterion FE990A name
    3bfa629f4516 USB: serial: option: add Telit Cinterion FE990B compositions
    87ede08ef245 USB: serial: ftdi_sio: add support for Altera USB Blaster 3
    1a7493a2b899 Input: i8042 - swap old quirk combination with new quirk for more devices
    64c6abf1b427 Input: i8042 - swap old quirk combination with new quirk for several devices
    ee554ffa3731 Input: i8042 - add required quirks for missing old boardnames
    3d6fa8c56bb1 Input: i8042 - swap old quirk combination with new quirk for NHxxRZQ
    0ff93d895619 Input: xpad - rename QH controller to Legion Go S
    f7ccf4eb4bac Input: xpad - add support for TECNO Pocket Go
    d91dd818f1fc Input: xpad - add support for ZOTAC Gaming Zone
    e2304bbf8789 Input: xpad - add multiple supported devices
    1936b189fa7d Input: xpad - add 8BitDo SN30 Pro, Hyperkin X91 and Gamesir G7 SE controllers
    84f7b6f1d63a Input: iqs7222 - preserve system status register
    2daccd3b50dd Input: ads7846 - fix gpiod allocation
    eff502828bb4 Input: goodix-berlin - fix vddio regulator references
    fef9d44b24be cifs: Throw -EOPNOTSUPP error on unsupported reparse point type from parse_reparse_point()
    b2bccc729b93 cifs: Validate content of WSL reparse point buffers
    061ea46c56f6 vhost: return task creation error instead of NULL
    7184e996107c block: fix 'kmem_cache of name 'bio-108' already exists'
    d1ceef54b239 net: Handle napi_schedule() calls from non-interrupt
    1cf295ac531c drm/nouveau: Do not override forced connector status
    27fcaf0afe16 mptcp: safety check before fallback
    d7e94211d12d perf/x86/rapl: Add support for Intel Arrow Lake U
    2d2b4bdf083d x86/irq: Define trace events conditionally
    c481ada21a72 x86/of: Don't use DTB for SMP setup if ACPI is enabled
    b1d5a2c0501f perf/x86/intel: Use better start period for frequency mode
    665de082f3cb drm/vkms: Round fixp2int conversion in lerp_u16
    7b67d2671481 ASoC: SOF: Intel: don't check number of sdw links when set dmic_fixup
    e5c9f8d2202d ASoC: dapm-graph: set fill colour of turned on nodes
    df2ae00d9605 fuse: don't truncate cached, mutated symlink
    c54e42985189 ASoC: tas2764: Set the SDOUT polarity correctly
    1769f5cb5395 ASoC: tas2764: Fix power control mask
    e43334e1dc09 ASoC: tas2770: Fix volume scale
    06d7337799dc phy: ti: gmii-sel: Do not use syscon helper to build regmap
    bfe7f298eedc nvme: only allow entering LIVE from CONNECTING state
    94e7476fa7c5 sctp: Fix undefined behavior in left shift operation
    7ece63c977c1 cifs: Treat unhandled directory name surrogate reparse points as mount directory nodes
    317fb015fe58 apple-nvme: Release power domains when probe fails
    1f07456a5a66 nvmet-rdma: recheck queue state is LIVE in state lock in recv done
    fd903dd30122 nvme-pci: quirk Acer FA100 for non-uniqueue identifiers
    b349a3d1b15e io-wq: backoff when retrying worker creation
    4fd9f51368a2 net: wwan: mhi_wwan_mbim: Silence sequence number glitch errors
    a14be80a82c8 ASoC: SOF: amd: Handle IPC replies before FW_BOOT_COMPLETE
    985c2c69a5e4 ASoC: SOF: amd: Add post_fw_run_delay ACP quirk
    eb49f80b8a6f ALSA: hda: hda-intel: add Panther Lake-H support
    458173e86d77 ASoC: SOF: Intel: pci-ptl: Add support for PTL-H
    c51c8ec76cfc ALSA: hda: intel-dsp-config: Add PTL-H support
    4ed43c26b7dc PCI: pci_ids: add INTEL_HDA_PTL_H
    8aac6256919d ASoC: SOF: Intel: hda: add softdep pre to snd-hda-codec-hdmi module
    5b27776a2beb ASoC: arizona/madera: use fsleep() in up/down DAPM event delays.
    f6eaaf1f5bcf ASoC: rsnd: adjust convert rate limitation
    6ff121ffe87c ASoC: rsnd: don't indicate warning on rsnd_kctrl_accept_runtime()
    e96e1000be20 ASoC: rsnd: indicate unsupported clock rate
    d44418f5024f ALSA: hda/realtek: Limit mic boost on Positivo ARN50
    a402f90da448 ASoC: simple-card-utils.c: add missing dlc->of_node
    c18fc7e6bbd0 ASoC: Intel: soc-acpi-intel-mtl-match: declare adr as ull
    ed05ae9a27c9 ASoC: Intel: sof_sdw: Add quirk for Asus Zenbook S14
    d5742c484f52 ASoC: Intel: sof_sdw: Add lookup of quirk using PCI subsystem ID
    45fb7e0d0cab selftests/bpf: Fix invalid flag of recv()
    02a12760d7c9 drm/tests: hdmi: Fix recursive locking
    b0f9bb67869d drm/tests: hdmi: Reorder DRM entities variables assignment
    9828d2f2a6ee drm/tests: hdmi: Remove redundant assignments
    f8094625a591 Bluetooth: L2CAP: Fix slab-use-after-free Read in l2cap_send_cmd
    2139811c3f79 Xen/swiotlb: mark xen_swiotlb_fixup() __init
    aa3b0ea4742a arm64: amu: Delay allocating cpumask for AMU FIE support
    8aa4c89378ed LoongArch: KVM: Set host with kernel mode when switch to VM mode
    f30b7b949ed8 LoongArch: Fix kernel_page_present() for KPRANGE/XKPRANGE
    a91922e9eab5 thermal/cpufreq_cooling: Remove structure member documentation
    e129f7291506 s390/cio: Fix CHPID "configure" attribute caching
    7e759fb01512 platform/x86: int3472: Call "reset" GPIO "enable" for INT347E
    515b17dcd4cf platform/x86: int3472: Use correct type for "polarity", call it gpio_flags
    f6ee81371e70 platform/x86: thinkpad_acpi: Support for V9 DYTC platform profiles
    f92324135f09 platform/x86: thinkpad_acpi: Fix invalid fan speed on ThinkPad X120e
    30a40b592594 sched: Clarify wake_up_q()'s write to task->wake_q.next
    c39bd0df25b4 objtool: Ignore dangling jump table entries
    d5ca39d3369a btrfs: fix two misuses of folio_shift()
    3ceaafa26f30 HID: apple: fix up the F6 key on the Omoton KB066 keyboard
    024d7e006aa4 HID: hid-apple: Apple Magic Keyboard a3203 USB-C support
    08fde0878480 selftests/cgroup: use bash in test_cpuset_v1_hp.sh
    fb019cf04211 HID: topre: Fix n-key rollover on Realforce R3S TKL boards
    2501c9ce2da7 HID: intel-ish-hid: ipc: Add Panther Lake PCI device IDs
    25736fe5893d usb: phy: generic: Use proper helper for property detection
    705f2515189c HID: hid-steam: Fix issues with disabling both gamepad mode and lizard mode
    6ca3d4d87af4 HID: ignore non-functional sensor in HP 5MP Camera
    3cef11955f29 HID: intel-ish-hid: Send clock sync message immediately after reset
    e9275a19e271 HID: intel-ish-hid: fix the length of MNG_SYNC_FW_CLOCK in doorbell
    05db4968d4bb sched_ext: selftests/dsp_local_on: Fix sporadic failures
    7963b379a37c selftests: always check mask returned by statmount(2)
    37e638d4cae4 vboxsf: fix building with GCC 15
    3b477a0296f4 alpha/elf: Fix misc/setarch test of util-linux by removing 32bit support
    ef35c36fb4f1 smb: client: fix noisy when tree connecting to DFS interlink targets
    61699cb2534f ACPI: resource: IRQ override for Eluktronics MECH-17
    af71ba921d08 scsi: qla1280: Fix kernel oops when debug level > 2
    3be04084517e scsi: ufs: core: Fix error return with query response
    1207e5d1a268 scsi: core: Use GFP_NOIO to avoid circular locking dependency
    36793d90d76f drm/amd/display: Fix out-of-bound accesses
    8bf1b5eeaf94 platform/x86/intel: pmc: fix ltr decode in pmc_core_ltr_show()
    20d6994b6f1f sched/debug: Provide slice length for fair tasks
    b253660fac5e iscsi_ibft: Fix UBSAN shift-out-of-bounds warning in ibft_attr_show_nic()
    aa189c394168 futex: Pass in task to futex_queue()
    fb51a7209398 btrfs: avoid starting new transaction when cleaning qgroup during subvolume drop
    ccdec7ea9a3d powercap: call put_device() on an error path in powercap_register_control_type()
    ae5716b4631f hrtimers: Mark is_migration_base() with __always_inline
    18bee525aa9a nvme-fc: do not ignore connectivity loss during connecting
    50ef04270048 nvme-fc: go straight to connecting state when initializing
    d6402fb37720 net/mlx5e: Prevent bridge link show failure for non-eswitch-allowed devices
    f7bf259a0427 net/mlx5: Bridge, fix the crash caused by LAG state check
    b22fae6a7aaf net/mlx5: Lag, Check shared fdb before creating MultiPort E-Switch
    4251e73182c3 net/mlx5: Fix incorrect IRQ pool usage when releasing IRQs
    5f634c972be8 net/mlx5: HWS, Rightsize bwc matcher priority
    9e79fdabd52c Revert "openvswitch: switch to per-action label counting in conntrack"
    e6610f9c08b4 net: openvswitch: remove misbehaving actions length check
    a4d42b590115 gre: Fix IPv6 link-local address generation.
    931681bc821f netfilter: nft_exthdr: fix offset with ipv4_find_option()
    5c3ca9cb48b5 net_sched: Prevent creation of classes with TC_H_ROOT
    e6cb63fac7fd ipvs: prevent integer overflow in do_ip_vs_get_ctl()
    db1e0c085682 netfilter: nf_conncount: Fully initialize struct nf_conncount_tuple in insert_tree()
    992a60cdfd9f rtase: Fix improper release of ring list entries in rtase_sw_reset
    247347fe0cdd selftests: bonding: fix incorrect mac address
    4cf224c45fe7 bonding: fix incorrect MAC address setting to receive NS messages
    5c47d5bfa7b0 net: mctp: unshare packets when reassembling
    a597d4b75669 net: switchdev: Convert blocking notification chain to a raw one
    187ef72a8438 eth: bnxt: fix memory leak in queue reset
    0997443906b9 bnxt_en: handle tpa_info in queue API implementation
    fa36f457eec3 bnxt_en: refactor tpa_info alloc/free into helpers
    f49bc4d7ff3d eth: bnxt: use page pool for head frags
    f059a0fd7330 eth: bnxt: fix kernel panic in the bnxt_get_queue_stats{rx | tx}
    5b57ed14a1b8 eth: bnxt: do not update checksum in bnxt_xdp_build_skb()
    a6604717850e eth: bnxt: do not use BNXT_VNIC_NTUPLE unconditionally in queue restart logic
    14eb5f0d6554 eth: bnxt: return fail if interface is down in bnxt_queue_mem_alloc()
    19107e71be33 eth: bnxt: fix truesize for mb-xdp-pass case
    1d34296409a5 net/mlx5: handle errors in mlx5_chains_create_table()
    102d02874911 Drivers: hv: vmbus: Don't release fb_mmio resource in vmbus_free_mmio()
    4545e2aa121a fbdev: hyperv_fb: Allow graceful removal of framebuffer
    ae833890703c fbdev: hyperv_fb: Simplify hvfb_putmem
    cfffe46a994a fbdev: hyperv_fb: Fix hang in kdump kernel when on Hyper-V Gen 2 VMs
    24f1bbfb2be7 drm/hyperv: Fix address space leak when Hyper-V DRM device is removed
    be7188d7f1f6 netpoll: hold rcu read lock in __netpoll_send_skb()
    caff87addf19 net: mctp i2c: Copy headers if cloned
    370dacb7edc2 net: mctp i3c: Copy headers if cloned
    956d8ef54a42 net: dsa: mv88e6xxx: Verify after ATU Load ops
    251841a71c4f net/mlx5: Fill out devlink dev info only for PFs
    55b098a2beec Revert "Bluetooth: hci_core: Fix sleeping function called from invalid context"
    0677a4f3c067 Bluetooth: hci_event: Fix enabling passive scanning
    a5158d67bff0 wifi: cfg80211: cancel wiphy_work before freeing wiphy
    83a73cb88f1d wifi: mac80211: don't queue sdata::work for a non-running sdata
    6114d2e6efda wifi: iwlwifi: mvm: fix PNVM timeout for non-MSI-X platforms
    68896dd50180 sched: address a potential NULL pointer dereference in the GRED scheduler.
    0befa32ac3f9 netfilter: nf_tables: make destruction work queue pernet
    a5396ee0f541 netfilter: nf_conncount: garbage collection is not skipped when jiffies wrap around
    198907fa1444 ice: Fix switchdev slow-path in LAG
    3b27e6e10a32 ice: fix memory leak in aRFS after reset
    44386eb2d9b7 ice: do not configure destination override for switchdev
    2231d7c821f3 netfilter: nft_ct: Use __refcount_inc() for per-CPU nft_ct_pcpu_template.
    a585f6ea42ec pinctrl: nuvoton: npcm8xx: Add NULL check in npcm8xx_gpio_fw
    319900a10835 pinctrl: bcm281xx: Fix incorrect regmap max_registers value
    ea8411db9fba fbdev: hyperv_fb: iounmap() the correct memory when removing a device
    99012b24ca23 userfaultfd: fix PTE unmapping stack-allocated PTE copies
    4e9507246298 mm: fix kernel BUG when userfaultfd_move encounters swapcache
    a74979dce9e9 mm/slab/kvfree_rcu: Switch to WQ_MEM_RECLAIM wq
    b2c792d89ac5 yaffs2: switch from readlink_copy() to vfs_readlink()
    807165b1ec1c tools/power/x86/intel-speed-select: Prefix header search path with sysroot
    e97df805b938 drm/tilcdc: Set preferred depth
    7160a4379dcc arch/arm64/configs: remove CONFIG_SM_DISPCC_8650
    6d8ac5ebe6e8 aufs6: core
    587abc1b64c4 aufs6: standalone
    1af41d30ef42 aufs6: mmap
    6ee2464d2e9d aufs6: base
    103b676505f7 aufs6: kbuild
    67281562943f qemux86: add configuration symbol to select values
    73f315ca0823 sched/isolation: really align nohz_full with rcu_nocbs
    1e4e7f8ab622 clear_warn_once: add a clear_warn_once= boot parameter
    918e7a825e8b clear_warn_once: bind a timer to written reset value
    f533f87c3758 clear_warn_once: expand debugfs to include read support
    f149ca27cba9 tools: Remove some options from CLANG_CROSS_FLAGS
    e633abe9c44e libbpf: Fix build warning on ref_ctr_off
    ec0916a4cfc1 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    03721ceb5626 perf: x86-32: explicitly include <errno.h>
    4c36c5295bb0 perf: mips64: Convert __u64 to unsigned long long
    b0200449610d perf: fix bench numa compilation
    aff0940b2212 perf: add SLANG_INC for slang.h
    ef912018d28c perf: add sgidefs.h to for mips builds
    d8860f858b87 perf: change --root to --prefix for python install
    dc38a0eee6e5 perf: add 'libperl not found' warning
    6ed51f8786da perf: force include of <stdbool.h>
    c538d4c4ac65 fat: Replace prandom_u32() with get_random_u32()
    63d94846f0c5 fat: don't use obsolete random32 call in namei_vfat
    7816667451ef FAT: Added FAT_NO_83NAME
    f81dbd60f0d5 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    771cdefba44b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    a24784fd8f88 yaffs2: update to v6.12 folio changes
    d0a48fd46db8 yaffs2: adapt to v6.10 i_time changes
    d097e4d4115a yaffs: fix mtime/itime field access
    4411e0d49fe3 yaffs2: update VFS ctime operations to 6.6+
    1b6619086e8b yaffs2: v6.5 fixups
    25b261ee3c54 yaffs2: Fix miscalculation of devname buffer length
    5c07936a5d1c yaffs2: convert user_namespace to mnt_idmap
    55986a1284b3 yaffs2: replace bdevname call with sprintf
    6f5508f8db8f yaffs2: convert read_page -> readfolio
    fd179a5df5d5 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    c9a620dacdd1 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    78588208ed17 yaffs2: v5.12+ build fixups (not runtime tested)
    8d2dddba272c yaffs: include blkdev.h
    8c1ca9ef9712 yaffs: Fix build failure by handling inode i_version with proper atomic API
    27005cbac2ed yaffs2: v5.6 build fixups
    668211c9f9b7 yaffs2: fix memory leak when /proc/yaffs is read
    285f911dcc1c yaffs: add strict check when call yaffs_internal_read_super
    ffc2ed489ccf yaffs: repair yaffs_get_mtd_device
    6dce4b70a5e3 yaffs: Fix build failure by handling inode i_version with proper atomic API
    19f283abc5d1 yaffs2: fix memory leak in mount/umount
    04e84672b571 yaffs: Avoid setting any ACL releated xattr
    4f221d6a32e2 Yaffs:check oob size before auto selecting Yaffs1
    81f36004e56b fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    26d7a3dd0054 yaffs2: adjust to proper location of MS_RDONLY
    a7016eac4540 yaffs2: import git revision b4ce1bb (jan, 2020)
    feb240bbb91e initramfs: allow an optional wrapper script around initramfs generation
    874746eaa341 drivers: gpu: drm: msm: registers: improve reproducibility
    1d42508faee8 tools: use basename to identify file in gen-mach-types
    4b055eca593d iwlwifi: select MAC80211_LEDS conditionally
    97e20e275ac0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    6dec58319165 defconfigs: drop obselete options
    a416ccb5b6c9 linux-yocto: Handle /bin/awk issues
    7efe8a1e5158 uvesafb: provide option to specify timeout for task completion
    78d10ae07eca uvesafb: print error message when task timeout occurs
    80473b7eb8ca compiler.h: Undef before redefining __attribute_const__
    ddeff2f1a9a7 vmware: include jiffies.h
    3dcdda8912b4 Resolve jiffies wrapping about arp
    3b1507db6735 nfs: Allow default io size to be configured.
    c2fedad05f77 check console device file on fs when booting
    208d6fbada3f mount_root: clarify error messages for when no rootfs found
    dbe9454c8ea0 mconf: fix output of cflags and libraries
    7c7b224f5cce menuconfig,mconf-cfg: Allow specification of ncurses location
    b6c189c81397 modpost: mask trivial warnings
    a5cc21325ba9 kbuild: exclude meta directory from distclean processing
    361ec143c23f powerpc: serialize image targets
    605e6ccb304c arm: serialize build targets
    e94b04fcb7d2 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    44cc7f69a0a0 cpu/amd: inhibit SMP check for qemux86
    a08cb65331e6 x86_64_defconfig: Fix warnings
    8ad332ef777b mips: make current_cpu_data preempt safe
    754f05ddce3f mips: vdso: fix 'jalr $t9' crash in vdso code
    325ff78ff44d mips: Kconfig: add QEMUMIPS64 option
    99ae0eadcf11 4kc cache tlb hazard: tlbp cache coherency
    c6894c66a534 malta uhci quirks: make allowance for slow 4k(e)c
    8b52c01f3294 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    16c7629f035e drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    6b60c874cbb0 arm64: defconfig: cleanup config options
    8e44673ecd89 vexpress: Pass LOADADDR to Makefile
    f34e6805aad5 arm: ARM EABI socketcall
    94dec9b88de4 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: dc1f7b326cd2aa8b074158e24af4ee41614cd459)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:48:04 +01:00
Bruce Ashfield
3408d70d2c linux-yocto/6.12: config: add pmem to genericarm64
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Mikko Rapeli
    Email: mikko.rapeli@linaro.org
    Subject: genericarm64: add pmem feature and enable on genericarm64
    Date: Fri, 14 Mar 2025 11:48:34 +0200

    PMEM enables firmware to provide large memory block devices
    to the kernel. The firmware can download e.g. installer
    rootfs images to memory which kernel can then boot into.

    u-boot support has been added in
    https://lore.kernel.org/u-boot/20241203163605.1482152-2-sughosh.ganu@linaro.org/

    Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 15269f4ef08a5aa40e1794025a294ae66784a9e4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:48:03 +01:00
Bruce Ashfield
8df460977d mips: Add '-std=gnu11' to vdso CFLAGS
Integrating the following commit(s) to linux-yocto/6.12:

1/1 [
    Author: Khem Raj
    Email: raj.khem@gmail.com
    Subject: mips: Add '-std=gnu11' to vdso CFLAGS
    Date: Wed, 26 Mar 2025 20:24:36 -0700

    GCC 15 changed the default C standard dialect from gnu17 to gnu23,
    which should not have impacted the kernel because it explicitly requests
    the gnu11 standard in the main Makefile. However, mips/vdso code uses
    its own CFLAGS without a '-std=' value, which break with this dialect
    change because of the kernel's own definitions of bool, false, and true
    conflicting with the C23 reserved keywords.

      include/linux/stddef.h:11:9: error: cannot use keyword 'false' as enumeration constant
         11 |         false   = 0,
            |         ^~~~~
      include/linux/stddef.h:11:9: note: 'false' is a keyword with '-std=c23' onwards
      include/linux/types.h:35:33: error: 'bool' cannot be defined via 'typedef'
         35 | typedef _Bool                   bool;
            |                                 ^~~~
      include/linux/types.h:35:33: note: 'bool' is a keyword with '-std=c23' onwards

    Add '-std=gnu11' to the decompressor and purgatory CFLAGS to eliminate
    these errors and make the C standard version of these areas match the
    rest of the kernel.

    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Cc: stable@vger.kernel.org
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 832657740c76c63b2e2e9229eb3934c04a5d5ca1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:48:03 +01:00
Antonin Godard
fdf0ab1370 Fix dead links that use the DISTRO macro
After introducing the DISTRO_LATEST_TAG and DISTRO_REL_LATEST_TAG
macros, use them in links that currently use DISTRO/DISTRO_REL_TAG. When
building for the tip of a branch, this will replace the current A.B.999
in links to the latest existing tag.

The links were found across the documentation by running 'grep -r
"http.*5\.2\.999"' inside the _build/html output after building the
docs.

[YOCTO #14802]

(From yocto-docs rev: 29be069ebbf2c55d72fc51d99ed5a558af37c05e)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-21 21:17:02 +01:00
Antonin Godard
5c4cf4b573 poky.yaml: introduce DISTRO_LATEST_TAG
Introduce the DISTRO_LATEST_TAG macro, which should always point to the
latest existing tag in the documentation, unlike DISTRO which may point
to A.B.999 to represent the tip of a branch.

This variable is needed to fix dead links in the documentation that
currently use the DISTRO macro.

Also, make DISTRO_REL_TAG use the DISTRO macro directly, to avoid
repetition, and add a DISTRO_REL_LATEST_TAG macro that has the same role
as DISTRO_LATEST_TAG but with "yocto-" prepended to it.

In set_versions.py, run the "git describe --abbrev=0 --tags
--match='yocto-*'" command to get the latest existing tag on the
currently checked out commit. Fallback to ourversion in case we didn't
find any.

(From yocto-docs rev: a85b0e500c94921f77fa7b7dbb877e4945f96d1e)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-21 21:17:02 +01:00
Andrew Kreimer
e5577538c3 manuals: remove repeated word
The word "modern" appears twice, remove the extra one.

(From yocto-docs rev: 8a2169431551ea29bf45b2eb120a13f0e444e1ea)

Signed-off-by: Andrew Kreimer <algonell@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-21 21:17:02 +01:00
Antonin Godard
90e4af3eff migration-guides/{migration,release-note}-5.2: update for 5.2 release
Document changes between 1c3020f173 ("expat: Upgrade 2.7.0 -> 2.7.1")
up to e894acce6e ("build-appliance-image: Update to master head
revision") in Poky:

- Add a note on the devtool upgrade-status change.
- Be more precise about the usage of multiple repositories in SRC_URI,
  mention that it makes sense for bare clones only.

As the walnascar branch has now frozen and is up for QA, these should be
the one of the last changes to these documents.

(From yocto-docs rev: 322355ead2be9e267368ca47d805f41ae10ad6cc)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-21 21:17:02 +01:00
Antonin Godard
15a7d7b881 ref-manual/variables.rst: improve the PKGV documentation
It may be confusing for users that source control information is not
present in the BitBake environment. Document it as a warning block.

(From yocto-docs rev: 39967b9cc87cf216c4658598806fd7a68db5053a)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-21 21:17:02 +01:00
Peter Marko
39cbc37918 cve-update-nvd2-native: add workaround for json5 style list
NVD responses changed to an invalid json between:
* April 5, 2025 at 3:03:44 AM GMT+2
* April 5, 2025 at 4:19:48 AM GMT+2

The last response is since then in format
{
  "resultsPerPage": 625,
  "startIndex": 288000,
  "totalResults": 288625,
  "format": "NVD_CVE",
  "version": "2.0",
  "timestamp": "2025-04-07T07:17:17.534",
  "vulnerabilities": [
    {...},
    ...
    {...},
  ]
}

Json does not allow trailing , in responses, that is json5 format.
So cve-update-nvd2-native do_Fetch task fails with log backtrace ending:

...
File: '/builds/ccp/meta-siemens/projects/ccp/../../poky/meta/recipes-core/meta/cve-update-nvd2-native.bb', lineno: 234, function: update_db_file
     0230:            if raw_data is None:
     0231:                # We haven't managed to download data
     0232:                return False
     0233:
 *** 0234:            data = json.loads(raw_data)
     0235:
     0236:            index = data["startIndex"]
     0237:            total = data["totalResults"]
     0238:            per_page = data["resultsPerPage"]
...
File: '/usr/lib/python3.11/json/decoder.py', lineno: 355, function: raw_decode
     0351:        """
     0352:        try:
     0353:            obj, end = self.scan_once(s, idx)
     0354:        except StopIteration as err:
 *** 0355:            raise JSONDecodeError("Expecting value", s, err.value) from None
     0356:        return obj, end
Exception: json.decoder.JSONDecodeError: Expecting value: line 1 column 1442633 (char 1442632)
...

There was no announcement about json format of API v2.0 by nvd.
Also this happens only if whole database is queried (database update is
fine, even when multiple pages as queried).
And lastly it's only the cve list, all other lists inside are fine.
So this looks like a bug in NVD 2.0 introduced with some update.

Patch this with simple character deletion for now and let's monitor the
situation and possibly switch to json5 in the future.
Note that there is no native json5 support in python, we'd have to use
one of external libraries for it.

(From OE-Core rev: 131d983dd19ae12bf0746f772b7d7a058e549fb1)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:53:36 +01:00
Lee Chee Yang
9f9e7bbace migration-guides: add release notes for 5.0.8
(From yocto-docs rev: 3b50193fa0c9acf4a601aeae6e1c78d0e4a05aef)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 7494df521ed9c70e877dbdef1adfe38ad717682f)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 16:29:51 +01:00
Lee Chee Yang
539ce63c81 migration-guides: add release notes for 5.1.4
(From yocto-docs rev: 4602e6b42118e7fbd3b6aa07782779047d209bb0)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit f7c8fdfdfef0cac529594af5bdb72e53b29262fe)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 16:29:51 +01:00
Antonin Godard
43d807650a ref-manual/variables.rst: HOST_CC_ARCH: fix wrong SDK reference
When building for nativesdk recipes, HOST_CC_ARCH equals SDK_CC_ARCH,
not BUILDSDK_CC_ARCH which doesn't exist.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: a4a8aca22bb854756eb2ed1e652331bec3c7c68e)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 08fc3446cb13b5bd8781874d2d996899ce12b082)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 16:29:51 +01:00
Antonin Godard
949c0bb2f5 ref-manual/variables.rst: document HOST_*_ARCH variables
These variables control the flags for the assembler, compiler and
linker, but depend on the context.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 8f070b788c9cd6cc16e03505d978177b4c82de03)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit f8eb33569a5e8cadc036855e2d95eee77e627cb4)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 16:29:51 +01:00
Antonin Godard
0c32303252 ref-manual/variables.rst: document missing SDK_*_ARCH variables
These variables control the flags for the assembler, compiler and linker
when building for nativesdk recipes.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 978300e5f14874f2586efa3474c6f3803e3d9031)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit c08f6d3c8aee86264c069b7c30850cb02de76076)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 16:29:51 +01:00
Antonin Godard
ecacb6015a ref-manual/variables.rst: add missing documentation for BUILD_* variables
These toolchain variables are used in a native context. Some of the
BUILD_* variables missed documentation. Also, some of the base commands
were also not there so document them.

Some of existing BUILD_* variable documentation were missing the note
about their usage in a native context, so add it too so that all BUILD_*
variables are documented the same way.

[YOCTO #15719]

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: e42d49218945a030f300dbb608e7cfb0611f5733)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 87103afa1cb6690e9aaa87ca1f23e45eaaa359ac)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 16:29:51 +01:00
Antonin Godard
0990fceebe ref-manual/variables.rst: add manpage links for toolchain variables
Use the :manpage: role to provide links to common toolchain utilities.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 8a25963c8dfc36482582294f0d2e7c7555d96399)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 7023e5f176efde05a6798476712c8a4e006a6b0d)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 16:29:51 +01:00
Antonin Godard
6b2bc1e4cb documentation/conf.py: define a manpage url
By defining the manpages_url we can use the :manpage: role in the
documentation for providing links to manpages. See:
https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-manpages_url

Replace existing manpages links to use this role.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 0d0115cb2d96960837678f775cf5c2297494c51c)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 4e63cd74cd1a330ea5e96bb04243a90f607b2857)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 16:29:51 +01:00
Antonin Godard
5ec826fa2e migration-guides/{migration,release-note}-5.2: improvements and fixes
Address some of the reviews received on the release notes and migration
guide for 5.2:

- Remove the wget fetcher addition, I misread commit 0a9f90ff658e
  ("tests/fetch: support setting PV in the wget fetcher") from BitBake,
  and it actually affects the tests for the wget fetcher, not the
  fetcher itself.
- Add a way to transition from the branch=nameX,nameY syntax. From what
  I have tested, I achieve the same behavior when using one or the other
  syntax.
- Remove the default value for SPDX_PACKAGE_VERSION in the release note.
- Fix a couple of typos.

Suggested-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 39bf43a6009a46d4979337d7401eb46ece618f67)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 16:29:51 +01:00
Antonin Godard
a287584563 ref-manual/classes: ptest-python-pytest: improve the current documentation
Improve the current ptest-python-pytest documentation and
PTEST_PYTEST_DIR variable definition. Namely remove the default value
that may evolve over time.

Suggested-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: a83406103ca73d84fc8f5c50a8968faf91276a62)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 16:29:51 +01:00
Richard Purdie
e894acce6e build-appliance-image: Update to master head revision
(From OE-Core rev: dc2ef2cc1183a14cd3a05d388a1d0485a1bc8d20)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-29 15:37:21 +00:00
Richard Purdie
52b5f6a95d poky.conf: Bump version for 5.2 walnascar release
(From meta-yocto rev: cc5255e3f67566b6e1804097780d49e0c0352480)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-29 15:37:12 +00:00
Richard Purdie
382bf579ad poky-tiny: Drop obsolete/broken comment
The comment is obsolete and contains old override syntax, drop it.

(From meta-yocto rev: f6aee8290359404d9d782313ffb213b5f6c28a55)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-29 15:35:52 +00:00
Richard Purdie
6a79d6f9eb layer.conf: Update layer series name for release
Drop styhead from the layer series name ready for release.

(From OE-Core rev: 56253a6ba8dc2d6c337d947ab40d09d7beeddd24)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-29 15:31:15 +00:00
Richard Purdie
3d8c4ad2cf sanity.conf: Update minimum bitbake version to 2.12.0
This should have been 2.11 previously but the numbers got confused.
Correct it for release.

(From OE-Core rev: d4a7c9d1e72dd6e45458ac6590e76f10805c0818)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-29 15:31:15 +00:00
Richard Purdie
2d7f5904a8 bitbake: bitbake: Update version to 2.12.0 for release
(Bitbake rev: 5b4e20377eea8d428edf1aeb2187c18f82ca6757)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-29 15:28:51 +00:00
Richard Purdie
3f8cb421e3 rust-source: Fix remove_gcc_directory
The patch works for rust-native but not other recipes which change ${S}.
Set it to use the correct path so it works for llvm-rust, cargo and others,
maximising the space saving.

(From OE-Core rev: 1aee0bc109c1457159440c279ddc1fe5a8d89586)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-29 15:24:34 +00:00
Richard Purdie
1fce9adf75 lttng-tools: Update patch status
A couple of patches were merged upstream, mark as such.

(From OE-Core rev: ac8557164ed7a4fc2961a7d15aa202a7f38fb4ed)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-29 15:24:34 +00:00
Richard Purdie
67f6bad529 buildperf: Tweak tooltip positioning for usability
The tooltop contains a key hyperlink to make the graphs usable. Make
it easier to click on the link by removing the space between the data
point and the tooltip.

(From OE-Core rev: a090076e42eb9b41da55fc01ccbbb68f9b8a8cb8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 22:14:14 +00:00
Richard Purdie
6d13662148 buildperf: Avoid step usage in performance line graphs
When using steps in the line chart, you have to look long and hard
to understand if the data is the lower or upper point on the step.

Whilst not as pretty, the sloped line charts are more accurate so
switch to those as the transition points are important and the main
reason for the charts.

(From OE-Core rev: 60cc8cf421c0b04f774fd42a415f275ad457bcdf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 22:14:14 +00:00
Peter Marko
fd85dd43e8 cve-update-nvd2-native: handle missing vulnStatus
There is a new CVE which is missing vulnStatus field:
https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-2682

This leads to:
File: '<snip>/poky/meta/recipes-core/meta/cve-update-nvd2-native.bb', lineno: 336, function: update_db
     0332:
     0333:    accessVector = None
     0334:    vectorString = None
     0335:    cveId = elt['cve']['id']
 *** 0336:    if elt['cve']['vulnStatus'] ==  "Rejected":
     0337:        c = conn.cursor()
     0338:        c.execute("delete from PRODUCTS where ID = ?;", [cveId])
     0339:        c.execute("delete from NVD where ID = ?;", [cveId])
     0340:        c.close()
Exception: KeyError: 'vulnStatus'

(From OE-Core rev: 1508a97b175ccfc52a7ab64cbb4c9ce33d12bcb3)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 22:07:06 +00:00
Yoann Congal
9a9029e0af poky.yaml.in: Raise minimum GCC version to 10.1
Since OE-Core commit 19004950ad56 ("sanity: Check if the C++ toolchain supports --std=gnu++20"),
host GCC must support "--std=gnu++20" for a Yocto build.
This option is available from 10.1.

This is related to [YOCTO #15804].

(From yocto-docs rev: 0e538c102bfcb7184c76c2401e8cb878168c4434)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 15:00:10 +00:00
Antonin Godard
0fffea46ec migration-guides/{migration,release-note}-5.2: update for 5.2 release
Document changes between 0e91a1dabf ("adwaita-icon-theme: upgrade 47.0
-> 48.0") up to b3c21a23ad ("migration-guides/release-notes-5.2:
update for upcoming 5.2 release") in Poky.

(From yocto-docs rev: e61630ba2e4e865b57e920171a62824a4eba6533)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Antonin Godard
4562a9b2f3 ref-manual/variables.rst: document the SPDX_PACKAGE_VERSION variable
This variable controls the package version as seen in the SPDX 3.0 JSON
output (software_packageVersion). The default value for this variable is
PV.

(From yocto-docs rev: 3b483c5295b26748c6f2cd63074b20ac3da97b32)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Antonin Godard
b8c7882472 ref-manual/variables.rst: document the GRUB_MKIMAGE_OPTS variable
This new Grub variable controls the options passed to the grub-mkimage
command in the Grub recipe.

(From yocto-docs rev: 2e5a3c3d5199cad6fb90e0218cdd4a1779743644)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Antonin Godard
a9002c2d03 poky.yaml.in: bump minimum required Python version to 3.9
After commit 67566c7410 ("bitbake: lib/bb: Bump minimum python version
requirement to 3.9") on Poky.

(From yocto-docs rev: 25b5184fe231591b6eb4d6a38563c1370dabebac)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Antonin Godard
2c2d3bd92c ref-manual/system-requirements.rst: update list of supported distributions
Before the 5.2 release, update the list of supported distributions to
match the SANITY_TESTED_DISTROS variable in poky.conf.

(From yocto-docs rev: 9dac392c0d834c0089c514d7ad85beeb04d1b698)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Paul Gortmaker
0570d98f1b requirements: move Ubuntu-20.04 into unsupported category due to python
Bitbake commit 0d2e682d00df ("bitbake: lib/bb: Bump minimum python
version requirement to 3.9" -- poky commit 67566c7410) means that
Ubuntu 20.04 is no longer supported out-of-the-box as detailed further
in the respective commit log.

While it is true that it can still be used with buildtools, that can
also be said for nearly every other unsupported distro out there,
including Ubuntu 18.04 that we listed as unsupported some years ago.
Hence continuing to list it as supported with the new python requirement
in place does not make sense.

So we move it alongside of the 18.04 entry, into the "possibly tested,
but you get what you get" category.  And add an explicit mention of the
buildtools, so people have a thread to pull on.

(From yocto-docs rev: b1c09003dc304b1e65044f343fb341aaed58e6f3)

Signed-off-by: Paul Gortmaker <paulg@kernel.org>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Antonin Godard
9b8f4cf9a9 migration-guides/migration-5.2.rst: final update for 5.2
- Add new/removed supported distributions.
- Set the oldest supported kernel.
- Remove empty sections.

(From yocto-docs rev: c1f2b4e352f636594769f55f15fa69d99d69505a)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Antonin Godard
be14e8aa49 migration-guides/release-notes-5.2.rst: add an entry for addfragments
This should be clearly mentioned in the BitBake section as it is an
valuable addition to 5.2.

(From yocto-docs rev: 62e0fd7ec9581918935b44427326ae74991bd72a)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Antonin Godard
e02cf372bf migration-guides/release-notes-5.2.rst: add security fixes
Add security fixes by going through the log between yocto-5.1 and
walnascar branch tip on Poky.

(From yocto-docs rev: 3c895f4188b8c7aaa87198a8bf85776f545ee6a9)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Antonin Godard
cfaca2fb59 migration-guides/release-notes-5.2.rst: add LICENSE recipe changes
Document LICENSE changes between the 5.1 and 5.2 release.
Extracted for commits message containing the "License-Update:" field in
Poky, between tag yocto-5.1 and walnascar.

(From yocto-docs rev: 725135799c4d3ba117376df230be4a1603779121)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Antonin Godard
b015ce6a59 migration-guides/release-notes-5.2.rst: add recipe upgrades
Extracted from layers.openembedded.org branch comparison tool.

(From yocto-docs rev: 69f084adc7ef4224346ec466e9ccd1255fb738bf)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Antonin Godard
c3862047cf migration-guides/release-notes-5.2.rst: add the list of contributors
Obtained by running:

  git log --format=%an yocto-5.1..walnascar | sort | uniq

On the Poky repository.

(From yocto-docs rev: 8c32f84e75ba4fce9428df7ce68cc2193f26cff7)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Antonin Godard
8c9f86ce06 classes/spdx-*.bbclass: move spdx2 specific variables out of spdx-common class
Setting SPDX_ARCHIVE_SOURCES and SPDX_ARCHIVE_PACKAGED makes no
difference when using the spdx-3.0 class. Move these two in the spdx-2.0
class since they are only used there.

(From OE-Core rev: 8ce06538c9cde0f09909a5a2e61ec10b0d35df49)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 11:19:40 +00:00
Ross Burton
b199e9ff9f scripts/devtool: sort the recipes that need to be upgraded together
Sort the list of recipes for a more visually pleasing display, and to
make it easier to compare output from multiple runs.

(From OE-Core rev: 561e1996d655147199dc1601b5cba0512042de6b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 11:19:40 +00:00
Khem Raj
f811ac0d16 man-db: Do not delete chatset.alias
charset.alias is not generated anymore

(From OE-Core rev: e44fc07386a8e9e84725f4e5bded1c299b3e0896)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 11:19:40 +00:00
Khem Raj
1ed41d125b fmt: Backport patch to fix spdlog ABI issue
(From OE-Core rev: 47f5808d86c4721a16c8d7ae3d0d2b2bfe4d1247)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 11:19:40 +00:00
Ross Burton
847f0f2346 coreutils: fix cksum on musl
musl has subtly different type definitions to glibc, which broke cksum
under musl. Backport a patch from upstream to fix this.

(From OE-Core rev: b177a9d5676cf0cfbaca3c589c513d7d89a2035c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 11:19:40 +00:00
Ross Burton
d1f59f7267 coreutils: add missing ptest dependencies
One tests needs xz, and the acl and attr tests if enabled need the
corresponding tools.

(From OE-Core rev: 9caa68b9af19fea283ecdd55c4a8afd371fe388a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 11:19:40 +00:00
Richard Purdie
1c3020f173 expat: Upgrade 2.7.0 -> 2.7.1
Includes a fix for a regression from the fix for CVE-2024-8176.

License-Update: Copyright years change only

(From OE-Core rev: 10b8ac71d5f3cfe4a36a5ad260ac4ec77459268f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 11:19:40 +00:00
Antonin Godard
b3c21a23ad migration-guides/release-notes-5.2: update for upcoming 5.2 release
Changes since 87d7341465 ("python3-iniparse: remove recipe") up to
9cd6b3ad8b ("cronie: Resolve build failure with GCC15") in Poky.

(From yocto-docs rev: ea1636013722c12e72ca115240c8ce533e05ece2)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Antonin Godard
4130f9a595 migration-guides/migration-5.2: update for upcoming 5.2 release
Changes since 87d7341465 ("python3-iniparse: remove recipe") up to
9cd6b3ad8b ("cronie: Resolve build failure with GCC15") in Poky.

(From yocto-docs rev: c20001db2544c7d1c3cd9a34f629f452a2f3029d)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Antonin Godard
bec55f3182 ref-manual/variables.rst: add a link for BB_USE_HOME_NPMRC
Documented in the BitBake manual.

(From yocto-docs rev: f58b8c80b7665ab5e67398a4ce4bfaa035114278)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Antonin Godard
e7999d5413 migration-guides/migration-5.2.rst: add information about autotools changes
Original patch by Ross Burton:
https://lists.yoctoproject.org/g/docs/message/6466

Moved to the migration manual as it is potentially a breaking change.

Co-developed-by: Ross Burton <ross.burton@arm.com>
(From yocto-docs rev: 9b795ad8fdeadf17f08e03eedc93bc922a2d5736)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Antonin Godard
1bc6298738 ref-manual/variables.rst: document autotools class related variables
Document the AUTOTOOLS_SCRIPT_PATH and the CONFIGURE_SCRIPT variables.

(From yocto-docs rev: b3964a89fd6a5f19a8f45f9b46e8eaa8b8bff38e)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Antonin Godard
801c23ba69 ref-manual/variables.rst: document the NVD_DB_VERSION variable
This variable allows choosing the CVE feed when using the cve-check
class.

(From yocto-docs rev: 639ea86c5034d7706faf14a2ff52b603c3ccd905)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Antonin Godard
879371ca7c ref-manual/variables.rst: document the MESON_INSTALL_TAGS
This variable can be used to add install tags to the 'meson install'
command.

(From yocto-docs rev: 72b502cfb67345cda17bc2ae7af222b7cecb9a0c)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Antonin Godard
bfa657b639 ref-manual/features.rst: drop ld-is-gold
Dropped in OE-Core after commit a4addb9ab630 ("recipes: Drop ld-is-gold
support").

(From yocto-docs rev: 95645cb765b20c3215defe165e7d886da98c1787)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Antonin Godard
235756f049 ref-manual/variables.rst: document the MOUNT_GROUP variable
(From yocto-docs rev: 959735468264bac1bdd7b274fc1477635817c208)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Antonin Godard
1379494769 ref-manual/variables.rst: document the WATCHDOG_RUNTIME_SEC variable
This variable controls the RuntimeWatchdogSec option in
/etc/systemd/system.conf.

(From yocto-docs rev: 6d6b638ee94c3ba36a02ef2289bf246392d8c854)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Antonin Godard
bd156d28fe ref-manual/variables.rst: WATCHDOG_TIMEOUT: fix recipe name
This variable affects the watchdog-config recipe, not the watchdog
recipe.

(From yocto-docs rev: d3350c38910c47c76ed17f24579120013589ca1f)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Antonin Godard
7e822e13de ref-manual/classes.rst: document the ptest-python-pytest class and variables
Add documentation for the ptest-python-pytest class, and the
PTEST_PYTEST_DIR variable which can be overriden.

(From yocto-docs rev: 1abee62c2b9f32dfa42782893940f211db930b4c)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Chen Qi
498666694f mc: fix buildpath QA regarding unzip
When unzip-native is somehow introduced indirectly into the dependency
chain, then we get buildpath QA issue. Pass a similar value as the ZIP
to fix this issue.

(From OE-Core rev: 8d4987cf652c9844d93000fb012dc09eebcf9fcc)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 13:41:58 +00:00
Deepesh Varatharajan
01dbb30d39 rust: Oe-selftest changes for rust v1.84.1
Ignore the failing unit test.

The tidy check failed due to a typo, which was already reported and
fixed in the Rust upstream.

Upstream-Status: Backport [8e77349782]

(From OE-Core rev: 94a244a14075ead1b3b5e966c0fe713cd448cad8)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 13:41:58 +00:00
Deepesh Varatharajan
28a077b4aa rust: Fix build failure when multilibs are enabled
When multilibs are enabled, building rust is failing because of the following commit
68034f837a
with stage1/rustc cannot able to find dependent *.so files. The issue is
been fixed inrust-master with the following commit by passing the necessary library
paths before executing stage1/rustc

Upstream-Status: Backport [139d6ba054]

(From OE-Core rev: ab29b970ba7e08eabca92018d103af5f249ed2c5)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 13:41:58 +00:00
Deepesh Varatharajan
6d78fbe5c5 rust: Upgrade 1.83.0->1.84.1
Rust stable version updated to 1.84.1.
https://blog.rust-lang.org/2025/01/30/Rust-1.84.1.html

Renamed and modified the below patch to adapt the new version.
rv32-cargo-rustix-0.38.37-fix.patch->rv32-cargo-rustix-0.38.38-fix.patch

Modified the below patches to adapt the new version.
repro-issue-fix-with-cc-crate-hashmap.patch
revert-link-std-statically-in-rustc_driver-feature.patch

Dropped the below patches :
0001-NFC-fix-build-failure-100993.patch
6ee49080e4

revert-Zdual-proc-macros-additional-check.patch
Issue is fixed in rust-master and the fix is backported in the
subsequent patch of the series.

(From OE-Core rev: 4265f668de8c6708cb3a003ad655559031724149)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 13:41:58 +00:00
Deepesh Varatharajan
824f05fe73 rust: Fix build break because of "download-rustc" and "llvm-tools"
>From Rust 1.84, the download-rustc and llvm-tools options were set to True
(previously they were False)

cce6f03754
(download-rustc)

38f0c099b2
(llvm-tools)

For tarball sources, the download-rustc option should be False, so it has been
reverted back to False.

Setting llvm-tools to True caused issues with finding llvm-objcopy, so this
has been changed back to False.

Upstream-Status: https://github.com/rust-lang/rust/pull/134240/

(From OE-Core rev: 2eb952d839e72c24a4180a57631c77910a0da980)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 13:41:58 +00:00
Deepesh Varatharajan
2cb5d1accc rust: Fix bloat issue in recent rust updates
Remove the "src/gcc" directory from the Rust source code to reduce the
filesystem build space.

In Rust 1.83 (and 1.84), a full GCC-14 tree was included, which caused
the tar.xz archive to increase by 128 MB and the unpacked sources to
grow by 1.3 GB. This was an upstream error that has been resolved in
Rust 1.85.

After updating to Rust 1.85 we can revert this removal of "src/gcc"

(From OE-Core rev: 26a345adc8e050657bfa0b51ea92a3d89e698d9a)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 13:41:58 +00:00
Ross Burton
43a2be2897 bitbake: tests/fetch: add a test for download paths without a proper filename
For example the miniupnpd recipe has a SRC_URI like this:

    http://miniupnp.tuxfamily.org/files/download.php?file=${BP}.tar.gz

In this case the path is /files/download.php, which isn't useful when
the latest_upstream logic bails early if there is no version in the path.

The logic now also checks in the downloadfilename, so add a test that
this works as expected.

(Bitbake rev: fffbf5d5e1c8556cddf0794e0b303bb0106747a0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 13:40:31 +00:00
Ross Burton
58c015cdd7 bitbake: tests/fetch: support setting PV in the wget fetcher
Some code paths in latest_versionstring() need PV to be set correctly.

(Bitbake rev: 0a9f90ff658e09feda63b398ec35715a65ff6193)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 13:40:31 +00:00
Ross Burton
63246241f9 bitbake: tests/fetch: use a namedtuple for the wget test data
Use a named tuple so the test can access named members instead of just
accessing the data via index, which is harder to understand.

(Bitbake rev: 4b15652c84b06f0506c757e2647875a9b1cc7bfe)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 13:40:31 +00:00
Ross Burton
c3fc67960e bitbake: bb/tests: use subtests when looping in a test case
Marking the test iterations as subtests means that when one fails, it
can identify clearly which iteration has failed.

(Bitbake rev: 52c55e681332d7cdbe06f3c9d9c8d77cb0cb93f6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 13:40:31 +00:00
Ross Burton
3233f3b231 bitbake: fetch2/wget: use long arguments for clarity
It's best practise to use long-form arguments in scripts where the
conciseness of short arguments is less useful than in an interactive
terminal.

(Bitbake rev: 54039bc9d169871af6d36578df4c21bff296f6de)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 13:40:31 +00:00
Ross Burton
372a9c2d56 bitbake: fetch2/wget: don't conditionalise --continue
If the target file exists, we pass --continue so that wget will try to
resume the download instead of starting from the beginning.  However if
the file doesn't exist --continue has no effect, so there's no need to
conditionalise the use of the argument.

(Bitbake rev: a5ee50d4d2b2e6c00abe1551382afd9799345dbf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 13:40:31 +00:00
Ross Burton
f976a7d4fb bitbake: fetch2/wget: consider downloadfilename when checking for upstream
latest_versionstring() currently looks at just the end of the URI when
guessing what the filename to look for is, but this doesn't work if the
URL filename is not simple.

For example, miniupnpd has a SRC_URI of:

  http://miniupnp.tuxfamily.org/files/download.php?file=${BP}.tar.gz;downloadfilename=${BP}.tar.gz

The filename component of this is "download.php", which causes the
heuristics in latest_versionstring() to exit early.

Instead, if the downloadfilename is set then use that, as it's often the
actual filename that we're after.

(Bitbake rev: 2d5f135e997d13fabda0ad266fd5c928ee33f487)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 13:40:31 +00:00
Christian Lindeberg
c00ad319d4 bitbake: fetch2/gomod: Fix mirroring problem
Build the 'downloadfilename' parameter by replacing path separators in
the module path like the git fetcher builds the mirror tar ball name.
Copy the downloaded file in the fetcher's unpack method like the crate
fetcher instead of calling the base fetcher's unpack method.

(Bitbake rev: 7762cea087597019460d66b04268757bd46befdf)

Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:33 +00:00
Khem Raj
ecff1d6a2d vulkan-samples: Fix build with GCC-15
Include cstdint for uint32_t definition
Update to tip if trunk as it helps with GCC-15 fixes

(From OE-Core rev: 1db86a3381c94951de44bb2b6ec840fd99a7d4be)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:04 +00:00
Ross Burton
bf94ea1cc4 flex: build occasional build failures in test suite compile
GNU Make 4.4 has added --shuffle, which randomly orders build jobs and
is great at exposing missing dependencies. Using this the known problem
with the flex test suite build was found and resolved, so remove the
workaround of doing a non-parallel build and apply a patch.

Also remove redundant Make variables that shouldn't be needed to build
the test suite.

(From OE-Core rev: 1bc37e10690dc906da41b9592bc8776bddf4b90b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:04 +00:00
Ross Burton
760a61a707 flex: remove obsolete disable-tests.patch
We added this because automake was causing things to be built, but now
this doesn't seem to be the case:

  all: all-am

  all-am: Makefile $(SCRIPTS)

  SCRIPTS = $(dist_noinst_SCRIPTS)

  dist_noinst_SCRIPTS = tableopts.sh

tableopts.sh is a source file that is both in the tarballs and git.

Thus, remove the patch.

(From OE-Core rev: 13e8a2831abcb9edd352fcdc6d1f3be0670b1242)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:04 +00:00
Pavel Zhukov
9863ffc50f overlayfs-etc: Unmount /sys and /proc before init
/sys filesystem mounted by the preinit script causes shadowing of
/sys/firmware/efi/ by double /sys mounting on systemd enabled systems
[1]. As the result EFI tooling is broken

[1]
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,relatime)

(From OE-Core rev: 94b3f86bac16ac3be468e23e1f6aad69cdf502d3)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:04 +00:00
Ross Burton
6ade544faa acl: improve ptest packaging
As there's a small number of  test binaries in acl, instead of
installing large chunks of the build tree we can install just those and
use a boilerplate test runner.

Drop 0001-tests-do-not-hardcode-the-build-path-into-a-helper-l.patch and
replace with an explicit -DBASEDIR= flag passed at build time.

Drop 0001-test-patch-out-failing-bits.patch and delete the tests that
fail entirely as they won't work without a specific user/group setup.

Backport a patch from upstream so that some tests don't use excessive
amounts of memory.

Backport a patch from upstream to cater for both glibc and musl's
behaviour with interleaved stdout/stderr, fixing the tests on musl.

Clean up dependencies now that we're not shipping the build system.

(From OE-Core rev: 2d82d5ea612ae6d7ac177f2a2792b3e3fdac1c70)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:04 +00:00
Khem Raj
d58e862cf6 man-db: Add missing rdep for col utility
man utility calls col utility internally when formatting is asked for
therefore it expects col to be in rootfs otherwise silently errors with
retcode 3 meaning 'file not found' in this case its due to col not being
found, other distros eg. gets this via bsdextrautils dependency

Add it via packageconfig and keep is disabled by default since its
deprecated and col does not exist on musl

libssh2 ptest mansyntax.sh fails due to this error, which now works

(From OE-Core rev: bf5c8801b471fa13df9d55932375bfaedb623bd0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:04 +00:00
Ross Burton
32139d1420 attr: improve ptest packaging
As there's just a few test binaries in attr, instead of installing large
chunks of the build tree we can install just those and use a boilerplate
test runner.

Also add a comment explaining why we have to sed the test suite if musl
is used.

(From OE-Core rev: baa1cbab47326656f762562303ddf4b0d9cc2b5c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:04 +00:00
Ross Burton
862a1f2904 attr: merge .bb and .inc
There's only one recipe using the .inc so the split is mostly pointless.

(From OE-Core rev: a6f29ced550251487211d8a83dc00e98b306e544)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:04 +00:00
Ross Burton
358ada6aaf perl: add more module RDEPENDS that don't get detected
These dependencies are in the source but the dependency generator does
not see them.

(From OE-Core rev: 0099694d561dd7cde4a60d6e1410f92f070cdd1e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:04 +00:00
Khem Raj
514ebd4303 unifdef: Drop md5sum for SRC_URI
(From OE-Core rev: 16c54ecc79e8777686a02a947f99b53ca422d1b7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:04 +00:00
Khem Raj
892ca27882 apt: Fix build with GCC 15
(From OE-Core rev: ac53f79999bb8301380d7c58025f6fed75e40c9a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:04 +00:00
Khem Raj
03f2311938 gperf: Pin to C17 std
gperf needs to be ported to work with C23 standard
especially around getopt function signatures

(From OE-Core rev: 27c869a671632d4cfeb26585b23b37d3a06066be)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:04 +00:00
Khem Raj
26fe9d5948 xinetd: Pin to C17 std
GCC 15 is coming with C23 as default and code is not ready for C23

(From OE-Core rev: 9b8b9ebc7583f82dfee532dc1998c005a0c254c2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:04 +00:00
Khem Raj
c7779118be syslinux: Use -idirafter to add back path for system stdarg.h
syslinux uses -nostdinc to build freestanding, which makes sense, however
it also tried to latch its own copy of stdarg.h to include system stdarg.h
via "include_next" compiler magic, so it poses to provide own stdarg.h but
then secretly include system version behind the scenes :)

It uses -nostdinc -iwithprefix include

hoping that gcc is uses and gcc has its include-fixed abstraction which
also contains stdarg.h so in the end it will find a version of stdarg.h
from system (even though it is from the compiler install ) and things will
work.

On musl, include-fixed is not expected and system includes are simplified
so that everyone can look into <sysroot>/usr/include to find them. This
can throw syslinux compilation into problems as now it does not find
the header from -iprefix and ends up with errors like

/mnt/b/yoe/master/sources/poky/build/tmp/work/core2-32-poky-linux-musl/syslinux/6.04-pre2/syslinux-6.04-pre2/com32/lib/../include/stdarg.h:9:15: fatal error: stdarg.h: No such file or directory
    9 | #include_next <stdarg.h>
      |               ^~~~~~~~~~
compilation terminated.

Therefore, we use -idirafter to point it into target sysroot as fallback
for system headers if it needs them, its added at the very last in search
order. It also keeps working with glibc based toolchains as usual and
also works with musl toolchains.

(From OE-Core rev: 40413233429ceb902d8eb30ccc56aa7a182db772)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:04 +00:00
Khem Raj
99d0673924 lrzsz: Fix build with gcc-15
(From OE-Core rev: 565bfe5d2af9fe8d70886d5ac529d62dd0bc055c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:04 +00:00
Khem Raj
a421ad3816 ghostscript: Pin to C17 std
The code defines a custom 'bool' type (as an 'int'), which is incompatible
with C23 in which bool is a keyword, and trying to use <stdbool.h> fails
because 'int' and 'bool' are used interchangeably in the code.

Add the flag to CC variable, since CFLAGS is used by both c and c++ compilers
and clang++ is less forgiving when C compiler only option is used on its
cmdline so it complains about -std=gnu17 and bails out.

(From OE-Core rev: 49657089ef215824f8f79a81deb7baf4f27d0030)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:04 +00:00
Khem Raj
7d8c805f8f alsa-tools: Fix build with gcc 15
Fix reset_changes_boot() signature

(From OE-Core rev: f30f314d03148fc4c0ebeb0e189ac42a0d31722c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:03 +00:00
Khem Raj
d7b46cb079 mtd-utils: Fix GCC version detection
Helps building with GCC with 0 in minor version e.g. 15.0.1

(From OE-Core rev: ed24490dccf348ba55816d45a2444d4bf0f574c8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:03 +00:00
Khem Raj
a6b876bc48 parted: Fix build with GCC 15
(From OE-Core rev: a37d5e98695793d7fa45c89cb47688ab453d13b1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:03 +00:00
Khem Raj
d56592776d bc: Add missing params to getopt/getenv signatures
Fix build with GCC 15 on musl

(From OE-Core rev: 22418116d6dd7b3475d074ecb6a0b1d5c00b229b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:03 +00:00
Khem Raj
48e34a905e db: Disable incompatible-pointer-types warning as error
GCC-15 treats this warning as error

(From OE-Core rev: f2fce342022f2d87a8679e6aeccfc20c380af5fe)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:03 +00:00
Khem Raj
1b716172ae which: Fix build with gcc-15 on musl
(From OE-Core rev: 17993bc259c603bdbdb54c930c2c054fd178b391)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:03 +00:00
Khem Raj
0480bea97a gawk: Fix build with gcc-15 on musl
getopt signature needs to include parameters or else gcc-15 complains

(From OE-Core rev: 1ec77b42d83c5059b581c0adeb2d816105411230)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:03 +00:00
Khem Raj
50a2fac8ac groff: Fix build with GCC-15 on musl
part of getopt.c is used in non-glibc libraries needs
attention when compiling with gcc-15

(From OE-Core rev: 01e7393565037119602a789ff02bf9f2e6b07b4d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:03 +00:00
Khem Raj
afeb5ba6f1 make: Fix signatures for getenv() and getopt()
Fixes build with GCC 15

(From OE-Core rev: 6b0ca7f009b3473d9793159d82807f1a22520914)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:03 +00:00
Khem Raj
7dae0ab041 nettle: Fix build with GCC-15
These signatures are exposed when build with musl particularly

(From OE-Core rev: 2379010dfecffedc8d4253a03d5cb348f17ecee9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:03 +00:00
Khem Raj
5f081bc5fa unifdef: Don't use C23 constexpr keyword
Fixes build with GCC-15

(From OE-Core rev: 6aa6b4d59cbbc385edd96fa489b27c1a1848566a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:03 +00:00
Richard Purdie
8050390f99 meta/conf: Start to populate autobuilder config fragments
This populates the fragments directory with:

a) the default set of variables used in all autobuilder builds
b) the default resource related variables used in all autobuilder builds
c) three different multilib test configurations used by the autobuilder

The aim here is to start to make some of the autobuilder configuration more
visable and patchable by users, and to allow some test confiturations to
be user selectable if appropriate and needed for debugging.

The main aautobuilder fragment is probably not directly reusable by most
users, it contains the resource limits as used on the autobuilder itself. I
can see arguments both way for whether this should be included in OE-Core or not
but having an example of how we configure this is probably useful.

Not all configuration in the autobuilder is being moved, this set of variables
is just a basic starting point. Some variables may ultimately make more sense
being migrated elsewhere, perhaps updating the main defaults for poky or nodistro.

(From OE-Core rev: 746dc664da9c289a3063350590d3b5aada13d8d6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-26 18:45:13 +00:00
Quentin Schulz
5d81f07c16 b4-wrapper-poky.py: output errors to stderr
Print error messages to stderr instead of stdout.

The commands run as part of send-auto-cc-cmd and send-auto-to-cmd b4
commands will make b4 raise an Exception if they return a non-zero
return code and it will only print the content of stderr before that.

Because print defaults to stdout, b4 would raise the exception and not
tell the user why. This commit should now provide a hint to the user
about what went wrong.

Reported-by: Khem Raj <raj.khem@gmail.com>
(From OE-Core rev: 225990c55a5cbf8498e2aa775e6406c27a4c0ea7)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-25 21:20:41 +00:00
Yogita Urade
743d30e854 libarchive: upgrade 3.7.7 -> 3.7.8
This upgrade includes fix for CVE-2024-57970, CVE-2025-25724 and
CVE-2025-1632

Changelog:
==========
Libarchive 3.7.8 is a bugfix and security release

Security fixes:
tar reader: Handle truncation in the middle of a GNU long linkname (#2422, CVE-2024-57970)
unzip: fix null pointer dereference (#2532, CVE-2025-1632)
tar reader: fix unchecked return value in list_item_verbose() (#2532, CVE-2025-25724)

Important bugfixes:
7zip reader: add SPARC (#2399) and POWERPC (#2459) filter support for non-LZMA compressors
tar reader: Ignore ustar size when pax size is present (#2405)
tar writer: Fix bug when -s/a/b/ used more than once with b flag (#2435)
cpio: Fix a Y2038 bug on Windows (#2471)
libarchive: Handle ARCHIVE_FILTER_LZOP in archive_read_append_filter (#2519)
libarchive: Adding missing seeker function to archive_read_open_FILE() (#2539)

(From OE-Core rev: 861d6a37e9457510e526c7cd5a63c82d9c48b591)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-25 21:20:41 +00:00
Martin Jansa
41dbf14659 cargo.bbclass: show PACKAGECONFIG_CONFARGS in bbnote
* PACKAGECONFIG_CONFARGS was added in:
  https://git.openembedded.org/openembedded-core/commit/?id=16745b20452de60ae2474433cc1a2fb1ed9f6a64
  but it wasn't added in bbnote above which might lead to confusing errors like I got now:

  NOTE: cargo build -v --frozen --target aarch64-webos-linux-gnu --release --manifest-path=.../git//Cargo.toml
  error: unexpected argument '--cfg' found

  Usage: cargo build --verbose... --frozen --target [<TRIPLE>] --release --manifest-path <PATH>

  and was wondering where --cfg came from.

* it was from recipe where we already use:
  RUSTFLAGS:append = " ${PACKAGECONFIG_CONFARGS}"
  it will be difficult to use PACKAGECONFIG for RUSTFLAGS and prevent
  them to be used here for cargo as well, what about the recipes which
  need them to explicitly append them to CARGO_BUILD_FLAGS ?

(From OE-Core rev: 38d953b2ffd4e0cee9e77f97988e44be105023c6)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-25 21:20:41 +00:00
Ross Burton
84c2919180 meson: refresh upstreamed patch
(From OE-Core rev: 160a088fbe19d0b3c65040b9bc04cc8bdd3d0d24)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-25 21:20:41 +00:00
Khem Raj
18972fa0e0 lrzsz: Drop setting md5sum for SRC_URI
Its deprecated

(From OE-Core rev: c323495407410996fac690fe5c1caf243ee2e2c0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-25 21:20:41 +00:00
Khem Raj
6f0ad507df which: Drop md4sum for SRC_URI
(From OE-Core rev: 1e7417f4d8f0c0c942686cd4462a4326381c3ecb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-25 21:20:40 +00:00
Richard Purdie
513ba822d7 sanity.conf: Require bitbake 2.9.2
We need a version of bitbake with the fetcher revision changes in it,
update the minimum version accordingly.

(From OE-Core rev: ec54f71dcf8166c725ff89f8689c177431bd0b52)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-25 21:20:40 +00:00
Richard Purdie
2d66669b8c bitbake: bitbake: Bump version to 2.9.2
After the fetcher revisions changes, we need a new version marker to
match this with in OE-Core.

(Bitbake rev: 8cc976e2792fdde3900729f3b09dd18ab640b5e8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-25 14:29:18 +00:00
Khem Raj
4a09308068 man-db: Fix musl build with NLS
_nl_msg_cat_cntr is not defined in libintl on musl systems
therefore add configure time check for it and use it to guard
the use of _nl_msg_cat_cntr

(From OE-Core rev: 0e9bc9620f992371b08ff1aef202d0d4737b9dd6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:37:52 +00:00
Jamin Lin
3bc048c01a ref-manual: uboot-sign: Add how to enable ATF, TEE and User defined snippet ITS for U-Boot FIT image
Add how to enable ATF, TEE and User defined ITS for U-Boot FIT image generation.

(From yocto-docs rev: ee6b3698da044e290dbc4fbb852f3cc37638e689)

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:32:34 +00:00
Antonin Godard
869c4f3adb migration-guides/release-notes-5.2: add known issue on stalled NVD
Add an entry to the known issue as the NVD is not up-to-date, the
impact on current CVE reports and future plans for the Yocto Project.

Follows the discussion on:
https://lists.openembedded.org/g/openembedded-core/message/212446

(From yocto-docs rev: c83aa6649fb7bca7e6b393356c8268aa4f18dc4b)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:32:34 +00:00
Adrian Freihofer
7f3dbf4f84 ref-manual: variable FIT_SIGN_INDIVIDUAL mix-and-match attacks
Incorporate the lessons learned from a regression introduced with commit
  OE-Core rev: 259bfa86f384206f0d0a96a5b84887186c5f689e
               u-boot: kernel-fitimage: Fix dependency loop if
               UBOOT_SIGN_ENABLE and UBOOT_ENV enabled
and fixed with commit
  OE-Core rev: 0106e5efab99c8016836a2ab71e2327ce58a9a9d
               u-boot: kernel-fitimage: Restore FIT_SIGN_INDIVIDUAL="1"
               behavior
into the documentation.

The use of the variable FIT_SIGN_INDIVIDUAL is explicitly discouraged.

(From yocto-docs rev: d34e1d4e3f229bcd6560fe7df544869b0cd9875f)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:32:34 +00:00
Antonin Godard
61a7192719 overview-manual/concepts: add UNPACKDIR in the directory description
Mention that UNPACKDIR is used as a location to unpack the source code,
and that S is the final location of the source code. This is
deliberately vague, because as there are multiple instances of how these
directories can be defined and used.

The proper explanation of how the UNPACKDIR and S directories interact
is left to the reference manual, under the UNPACKDIR variable
description.

(From yocto-docs rev: 76361ae37bd45c9ce5190fb6c7c400bf2fc14003)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:32:34 +00:00
Antonin Godard
2d843491f3 overview-manual/concepts: remove PR from the build dir list
PR was removed by cc83e4548465 ("bitbake.conf: Drop PE and PR from
WORKDIR and STAMP") on OE-Core.

(From yocto-docs rev: 569c707c69a7a858553e40b26cb36db18f2a42fc)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:32:34 +00:00
Antonin Godard
bfcd4d10a6 overview-manual: convert analysis-for-package-splitting.png to svg
- Convert the png file to an SVG file
- Add the UNPACKDIR reference.
- Remove ${PR} from WORKDIR value, after cc83e4548465 ("bitbake.conf:
  Drop PE and PR from WORKDIR and STAMP") on OE-Core.
- Change S value to BP (equal to ${BPN}-${PV}, but more accurate).

(From yocto-docs rev: 6fd6af3ea9e556e481cc3c0358c0357b6060798f)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:32:34 +00:00
Antonin Godard
2cd05764b7 overview-manual: convert configuration-compile-autoreconf.png to svg
- Convert the png file to an SVG file
- Add the UNPACKDIR reference.
- Remove ${PR} from WORKDIR value, after cc83e4548465 ("bitbake.conf:
  Drop PE and PR from WORKDIR and STAMP") on OE-Core.
- Change S value to BP (equal to ${BPN}-${PV}, but more accurate).

(From yocto-docs rev: f24b00200ac49cda07e4c77e3e1b161a5b78b006)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:32:34 +00:00
Antonin Godard
4fefecd271 overview-manual: convert patching.png to svg
- Convert the png file to an SVG file.
- Add the new UNPACKDIR directory to the image.
- Remove ${PR} from WORKDIR value, after cc83e4548465 ("bitbake.conf:
  Drop PE and PR from WORKDIR and STAMP") on OE-Core.
- Change S value to BP (equal to ${BPN}-${PV}, but more accurate).-

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 73b6c0c5e5470d4a929fd3d5cde6d4fb0ace53b8)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:32:34 +00:00
Antonin Godard
2483391bef overview-manual: convert source-fetching.png to svg and fix UNPACKDIR
- Convert the png file to an SVG file.
- Add the new UNPACKDIR directory to the image.
- Remove ${PR} from WORKDIR value, after cc83e4548465 ("bitbake.conf:
  Drop PE and PR from WORKDIR and STAMP") on OE-Core.
- Change S value to BP (equal to ${BPN}-${PV}, but more accurate).-

This fixes [YOCTO #15730].

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 9fc105137d54523b1f9a477fe7b52587a6bcb6c8)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:32:34 +00:00
Ross Burton
f1021dafb7 dev-manual: remove qemu machine name list in runqemu invocation
This list of "valid" qemu machine names is obsolete and incorrect, so
just remove it as it serves no real purpose.

(From yocto-docs rev: ee8839480fe574598b4d52a8fd6c11bb301ad3d9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:32:34 +00:00
Adrian Freihofer
87cccf1bb8 migration-guides: cover FIT_UBOOT_ENV
Add a hint for users using the UBOOT_ENV variable and the
kernel-fitimage.bbclass.

(From yocto-docs rev: 4d04531d4015bb61e68dfbed87d743772b6178b7)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:32:34 +00:00
Richard Purdie
f502a9a108 bitbake: Revert "bblayers/query: Fix using "removeprefix" string method"
This reverts commit 004cfdec1c865f2351bbac99acb3d63bfef9d380.

Now we have python 3.9 as a minimum we can do this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:29:55 +00:00
Yi Zhao
d4993c837a coreutils: fix segfault for ls --context
Backport a patch to fix crash for ls --context when enable selinux:

root@qemux86-64:~# ls -Z /home
Segmentation fault (core dumped)

(From OE-Core rev: 414c7767fbfecf3afa4e64e8e3f50d56b6a65310)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:29:16 +00:00
Hongxu Jia
0834a9cdf6 spdx3: support to override the version of a package in SBOM 3
By default, still use ${PV} as the the version of a package in SBOM 3
$ bitbake acl
$ jq . tmp/deploy/spdx/3.0.1/core2-64/packages/package-acl.spdx.json
...
    {
      "type": "software_Package",
       ...
      "name": "acl",
      "software_packageVersion": "2.3.2"
    },
...

Support to override it by setting SPDX_PACKAGE_VERSION, such as
set SPDX_PACKAGE_VERSION = "${EXTENDPKGV}" in local.conf to append
PR to software_packageVersion in SBOM 3
$ echo 'SPDX_PACKAGE_VERSION = "${EXTENDPKGV}"' >> conf/local.conf
$ bitbake acl
$ jq . tmp/deploy/spdx/3.0.1/core2-64/packages/package-acl.spdx.json
...
    {
      "type": "software_Package",
       ...
      "name": "acl",
      "software_packageVersion": "2.3.2-r0"
    },
...

(From OE-Core rev: e6ff5f4d870624795bd36572f5c2bfeec90d83ce)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:29:16 +00:00
Vivek Puar
b9620d79c0 linux-firmware: update qca-qca61x4-usb package contents
The NVM and rampatch files for QCA61x4 USB chips went
to qca-qca2066 instead of -qca-qca61x4. Fix package contents.

(From OE-Core rev: 15f256962f2b0f64c887137259a7f96cdac63150)

Signed-off-by: Vivek Puar <quic_vpuar@quicinc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:29:16 +00:00
Vivek Puar
6d939c7d62 linux-firmware: upgrade 20250211 -> 20250311
Add gpu firmwares for qcs8300 chipset to
${PN}-qcom-adreno-a623 and
${PN}-qcom-qcs8300-adreno packages

Add bluetooth firmwares for QCA2066
to ${PN}-qca-qca2066 package.

Add firmware files for Adreno A225
to ${PN}-qcom-adreno-a2xx package

License-Update: additional files

(From OE-Core rev: f3a36b736802a06667f88903f75cd2d52770cd79)

Signed-off-by: Vivek Puar <quic_vpuar@quicinc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:29:16 +00:00
Valeria Petrov
e6a25fecfc grub2: Add GRUB_MKIMAGE_OPTS for configurable grub-mkimage options
Introduce the GRUB_MKIMAGE_OPTS variable to allow additional options
to be passed to grub-mkimage, making its behavior more configurable.
(for example, this allows disabling shim lock when necessary).

Update do_mkimage to use ${GRUB_MKIMAGE_OPTS}. This change reduce the
need for hardcoded modifications and makes future adjustments easier.

(From OE-Core rev: a6147adefcba7aae3f4eb8ed76d6a94315cafe61)

Signed-off-by: Valeria Petrov <valeria.petrov@spinetix.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:29:16 +00:00
Niko Mauno
2c1ae6e2ff iproute2: Add iptables PACKAGECONFIG knob
iproute2 detects presence of iptables during building and can also
be built without it. Add PACKAGECONFIG option which allows user to
optionally leave it out, and enable it by default to keep current
recipe behavior.

(From OE-Core rev: 07ddaeaacaab4c3e264816dea6de32378617bf4e)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:29:16 +00:00
Khem Raj
64577ef186 opensbi: Do not inherit autotools bbclass
This package is built using simple makefiles, therefore using
autotools bbclass is not right and moreover it is now a hard
error in core

(From OE-Core rev: 3754ebfc0ef127922bce24c5afde4306541ce2f4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:29:16 +00:00
Niko Mauno
34b7b0f86d packagegroup-core-x11: Drop dbus-x11 in REDEPENDS:${PN}-utils
Commit 5dfca64b78 ("dbus-glib: depend on
dbus, not dbus-x11") mentions that

  dbus-x11 hasn't existed as a package since 2012[1] and is just a
  RPROVIDES in dbus, so depend on dbus directly instead.

Since similar change here would induce an error:

  An allarch packagegroup shouldn't depend on packages which are dynamically renamed (dbus to dbus-1)

and since dbus package can hardly be considered a X11 utility,
remove the entry altogether.

(From OE-Core rev: fcee101f65a3fbe1fb0420bf617fef498175a38e)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:29:16 +00:00
Markus Volk
43c8878da5 gsettings-desktop-schemas: update 47.1 -> 48.0
This update is required for gnome-control-center-48

Major changes in 48.0
=====================
- Translation updates
Major changes in 48.rc
======================
- Switch to JPEG for background image
- Translation updates
Major changes in 48.beta
========================
- Switch to Adwaita Fonts
- Split data recording and limits in time limits schema
- Set more useful defaults on stylus buttons
- Translation updates
Major changes in 48.alpha
=========================
- Add screen limits schema
- Fix gendered language in key descriptions

(From OE-Core rev: 54693d6df561d4e23a1aacf2d55d7f52485008a2)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:29:16 +00:00
Matthias Schiffer
9f5260e039 Revert "git: git-replacement-native: depend on ca-certificate"
This reverts commit 2e99ffda70fd95b5eab3de47048032349cd66f4b.

git-replacement-native is used only to provide a newer version than may
be installed on the system; apart from that, it should work more or less
the same.

In particular, it is using the host system's /etc/gitconfig; it should
also use the system CA certificates, otherwise it will break HTTPS
connections in environments that need local certificates, for example
for a corporate HTTP proxy. The override had been added to deal with
curl-native relying on the existence of its workdir to access CA
certificates, which has been fixed in the curl recipe now.

(From OE-Core rev: d18f4d9d2ac75f58669754f1e4b7a1313eb9db32)

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:29:16 +00:00
Matthias Schiffer
7ed9f4b7aa curl: only set CA bundle in target build
In native/nativesdk builds, sysconfdir refers to a recipe sysroot
directory, which will disappear once the workdir is cleaned up, breaking
libcurl's HTTPS connections.

By simply not setting --with-ca-bundle at all in non-target builds, curl
defaults to the host system's CA certificates, which is desirable anyways
to allow builds in environments that require local CA certificates.

(From OE-Core rev: 4909a46e93ba774c960c3d3c277e2a669af3fea6)

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:29:16 +00:00
João Henrique Ferreira de Freitas
239a262c12 neard: use WIRELESS_DAEMON
Honor WIRELESS_DAEMON when wifi is enable for DISTRO_FEATURE.

(From OE-Core rev: 86b408919d9506b6f1ba69c96f1bc6212e724bbc)

Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:29:16 +00:00
Khem Raj
6988ab0efa webkitgtk: Fix build on RISCV
(From OE-Core rev: 342d6e8c268064b312ecf012997d14b764931407)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:29:16 +00:00
Khem Raj
3d9391891d babeltrace2: Fix build with clang on 32bit hosts
clang-20 unveils more build issues

(From OE-Core rev: 7d5dc608ddab89f8d856a8aa39544f2fade55dba)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:29:16 +00:00
Joshua Watt
3b585c5e11 oeqa: spdx: Add tar test for SPDX 2.2
The base-files test for SPDX 2.2 did not give good coverage, since
base-files doesn't have any dependencies. Add building tar as another
test which more fully exercises the code

(From OE-Core rev: d678e25419c89e09c1c438363bf3a940ce903d43)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:29:16 +00:00
Joshua Watt
7bbbc92c3b classes: create-spdx-2.2: Fix dependency handling
The common SPDX code was changed to return a dataclass for dependency
information instead of a namedtuple, but the SPDX 2.2 was missed to
account for this. Correct the SPDX 2.2 code to correctly handle the new
datatype

(From OE-Core rev: 79a03abd37839973996efc957d44614edcbd6b87)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:29:16 +00:00
Khem Raj
b76c04bdcb oeqa: Build cpio with C17 std
cpio is not yet buildable with C23 standard which is default with
GCC 15, therefore ensure to apply needed bandage to keep it compiling
in C17 mode even with GCC 15

(From OE-Core rev: 0c637099887f1be421c8e1203f99631a1e040150)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 17:29:16 +00:00
Enrico Jörns
6edb7e77f1 poky: fix remove/append override syntax in comment
The examples for changing WARN_QA and ERROR_QA still use the old
('_'-style) override syntax.

(From meta-yocto rev: 303e49733300e7e440ee4e8d9cd6eec67143aa91)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 10:58:36 +00:00
Peter Marko
769a4479e1 spdx30: handle links to inaccessible locations
This is the same as e105befbe4ee0d85e94c2048a744f0373e2dbcdf on
additional place in the code.

When a link is pointing to location inaccessible to build user (e.g. "/root/something"),
filepath.is_file() throws "PermissionError: [Errno 13] Permission denied".
Fix this by first checking if it is a link.

(From OE-Core rev: 26f35f866cf7888431963cf4fc5d2019cd28de74)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 17:49:16 +00:00
Bruce Ashfield
e1a6ae2309 linux-yocto/6.12: yaffs2: fix module build
Integrating the following commit(s) to linux-yocto/6.12:

1/1 [
    Author: Mikko Rapeli
    Email: mikko.rapeli@linaro.org
    Subject: yaffs2: switch from readlink_copy() to vfs_readlink()
    Date: Fri, 14 Mar 2025 10:33:42 +0200

    To compile also as module. Fixes:

    ERROR: modpost: "readlink_copy" [fs/yaffs2/yaffs.ko] undefined!

    Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 276922ca1957b8e4234fd3e4884b3a2bcd4017fe)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 17:49:16 +00:00
Bruce Ashfield
edbd2f82bd linux-yocto/6.12: update to v6.12.19
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    e9cc806c0152 Linux 6.12.19
    52b0eb50f84f wifi: iwlwifi: pcie: Fix TSO preparation
    8031772e5a9d x86/mm: Don't disable PCID when INVLPG has been fixed by microcode
    e551a183d635 selftests/bpf: Clean up open-coded gettid syscall invocations
    86b7ebddab03 uprobes: Fix race in uprobe_free_utask
    af43986832ab KVM: e500: always restore irqs
    232995790911 Revert "KVM: PPC: e500: Mark "struct page" dirty in kvmppc_e500_shadow_map()"
    bdc0467e1177 Revert "KVM: PPC: e500: Mark "struct page" pfn accessed before dropping mmu_lock"
    681b5823ed79 Revert "KVM: PPC: e500: Use __kvm_faultin_pfn() to handle page faults"
    652fbadfe64a Revert "KVM: e500: always restore irqs"
    d9743b4f5c81 docs: rust: remove spurious item in `expect` list
    a499ebab0f23 nvme-tcp: Fix a C2HTermReq error message
    53991620da5e ALSA: hda: realtek: fix incorrect IS_REACHABLE() usage
    26fa53553b69 kbuild: hdrcheck: fix cross build with clang
    5bc6e5b10fe7 fs/netfs/read_collect: fix crash due to uninitialized `prev` variable
    6ad9643aa578 fs/netfs/read_pgpriv2: skip folio queues without `marks3`
    cc5faea5c4e7 arm64: hugetlb: Fix huge_ptep_get_and_clear() for non-present ptes
    a684bad77eb4 mm: hugetlb: Add huge page size param to huge_ptep_get_and_clear()
    e0da4bc015b1 iio: adc: at91-sama5d2_adc: fix sama7g5 realbits value
    3b15c2a9b903 iio: adc: ad7192: fix channel select
    acd26074c8ec iio: dac: ad3552r: clear reset status flag
    3d4f335c268d iio: light: apds9306: fix max_scale_nano values
    affe7249f9c1 iio: filter: admv8818: Force initialization of SDO
    1b8f7a2caa7f drivers: virt: acrn: hsm: Use kzalloc to avoid info leak in pmcmd_ioctl
    856ae1ce8b66 eeprom: digsy_mtc: Make GPIO lookup table match the device
    985d3cf56d87 bus: mhi: host: pci_generic: Use pci_try_reset_function() to avoid deadlock
    6abf3d8bb51c slimbus: messaging: Free transaction ID in delayed interrupt scenario
    b50e18791f40 drivers: core: fix device leak in __fw_devlink_relax_cycles()
    4e8df56636e3 char: misc: deallocate static minor in error path
    80fc880991ae intel_th: pci: Add Panther Lake-P/U support
    7f425ead4d69 intel_th: pci: Add Panther Lake-H support
    b1e8a3b5db58 intel_th: pci: Add Arrow Lake support
    adce9c491cbd mei: vsc: Use "wakeuphostint" when getting the host wakeup GPIO
    2636d1648003 mei: me: add panther lake P DID
    8473135f89c0 cdx: Fix possible UAF error in driver_override_show()
    b33b35b8bb67 KVM: x86: Explicitly zero EAX and EBX when PERFMON_V2 isn't supported by KVM
    9eb6f272a638 KVM: x86: Snapshot the host's DEBUGCTL after disabling IRQs
    c94120322553 KVM: SVM: Manually context switch DEBUGCTL if LBR virtualization is disabled
    5796ba40fb48 KVM: x86: Snapshot the host's DEBUGCTL in common x86
    6622db50d800 KVM: SVM: Suppress DEBUGCTL.BTF on AMD
    941135a335e9 KVM: SVM: Drop DEBUGCTL[5:2] from guest's effective value
    6e24d80edc82 KVM: SVM: Save host DR masks on CPUs with DebugSwap
    b2a37d358b59 KVM: SVM: Set RFLAGS.IF=1 in C code, to get VMRUN out of the STI shadow
    ea39f998647e usb: xhci: Enable the TRB overfetch quirk on VIA VL805
    d7015bb3c5dd xhci: pci: Fix indentation in the PCI device ID definitions
    f3accd043708 rust: map `long` to `isize` and `char` to `u8`
    31cdae8094e1 rust: finish using custom FFI integer types
    012b98cdb54c acpi: typec: ucsi: Introduce a ->poll_cci method
    06af63ce57ab kbuild: userprogs: use correct lld when linking through clang
    395011ee82b6 usb: gadget: Check bmAttributes only if configuration is valid
    dcd7ffdefb7c usb: gadget: Fix setting self-powered state on suspend
    4bf6c57a898b usb: gadget: Set self-powered based on MaxPower and bmAttributes
    2b2bd58e9517 usb: typec: tcpci_rt1711h: Unmask alert interrupts to fix functionality
    b38731252729 usb: typec: ucsi: increase timeout for PPM reset operations
    35db1f1829e2 usb: dwc3: gadget: Prevent irq storm when TH re-executes
    ced69d88eba4 usb: dwc3: Set SUSPENDENABLE soon after phy init
    cfc295f7cccf usb: atm: cxacru: fix a flaw in existing endpoint checks
    840afbea3fa7 usb: gadget: u_ether: Set is_suspend flag if remote wakeup fails
    e5aac1c9b297 usb: renesas_usbhs: Flush the notify_hotplug_work
    079a3e52f3e7 usb: typec: ucsi: Fix NULL pointer access
    0cab185c73bf usb: quirks: Add DELAY_INIT and NO_LPM for Prolific Mass Storage Card Reader
    4ea3319f3ef9 usb: hub: lack of clearing xHC resources
    8eac2346fb0b usb: renesas_usbhs: Use devm_usb_get_phy()
    39c2b2767e73 xhci: Restrict USB4 tunnel detection for USB3 devices to Intel hosts
    7c1f254c0743 usb: renesas_usbhs: Call clk_put()
    39e4a0b613bd Revert "drivers/card_reader/rtsx_usb: Restore interrupt based detection"
    292ce007df10 gpio: rcar: Fix missing of_node_put() call
    cc9a0b498b01 net: ipv6: fix missing dst ref drop in ila lwtunnel
    a3bf9969e208 net: ipv6: fix dst ref loop in ila lwtunnel
    d8be54c35aee mctp i3c: handle NULL header address
    bb73c406b4c6 net: dsa: mt7530: Fix traffic flooding for MMIO devices
    822c6a92d64c nvme-tcp: fix signedness bug in nvme_tcp_init_connection()
    b5741e4b9ef3 sched/fair: Fix potential memory corruption in child_cfs_rq_on_list
    b08e29032499 ublk: set_params: properly check if parameters can be applied
    2b484789e937 net-timestamp: support TCP GSO case for a few missing flags
    611015122d18 exfat: short-circuit zero-byte writes in exfat_file_write_iter
    c897b8ec4678 exfat: fix soft lockup in exfat_clear_bitmap
    5d609f0d2fba exfat: fix just enough dentries but allocate a new cluster to dir
    696973035a43 x86/sgx: Fix size overflows in sgx_encl_create()
    30e8aee77899 vlan: enforce underlying device type
    639c70352958 net: ethtool: netlink: Allow NULL nlattrs when getting a phy_device
    9c1d09cdbcf5 net: ethtool: plumb PHY stats to PHY drivers
    b71cd95764ad ethtool: linkstate: migrate linkstate functions to support multi-PHY setups
    8aa8a40c766b ppp: Fix KMSAN uninit-value warning with bpf
    d9312e0fdb25 net: ipa: Enable checksum for IPA_ENDPOINT_AP_MODEM_{RX,TX} for v4.7
    8274760798ba net: ipa: Fix QSB data for v4.7
    122e1a7fd935 net: ipa: Fix v4.7 resource group names
    a899adf7063c HID: hid-steam: Fix use-after-free when detaching device
    89f92c4215a6 drm/xe: Remove double pageflip
    f96fbd79e874 drm/i915: Plumb 'dsb' all way to the plane hooks
    7f74b1f4a947 drm/i915/color: Extract intel_color_modeset()
    9cfc43c0e6e6 net: hns3: make sure ptp clock is unregister and freed if hclge_ptp_get_cycle returns an error
    fd1ef3b1bdd3 be2net: fix sleeping while atomic bugs in be_ndo_bridge_getlink
    c78f4052cf40 drm/sched: Fix preprocessor guard
    2759467d3c50 hwmon: fix a NULL vs IS_ERR_OR_NULL() check in xgene_hwmon_probe()
    0f764208dc24 llc: do not use skb_get() before dev_queue_xmit()
    86f82bf2b5f9 ALSA: usx2y: validate nrpacks module parameter on probe
    ce1436ce15bf drm/imagination: Fix timestamps in firmware traces
    b98be1ffba93 tracing: probe-events: Remove unused MAX_ARG_BUF_LEN macro
    596ababab759 hwmon: (ad7314) Validate leading zero bits and return error
    274e2692ec83 hwmon: (ntc_thermistor) Fix the ncpXXxh103 sensor table
    0e12660ad4bb hwmon: (pmbus) Initialise page count in pmbus_identify()
    1688acf47722 perf/core: Fix pmus_lock vs. pmus_srcu ordering
    56cddf71cce3 caif_virtio: fix wrong pointer check in cfv_probe()
    084819b0d8b1 net: gso: fix ownership in __udp_gso_segment
    312d4fc46aa8 ALSA: hda/realtek: Remove (revert) duplicate Ally X config
    bc11b1f617d7 nvmet-tcp: Fix a possible sporadic response drops in weakly ordered arch
    9fbc953d6b38 nvme-tcp: fix potential memory corruption in nvme_tcp_recv_pdu()
    0ff76a25ab0c nvme-tcp: add basic support for the C2HTermReq PDU
    d7f35ebb5818 bluetooth: btusb: Initialize .owner field of force_poll_sync_fops
    a71fbf335e89 drm/nouveau: select FW caching
    7fc4fd8bf578 drm/nouveau: Run DRM default client setup
    dad0617fe3b9 drm/fbdev-ttm: Support struct drm_driver.fbdev_probe
    09d1157182d0 drm: Add client-agnostic setup helper
    7f5535fcbba2 drm/fbdev: Add memory-agnostic fbdev client
    f9c843f56d01 drm/fbdev-helper: Move color-mode lookup into 4CC format helper
    05d9eaa44498 wifi: mac80211: fix vendor-specific inheritance
    03b6e5e86827 wifi: mac80211: fix MLE non-inheritance parsing
    8ae5106e5df8 wifi: mac80211: Support parsing EPCS ML element
    9dedafd86e4d nvme-ioctl: fix leaked requests on mapping error
    3c63fb6ef7f3 nvme-pci: use sgls for all user requests if possible
    595a5b23eb72 nvme-pci: add support for sgl metadata
    5481dee296f6 coredump: Only sort VMAs when core_sort_vma sysctl is set
    dea6a349bcaf HID: intel-ish-hid: Fix use-after-free issue in ishtp_hid_remove()
    9c677fe859a7 HID: intel-ish-hid: Fix use-after-free issue in hid_ishtp_cl_remove()
    83a31fa2ffcc HID: google: fix unused variable warning under !CONFIG_ACPI
    6f6a3e6e87ef wifi: iwlwifi: Fix A-MSDU TSO preparation
    75f10d79cb50 wifi: iwlwifi: Free pages allocated when failing to build A-MSDU
    f265e6031d0b wifi: iwlwifi: limit printed string from FW file
    437e93ecd407 wifi: iwlwifi: mvm: don't try to talk to a dead firmware
    a88c18409b5d wifi: iwlwifi: mvm: clean up ROC on failure
    2e66d699417d mm: memory-hotplug: check folio ref count first in do_migrate_range
    576a2f4c437c hwpoison, memory_hotplug: lock folio before unmap hwpoisoned folio
    9ed33c7bac7c mm: fix finish_fault() handling for large folios
    605f53f13bc2 mm: don't skip arch_sync_kernel_mappings() in error paths
    608cc7deb428 mm: memory-failure: update ttu flag inside unmap_poisoned_folio
    79636d2981b0 mm: abort vma_modify() on merge out of memory failure
    9426f383721c mm/page_alloc: fix uninitialized variable
    f57e89c1cb63 block: fix conversion of GPT partition name to 7-bit
    2d448dbd4740 userfaultfd: do not block on locking a large folio with raised refcount
    5ae31c54cff7 NFS: fix nfs_release_folio() to not deadlock via kcompactd writeback
    845590b5a089 s390/traps: Fix test_monitor_call() inline assembly
    83732451a986 dma: kmsan: export kmsan_handle_dma() for modules
    22e4977141df rapidio: fix an API misues when rio_add_net() fails
    c332f3e2df0f rapidio: add check for rio_add_net() in rio_scan_alloc_net()
    848526581f68 selftests/damon/damon_nr_regions: sort collected regiosn before checking with min/max boundaries
    fa450e45ddca selftests/damon/damon_nr_regions: set ops update for merge results check to 100ms
    544e204ee9b9 selftests/damon/damos_quota: make real expectation of quota exceeds
    649edd5d6829 selftests/damon/damos_quota_goal: handle minimum quota that cannot be further reduced
    521e55c2b0d6 wifi: nl80211: reject cooked mode if it is set along with other flags
    be7c5f00aa7f wifi: cfg80211: regulatory: improve invalid hints checking
    7841180342c9 Bluetooth: Add check for mgmt_alloc_skb() in mgmt_device_connected()
    88310caff68a Bluetooth: Add check for mgmt_alloc_skb() in mgmt_remote_name()
    8d19543e941e drm/xe/userptr: Unmap userptrs in the mmu notifier
    ad876ee6c664 drm/xe/userptr: properly setup pfn_flags_mask
    5887c69eae7d drm/xe: Fix fault mode invalidation with unbind
    e8d040baa4d9 drm/xe: Fix GT "for each engine" workarounds
    4b228dae3d2c mptcp: fix 'scheduling while atomic' in mptcp_pm_nl_append_new_local_addr
    1ce892aeef69 drm/xe/vm: Validate userptr during gpu vma prefetching
    d7505770f479 drm/xe/vm: Fix a misplaced #endif
    2a24c98f0e4c drm/xe/hmm: Don't dereference struct page pointers without notifier lock
    9061689118ea drm/xe/hmm: Style- and include fixes
    3ba11a3d9fcb drm/xe: Add staging tree for VM binds
    733a22bfb31b x86/cpu: Properly parse CPUID leaf 0x2 TLB descriptor 0x63
    37309aaac386 x86/cpu: Validate CPUID leaf 0x2 EDX output
    9f89384087c3 x86/cacheinfo: Validate CPUID leaf 0x2 EDX output
    ebed28c4208a x86/boot: Sanitize boot params before parsing command line
    2a21690386f4 platform/x86: thinkpad_acpi: Add battery quirk for ThinkPad X131e
    3e710bac686e Revert "selftests/mm: remove local __NR_* definitions"
    48a934fc471e Revert "mm/page_alloc.c: don't show protection in zone's ->lowmem_reserve[] for empty zone"
    4ca67d51d90d drm/radeon: Fix rs400_gpu_init for ATI mobility radeon Xpress 200M
    3e31371dfff9 drm/imagination: only init job done fences once
    58e37cfcb12a drm/imagination: Hold drm_gem_gpuva lock for unmap
    d993ae736092 drm/imagination: avoid deadlock on fence release
    6c7025b9f86e drm/amd/pm: always allow ih interrupt from fw
    c3cbeafb4e00 drm/amdkfd: Fix NULL Pointer Dereference in KFD queue
    e0345c3478f1 drm/amd/display: Fix null check for pipe_ctx->plane_state in resource_build_scaling_params
    3e92d62d9534 hwmon: (peci/dimmtemp) Do not provide fake thresholds data
    9f956dcf3065 btrfs: fix a leaked chunk map issue in read_one_chunk()
    81eeb98640df ALSA: hda/realtek: update ALC222 depop optimize
    eca9ff7a0eed ALSA: hda/realtek - add supported Mic Mute LED for Lenovo platform
    32573f85ba6f ALSA: hda: intel: Add Dell ALC3271 to power_save denylist
    6d988149e11d ALSA: seq: Avoid module auto-load handling at event delivery
    8fb07fb1bba9 gpio: aggregator: protect driver attr handlers against module unload
    b42c84f9e4ec gpio: rcar: Use raw_spinlock to protect register access
    dbcd7fdd86f7 ksmbd: fix bug on trap in smb2_lock
    a0609097fd10 ksmbd: fix use-after-free in smb2_lock
    159d059cbcb0 ksmbd: fix out-of-bounds in parse_sec_desc()
    3cb2b2e41541 ksmbd: fix type confusion via race condition when using ipc_msg_send_request
    d335fce8b88b HID: appleir: Fix potential NULL dereference at raw event handle
    52532c6c6c69 LoongArch: KVM: Fix GPA size issue about VM
    3700cd7c171b LoongArch: KVM: Reload guest CSR registers after sleep
    5f3f7d2e9adf LoongArch: KVM: Add interrupt checking for AVEC
    41b0b3b75c77 LoongArch: Set max_pfn with the PFN of the last page
    7f50209ffe18 LoongArch: Use polling play_dead() when resuming from hibernation
    55eed991c5e4 LoongArch: Convert unreachable() to BUG()
    c10081d6648b stmmac: loongson: Pass correct arg to PCI function
    a23fbee189f8 tracing: tprobe-events: Reject invalid tracepoint name
    b4a92f312ad9 tracing: tprobe-events: Fix a memory leak when tprobe with $retval
    5b414ed3bbf6 Revert "of: reserved-memory: Fix using wrong number of cells to get property 'alignment'"
    84fc3616b206 rust: alloc: Fix `ArrayLayout` allocations
    641ecd0d0a21 rust: use custom FFI integer types
    0ea8582faa76 rust: map `__kernel_size_t` and friends also to usize/isize
    240529d8556e rust: fix size_t in bindgen prototypes of C builtins
    113720033d16 rust: kbuild: expand rusttest target for macros
    2f6b7da3f620 drm/panic: allow verbose version check
    b5f9e4b81099 drm/panic: allow verbose boolean for clarity
    524f6a2df74b drm/panic: correctly indent continuation of line in list item
    702646c7f02a drm/panic: remove redundant field when assigning value
    c264ae4597a9 drm/panic: prefer eliding lifetimes
    c9a21ede902a drm/panic: remove unnecessary borrow in alignment_pattern
    02ea0483934d drm/panic: avoid reimplementing Iterator::find
    14b6c043275b MAINTAINERS: add entry for the Rust `alloc` module
    298be04c036a kbuild: rust: remove the `alloc` crate and `GlobalAlloc`
    1ef4cf5f98c4 rust: alloc: update module comment of alloc.rs
    ec50a634be2b rust: str: test: replace `alloc::format`
    575f8f47112a rust: alloc: implement `Cmalloc` in module allocator_test
    8079b1b73c4f rust: alloc: implement `contains` for `Flags`
    f261b3ae28d9 rust: error: check for config `test` in `Error::name`
    9c330479d718 rust: error: use `core::alloc::LayoutError`
    718900ae1bf0 rust: alloc: add `Vec` to prelude
    61e82d643c7f rust: alloc: remove `VecExt` extension
    e64a79b9a57f rust: treewide: switch to the kernel `Vec` type
    0a798a23bbab rust: alloc: implement `collect` for `IntoIter`
    94091ef3d5aa rust: alloc: implement `IntoIterator` for `Vec`
    0ca66a44e241 rust: alloc: implement kernel `Vec` type
    2dbf25126498 rust: alloc: introduce `ArrayLayout`
    22e1e850e24f rust: alloc: add `Box` to prelude
    34eb8dcb6261 rust: alloc: remove extension of std's `Box`
    17bb4365ec18 rust: treewide: switch to our kernel `Box` type
    3ca8b102ef62 rust: alloc: implement kernel `Box`
    10027707e1ca rust: alloc: add __GFP_NOWARN to `Flags`
    b1ae22456ab5 rust: alloc: implement `KVmalloc` allocator
    88c5feb07ae0 rust: alloc: implement `Vmalloc` allocator
    a03b5e77dbb5 rust: alloc: add module `allocator_test`
    dcaf3206d942 rust: alloc: implement `Allocator` for `Kmalloc`
    594134eb9cb5 rust: alloc: make `allocator` module public
    e19e92087aba rust: alloc: implement `ReallocFunc`
    b3b7ea4b0d41 rust: alloc: rename `KernelAllocator` to `Kmalloc`
    e40d06619c20 rust: alloc: separate `aligned_size` from `krealloc_aligned`
    4b773fe5668d rust: alloc: add `Allocator` trait
    311d5ecf16c6 rust: error: optimize error type to use nonzero
    6e5a4992d146 rust: error: make conversion functions public
    cf1cdd56d399 Documentation: rust: discuss `#[expect(...)]` in the guidelines
    706d4296b843 rust: start using the `#[expect(...)]` attribute
    a24a26adbaaf Documentation: rust: add coding guidelines on lints
    87052e24eb46 rust: enable Clippy's `check-private-items`
    9dd2e0358b03 rust: provide proper code documentation titles
    a01b7b2c1e95 rust: replace `clippy::dbg_macro` with `disallowed_macros`
    503e18c448bf rust: introduce `.clippy.toml`
    b212da6fdf04 rust: sync: remove unneeded `#[allow(clippy::non_send_fields_in_send_ty)]`
    d09e7c93df7c rust: init: remove unneeded `#[allow(clippy::disallowed_names)]`
    85ad4713660f rust: enable `rustdoc::unescaped_backticks` lint
    c6447d4d83f5 rust: enable `clippy::ignored_unit_patterns` lint
    f07f6c135dbd rust: enable `clippy::unnecessary_safety_doc` lint
    c778ec35c3cc rust: enable `clippy::unnecessary_safety_comment` lint
    4e7072490d67 rust: enable `clippy::undocumented_unsafe_blocks` lint
    870de86d874e rust: types: avoid repetition in `{As,From}Bytes` impls
    3166e8aed0e0 rust: sort global Rust flags
    a3d5dcc9ec48 rust: workqueue: remove unneeded ``#[allow(clippy::new_ret_no_self)]`
    3c0369e453ff loongarch: Use ASM_REACHABLE
    4a442cd27b5f x86/microcode/AMD: Add some forgotten models to the SHA check
    61493dee53d8 btrfs: fix data overwriting bug during buffered write when block size < page size
    f2e8f906f9ed smb311: failure to open files of length 1040 when mounting with SMB3.1.1 POSIX extensions
    c011482fb5fa cifs: Remove symlink member from cifs_open_info_data union
    c13e4b0321ed gpio: vf610: add locking to gpio direction functions
    5d473aefbcd3 gpio: vf610: use generic device_get_match_data()
    729e7d4b1c54 drm/i915/dsi: Use TRANS_DDI_FUNC_CTL's own port width macro
    0131280ddf38 drm/i915/dsi: convert to struct intel_display
    2f8e609aea9a rust: block: fix formatting in GenDisk doc
    ebf6a763904e x86/amd_nb: Use rdmsr_safe() in amd_get_mmconfig_range()
    807165b1ec1c tools/power/x86/intel-speed-select: Prefix header search path with sysroot
    e97df805b938 drm/tilcdc: Set preferred depth
    7160a4379dcc arch/arm64/configs: remove CONFIG_SM_DISPCC_8650
    6d8ac5ebe6e8 aufs6: core
    587abc1b64c4 aufs6: standalone
    1af41d30ef42 aufs6: mmap
    6ee2464d2e9d aufs6: base
    103b676505f7 aufs6: kbuild
    67281562943f qemux86: add configuration symbol to select values
    73f315ca0823 sched/isolation: really align nohz_full with rcu_nocbs
    1e4e7f8ab622 clear_warn_once: add a clear_warn_once= boot parameter
    918e7a825e8b clear_warn_once: bind a timer to written reset value
    f533f87c3758 clear_warn_once: expand debugfs to include read support
    f149ca27cba9 tools: Remove some options from CLANG_CROSS_FLAGS
    e633abe9c44e libbpf: Fix build warning on ref_ctr_off
    ec0916a4cfc1 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    03721ceb5626 perf: x86-32: explicitly include <errno.h>
    4c36c5295bb0 perf: mips64: Convert __u64 to unsigned long long
    b0200449610d perf: fix bench numa compilation
    aff0940b2212 perf: add SLANG_INC for slang.h
    ef912018d28c perf: add sgidefs.h to for mips builds
    d8860f858b87 perf: change --root to --prefix for python install
    dc38a0eee6e5 perf: add 'libperl not found' warning
    6ed51f8786da perf: force include of <stdbool.h>
    c538d4c4ac65 fat: Replace prandom_u32() with get_random_u32()
    63d94846f0c5 fat: don't use obsolete random32 call in namei_vfat
    7816667451ef FAT: Added FAT_NO_83NAME
    f81dbd60f0d5 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    771cdefba44b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    a24784fd8f88 yaffs2: update to v6.12 folio changes
    d0a48fd46db8 yaffs2: adapt to v6.10 i_time changes
    d097e4d4115a yaffs: fix mtime/itime field access
    4411e0d49fe3 yaffs2: update VFS ctime operations to 6.6+
    1b6619086e8b yaffs2: v6.5 fixups
    25b261ee3c54 yaffs2: Fix miscalculation of devname buffer length
    5c07936a5d1c yaffs2: convert user_namespace to mnt_idmap
    55986a1284b3 yaffs2: replace bdevname call with sprintf
    6f5508f8db8f yaffs2: convert read_page -> readfolio
    fd179a5df5d5 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    c9a620dacdd1 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    78588208ed17 yaffs2: v5.12+ build fixups (not runtime tested)
    8d2dddba272c yaffs: include blkdev.h
    8c1ca9ef9712 yaffs: Fix build failure by handling inode i_version with proper atomic API
    27005cbac2ed yaffs2: v5.6 build fixups
    668211c9f9b7 yaffs2: fix memory leak when /proc/yaffs is read
    285f911dcc1c yaffs: add strict check when call yaffs_internal_read_super
    ffc2ed489ccf yaffs: repair yaffs_get_mtd_device
    6dce4b70a5e3 yaffs: Fix build failure by handling inode i_version with proper atomic API
    19f283abc5d1 yaffs2: fix memory leak in mount/umount
    04e84672b571 yaffs: Avoid setting any ACL releated xattr
    4f221d6a32e2 Yaffs:check oob size before auto selecting Yaffs1
    81f36004e56b fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    26d7a3dd0054 yaffs2: adjust to proper location of MS_RDONLY
    a7016eac4540 yaffs2: import git revision b4ce1bb (jan, 2020)
    feb240bbb91e initramfs: allow an optional wrapper script around initramfs generation
    874746eaa341 drivers: gpu: drm: msm: registers: improve reproducibility
    1d42508faee8 tools: use basename to identify file in gen-mach-types
    4b055eca593d iwlwifi: select MAC80211_LEDS conditionally
    97e20e275ac0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    6dec58319165 defconfigs: drop obselete options
    a416ccb5b6c9 linux-yocto: Handle /bin/awk issues
    7efe8a1e5158 uvesafb: provide option to specify timeout for task completion
    78d10ae07eca uvesafb: print error message when task timeout occurs
    80473b7eb8ca compiler.h: Undef before redefining __attribute_const__
    ddeff2f1a9a7 vmware: include jiffies.h
    3dcdda8912b4 Resolve jiffies wrapping about arp
    3b1507db6735 nfs: Allow default io size to be configured.
    c2fedad05f77 check console device file on fs when booting
    208d6fbada3f mount_root: clarify error messages for when no rootfs found
    dbe9454c8ea0 mconf: fix output of cflags and libraries
    7c7b224f5cce menuconfig,mconf-cfg: Allow specification of ncurses location
    b6c189c81397 modpost: mask trivial warnings
    a5cc21325ba9 kbuild: exclude meta directory from distclean processing
    361ec143c23f powerpc: serialize image targets
    605e6ccb304c arm: serialize build targets
    e94b04fcb7d2 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    44cc7f69a0a0 cpu/amd: inhibit SMP check for qemux86
    a08cb65331e6 x86_64_defconfig: Fix warnings
    8ad332ef777b mips: make current_cpu_data preempt safe
    754f05ddce3f mips: vdso: fix 'jalr $t9' crash in vdso code
    325ff78ff44d mips: Kconfig: add QEMUMIPS64 option
    99ae0eadcf11 4kc cache tlb hazard: tlbp cache coherency
    c6894c66a534 malta uhci quirks: make allowance for slow 4k(e)c
    8b52c01f3294 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    16c7629f035e drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    6b60c874cbb0 arm64: defconfig: cleanup config options
    8e44673ecd89 vexpress: Pass LOADADDR to Makefile
    f34e6805aad5 arm: ARM EABI socketcall
    94dec9b88de4 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: d10db50fd4c392d8e0e5f36ba4a49ca87c2b5115)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 17:49:16 +00:00
Bruce Ashfield
f2909d648c linux-yocto/6.12: update to v6.12.18
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    105a31925e2d Linux 6.12.18
    72cbaf8b41f0 thermal: gov_power_allocator: Add missing NULL pointer check
    3e8653e399e7 x86/microcode/AMD: Load only SHA256-checksummed patches
    0c110da9139d x86/microcode/AMD: Add get_patch_level()
    5c200030419e x86/microcode/AMD: Get rid of the _load_microcode_amd() forward declaration
    12ccf71a7dab x86/microcode/AMD: Merge early_apply_microcode() into its single callsite
    42d04c39c313 x86/microcode/AMD: Remove unused save_microcode_in_initrd_amd() declarations
    9ff4ece7b36c x86/microcode/AMD: Remove ugly linebreak in __verify_patch_section() signature
    eb50ccb8dae3 x86/microcode/AMD: Have __apply_microcode_amd() return bool
    41f1230e037e x86/microcode/AMD: Return bool from find_blobs_in_containers()
    b0f47c8caa5b amdgpu/pm/legacy: fix suspend/resume issues
    65f4aebb8127 efi: Don't map the entire mokvar table to determine its size
    a3c5eb88f0ba riscv: cpufeature: use bitmap_equal() instead of memcmp()
    45233962ea51 riscv: signal: fix signal_minsigstksz
    fa19f64d6329 riscv: cacheinfo: Use of_property_present() for non-boolean properties
    625a90b569b7 riscv: signal: fix signal frame size
    ac354e54dcab riscv/futex: sign extend compare value in atomic cmpxchg
    ec9acbab2ea7 rseq/selftests: Fix riscv rseq_offset_deref_addv inline asm
    59455f968c10 scsi: ufs: core: bsg: Fix crash when arpmb command fails
    c479e20dabfd ima: Reset IMA_NONACTION_RULE_FLAGS after post_setattr
    c8dc4e991042 dm vdo: add missing spin_lock_init
    22c6f577b3cb dm-integrity: Avoid divide by zero in table status in Inline mode
    90c618efaeff selftests/landlock: Test TCP accesses with protocol=IPPROTO_TCP
    5324c459f90d sched_ext: Fix pick_task_scx() picking non-queued tasks when it's called without balance()
    0362847c5207 sched/core: Prevent rescheduling when interrupts are disabled
    29b6d5ad3e43 rcuref: Plug slowpath race in rcuref_put()
    af103505d7d2 vmlinux.lds: Ensure that const vars with relocations are mapped R/O
    a913c2d10950 selftests/landlock: Test that MPTCP actions are not restricted
    ebb0c0fd6990 mptcp: reset when MPTCP opts are dropped after join
    4124b782ec2b mptcp: always handle address removal under msk socket lock
    48848d5bdd97 intel_idle: Handle older CPUs, which stop the TSC in deeper C states, correctly
    4117c7293849 iommu/vt-d: Fix suspicious RCU usage
    eec1009891ab iommu/vt-d: Remove device comparison in context_setup_pass_through_cb
    e59119d8169a phy: exynos5-usbdrd: gs101: ensure power is gated to SS phy in phy_exit()
    45dc8ea1da01 phy: exynos5-usbdrd: fix MPLL_MULTIPLIER and SSC_REFCLKSEL masks in refclk
    ee28b7084181 phy: tegra: xusb: reset VBUS & ID OVERRIDE
    57e56fc2bfc6 net: enetc: fix the off-by-one issue in enetc_map_tx_tso_buffs()
    56e26b5b3d14 net: enetc: correct the xdp_tx statistics
    2d86bd25f066 net: enetc: update UDP checksum when updating originTimestamp field
    3d9634211121 net: enetc: VFs do not support HWTSTAMP_TX_ONESTEP_SYNC
    0ee95d1e1b7d net: enetc: keep track of correct Tx BD count in enetc_map_tx_tso_buffs()
    0d1b060d9814 net: enetc: fix the off-by-one issue in enetc_map_tx_buffs()
    b32804cc17a4 net: phy: qcom: qca807x fix condition for DAC_DSP_BIAS_CURRENT
    050f2e62b13c net: stmmac: dwmac-loongson: Add fix_soc_reset() callback
    4e8b8d43373b usbnet: gl620a: fix endpoint checking in genelink_bind()
    63ddac4bd54d i2c: ls2x: Fix frequency division register access
    12d0e3991670 i2c: npcm: disable interrupt enable bit before devm_request_irq
    2f572c42bb4b block: Remove zone write plugs when handling native zone append writes
    8f6369c3cd63 arm64/mm: Fix Boot panic on Ampere Altra
    94e05f90322e drm/amd/display: Fix HPD after gpu reset
    2b166c574616 drm/amd/display: add a quirk to enable eDP0 on DP1
    98595755f6e0 drm/amd/display: Disable PSR-SU on eDP panels
    d2c9625b0ade drm/amdgpu: init return value in amdgpu_ttm_clear_buffer
    98ef70dd9814 drm/amdgpu: disable BAR resize on Dell G5 SE
    6ffe5bc65627 drm/amdkfd: Preserve cp_hqd_pq_control on update_mqd
    daad16d0a538 drm/xe/userptr: fix EFAULT handling
    f08415419992 drm/xe/userptr: restore invalidation list on error
    610c6e77a711 drm/xe/regs: remove a duplicate definition for RING_CTL_SIZE(size)
    322cb23e24c8 perf/core: Fix low freq setting via IOC_PERIOD
    bf6e873ad732 perf/x86: Fix low freqency setting issue
    a2475ccad612 perf/core: Add RCU read lock protection to perf_iterate_ctx()
    b9de147b2ccb KVM: arm64: Ensure a VMID is allocated before programming VTTBR_EL2
    e992cc7f386e ALSA: hda/realtek: Fix microphone regression on ASUS N705UD
    8e31d9fb2f22 ALSA: usb-audio: Re-add sample rate quirk for Pioneer DJM-900NXS2
    746cc474a954 ftrace: Avoid potential division by zero in function_stat_show()
    435d2964af81 tracing: Fix bad hist from corrupting named_triggers list
    9dbe14e03ff3 riscv: KVM: Fix SBI TIME error generation
    ab306f492c27 riscv: KVM: Fix SBI IPI error generation
    f5009ddfd70a riscv: KVM: Fix hart suspend_type use
    5ecf68c8834b riscv: KVM: Fix hart suspend status check
    faccabe9c1c9 phy: rockchip: naneng-combphy: compatible reset with old DT
    adec6338b043 phy: rockchip: fix Kconfig dependency more
    a455aa3403bf x86/CPU: Fix warm boot hang regression on AMD SC1100 SoC systems
    a00e900c9b6d objtool: Fix C jump table annotations for Clang
    2cfd0e5084e3 objtool: Remove annotate_{,un}reachable()
    8cc451444cfd unreachable: Unify
    546c19eb69fd io_uring/net: save msg_control for compat
    27a144c3be8c thermal: gov_power_allocator: Update total_weight on bind and cdev updates
    19cd2dc4d4c6 thermal: core: Move lists of thermal instances to trip descriptors
    e11df3bffde1 thermal/of: Fix cdev lookup in thermal_of_should_bind()
    07a82c78d822 thermal: of: Simplify thermal_of_should_bind with scoped for each OF child
    13cca2b73e2b uprobes: Reject the shared zeropage in uprobe_write_opcode()
    7d582eb6e4e1 perf/core: Order the PMU list to fix warning about unordered pmu_ctx_list
    806437d04747 thermal: gov_power_allocator: Fix incorrect calculation in divvy_up_power()
    99dcd630ac21 net: ti: icss-iep: Reject perout generation request
    4279bbebe00f idpf: fix checksums set in idpf_rx_rsc()
    cc746341aa7d selftests: drv-net: Check if combined-count exists
    51946f324281 net: ipv6: fix dst ref loop on input in rpl lwt
    bc9ca8a18510 net: ipv6: fix dst ref loop on input in seg6 lwt
    7bb1ba48f709 net/mlx5: IRQ, Fix null string in debug print
    e3e760e03e15 net: mvpp2: cls: Fixed Non IP flow, with vlan tag flow defination.
    902d57629624 net: Clear old fragment checksum value in napi_reuse_skb
    33d782e38d81 tcp: Defer ts_recent changes until req is owned
    ddf9b005dc87 ice: Avoid setting default Rx VSI twice in switchdev setup
    a4880583f88d ice: Fix deinitializing VF in error path
    dc44e67c6db3 ice: add E830 HW VF mailbox message limit support
    c417b1e4d8d0 tcp: devmem: don't write truncated dmabuf CMSGs to userspace
    62454a10ecf2 net: ethernet: ti: am65-cpsw: select PAGE_POOL
    18b90c1abf0e ALSA: hda/realtek: Fix wrong mic setup for ASUS VivoBook 15
    2dd3e9cff9cb ASoC: cs35l56: Prevent races when soft-resetting using SPI control
    b08978fd76eb firmware: cs_dsp: Remove async regmap writes
    baa88823dd84 drm/xe/oa: Allow oa_exponent value of 0
    da2e07e6505c drm/xe/oa: Allow only certain property changes from config
    f0ab9cd205d8 drm/xe/oa: Add syncs support to OA config ioctl
    fa41f3cd4eeb drm/xe/oa: Move functions up so they can be reused for config ioctl
    5fe916b2c9c6 drm/xe/oa: Signal output fences
    8ffd0390fc3f ipvs: Always clear ipvs_property flag in skb_scrub_packet()
    b7091d6b3cb7 ASoC: fsl: Rename stream name of SAI DAI driver
    a4b055fdb062 ASoC: es8328: fix route from DAC to output
    00556b898e40 net: dsa: rtl8366rb: Fix compilation problem
    ab52446831a7 net: cadence: macb: Synchronize stats calculations
    5353fd89663c ipvlan: ensure network headers are in skb linear part
    5138154bdbfc ipvlan: Prepare ipvlan_process_v4_outbound() to future .flowi4_tos conversion.
    97c455c3c243 ipv4: Convert ip_route_input() to dscp_t.
    db8b2a613d7a ipv4: Convert icmp_route_lookup() to dscp_t.
    915d64a78f3c net: set the minimum for net_hotdata.netdev_budget_usecs
    f22df335b298 net: loopback: Avoid sending IP packets without an Ethernet header
    0e8ed2d66da0 afs: Give an afs_server object a ref on the afs_cell object it points to
    a38b394f4650 afs: Fix the server_list to unuse a displaced server rather than putting it
    b5c7428d3488 rxrpc: rxperf: Fix missing decoding of terminal magic cookie
    5c9921f1da47 Bluetooth: L2CAP: Fix L2CAP_ECRED_CONN_RSP response
    ee5d6cb5cc0b ALSA: usb-audio: Avoid dropping MIDI events at closing multiple ports
    22a0ebfb1836 sunrpc: suppress warnings for unused procfs functions
    722c3db62bf6 RDMA/bnxt_re: Fix the page details for the srq created by kernel consumers
    6782ba62a654 RDMA/mlx5: Fix bind QP error cleanup flow
    465a8143238b scsi: ufs: core: Set default runtime/system PM levels before ufshcd_hba_init()
    b5038504da33 scsi: core: Clear driver private data when retrying request
    40432672eb6f RDMA/mlx5: Fix AH static rate parsing
    cb96ae783e72 RDMA/mlx5: Fix implicit ODP hang on parent deregistration
    e4cfa6aa05e5 SUNRPC: Handle -ETIMEDOUT return from tlshd
    4fe4ae6c2e01 NFSv4: Fix a deadlock when recovering state on a sillyrenamed file
    a3ae6a60baf7 SUNRPC: Prevent looping due to rpc_signal_task() races
    b6423ea93ab4 NFS: Adjust delegated timestamps for O_DIRECT reads and writes
    b7b3d772e48a NFS: O_DIRECT writes must check and adjust the file length
    3594aad97e7b ovl: fix UAF in ovl_dentry_update_reval by moving dput() in ovl_link_up
    659bfea5914a scsi: ufs: core: Fix ufshcd_is_ufs_dev_busy() and ufshcd_eh_timed_out()
    917aa50b7509 landlock: Fix non-TCP sockets restriction
    b1f1643effb9 RDMA/bnxt_re: Fix the statistics for Gen P7 VF
    c5c994f44260 RDMA/bnxt_re: Allocate dev_attr information dynamically
    aed1bc673907 RDMA/bnxt_re: Add sanity checks on rdev validity
    edaffce57207 RDMA/bnxt_re: Cache MSIx info to a local structure
    51612bb4d580 RDMA/bnxt_re: Refactor NQ allocation
    2fab96b538ca RDMA/bnxt_re: Fail probe early when not enough MSI-x vectors are reserved
    308d162c44a6 RDMA/hns: Fix mbox timing out by adding retry mechanism
    c3a6c1e7b80e RDMA/mana_ib: Allocate PAGE aligned doorbell index
    0bd34bdd468e RDMA/mlx5: Fix a WARN during dereg_mr for DM type
    a14b5e690aba RDMA/mlx5: Fix a race for DMABUF MR which can lead to CQE with error
    ed3a682157ae IB/mlx5: Set and get correct qp_num for a DCT QP
    3e3bf255992c RDMA/mlx5: Fix the recovery flow of the UMR QP
    807165b1ec1c tools/power/x86/intel-speed-select: Prefix header search path with sysroot
    e97df805b938 drm/tilcdc: Set preferred depth
    7160a4379dcc arch/arm64/configs: remove CONFIG_SM_DISPCC_8650
    6d8ac5ebe6e8 aufs6: core
    587abc1b64c4 aufs6: standalone
    1af41d30ef42 aufs6: mmap
    6ee2464d2e9d aufs6: base
    103b676505f7 aufs6: kbuild
    67281562943f qemux86: add configuration symbol to select values
    73f315ca0823 sched/isolation: really align nohz_full with rcu_nocbs
    1e4e7f8ab622 clear_warn_once: add a clear_warn_once= boot parameter
    918e7a825e8b clear_warn_once: bind a timer to written reset value
    f533f87c3758 clear_warn_once: expand debugfs to include read support
    f149ca27cba9 tools: Remove some options from CLANG_CROSS_FLAGS
    e633abe9c44e libbpf: Fix build warning on ref_ctr_off
    ec0916a4cfc1 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    03721ceb5626 perf: x86-32: explicitly include <errno.h>
    4c36c5295bb0 perf: mips64: Convert __u64 to unsigned long long
    b0200449610d perf: fix bench numa compilation
    aff0940b2212 perf: add SLANG_INC for slang.h
    ef912018d28c perf: add sgidefs.h to for mips builds
    d8860f858b87 perf: change --root to --prefix for python install
    dc38a0eee6e5 perf: add 'libperl not found' warning
    6ed51f8786da perf: force include of <stdbool.h>
    c538d4c4ac65 fat: Replace prandom_u32() with get_random_u32()
    63d94846f0c5 fat: don't use obsolete random32 call in namei_vfat
    7816667451ef FAT: Added FAT_NO_83NAME
    f81dbd60f0d5 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    771cdefba44b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    a24784fd8f88 yaffs2: update to v6.12 folio changes
    d0a48fd46db8 yaffs2: adapt to v6.10 i_time changes
    d097e4d4115a yaffs: fix mtime/itime field access
    4411e0d49fe3 yaffs2: update VFS ctime operations to 6.6+
    1b6619086e8b yaffs2: v6.5 fixups
    25b261ee3c54 yaffs2: Fix miscalculation of devname buffer length
    5c07936a5d1c yaffs2: convert user_namespace to mnt_idmap
    55986a1284b3 yaffs2: replace bdevname call with sprintf
    6f5508f8db8f yaffs2: convert read_page -> readfolio
    fd179a5df5d5 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    c9a620dacdd1 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    78588208ed17 yaffs2: v5.12+ build fixups (not runtime tested)
    8d2dddba272c yaffs: include blkdev.h
    8c1ca9ef9712 yaffs: Fix build failure by handling inode i_version with proper atomic API
    27005cbac2ed yaffs2: v5.6 build fixups
    668211c9f9b7 yaffs2: fix memory leak when /proc/yaffs is read
    285f911dcc1c yaffs: add strict check when call yaffs_internal_read_super
    ffc2ed489ccf yaffs: repair yaffs_get_mtd_device
    6dce4b70a5e3 yaffs: Fix build failure by handling inode i_version with proper atomic API
    19f283abc5d1 yaffs2: fix memory leak in mount/umount
    04e84672b571 yaffs: Avoid setting any ACL releated xattr
    4f221d6a32e2 Yaffs:check oob size before auto selecting Yaffs1
    81f36004e56b fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    26d7a3dd0054 yaffs2: adjust to proper location of MS_RDONLY
    a7016eac4540 yaffs2: import git revision b4ce1bb (jan, 2020)
    feb240bbb91e initramfs: allow an optional wrapper script around initramfs generation
    874746eaa341 drivers: gpu: drm: msm: registers: improve reproducibility
    1d42508faee8 tools: use basename to identify file in gen-mach-types
    4b055eca593d iwlwifi: select MAC80211_LEDS conditionally
    97e20e275ac0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    6dec58319165 defconfigs: drop obselete options
    a416ccb5b6c9 linux-yocto: Handle /bin/awk issues
    7efe8a1e5158 uvesafb: provide option to specify timeout for task completion
    78d10ae07eca uvesafb: print error message when task timeout occurs
    80473b7eb8ca compiler.h: Undef before redefining __attribute_const__
    ddeff2f1a9a7 vmware: include jiffies.h
    3dcdda8912b4 Resolve jiffies wrapping about arp
    3b1507db6735 nfs: Allow default io size to be configured.
    c2fedad05f77 check console device file on fs when booting
    208d6fbada3f mount_root: clarify error messages for when no rootfs found
    dbe9454c8ea0 mconf: fix output of cflags and libraries
    7c7b224f5cce menuconfig,mconf-cfg: Allow specification of ncurses location
    b6c189c81397 modpost: mask trivial warnings
    a5cc21325ba9 kbuild: exclude meta directory from distclean processing
    361ec143c23f powerpc: serialize image targets
    605e6ccb304c arm: serialize build targets
    e94b04fcb7d2 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    44cc7f69a0a0 cpu/amd: inhibit SMP check for qemux86
    a08cb65331e6 x86_64_defconfig: Fix warnings
    8ad332ef777b mips: make current_cpu_data preempt safe
    754f05ddce3f mips: vdso: fix 'jalr $t9' crash in vdso code
    325ff78ff44d mips: Kconfig: add QEMUMIPS64 option
    99ae0eadcf11 4kc cache tlb hazard: tlbp cache coherency
    c6894c66a534 malta uhci quirks: make allowance for slow 4k(e)c
    8b52c01f3294 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    16c7629f035e drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    6b60c874cbb0 arm64: defconfig: cleanup config options
    8e44673ecd89 vexpress: Pass LOADADDR to Makefile
    f34e6805aad5 arm: ARM EABI socketcall
    94dec9b88de4 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 554ae7cc9e59b54a2a9115ffedd7a0fc71eeb853)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 17:49:16 +00:00
Bruce Ashfield
808fb969bc linux-yocto/6.12: update to v6.12.17
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    41b222412985 Linux 6.12.17
    27b929c45d6c drm/amdgpu: bump version for RV/PCO compute fix
    4ce4d5e1f999 drm/amdgpu/gfx9: manually control gfxoff for CS on RV
    7d672fd64a72 arm64: dts: rockchip: change eth phy mode to rgmii-id for orangepi r1 plus lts
    54dba9d5ae94 selftests/mm: build with -O2
    2799d16d0ca9 sched_ext: Fix incorrect assumption about migration disabled tasks in task_can_run_on_remote_rq()
    4abbe664a14e net: pse-pd: Fix deadlock in current limit functions
    384c8291f7ce tracing: Fix using ret variable in tracing_set_tracer()
    67cb8eaafca1 ftrace: Do not add duplicate entries in subops manager ops
    6856b5cdfb39 ftrace: Fix accounting of adding subops to a manager ops
    1bfc1f1b9eb4 ftrace: Correct preemption accounting for function tracing.
    e28e7d7b205f EDAC/qcom: Correct interrupt enable register configuration
    a9b0b4b29877 smb: client: Add check for next_buffer in receive_encrypted_standard()
    ada54b2e81eb irqchip/gic-v3: Fix rk3399 workaround when secure interrupts are enabled
    562d40ff3d23 perf/x86/intel: Fix event constraints for LNC
    82ac99303dd5 mtd: rawnand: cadence: fix incorrect device in dma_unmap_single
    0ce541686396 mtd: rawnand: cadence: use dma_map_resource for sdma address
    3c906b6dda2d mtd: rawnand: cadence: fix error code in cadence_nand_init()
    bb1accc7e0f6 mtd: spi-nor: sst: Fix SST write failure
    ff673b71f0a5 mm,madvise,hugetlb: check for 0-length range after end address adjustment
    ef5f11be7696 acct: block access to kernel internal filesystems
    5a59ced8ffc7 acct: perform last write from workqueue
    e8b4eb50000f ASoC: SOF: pcm: Clear the susbstream pointer to NULL on close
    1cce98bf4139 ALSA: hda/conexant: Add quirk for HP ProBook 450 G4 mute LED
    cb2b6244e50c ALSA: hda: Add error check for snd_ctl_rename_id() in snd_hda_create_dig_out_ctls()
    da2ce0dfa2f9 ASoC: fsl_micfil: Enable default case in micfil_set_quality()
    62ab1ae5511c ASoC: SOF: stream-ipc: Check for cstream nullity in sof_ipc_msg_data()
    aa8457effd1f gve: set xdp redirect target only when it is available
    897c32cd763f nfp: bpf: Add check for nfp_app_ctrl_msg_alloc()
    a1b5ed0a6144 smb: client: fix chmod(2) regression with ATTR_READONLY
    cd1c4113ba9e lib/iov_iter: fix import_iovec_ubuf iovec management
    3fb84dfb9784 xfs: fix online repair probing when CONFIG_XFS_ONLINE_REPAIR=n
    b720facbe096 s390/boot: Fix ESSA detection
    0841885c73c4 soc: loongson: loongson2_guts: Add check for devm_kstrdup()
    37b3d203610a arm64: dts: rockchip: Disable DMA for uart5 on px30-ringneck
    5e58e3636801 arm64: dts: rockchip: Move uart5 pin configuration to px30 ringneck SoM
    60e4e8bdf9c1 arm64: dts: rockchip: Fix broken tsadc pinctrl names for rk3588
    3f9240d59e9a mm/migrate_device: don't add folio to be freed to LRU in migrate_device_finalize()
    b7859e8643e7 drop_monitor: fix incorrect initialization order
    fd9d2d6124c2 tee: optee: Fix supplicant wait loop
    6f3edf2d50c9 gpiolib: protect gpio_chip with SRCU in array_info paths in multi get/set
    506b9b5e8c2d io_uring: prevent opcode speculation
    79151b47bf23 io_uring/rw: forbid multishot async reads
    2bf1f4c129db drm/i915/gt: Use spin_lock_irqsave() in interruptible context
    c949307a84c4 drm/i915/ddi: Fix HDMI port width programming in DDI_BUF_CTL
    9c1ae19a3dcb drm/i915/dp: Fix error handling during 128b/132b link training
    4ad9fe1b0cbb drm/i915: Make sure all planes in use by the joiner have their crtc included
    040f8f99ad4f drm/msm/dpu: Disable dither in phys encoder cleanup
    d754ae423bbf drm: panel: jd9365da-h3: fix reset signal polarity
    97621151f4a6 irqchip/jcore-aic, clocksource/drivers/jcore: Fix jcore-pit interrupt request
    2e2e49495445 drm/nouveau/pmu: Fix gp10b firmware guard
    7b8894ef0352 bpf: skip non exist keys in generic_map_lookup_batch
    d2d5fe4c6480 nvme/ioctl: add missing space in err message
    020c50e314dc nvme-tcp: fix connect failure on receiving partial ICResp PDU
    1070154b40bf nvme: tcp: Fix compilation warning with W=1
    4968166642bf drm/msm/dsi/phy: Do not overwite PHY_CMN_CLK_CFG1 when choosing bitclk source
    08592a6f8674 drm/msm/dsi/phy: Protect PHY_CMN_CLK_CFG1 against clock driver
    a57ddf00c577 drm/msm/dsi/phy: Protect PHY_CMN_CLK_CFG0 updated from driver side
    83fe04708319 drm/msm/dpu: Don't leak bits_per_component into random DSC_ENC fields
    2d1b3830b924 drm/msm/dpu: enable DPU_WB_INPUT_CTRL for DPU 5.x
    ab8af31d54a3 drm/msm/dpu: skip watchdog timer programming through TOP on >= SM8450
    45bb1eaa0e28 drm/msm: Avoid rounding up to one jiffy
    f5d5e8165aee nouveau/svm: fix missing folio unlock + put after make_device_exclusive_range()
    179831a606d8 platform: cznic: CZNIC_PLATFORMS should depend on ARCH_MVEBU
    bd29b3269de8 firmware: imx: IMX_SCMI_MISC_DRV should depend on ARCH_MXC
    fc810d09ad1c md/raid*: Fix the set_queue_limits implementations
    f3adf0094b6e firmware: arm_scmi: imx: Correct tx size of scmi_imx_misc_ctrl_set
    df0723313255 arm64: dts: rockchip: adjust SMMU interrupt type on rk3588
    c1f3f3892d45 bpf: Fix softlockup in arena_map_free on 64k page kernel
    f579afacd0a6 net: Add rx_skb of kfree_skb to raw_tp_null_args[].
    abd30e947f70 selftests/bpf: Add tests for raw_tp null handling
    ae11d93046a0 power: supply: axp20x_battery: Fix fault handling for AXP717
    8fa6c55e08ff power: supply: da9150-fg: fix potential overflow
    2ccd6679c469 arm64: dts: rockchip: Fix lcdpwr_en pin for Cool Pi GenBook
    fac674d2bd68 bpf: Fix deadlock when freeing cgroup storage
    f91716d5fa0b bpf: Disable non stream socket for strparser
    6798f428d8f8 bpf: Fix wrong copied_seq calculation
    a87a6888c05b strparser: Add read_sock callback
    d95607a5f2f9 bpf: avoid holding freeze_mutex during mmap operation
    1c81ba1913fb bpf: unify VM_WRITE vs VM_MAYWRITE use in BPF map mmaping logic
    972bafed67ca bpf, test_run: Fix use-after-free issue in eth_skb_pkt_type()
    ed0ca7d2127c net: allow small head cache usage with large MAX_SKB_FRAGS values
    cd34a07f7444 tcp: drop secpath at the same time as we currently drop dst
    83539bfbc119 net: axienet: Set mac_managed_pm
    c4a0f1153265 arp: switch to dev_getbyhwaddr() in arp_req_set_public()
    36d5616bc5ee net: Add non-RCU dev_getbyhwaddr() helper
    cbd75b9136c5 flow_dissector: Fix port range key handling in BPF conversion
    90c7f5cd5920 flow_dissector: Fix handling of mixed port and port-range keys
    4b02b06daf79 geneve: Suppress list corruption splat in geneve_destroy_tunnels().
    ff81b1401036 gtp: Suppress list corruption splat in gtp_net_exit_batch_rtnl().
    a055b1bc4009 net: pse-pd: pd692x0: Fix power limit retrieval
    9a2e2b058162 net: pse-pd: Use power limit at driver side instead of current limit
    414ce1853b8d net: pse-pd: Avoid setting max_uA in regulator constraints
    997ef6117efc tcp: adjust rcvq_space after updating scaling ratio
    478a46f1122f vsock/bpf: Warn on socket without transport
    22b683217ad2 sockmap, vsock: For connectible sockets allow only connected
    25dddd01dcc8 ibmvnic: Don't reference skb after sending to VIOS
    0ad0093cf0a8 ibmvnic: Add stat for tx direct vs tx batched
    0505ff2936f1 s390/ism: add release function for struct device
    4da5a3547d69 ALSA: seq: Drop UMP events when no UMP-conversion is set
    3e4c56cf4187 net/sched: cls_api: fix error handling causing NULL dereference
    e0f5b5407d0e ALSA: hda/cirrus: Correct the full scale volume set logic
    da9b0ae47f08 geneve: Fix use-after-free in geneve_find_dev().
    4381a4fab3a5 vsock/virtio: fix variables initialization during resuming
    72be19e184fc ASoC: imx-audmix: remove cpu_mclk which is from cpu dai device
    8d06e9208184 powerpc/code-patching: Fix KASAN hit by not flagging text patching area as VM_ALLOC
    baf6c85075c6 ALSA: hda/realtek: Fixup ALC225 depop procedure
    d57a90c83d69 powerpc/64s: Rewrite __real_pte() and __rpte_to_hidx() as static inline
    5980d4456dd6 powerpc/code-patching: Disable KASAN report during patching via temporary mm
    87c8768a9609 ASoC: SOF: ipc4-topology: Harden loops for looking up ALH copiers
    8de1ea6e427b ASoC: rockchip: i2s-tdm: fix shift config for SND_SOC_DAIFMT_DSP_[AB]
    3d92aa03900a sched_ext: Fix migration disabled handling in targeted dispatches
    d045c8f014c3 sched_ext: Factor out move_task_between_dsqs() from scx_dispatch_from_dsq()
    e9fec6f42c45 USB: gadget: f_midi: f_midi_complete to call queue_work
    1e6419b1a41d tracing: Have the error of __tracing_resize_ring_buffer() passed to user
    3284fbfa8711 tracing: Switch trace.c code over to use guard()
    e68f4717a292 drm/amdkfd: Ensure consistent barrier state saved in gfx12 trap handler
    1d83efc7e7dd drm/amdkfd: Move gfx12 trap handler to separate file
    639fc79f84f3 accel/ivpu: Fix error handling in recovery/reset
    6e254503a388 accel/ivpu: Add FW state dump on TDR
    509662f532ac accel/ivpu: Add coredump support
    d3f80d98f204 accel/ivpu: Limit FW version string length
    d91a36b2703c arm64: dts: mediatek: mt8183: Disable DSI display output by default
    66c5a2f4b738 arm64: dts: mediatek: mt8183-pumpkin: add HDMI support
    75334c9cd6b2 PCI: Restore original INTX_DISABLE bit by pcim_intx()
    ed020100b62c PCI: Remove devres from pci_intx()
    969c54c82d8c PCI: Export pci_intx_unmanaged() and pcim_intx()
    1711fd7bd915 PCI: Make pcim_request_all_regions() a public function
    4543b1b8f865 ASoC: renesas: rz-ssi: Add a check for negative sample_space
    fffb4a352672 ASoC: renesas: rz-ssi: Terminate all the DMA transactions
    3e179d3f1ada Input: synaptics - fix crash when enabling pass-through port
    3e0686bc608e Input: serio - define serio_pause_rx guard to pause and resume serio ports
    4a679448ef61 Bluetooth: qca: Fix poor RF performance for WCN6855
    065215ef00f1 Bluetooth: qca: Update firmware-name to support board specific nvm
    a81171bb2b78 drm/amd/display: Correct register address in dcn35
    6d173b198709 drm/amd/display: update dcn351 used clock offset
    3cd3a58908ab drm/amd/display: Refactoring if and endif statements to enable DC_LOGGER
    15d199404713 KVM: nVMX: Defer SVI update to vmcs01 on EOI when L2 is active w/o VID
    9d5034a35c3a KVM: x86: Inline kvm_get_apic_mode() in lapic.h
    2356acd8aa1d KVM: x86: Get vcpu->arch.apic_base directly and drop kvm_get_apic_base()
    2627661c31ba btrfs: fix double accounting race when extent_writepage_io() failed
    21333148b5c9 btrfs: fix double accounting race when btrfs_run_delalloc_range() failed
    80f32acfa14e btrfs: use btrfs_inode in extent_writepage()
    0138f46fea3f btrfs: rename btrfs_folio_(set|start|end)_writer_lock()
    e0922986ea6a btrfs: unify to use writer locks for subpage locking
    93c985ddccc3 btrfs: remove unused btrfs_folio_start_writer_lock()
    9f9e6f07cd57 btrfs: mark all dirty sectors as locked inside writepage_delalloc()
    4dd35a361f87 btrfs: move the delalloc range bitmap search into extent_io.c
    1853fd089416 btrfs: do not assume the full page range is not dirty in extent_writepage_io()
    fb96af0daa69 xe/oa: Fix query mode of operation for OAR/OAC
    c3bfba2be7ad drm/xe/oa: Add input fence dependencies
    803d418b7338 drm/xe/oa/uapi: Define and parse OA sync properties
    49db780464ef drm/xe/oa: Separate batch submission from waiting for completion
    93745f5f2377 arm64: mte: Do not allow PROT_MTE on MAP_HUGETLB user mappings
    19b4657de424 Linux 6.12.16
    61749c035911 Revert "vfio/platform: check the bounds of read/write syscalls"
    3a866f8376f0 vsock: Orphan socket after transport release
    645ce25aa0e6 vsock: Keep the binding until socket destruction
    7d0dc28dae83 io_uring/kbuf: reallocate buf lists on upgrade
    13129b1fbfff scsi: ufs: core: Ensure clk_gating.lock is used only after initialization
    2248b8145053 net: ipv6: fix dst refleaks in rpl, seg6 and ioam6 lwtunnels
    704fdc59601e cpufreq/amd-pstate: Remove the goto label in amd_pstate_update_limits
    e5aeac73ab04 wifi: rtw89: pci: disable PCIE wake bit when PCIE deinit
    d5c8ffaa9d53 selftests/bpf: Fix uprobe consumer test
    449dd20852d8 bpf: handle implicit declaration of function gettid in bpf_iter.c
    728dd20c8df7 x86/static-call: Remove early_boot_irqs_disabled check to fix Xen PVH dom0
    0df35b26dcd2 selftests: rtnetlink: update netdevsim ipsec output format
    adbf808f5901 netdevsim: print human readable IP address
    2ec95be2b743 drm: renesas: rz-du: Increase supported resolutions
    62cd174616ae drm/xe/tracing: Fix a potential TP_printk UAF
    1c5673a2c892 drm/v3d: Stop active perfmon if it is being destroyed
    549b4664fb72 drm/msm/dpu1: don't choke on disabling the writeback connector
    508a399ab6f2 drm/msm/dpu: fix x1e80100 intf_6 underrun/vsync interrupt
    a674aa0d33d6 drm/rcar-du: dsi: Fix PHY lock bit check
    2f1845e46c41 drm/msm/gem: prevent integer overflow in msm_ioctl_gem_submit()
    6c4dcdbe5137 drm/tidss: Clear the interrupt status for interrupts being disabled
    f94c5f24dae7 drm/tidss: Fix race condition while handling interrupt registers
    c5dcd3f421d0 drm/tidss: Fix issue in irq handling causing irq-flood issue
    25195f9d5ffc ipv6: mcast: add RCU protection to mld_newpack()
    19bfe57b1c24 btrfs: fix stale page cache after race between readahead and direct IO write
    53ba1169d976 btrfs: rename __get_extent_map() and pass btrfs_inode
    0bf8e2f37686 ipv6: mcast: extend RCU protection in igmp6_send()
    789230e5a8c1 ndisc: extend RCU protection in ndisc_send_skb()
    a849a10de5e0 openvswitch: use RCU protection in ovs_vport_cmd_fill_info()
    01d1b5c9abca arp: use RCU protection in arp_xmit()
    cdd5c2a12dda neighbour: use RCU protection in __neigh_notify()
    bbec88e4108e ndisc: use RCU protection in ndisc_alloc_skb()
    3e38cbbfa0a1 HID: hid-steam: Move hidraw input (un)registering to work
    2152b417be16 HID: hid-steam: Make sure rumble work is canceled on removal
    653bb5225cd4 ipv6: icmp: convert to dev_net_rcu()
    713a40c892f4 ipv6: use RCU protection in ip6_default_advmss()
    a57582779191 flow_dissector: use RCU protection to fetch dev_net()
    3c925321a574 ipv4: icmp: convert to dev_net_rcu()
    4583748b65de ipv4: use RCU protection in __ip_rt_update_pmtu()
    7f5005457b30 net: ipv4: Cache pmtu for all packet paths if multipath enabled
    ad66c7c4d81d ipv4: use RCU protection in inet_select_addr()
    77096420be1f ipv4: use RCU protection in rt_is_expired()
    f4ba5e65c92b ipv4: use RCU protection in ipv4_default_advmss()
    ec9af7645109 net: add dev_net_rcu() helper
    dfe542e745fc ipv4: use RCU protection in ip_dst_mtu_maybe_forward()
    cb4d7fbc937e ipv4: add RCU protection to ip4_dst_hoplimit()
    56e6976793c0 cpufreq/amd-pstate: Fix cpufreq_policy ref counting
    698d93debbc5 cpufreq/amd-pstate: convert mutex use to guard()
    f7548a939b24 cpufreq/amd-pstate: Merge amd_pstate_epp_cpu_offline() and amd_pstate_epp_offline()
    4ee13803d185 cpufreq/amd-pstate: Remove the cppc_state check in offline/online functions
    8ce0d636da0f cpufreq/amd-pstate: Refactor amd_pstate_epp_reenable() and amd_pstate_epp_offline()
    881d940d9f92 cpufreq/amd-pstate: Align offline flow of shared memory and MSR based systems
    31c1cc82da48 cpufreq/amd-pstate: Call cppc_set_epp_perf in the reenable function
    86f563c7431a rust: kbuild: add -fzero-init-padding-bits to bindgen_skip_cflags
    7d46869aa7bd scsi: ufs: Fix toggling of clk_gating.state when clock gating is not allowed
    f453c4515208 scsi: ufs: core: Introduce a new clock_gating lock
    9ece41a0d7d3 scsi: ufs: core: Prepare to introduce a new clock_gating lock
    f7015dcac273 scsi: ufs: core: Introduce ufshcd_has_pending_tasks()
    cc3d79e7c806 clocksource: Use migrate_disable() to avoid calling get_random_u32() in atomic context
    ebf0ac02e2d8 clocksource: Use pr_info() for "Checking clocksource synchronization" message
    5ab11a4e219e net: ipv6: fix dst ref loops in rpl, seg6 and ioam6 lwtunnels
    4a855c5aec41 net: ipv6: rpl_iptunnel: mitigate 2-realloc issue
    2fcc9f3798ef net: ipv6: seg6_iptunnel: mitigate 2-realloc issue
    8471e228448a net: ipv6: ioam6_iptunnel: mitigate 2-realloc issue
    9a1c65ff5e0d include: net: add static inline dst_dev_overhead() to dst.h
    cad62c5aee91 btrfs: fix hole expansion when writing at an offset beyond EOF
    23ab814ae449 mlxsw: Add return value check for mlxsw_sp_port_get_stats_raw()
    c45aa877256a cifs: pick channels for individual subrequests
    fe2a10a4cb19 igc: Set buffer type for empty frames in igc_init_empty_frame
    95992ebdafe6 mmc: mtk-sd: Fix register settings for hs400(es) mode
    7caed8d5f1ce arm64: Handle .ARM.attributes section in linker scripts
    eeb64f963756 regmap-irq: Add missing kfree()
    db60d2d896a1 iommu: Fix potential memory leak in iopf_queue_remove_device()
    2ca8802a24f7 regulator: qcom_smd: Add l2, l5 sub-node to mp5496 regulator
    75bf2f80c046 sched_ext: Fix incorrect autogroup migration detection
    6578717ebca9 partitions: mac: fix handling of bogus partition table
    6ccb3bbdad67 gpio: stmpe: Check return value of stmpe_reg_read in stmpe_gpio_irq_sync_unlock
    9f602c273fae gpiolib: acpi: Add a quirk for Acer Nitro ANV14
    01df870db957 s390/pci: Fix handling of isolated VFs
    c746d3eb0ddf s390/pci: Pull search for parent PF out of zpci_iov_setup_virtfn()
    a6a7e8b5a98b alpha: align stack for page fault and user unaligned trap handlers
    80d922bc08f6 alpha: replace hardcoded stack offsets with autogenerated ones
    c8a52c772c7c serial: 8250: Fix fifo underflow on flush
    010eb5fe2299 serial: port: Always update ->iotype in __uart_read_properties()
    29c04864fba2 serial: port: Assign ->iotype correctly when ->iobase is set
    edd408444537 cgroup: fix race between fork and cgroup.kill
    05b9d614eb64 rust: rbtree: fix overindented list item
    4166ac765340 objtool/rust: add one more `noreturn` Rust function
    bcaa01f4f4ff arm64: rust: clean Rust 1.85.0 warning using softfloat target
    3ed642e80c94 efi: Avoid cold plugged memory for placing the kernel
    3d041fb3b6e8 kbuild: userprogs: fix bitsize and target detection on clang
    ce526e1b29c7 PCI: Avoid FLR for Mediatek MT7922 WiFi
    44de00e8bc8f wifi: ath12k: fix handling of 6 GHz rules
    2c637b4aa50f alpha: make stack 16-byte aligned (most cases)
    722e8e1219c8 can: etas_es58x: fix potential NULL pointer dereference on udev->serial
    118fb35681bd can: rockchip: rkcanfd_handle_rx_fifo_overflow_int(): bail out if skb cannot be allocated
    759e4e94a3c9 can: j1939: j1939_sk_send_loop(): fix unable to send messages with data length zero
    6ea780e9a7ca can: c_can: fix unbalanced runtime PM disable in error path
    b0e592dd46a0 can: ctucanfd: handle skb allocation failure
    bd035e2758cc USB: serial: option: drop MeiG Smart defines
    db70ef8a8cef USB: serial: option: fix Telit Cinterion FN990A name
    addcc3128bce USB: serial: option: add Telit Cinterion FN990B compositions
    0ab22a1c2bd5 USB: serial: option: add MeiG Smart SLM828
    f894448f3904 usb: gadget: core: flush gadget workqueue after device removal
    a5b205ceefa5 usb: cdc-acm: Fix handling of oversized fragments
    f64079bef6a8 usb: cdc-acm: Check control transfer buffer size before access
    165fac6cebc8 USB: cdc-acm: Fill in Renesas R-Car D3 USB Download mode quirk
    62d8f4c5454d USB: hub: Ignore non-compliant devices with too many configs or interfaces
    6b16761a9287 usb: gadget: f_midi: fix MIDI Streaming descriptor lengths
    f4e1cebbfaa0 USB: Add USB_QUIRK_NO_LPM quirk for sony xperia xz1 smartphone
    6c4fce1b16d0 USB: quirks: add USB_QUIRK_NO_LPM quirk for Teclast dist
    847fff8e20c9 usb: core: fix pipe creation for get_bMaxPacketSize0
    9c91296e2dc6 USB: pci-quirks: Fix HCCPARAMS register error for LS7A EHCI
    f3b755022f5c usb: xhci: Restore xhci_pci support for Renesas HCs
    34971970d512 usb: dwc2: gadget: remove of_node reference upon udc_stop
    bcc1c91017c4 usb: gadget: udc: renesas_usb3: Fix compiler warning
    69f27580e8ee usb: roles: set switch registered flag early on
    5fead36e095f usb: dwc3: Fix timeout issue during controller enter/exit from halt state
    a5852836e589 usb: gadget: f_midi: Fixing wMaxPacketSize exceeded issue during MIDI bind retries
    9f837ea9221c ring-buffer: Update pages_touched to reflect persistent buffer content
    3ec743d558f1 ring-buffer: Validate the persistent meta data subbuf array
    e8dff5f73912 tracing: Do not allow mmap() of persistent ring buffer
    abb99f28b4f0 ring-buffer: Unlock resize on mmap error
    71762f455a81 perf/x86/intel: Ensure LBRs are disabled when a CPU is starting
    aa7a1bee54f9 perf/x86/intel: Fix ARCH_PERFMON_NUM_COUNTER_LEAF
    55057ec275f7 KVM: nSVM: Enter guest mode before initializing nested NPT MMU
    4eb063de686b KVM: x86: Load DR6 with guest value only before entering .vcpu_run() loop
    aca8be4403fb KVM: x86: Reject Hyper-V's SEND_IPI hypercalls if local APIC isn't in-kernel
    2498d2db1d35 drm/amdgpu: avoid buffer overflow attach in smu_sys_set_pp_table()
    0fdc3c166ac1 batman-adv: Drop unmanaged ELP metric worker
    e8f60d9cdae8 batman-adv: Ignore neighbor throughput metrics in error case
    2c3fb7df4cc6 batman-adv: fix panic during interface removal
    f71cb6da1366 kbuild: Use -fzero-init-padding-bits=all
    c0ccff7c6da9 ASoC: Intel: bytcr_rt5640: Add DMI quirk for Vexia Edu Atla 10 tablet 5V
    bf5a5e636aab kbuild: suppress stdout from merge_config for silent builds
    897f496b946f orangefs: fix a oob in orangefs_debug_write
    3dbe889a1b82 x86/mm/tlb: Only trim the mm_cpumask once a second
    019287b90532 ACPI: x86: Add skip i2c clients quirk for Vexia EDU ATLA 10 tablet 5V
    40f161657334 selftests: gpio: gpio-sim: Fix missing chip disablements
    de4049f85e89 Grab mm lock before grabbing pt lock
    e2db652741e8 fs/ntfs3: Unify inode corruption marking with _ntfs_bad_inode()
    44e35bfd2e55 vfio/nvgrace-gpu: Expose the blackwell device PF BAR1 to the VM
    18457b697f04 vfio/nvgrace-gpu: Read dvsec register to determine need for uncached resmem
    dd8830779b77 NFS: Fix potential buffer overflowin nfs_sysfs_link_rpc_client()
    758a5e1dc6db vfio/pci: Enable iowrite64 and ioread64 for vfio pci
    14a2a8ec50bc kunit: platform: Resolve 'struct completion' warning
    324785dc9f43 8250: microchip: pci1xxxx: Add workaround for RTS bit toggle
    1883eaf9b5dd serial: 8250_pci: Share WCH IDs with parport_serial driver
    c58e0d2d04fa serial: 8250_pci: Resolve WCH vendor ID ambiguity
    4d8e3a746b6c rtla/timerlat_top: Abort event processing on second signal
    8604b9805b85 rtla/timerlat_hist: Abort event processing on second signal
    88a01e9c9ad4 scsi: ufs: bsg: Set bsg_queue to NULL after removal
    551df35e4f4c PCI: switchtec: Add Microchip PCI100X device IDs
    2290d3bd9650 PCI/DPC: Quirk PIO log size for Intel Raptor Lake-P
    95432a37778c media: vidtv: Fix a null-ptr-deref in vidtv_mux_stop_thread
    24407a758460 media: uvcvideo: Add Kurokesu C1 PRO camera
    7706d1edb90d media: uvcvideo: Add new quirk definition for the Sonix Technology Co. 292a camera
    1b259a5df5e6 media: uvcvideo: Implement dual stream quirk to fix loss of usb packets
    eef0ce8d8d36 media: bcm2835-unicam: Disable trigger mode operation
    810634a07675 media: i2c: ds90ub953: Add error handling for i2c reads/writes
    e7a69bc05f32 media: i2c: ds90ub913: Add error handling to ub913_hw_init()
    aac9b55507ce media: cxd2841er: fix 64-bit division on gcc-9
    31ce02a272bb i3c: mipi-i3c-hci: Add support for MIPI I3C HCI on PCI bus
    2b5547ce45e9 i3c: mipi-i3c-hci: Add Intel specific quirk to ring resuming
    3d5c53cf3c20 soc/tegra: fuse: Update Tegra234 nvmem keepout list
    aa8e22cbedeb fbdev: omap: use threaded IRQ for LCD DMA
    cd955b75849b firmware: qcom: scm: smc: Handle missing SCM device
    fb3b0d1a19e8 RDMA/efa: Reset device on probe failure
    87fef8f6f2e0 tools: fix annoying "mkdir -p ..." logs when building tools in parallel
    40c731472f41 iommu/amd: Expicitly enable CNTRL.EPHEn bit in resume path
    a7052afa9eae gpiolib: Fix crash on error in gpiochip_get_ngpios()
    9a0a411f591e sched_ext: Use SCX_CALL_OP_TASK in task_tick_scx
    465255d52628 sched_ext: Fix the incorrect bpf_list kfunc API in common.bpf.h.
    9e6d70a91045 block: cleanup and fix batch completion adding conditions
    d159c142e623 x86/xen: allow larger contiguous memory regions in PV guests
    5a10af375347 xen/swiotlb: relax alignment requirements
    740bc21e2582 drm: Fix DSC BPP increment decoding
    d1d10bd59553 drm/amdgpu: bail out when failed to load fw in psp_init_cap_microcode()
    ae5ab1c1ae50 amdkfd: properly free gang_ctx_bo when failed to init user queue
    98d6ee3e305e io_uring/uring_cmd: remove dead req_has_async_data() check
    9d32212b998c io_uring/waitid: don't abuse io_tw_state
    1c3a7720fd96 gpio: bcm-kona: Add missing newline to dev_err format string
    30785bbbd5fe gpio: bcm-kona: Make sure GPIO bits are unlocked when requesting IRQ
    c7bee225dda4 gpio: bcm-kona: Fix GPIO lock/unlock for banks above bank 0
    19a6d7c28278 drm/i915/selftests: avoid using uninitialized context
    6c04fdb58f43 drm/xe/client: bo->client does not need bos_lock
    b12c991c6acb perf/x86/intel: Clean up PEBS-via-PT on hybrid
    c3e39d6acb05 cgroup: Remove steal time from usage_usec
    396d8e5136b4 gpu: host1x: Fix a use of uninitialized mutex
    715eb1af6477 arm64: cacheinfo: Avoid out-of-bounds write to cacheinfo array
    f3bafc927668 drm/tests: hdmi: Fix WW_MUTEX_SLOWPATH failures
    25ddd8f92a42 sched_ext: Fix lock imbalance in dispatch_to_local_dsq()
    e7c16028a424 workqueue: Put the pwq after detaching the rescuer from the pool
    4236bf471658 team: better TEAM_OPTION_TYPE_STRING validation
    a700e50fcf96 Bluetooth: btintel_pcie: Fix a potential race condition
    390bf69dcb20 net: ethernet: ti: am65_cpsw: fix tx_cleanup for XDP case
    1bba1d042107 net: ethernet: ti: am65-cpsw: fix memleak in certain XDP cases
    1dfb37ec8f01 LoongArch: KVM: Fix typo issue about GCFG feature detection
    9f15a8df542c LoongArch: csum: Fix OoB access in IP checksum code for negative lengths
    78d192f6147c LoongArch: Fix idle VS timer enqueue
    e860f847787f vxlan: check vxlan_vnigroup_init() return value
    4fceee361b37 igc: Fix HW RX timestamp when passed by ZC XDP
    16435bbe9147 idpf: call set_real_num_queues in idpf_open
    b2e2f6cc8752 idpf: record rx queue in skb for RSC packets
    99634723cfb0 idpf: fix handling rsc packet with a single segment
    022cac1c693a vrf: use RCU protection in l3mdev_l3_out()
    18e77fccfcf9 ndisc: ndisc_send_redirect() must use dev_get_by_index_rcu()
    b3a7b2a24174 Documentation/networking: fix basic node example document ISO 15765-2
    889e6b42a479 net: fib_rules: annotate data-races around rule->[io]ifindex
    b58f7ca86a7b ax25: Fix refcount leak caused by setting SO_BINDTODEVICE sockopt
    4df6f005bef0 spi: sn-f-ospi: Fix division by zero
    36fd8f1c735e HID: hid-steam: Don't use cancel_delayed_work_sync in IRQ context
    cdd9a1ea23ff HID: hid-thrustmaster: fix stack-out-of-bounds read in usb_check_int_endpoints()
    ba6ab3f04d0b pinctrl: pinconf-generic: Print unsigned value if a format is registered
    1f5b7a566e5b scripts/Makefile.extrawarn: Do not show clang's non-kprintf warnings at W=1
    aa879ef6d3ac HID: multitouch: Add NULL check in mt_input_configured
    b99dbdee8a89 HID: winwing: Add NULL check in winwing_init_led()
    59b55b65a96d pinctrl: cy8c95x0: Respect IRQ trigger settings from firmware
    4bc83ca7a035 pinctrl: cy8c95x0: Rename PWMSEL to SELPWM
    39fa22850fe9 pinctrl: cy8c95x0: Enable regmap locking for debug
    b74329644848 pinctrl: cy8c95x0: Avoid accessing reserved registers
    eea6d16f56e9 x86/cpu/kvm: SRSO: Fix possible missing IBPB on VM-Exit
    a88ca5d6d965 nfsd: validate the nfsd_serv pointer before calling svc_wake_up
    cedfbb92cf97 NFSD: fix hang in nfsd4_shutdown_callback
    f8d871523142 nfsd: clear acl_access/acl_default after releasing them
    984391de59a1 Linux 6.12.15
    681ee24cd5a2 xfs: don't lose solo dquot update transactions
    6b8aa7944351 Linux 6.12.14
    e149636e5eb6 ocfs2: check dir i_size in ocfs2_find_entry
    6c9cd0a70cce arm64: dts: rockchip: add reset-names for combphy on rk3568
    d49c64c1d723 statmount: let unset strings be empty
    7db0365ee609 fs: fix adding security options to statmount.mnt_opt
    45439a8b1115 fs: prepend statmount.mnt_opts string with security_sb_mnt_opts()
    bdea9e692de5 drm/xe: Fix and re-enable xe_print_blob_ascii85()
    c963ef1840a0 Revert "drm/amd/display: Fix green screen issue after suspend"
    8d82e8e4c3cd Revert "selftests/sched_ext: fix build after renames in sched_ext API"
    880b2cfda6aa md: Fix linear_set_limits()
    4c42502e9051 md/md-linear: Fix a NULL vs IS_ERR() bug in linear_add()
    eb03ebb34873 x86/mm: Convert unreachable() to BUG()
    3d67f2bb792a mptcp: prevent excessive coalescing on receive
    926a16e39d86 btrfs: avoid monopolizing a core when activating a swap file
    118b41e78b0a Revert "btrfs: avoid monopolizing a core when activating a swap file"
    38939faa290b spi: atmel-qspi: Memory barriers after memory-mapped I/O
    dfce40c775e6 spi: atmel-quadspi: Create `atmel_qspi_ops` to support newer SoC families
    d13f17af94f2 xfs: fix mount hang during primary superblock recovery failure
    84307caff2f4 xfs: lock dquot buffer before detaching dquot from b_li_list
    ee6984a2279e xfs: release the dquot buf outside of qli_lock
    d331fc154564 xfs: convert quotacheck to attach dquot buffers
    5808d4206f7c xfs: attach dquot buffer to dquot log item buffer
    e2150d6ced90 xfs: clean up log item accesses in xfs_qm_dqflush{,_done}
    08c7027e43a2 xfs: separate dquot buffer reads from xfs_dqflush
    ef24207c99cb xfs: don't lose solo superblock counter update transactions
    ee93e08d4c8b xfs: avoid nested calls to __xfs_trans_commit
    9be0b25adeb2 MIPS: ftrace: Declare ftrace_get_parent_ra_addr() as static
    4801e961be61 s390/fpu: Add fpc exception handler / remove fixup section again
    c6dd70e5b465 timers/migration: Fix off-by-one root mis-connection
    acbfc674ced7 rtc: zynqmp: Fix optional clock name property
    b13d32786aca RDMA/mlx5: Fix a race for an ODP MR which leads to CQE with error
    8441aea46445 ptp: Ensure info->enable callback is always set
    f45d9220fdb4 pinctrl: renesas: rzg2l: Fix PFC_MASK for RZ/V2H and RZ/G3E
    14fc1e3bb886 pinctrl: samsung: fix fwnode refcount cleanup if platform_get_irq_optional() fails
    1fdfafdeab49 rtla/timerlat_top: Stop timerlat tracer on signal
    e04985561769 rtla/timerlat_hist: Stop timerlat tracer on signal
    2cf2ddfdeb90 rtla: Add trace_instance_stop
    66e1ca983b5d rtla/timerlat_top: Set OSNOISE_WORKLOAD for kernel threads
    6bcf53498516 rtla/timerlat_hist: Set OSNOISE_WORKLOAD for kernel threads
    6b3ce60f2df3 rtla/osnoise: Distinguish missing workload option
    b45707c3c067 tracing/osnoise: Fix resetting of tracepoints
    f6760e7fb03a scripts/gdb: fix aarch64 userspace detection in get_current_task
    19fc795e9de0 maple_tree: simplify split calculation
    aab2bc4a0633 net: phy: c45-tjaxx: add delay between MDIO write and read in soft_reset
    2677640f7fe5 net/ncsi: wait for the last response to Deselect Package before configuring channel
    24a79c6bc8de misc: fastrpc: Fix copy buffer page size
    67419ee2c52b misc: fastrpc: Fix registered buffer page address
    a2544ebcb466 misc: fastrpc: Deregister device nodes properly in error scenarios
    8b4120b3e060 misc: misc_minor_alloc to use ida for all dynamic/misc dynamic minors
    1cda594dfad5 mtd: onenand: Fix uninitialized retlen in do_otp_read()
    c9a6200e7932 irqchip/apple-aic: Only handle PMC interrupt as FIQ when configured so
    e39861992070 i3c: master: Fix missing 'ret' assignment in set_speed()
    39603bb38cf1 fgraph: Fix set_graph_notrace with setting TRACE_GRAPH_NOTRACE_BIT
    2ae4bade5a64 NFC: nci: Add bounds checking in nci_hci_create_pipe()
    a833dbe62a90 mailbox: zynqmp: Remove invalid __percpu annotation in zynqmp_ipi_probe()
    cbdce45e81c5 mailbox: tegra-hsp: Clear mailbox before using message
    24d05ea5a044 NFSD: Encode COMPOUND operation status on page boundaries
    7cb77019afdf nfs: Make NFS_FSCACHE select NETFS_SUPPORT instead of depending on it
    b9495a9109ab nilfs2: fix possible int overflows in nilfs_fiemap()
    52a326f93ceb ocfs2: handle a symlink read error correctly
    d0b100a46301 ocfs2: fix incorrect CPU endianness conversion causing mount failure
    3996a41b1eeb pnfs/flexfiles: retry getting layout segment for reads
    7dc5a84ba549 selftests: mptcp: connect: -f: no reconnect
    61ba518195d6 vfio/platform: check the bounds of read/write syscalls
    be985aea92ea io_uring/net: don't retry connect operation on EPOLLERR
    35ae7910c349 io_uring: fix multishots with selected buffers
    0c15fe711d67 nvmem: imx-ocotp-ele: set word length to 1
    829421f1eaa2 nvmem: imx-ocotp-ele: fix reading from non zero offset
    ca81889d66aa nvmem: imx-ocotp-ele: fix MAC address byte order
    6d8b86781513 nvmem: imx-ocotp-ele: simplify read beyond device check
    2c3109dcdaed nvmem: core: improve range check for nvmem_cell_write()
    c01dd86afbd2 nvmem: qcom-spmi-sdam: Set size in struct nvmem_config
    146109fe936a ceph: fix memory leak in ceph_mds_auth_match()
    76e6d50fa5a2 crypto: qce - unregister previously registered algos in error path
    ea96d8ddcf7e crypto: qce - fix goto jump in error path
    06124c6ae800 irqchip/irq-mvebu-icu: Fix access to msi_data from irq_domain::host_data
    0dd5aade301a ata: libata-sff: Ensure that we cannot write outside the allocated buffer
    4491159774d9 mm/compaction: fix UBSAN shift-out-of-bounds warning
    ac304fa97846 mm/hugetlb: fix hugepage allocation for interleaved memory nodes
    4b6930831479 mm/vmscan: accumulate nr_demoted for accurate demotion statistics
    a403eca86c58 mm: gup: fix infinite loop within __get_longterm_locked
    e87df541b439 mm: kmemleak: fix upper boundary check for physical address objects
    438bda062b2c media: uvcvideo: Remove dangling pointers
    e8a650dbc732 media: uvcvideo: Remove redundant NULL assignment
    34fb9eb31d66 media: uvcvideo: Only save async fh if success
    ac7737ed9aee media: uvcvideo: Support partial control reads
    4f534dd576b7 media: uvcvideo: Fix event flags in uvc_ctrl_send_events
    d2eac8b14ac6 media: uvcvideo: Fix crash during unbind if gpio unit is in use
    9513dac27804 media: i2c: ds90ub960: Fix logging SP & EQ status only for UB9702
    6de9786c6138 media: i2c: ds90ub960: Fix UB9702 VC map
    1ee76f7b430e media: i2c: ds90ub960: Fix use of non-existing registers on UB9702
    f4e4373322f8 media: i2c: ds90ub9x3: Fix extra fwnode_handle_put()
    fd551f51908e media: ccs: Fix cleanup order in ccs_probe()
    c85a33577c11 media: ccs: Fix CCS static data parsing for large block sizes
    ffb7e57e40c6 media: stm32: dcmipp: correct dma_set_mask_and_coherent mask value
    920127636e58 media: ov5640: fix get_light_freq on auto
    1496ec94bd38 media: intel/ipu6: remove cpu latency qos request on error
    b2c82610ebef media: imx296: Add standby delay during probe
    bdd823b9d068 media: nuvoton: Fix an error check in npcm_video_ece_init()
    5100391acad4 media: mc: fix endpoint iteration
    8e95e0933aff media: mmp: Bring back registration of the device
    b64b7730879a soc: qcom: smem_state: fix missing of_node_put in error path
    2153c78328aa soc: qcom: llcc: Enable LLCC_WRCACHE at boot on X1
    270d7917b02b soc: mediatek: mtk-devapc: Fix leaking IO map on driver remove
    532fd6c0070f soc: mediatek: mtk-devapc: Fix leaking IO map on error paths
    8fd332aebde3 soc: samsung: exynos-pmu: Fix uninitialized ret in tensor_set_bits_atomic()
    46607b0ab140 iommufd/fault: Use a separate spinlock to protect fault->deliver list
    97fff044f892 iommufd/fault: Destroy response and mutex in iommufd_fault_destroy()
    db22b33c7ec9 iommu/tegra241-cmdqv: Read SMMU IDR1.CMDQS instead of hardcoding
    5f4a0561783d iio: light: as73211: fix channel handling in only-color triggered buffer
    33c8c1d45a32 mm/hugetlb: fix avoid_reserve to allow taking folio from subpool
    fcffbb75db92 media: ccs: Clean up parsed CCS static data on parse failure
    2a54e8f1187c kfence: skip __GFP_THISNODE allocations on NUMA systems
    7caf6c4bc25a iommufd: Fix struct iommu_hwpt_pgfault init and padding
    e456a88bddae hrtimers: Force migrate away hrtimers queued after CPUHP_AP_HRTIMERS_DYING
    c287f18f646d rv: Reset per-task monitors also for idle tasks
    422d7f4e8d81 tpm: Change to kvalloc() in eventlog/acpi.c
    bef994de9980 ACPI: PRM: Remove unnecessary strict handler address checks
    a468d0585d98 accel/ivpu: Clear runtime_error after pm_runtime_resume_and_get() fails
    31c2134667ee xfs: Add error handling for xfs_reflink_cancel_cow_range
    a5e7a81e3a60 xfs: Propagate errors from xfs_reflink_cancel_cow_range in xfs_dax_write_iomap_end
    88678371a53e xfs: don't call remap_verify_area with sb write protection held
    df751229b5c6 pwm: microchip-core: fix incorrect comparison with max period
    386ee93cf0cf parisc: Temporarily disable jump label support
    a9fb1a44cfb2 arm64: tegra: Disable Tegra234 sce-fabric node
    36d6ea0000cd arm64: tegra: Fix typo in Tegra234 dce-fabric compatible
    b26dc27dd90f crypto: qce - fix priority to be less than ARMv8 CE
    6a59fe8bffff arm64: dts: qcom: sm8650: correct MDSS interconnects
    2b4cd9c82ce8 arm64: dts: qcom: sm8550: correct MDSS interconnects
    f456effc2c6d arm64: dts: qcom: sm8650: Fix MPSS memory length
    e37b8d8d6360 arm64: dts: qcom: sm8650: Fix CDSP memory length
    068a57a068a8 arm64: dts: qcom: sm8650: Fix ADSP memory base and length
    0ae91af31ce2 arm64: dts: qcom: sm8550: Fix MPSS memory length
    b416d7c207f2 arm64: dts: qcom: sm8550: Fix CDSP memory length
    c32e19dd39da arm64: dts: qcom: sm8550: Fix ADSP memory base and length
    c9555e8fe004 arm64: dts: qcom: sm8450: Fix MPSS memory length
    33821887be61 arm64: dts: qcom: sm8450: Fix CDSP memory length
    1376952ff24c arm64: dts: qcom: sm8450: Fix ADSP memory base and length
    589d36b20654 arm64: dts: qcom: sm8350: Fix MPSS memory length
    9ec362186877 arm64: dts: qcom: sm8350: Fix CDSP memory base and length
    9b2c1fa39cd7 arm64: dts: qcom: sm8350: Fix ADSP memory base and length
    6fd804a1f84a arm64: dts: qcom: sm6375: Fix MPSS memory base and length
    be52cd29f5bb arm64: dts: qcom: sm6375: Fix CDSP memory base and length
    b2a8ce68364f arm64: dts: qcom: sm6375: Fix ADSP memory length
    6aeb58dc6d39 arm64: dts: qcom: sm6350: Fix uart1 interconnect path
    78508f1ef817 arm64: dts: qcom: sm6350: Fix MPSS memory length
    7acd2cce0040 arm64: dts: qcom: sm6350: Fix ADSP memory length
    e73b392d82cd arm64: dts: qcom: sm6115: Fix ADSP memory base and length
    93d13d6a1a67 arm64: dts: qcom: sm6115: Fix CDSP memory length
    cb0391430d7b arm64: dts: qcom: sm6115: Fix MPSS memory length
    df06630449b9 arm64: dts: qcom: x1e80100: Fix CDSP memory length
    1552b3b80e31 arm64: dts: qcom: x1e80100: Fix ADSP memory base and length
    3052c4713764 arm64: dts: qcom: sdx75: Fix MPSS memory length
    e906ed7dd9c0 arm64: dts: mediatek: mt8183: Disable DPI display output by default
    f08524ae594c ARM: dts: ti/omap: gta04: fix pm issues caused by spi module
    8330abd5d373 ARM: dts: dra7: Add bus_dma_limit for l4 cfg bus
    15fd2e1ad5da ubi: Add a check for ubi_num
    247abefeb50d x86/boot: Use '-std=gnu11' to fix build with GCC 15
    c4abb4a010e5 x86/acpi: Fix LAPIC/x2APIC parsing order
    93893d741357 x86: rust: set rustc-abi=x86-softfloat on rustc>=1.86.0
    332e85d220ee rust: init: use explicit ABI to clean warning in future compilers
    cbcd8b83d22d kbuild: Move -Wenum-enum-conversion to W=2
    8db25d4c4a48 scsi: core: Do not retry I/Os during depopulation
    43b0b2a08f16 scsi: storvsc: Set correct data length for sending SCSI command without payload
    0c77c0d754fe scsi: ufs: core: Fix use-after free in init error and remove paths
    f77e890c7623 scsi: ufs: qcom: Fix crypto key eviction
    2cf3c3fe9a11 scsi: qla2xxx: Move FCE Trace buffer allocation to user control
    4367fb2a0841 scsi: st: Don't set pos_unknown just after device recognition
    2b3928b7c896 KVM: x86/mmu: Ensure NX huge page recovery thread is alive before waking
    2c4cda456ee5 nvme-pci: Add TUXEDO IBP Gen9 to Samsung sleep quirk
    9fbac831005c nvme-pci: Add TUXEDO InfinityFlex to Samsung sleep quirk
    b5cacfd06706 PCI: dwc: ep: Prevent changing BAR size/flags in pci_epc_set_bar()
    36786d1a45c6 PCI: dwc: ep: Write BAR_MASK before iATU registers in pci_epc_set_bar()
    3d17a4bbf257 PCI: endpoint: Finish virtual EP removal in pci_epf_remove_vepf()
    5ee3dd6e59b8 PCI: Avoid putting some root ports into D3 on TUXEDO Sirius Gen1
    a1ecc325416a s390/pci: Fix SR-IOV for PFs initially in standby
    ef814c884151 arm64: tegra: Fix Tegra234 PCIe interrupt-map
    679beb818093 ALSA: hda: Fix headset detection failure due to unstable sort
    cf5870192a0a ALSA: hda/realtek: Fix quirk matching for Legion Pro 7
    965e7d9ad7fa ALSA: hda/realtek: Enable headset mic on Positivo C6400
    fee921e3c641 firmware: qcom: scm: Fix missing read barrier in qcom_scm_get_tzmem_pool()
    0d712f9b4b30 firmware: qcom: scm: Fix missing read barrier in qcom_scm_is_available()
    0a14a2b84177 Revert "media: uvcvideo: Require entities to have a non-zero unique ID"
    68f16d3034a0 block: don't revert iter for -EIOCBQUEUED
    8a844ea6d73f Revert "MIPS: csrc-r4k: Select HAVE_UNSTABLE_SCHED_CLOCK if SMP && 64BIT"
    6d76a2a72c2e MIPS: pci-legacy: Override pci_address_to_pio
    0bf083a80373 mips/math-emu: fix emulation of the prefx instruction
    68a25ceb11cd dm-crypt: track tag_offset in convert_context
    d0b81ea5a513 dm-crypt: don't update io->sector after kcryptd_crypt_write_io_submit()
    211473af5858 powerpc/pseries/eeh: Fix get PE state translation
    e2bc9a5d7a23 LoongArch: Extend the maximum number of watchpoints
    9b5922b0fab4 MIPS: Loongson64: remove ROM Size unit in boardinfo
    ee95d0843a49 serial: sh-sci: Do not probe the serial port if its slot in sci_ports[] is in use
    7ec1dc3d579d serial: sh-sci: Drop __initdata macro for port_cfg
    407c928305c1 soc: qcom: socinfo: Avoid out of bounds read of serial number
    62746ec80dfb ASoC: acp: Support microphone from Lenovo Go S
    a198ee66328d arm64: dts: qcom: x1e80100: Fix usb_2 controller interrupts
    3a42fd8626d2 arm64: dts: qcom: x1e80100-microsoft-romulus: Fix USB QMP PHY supplies
    fdad58e0b85e arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: Fix USB QMP PHY supplies
    25bc7ee64bd5 arm64: dts: qcom: x1e80100-crd: Fix USB QMP PHY supplies
    b42072041f03 arm64: dts: qcom: x1e78100-lenovo-thinkpad-t14s: Fix USB QMP PHY supplies
    b4c67165fc30 arm64: dts: qcom: x1e80100-qcp: Fix USB QMP PHY supplies
    b7da8e54480d arm64: dts: qcom: x1e80100-asus-vivobook-s15: Fix USB QMP PHY supplies
    829a5645616f usbnet: ipheth: document scope of NCM implementation
    5835bf66c50a usbnet: ipheth: fix DPE OoB read
    c0912ae6586e usbnet: ipheth: break up NCM header size computation
    cf63d65ab9bb usbnet: ipheth: refactor NCM datagram loop
    387ec9277a9e usbnet: ipheth: check that DPE points past NCM header
    cf1ac7f7cf60 usbnet: ipheth: use static NDP16 location in URB
    d677e7dd59ad usbnet: ipheth: fix possible overflow in DPE length check
    df5bc4891b3d usb: gadget: f_tcm: Don't prepare BOT write request twice
    3e01f162a10a usb: gadget: f_tcm: ep_autoconfig with fullspeed endpoint
    0c3d544b61c6 usb: gadget: f_tcm: Decrement command ref count on cleanup
    5ff4628b8dcf usb: gadget: f_tcm: Translate error to sense
    0ee1df18f27d wifi: rtw88: 8703b: Fix RX/TX issues
    a64cf5532719 wifi: mt76: mt7915: add module param to select 5 GHz or 6 GHz on MT7916
    46fa0c08d223 wifi: rtw88: sdio: Fix disconnection after beacon loss
    59dd56cf3b70 wifi: mt76: mt7921u: Add VID/PID for TP-Link TXE50UH
    fbbfef2a5b85 wifi: brcmfmac: fix NULL pointer dereference in brcmf_txfinalize()
    e3f7ee7a2dff wifi: rtlwifi: rtl8821ae: Fix media status report
    d0bf6bfc9cf2 atomic64: Use arch_spin_locks instead of raw_spin_locks
    ed0ad04c6825 ring-buffer: Do not allow events in NMI with generic atomic64 cmpxchg()
    416d22fe8c18 HID: hid-sensor-hub: don't use stale platform-data on remove
    c866c0056093 Input: bbnsm_pwrkey - add remove hook
    5b91440ebef9 of: reserved-memory: Fix using wrong number of cells to get property 'alignment'
    4e4b3d492673 of: Fix of_find_node_opts_by_path() handling of alias+path+options
    e62c63081020 of: address: Fix empty resource handling in __of_address_resource_bounds()
    45ad3c7d62eb of: Correct child specifier used as input of the 2nd nexus node
    ae959ab075fb scsi: ufs: core: Fix the HIGH/LOW_TEMP Bit Definitions
    3fb0f8df1d02 perf bench: Fix undefined behavior in cmpworker()
    acd8ff789bf1 efi: libstub: Use '-std=gnu11' to fix build with GCC 15
    2ce09aabe009 blk-cgroup: Fix class @block_class's subsystem refcount leakage
    5a262628f4cf seccomp: passthrough uretprobe systemcall without filtering
    c4241c04df05 clk: mediatek: mt2701-mm: add missing dummy clk
    314edc5a52e6 clk: mediatek: mt2701-img: add missing dummy clk
    89843e4c7795 clk: mediatek: mt2701-bdp: add missing dummy clk
    b7b72c7f93fc clk: mediatek: mt2701-aud: fix conversion to mtk_clk_simple_probe
    234438b46322 clk: mediatek: mt2701-vdec: fix conversion to mtk_clk_simple_probe
    35ce9e7c9fce clk: qcom: clk-rpmh: prevent integer overflow in recalc_rate
    fe7ce4e583e0 clk: qcom: gcc-mdm9607: Fix cmd_rcgr offset for blsp1_uart6 rcg
    2dba8d5d423f clk: qcom: dispcc-sm6350: Add missing parent_map for a clock
    b6fe13566bf5 clk: qcom: gcc-sm6350: Add missing parent_map for two clocks
    a4911d6891bd clk: qcom: gcc-sm8650: Do not turn off PCIe GDSCs during gdsc_disable()
    e2dd0efa4d03 clk: qcom: gcc-sm8550: Do not turn off PCIe GDSCs during gdsc_disable()
    26dae7a6c080 clk: qcom: clk-alpha-pll: fix alpha mode configuration
    ea3f6ef7720b clk: clk-loongson2: Fix the number count of clk provider
    15413c1a6551 media: i2c: ds90ub960: Fix UB9702 refclk register access
    eca01d5911fb clk: mmp2: call pm_genpd_init() only after genpd.name is set
    410586e60037 clk: sunxi-ng: a100: enable MMC clock reparenting
    3192f1c54ddd KEYS: trusted: dcp: fix improper sg use with CONFIG_VMAP_STACK=y
    ddfc234761a4 Bluetooth: L2CAP: accept zero as a special value for MTU auto-selection
    691218a50c31 Bluetooth: L2CAP: handle NULL sock pointer in l2cap_sock_alloc
    7173b70df472 drm/amd/display: Fix seamless boot sequence
    20a57f68db1b drm/amdgpu: add a BO metadata flag to disable write compression for Vulkan
    4b1d3186284f drm/i915: Drop 64bpp YUV formats from ICL+ SDR planes
    c842f22fc26e drm/i915/dp: Iterate DSC BPP from high to low on all platforms
    b20ecb792c00 drm/xe/devcoredump: Move exec queue snapshot to Contexts section
    36b9be873809 drm/komeda: Add check for komeda_get_layer_fourcc_list()
    2708a151e0e9 drm/i915: Fix page cleanup on DMA remap failure
    5775ef49d792 drm/i915/guc: Debug print LRC state entries only if the context is pinned
    95c75578c420 Revert "drm/amd/display: Use HW lock mgr for PSR1"
    4d23b42a45dc drm/amdkfd: Block per-queue reset when halt_if_hws_hang=1
    89dcc75d5172 drm/amdkfd: only flush the validate MES contex
    7e207a094ee6 drm/amd/amdgpu: change the config of cgcg on gfx12
    721a493fa2a5 drm/amd/pm: Mark MM activity as unsupported
    3ec8e3dab60c drm/amd/display: Optimize cursor position updates
    b4b902737746 ksmbd: fix integer overflows on 32 bit systems
    5b199733b901 KVM: s390: vsie: fix some corner-cases when grabbing vsie pages
    27f651d28fee kvm: defer huge page recovery vhost task to later
    f2f805ada63b KVM: Explicitly verify target vCPU is online in kvm_get_vcpu()
    dd78c25a14fe remoteproc: omap: Handle ARM dma_iommu_mapping
    f50ed030dbf0 arm64: dts: rockchip: increase gmac rx_delay on rk3399-puma
    5f50c5586c77 drm/rockchip: cdn-dp: Use drm_connector_helper_hpd_irq_event()
    de3ffeb2122e KVM: arm64: timer: Always evaluate the need for a soft timer
    e5251ae5d3c0 arm64/mm: Reduce PA space to 48 bits when LPA2 is not enabled
    c66e5205fd22 arm64/sme: Move storage of reg_smidr to __cpuinfo_store_cpu()
    8abf61300643 arm64/mm: Override PARange for !LPA2 and use it consistently
    5a6520493c41 arm64/kvm: Configure HYP TCR.PS/DS based on host stage1
    1b705df8ecdb accel/ivpu: Fix Qemu crash when running in passthrough
    a009378af674 binfmt_flat: Fix integer overflow bug on 32 bit systems
    f735c9d4dc93 fs/proc: do_task_stat: Fix ESP not readable during coredump
    36bcdf340017 m68k: vga: Fix I/O defines
    4204ca15ec5e arm64: Filter out SVE hwcaps when FEAT_SVE isn't implemented
    6e83f167bb10 s390/futex: Fix FUTEX_OP_ANDN implementation
    2b7f9749e6b3 md: reintroduce md-linear
    7ec4ef57aec1 smb: client: change lease epoch type from unsigned int to __u16
    e776cff5ed1e smb: client: fix order of arguments of tracepoints
    ac7b5f3e4d5b drm/client: Handle tiled displays better
    b865c6a6178b drm/modeset: Handle tiled displays in pan_display_atomic.
    843bd0089c06 cifs: Remove intermediate object of failed create SFU call
    0a2beaa95f74 ALSA: hda/realtek: Enable Mute LED on HP Laptop 14s-fq1xxx
    37cab2868e5c leds: lp8860: Write full EEPROM, not only half of it
    ab061462be52 cpufreq: s3c64xx: Fix compilation warning
    9325895e4162 cpufreq: fix using cpufreq-dt as module
    ac52c98e1ff3 rxrpc: Fix call state set to not include the SERVER_SECURING state
    181b23ca2ef0 net: sched: Fix truncation of offloaded action statistics
    e36364d5d434 tun: revert fix group permission check
    631255524908 netem: Update sch->q.qlen before qdisc_tree_reduce_backlog()
    e40cb34b7f24 pfifo_tail_enqueue: Drop new packet when sch->limit == 0
    bb6f3569dd0b ACPI: property: Fix return value for nval == 0 in acpi_data_prop_read()
    d5079b8f34f9 x86/xen: add FRAME_END to xen_hypercall_hvm()
    4890a0858c09 x86/xen: fix xen_hypercall_hvm() to not clobber %rbx
    f014a926eb5a gpio: sim: lock hog configfs items if present
    970cd2ed26cd net: rose: lock the socket in rose_bind()
    2e53fb8afe41 net: atlantic: fix warning during hot unplug
    1ecc3bed3846 gpio: pca953x: Improve interrupt support
    d1754c69448f rxrpc: Fix the rxrpc_connection attend queue handling
    3139a7024e9a ethtool: rss: fix hiding unsupported fields in dumps
    4c6ed049bc4e drm/i915/dp: fix the Adaptive sync Operation mode for SDP
    83ebf741aa64 udp: gso: do not drop small packets when PMTU reduces
    b55dfd7bac24 tg3: Disable tg3 PCIe AER on system reboot
    2bd762847d20 vmxnet3: Fix tx queue race condition with XDP
    f21d479c1f69 ice: Add check for devm_kzalloc()
    acd5f07e9f0f net: bcmgenet: Correct overlaying of PHY and MAC Wake-on-LAN
    8ed1b13a38d7 nvme-fc: use ctrl state getter
    5eba53a9eaf8 nvme: make nvme_tls_attrs_group static
    ab7522ce29fd ice: stop storing XDP verdict within ice_rx_buf
    50e4b64a2d4a ice: gather page_count()'s of each frag right before XDP prog call
    311813ed013c ice: put Rx buffers after being done with current frame
    ec53033c5723 gpu: drm_dp_cec: fix broken CEC adapter properties check
    fd6df04a91e8 firmware: iscsi_ibft: fix ISCSI_IBFT Kconfig entry
    bc85817e6bc0 nvme: handle connectivity loss in nvme_set_queue_count
    57e07d10b338 sched/fair: Fix inaccurate h_nr_runnable accounting with delayed dequeue
    1c1c91bf05ef platform/x86: serdev_helpers: Check for serial_ctrl_uid == NULL
    e46d91ca504d tty: Permit some TIOCL_SETSEL modes without CAP_SYS_ADMIN
    9b88a7c4584b tty: xilinx_uartps: split sysrq handling
    30c6a7a9da55 xfs: don't over-report free space or inodes in statvfs
    1f88b5c4f992 xfs: report realtime block quota limits on realtime directories
    4e144498d16b drm/amdgpu: Fix Circular Locking Dependency in AMDGPU GFX Isolation
    48fe216d7db6 KVM: e500: always restore irqs
    833f69be62ac KVM: PPC: e500: Use __kvm_faultin_pfn() to handle page faults
    f2623aec7fdc KVM: PPC: e500: Mark "struct page" pfn accessed before dropping mmu_lock
    dec857329fb9 KVM: PPC: e500: Mark "struct page" dirty in kvmppc_e500_shadow_map()
    7056d426a637 platform/x86: acer-wmi: Ignore AC events
    c74d1721804a platform/x86: acer-wmi: add support for Acer Nitro AN515-58
    33a4a9f54ae9 Input: allocate keycode for phone linking
    999531398e15 ASoC: amd: Add ACPI dependency to fix build error
    06fe7c32d58a platform/x86: acer-wmi: Add support for Acer Predator PH16-72
    90778f31efdf ASoC: soc-pcm: don't use soc_pcm_ret() on .prepare callback
    c021dc03bfa7 platform/x86: acer-wmi: Add support for Acer PH14-51
    0a30353beca2 platform/x86: int3472: Check for adev == NULL
    c578aedea2a1 iommu/arm-smmu-v3: Clean up more on probe failure
    d888437bd317 iommu/arm-smmu-qcom: add sdm670 adreno iommu compatible
    0f76d831070c ASoC: Intel: sof_sdw: Correct quirk for Lenovo Yoga Slim 7
    06a0e2a320a5 x86/kexec: Allocate PGD for x86_64 transition page tables separately
    e012a77e4d76 ASoC: SOF: Intel: hda-dai: Ensure DAI widget is valid during params
    82b44cdb0355 net: ethernet: ti: am65-cpsw: ensure proper channel cleanup in error path
    4f60eff8b5e6 selftests/net/ipsec: Fix Null pointer dereference in rtattr_pack()
    c257c15845e7 tipc: re-order conditions in tipc_crypto_key_rcv()
    6bb91eb7c079 octeon_ep_vf: update tx/rx stats locally for persistence
    09c86dc2ada1 octeon_ep: update tx/rx stats locally for persistence
    30d003f24a93 mmc: sdhci-msm: Correctly set the load for the regulator
    ca06b3769c93 HID: hid-asus: Disable OOBE mode on the ProArt P16
    2785019ea03a net: wwan: iosm: Fix hibernation by re-binding the driver around it
    ebb90f23f0ac Bluetooth: MGMT: Fix slab-use-after-free Read in mgmt_remove_adv_monitor_sync
    c3a1c34110ed Bluetooth: btusb: Add new VID/PID 13d3/3628 for MT7925
    7e55e224300e Bluetooth: btusb: Add new VID/PID 13d3/3610 for MT7922
    584b3e250ee0 APEI: GHES: Have GHES honor the panic= setting
    a54240c71d57 i2c: Force ELAN06FA touchpad I2C bus freq to 100KHz
    d822b30c077a wifi: iwlwifi: avoid memory leak
    131dd3e936d1 wifi: iwlwifi: pcie: Add support for new device ids
    7ef2ea142968 wifi: brcmfmac: Check the return value of of_property_read_string_index()
    62483e0a1fbf net/mlx5: use do_aux_work for PHC overflow checks
    adcb8ce68dde HID: Wacom: Add PCI Wacom device support
    e557b15ea2ec HID: multitouch: Add quirk for Hantick 5288 touchpad
    9e6b899883a2 clk: qcom: Make GCC_8150 depend on QCOM_GDSC
    36720607c909 wifi: rtw88: add __packed attribute to efuse layout struct
    6e1feb300fcb mfd: lpc_ich: Add another Gemini Lake ISA bridge PCI device-id
    c9382f380e8d tomoyo: don't emit warning in tomoyo_write_control()
    c27ce584d274 wifi: brcmsmac: add gain range check to wlc_phy_iqcal_gainparams_nphy()
    60fd500eda3e mmc: sdhci-esdhc-imx: enable 'SDHCI_QUIRK_NO_LED' quirk for S32G
    f4b8bac3cfe4 mmc: core: Respect quirk_max_rate for non-UHS SDIO card
    5c2b1d938613 tun: fix group permission check
    9543e67fa364 wifi: rtw89: add crystal_cap check to avoid setting as overflow value
    22a1a758183d ring-buffer: Make reading page consistent with the code logic
    d1544dc32c67 drm/amd/display: Limit Scaling Ratio on DCN3.01
    835d37b60bc3 drm/amd/display: Increase sanitizer frame larger than limit when compile testing with clang
    36b385d0f2b4 safesetid: check size of policy writes
    52858d7fe6fb drm/bridge: it6505: fix HDCP CTS KSV list wait timer
    4ebd696fe716 drm/bridge: it6505: fix HDCP CTS compare V matching
    05040e0847d4 drm/bridge: it6505: fix HDCP encryption when R0 ready
    5d88251a8b5e drm/bridge: it6505: fix HDCP Bstatus check
    3a047075b47c drm/bridge: it6505: Change definition MAX_HDCP_DOWN_STREAM_COUNT
    d76dc02531a6 drm/amdkfd: Queue interrupt work to different CPU
    9f9524503375 drm/amdgpu: Don't enable sdma 4.4.5 CTXEMPTY interrupt
    b79eaf9b86a8 drm/amd/display: Fix Mode Cutoff in DSC Passthrough to DP2.1 Monitor
    1eec554f898b drm/vc4: hdmi: use eld_mutex to protect access to connector->eld
    68c3008b06d8 drm/sti: hdmi: use eld_mutex to protect access to connector->eld
    1cd3e56a07ac drm/radeon: use eld_mutex to protect access to connector->eld
    6b57c63f5bf6 drm/exynos: hdmi: use eld_mutex to protect access to connector->eld
    cd604e8e993c drm/amd/display: use eld_mutex to protect access to connector->eld
    f1b4a5005c9e drm/bridge: ite-it66121: use eld_mutex to protect access to connector->eld
    e43f3adba3dc drm/bridge: anx7625: use eld_mutex to protect access to connector->eld
    b006aadf72f9 drm/connector: add mutex to protect ELD from concurrent access
    404e5fd918a0 printk: Fix signed integer overflow when defining LOG_BUF_LEN_MAX
    0412bca906d5 drm/amd/display: Overwriting dualDPP UBF values before usage
    d25d5eb35905 drm/amd/display: Populate chroma prefetch parameters, DET buffer fix
    ebf2d94128ef drm/tests: hdmi: return meaningful value from set_connector_edid()
    e0d048dabe33 drm/tests: hdmi: handle empty modes in find_preferred_mode()
    56e6c7f6d2a6 nvkm: correctly calculate the available space of the GSP cmdq buffer
    5185e63b45ea nvkm/gsp: correctly advance the read pointer of GSP message queue
    0877fd896ca4 drm: panel-backlight-quirks: Add Framework 13 glossy and 2.8k panels
    34004adc64e2 drm: panel-backlight-quirks: Add Framework 13 matte panel
    c5842f1dade0 drm: Add panel backlight quirks
    18daf9e83c4f drm/virtio: New fence for every plane update
    8b60f25c3e67 x86/amd_nb: Restrict init function to AMD-based systems
    149dd2acff5d lockdep: Fix upper limit for LOCKDEP_*_BITS configs
    fbcd9eedce20 locking/ww_mutex/test: Use swap() macro
    910d55f7d67d x86: Convert unreachable() to BUG()
    e5ff8d825db7 sched: Don't try to catch up excess steal time.
    d3ef1a2f77b8 btrfs: convert BUG_ON in btrfs_reloc_cow_block() to proper error handling
    5975577d8cd4 btrfs: fix data race when accessing the inode's disk_i_size at btrfs_drop_extents()
    46e9c4a376af s390/stackleak: Use exrl instead of ex in __stackleak_poison()
    38a1aa02b90b exec: fix up /proc/pid/comm in the execveat(AT_EMPTY_PATH) case
    72f02c34e58b arm64/mm: Ensure adequate HUGE_MAX_HSTATE
    86d71a026a7f btrfs: fix use-after-free when attempting to join an aborted transaction
    5ff189eb84f1 btrfs: do not output error message if a qgroup has been already cleaned up
    0ff88c2a742a btrfs: fix assertion failure when splitting ordered extent after transaction abort
    b19deb5acbc7 irqchip/lan966x-oic: Make CONFIG_LAN966X_OIC depend on CONFIG_MCHP_LAN966X_PCI
    807165b1ec1c tools/power/x86/intel-speed-select: Prefix header search path with sysroot
    e97df805b938 drm/tilcdc: Set preferred depth
    7160a4379dcc arch/arm64/configs: remove CONFIG_SM_DISPCC_8650
    6d8ac5ebe6e8 aufs6: core
    587abc1b64c4 aufs6: standalone
    1af41d30ef42 aufs6: mmap
    6ee2464d2e9d aufs6: base
    103b676505f7 aufs6: kbuild
    67281562943f qemux86: add configuration symbol to select values
    73f315ca0823 sched/isolation: really align nohz_full with rcu_nocbs
    1e4e7f8ab622 clear_warn_once: add a clear_warn_once= boot parameter
    918e7a825e8b clear_warn_once: bind a timer to written reset value
    f533f87c3758 clear_warn_once: expand debugfs to include read support
    f149ca27cba9 tools: Remove some options from CLANG_CROSS_FLAGS
    e633abe9c44e libbpf: Fix build warning on ref_ctr_off
    ec0916a4cfc1 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    03721ceb5626 perf: x86-32: explicitly include <errno.h>
    4c36c5295bb0 perf: mips64: Convert __u64 to unsigned long long
    b0200449610d perf: fix bench numa compilation
    aff0940b2212 perf: add SLANG_INC for slang.h
    ef912018d28c perf: add sgidefs.h to for mips builds
    d8860f858b87 perf: change --root to --prefix for python install
    dc38a0eee6e5 perf: add 'libperl not found' warning
    6ed51f8786da perf: force include of <stdbool.h>
    c538d4c4ac65 fat: Replace prandom_u32() with get_random_u32()
    63d94846f0c5 fat: don't use obsolete random32 call in namei_vfat
    7816667451ef FAT: Added FAT_NO_83NAME
    f81dbd60f0d5 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    771cdefba44b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    a24784fd8f88 yaffs2: update to v6.12 folio changes
    d0a48fd46db8 yaffs2: adapt to v6.10 i_time changes
    d097e4d4115a yaffs: fix mtime/itime field access
    4411e0d49fe3 yaffs2: update VFS ctime operations to 6.6+
    1b6619086e8b yaffs2: v6.5 fixups
    25b261ee3c54 yaffs2: Fix miscalculation of devname buffer length
    5c07936a5d1c yaffs2: convert user_namespace to mnt_idmap
    55986a1284b3 yaffs2: replace bdevname call with sprintf
    6f5508f8db8f yaffs2: convert read_page -> readfolio
    fd179a5df5d5 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    c9a620dacdd1 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    78588208ed17 yaffs2: v5.12+ build fixups (not runtime tested)
    8d2dddba272c yaffs: include blkdev.h
    8c1ca9ef9712 yaffs: Fix build failure by handling inode i_version with proper atomic API
    27005cbac2ed yaffs2: v5.6 build fixups
    668211c9f9b7 yaffs2: fix memory leak when /proc/yaffs is read
    285f911dcc1c yaffs: add strict check when call yaffs_internal_read_super
    ffc2ed489ccf yaffs: repair yaffs_get_mtd_device
    6dce4b70a5e3 yaffs: Fix build failure by handling inode i_version with proper atomic API
    19f283abc5d1 yaffs2: fix memory leak in mount/umount
    04e84672b571 yaffs: Avoid setting any ACL releated xattr
    4f221d6a32e2 Yaffs:check oob size before auto selecting Yaffs1
    81f36004e56b fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    26d7a3dd0054 yaffs2: adjust to proper location of MS_RDONLY
    a7016eac4540 yaffs2: import git revision b4ce1bb (jan, 2020)
    feb240bbb91e initramfs: allow an optional wrapper script around initramfs generation
    874746eaa341 drivers: gpu: drm: msm: registers: improve reproducibility
    1d42508faee8 tools: use basename to identify file in gen-mach-types
    4b055eca593d iwlwifi: select MAC80211_LEDS conditionally
    97e20e275ac0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    6dec58319165 defconfigs: drop obselete options
    a416ccb5b6c9 linux-yocto: Handle /bin/awk issues
    7efe8a1e5158 uvesafb: provide option to specify timeout for task completion
    78d10ae07eca uvesafb: print error message when task timeout occurs
    80473b7eb8ca compiler.h: Undef before redefining __attribute_const__
    ddeff2f1a9a7 vmware: include jiffies.h
    3dcdda8912b4 Resolve jiffies wrapping about arp
    3b1507db6735 nfs: Allow default io size to be configured.
    c2fedad05f77 check console device file on fs when booting
    208d6fbada3f mount_root: clarify error messages for when no rootfs found
    dbe9454c8ea0 mconf: fix output of cflags and libraries
    7c7b224f5cce menuconfig,mconf-cfg: Allow specification of ncurses location
    b6c189c81397 modpost: mask trivial warnings
    a5cc21325ba9 kbuild: exclude meta directory from distclean processing
    361ec143c23f powerpc: serialize image targets
    605e6ccb304c arm: serialize build targets
    e94b04fcb7d2 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    44cc7f69a0a0 cpu/amd: inhibit SMP check for qemux86
    a08cb65331e6 x86_64_defconfig: Fix warnings
    8ad332ef777b mips: make current_cpu_data preempt safe
    754f05ddce3f mips: vdso: fix 'jalr $t9' crash in vdso code
    325ff78ff44d mips: Kconfig: add QEMUMIPS64 option
    99ae0eadcf11 4kc cache tlb hazard: tlbp cache coherency
    c6894c66a534 malta uhci quirks: make allowance for slow 4k(e)c
    8b52c01f3294 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    16c7629f035e drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    6b60c874cbb0 arm64: defconfig: cleanup config options
    8e44673ecd89 vexpress: Pass LOADADDR to Makefile
    f34e6805aad5 arm: ARM EABI socketcall
    94dec9b88de4 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: f3c91830efc6c1edb74184ee5956c8219a581a77)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 17:49:16 +00:00
Bruce Ashfield
01e61df454 linux-yocto/6.12: genericarm64: set the DMA Contiguous Memory Allocator size to 32MB
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Ross Burton
    Email: ross.burton@arm.com
    Subject: genericarm64: set the DMA Contiguous Memory Allocator size to 32MB
    Date: Thu, 27 Feb 2025 17:32:29 +0000

    The default is 16MB but the aarch64 defconfig sets it to 32MB.

    Notably this fixes various graphical issues on both the BeaglePlay and
    KV260, where 16MB isn't sufficient.

    Signed-off-by: Ross Burton <ross.burton@arm.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: c40dfa3e093b7cbf0aea9b79d10c3d400b4e5db4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 17:49:16 +00:00
Bruce Ashfield
0fd090ad96 linux-yocto/6.12: configuration graphics, I2C and warnings
Integrating the following commit(s) to linux-yocto/.:

    bb44ae9b bsp/mti-malta32: enable I2C
    e2396ea2 bsp/qemuriscv32: CONFIG_PAGE_OFFSET not assignable
    095395ba cfg/virtio: add DRM frame buffer emulation
    88bbdbd5 features/drm-bochs: remove CONFIG_DRM_TTM

(From OE-Core rev: 3848ef1d7e4f432880e06c07da8918c59326283a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 17:49:16 +00:00
Yoann Congal
5d2ed873c8 sanity: Check if the C++ toolchain supports --std=gnu++20
This is needed to build nodejs from meta-oe. Check this early to avoid
an error later in the build.

Fixes [YOCTO #15804]

(From OE-Core rev: 19004950ad5691ef51f7fcf946558bd0de561403)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 17:49:16 +00:00
Yoann Congal
503ff92f45 sanity: Refactor "C++ toolchain support this flag" check
This can be use to check for other flags.

(From OE-Core rev: 42d012e8414736d89618422fb6f9bce9e4a2a391)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 17:49:16 +00:00
Richard Purdie
07563ec1b5 buildhistory: Update for bitbake changes
Bitbake is dropping the need for fetcher name iteration and multiple revisions
per url. Update the code to match (removal of the for loop).

(From OE-Core rev: 571e8c6730eb5b89f732d879487ae578ef04aaee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 13:50:40 +00:00
Richard Purdie
110b2c124b spdx: Update for bitbake changes
Bitbake is dropping the need for fetcher name iteration and multiple revisions
per url. Update the code to match (removal of the for loop).

(From OE-Core rev: 4859cdf97fd9a260036e148e25f0b78eb393df1e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 13:50:40 +00:00
Richard Purdie
bdd2b0fee1 bitbake: fetch: Drop multiple branch/revision support for single git urls
We used to use this for bare clones where a single git url could handle multiple
revisions (which implied multiple branches).

We don't use this any more and I doubt we'd want to go back to it. If we
remove it, we can simplfy the looping in the code which seems desireable.

This patch does change the warning for missing branch parameters to a
error. The message has hinted about that for long enough.

Some test cases are removed since they are no longer needed.

(Bitbake rev: 2515fbd10824005fa7f34e87706000c079920366)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 13:50:40 +00:00
Richard Purdie
67566c7410 bitbake: lib/bb: Bump minimum python version requirement to 3.9
Since Ubuntu 20.04 is heading to EoL and that we're having other issues
on that platform needing buildtools anyway, we're about to lose the
last python 3.8 platform we were supporting.

Bump the minimum version to 3.9 since there are many developers wanting
access to newer python features.

(Bitbake rev: 0d2e682d00dfc2ec776b3a89f25202db98024895)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 11:31:45 +00:00
Jean-Pierre Geslin
7a2b9acef2 cargo: pass PACKAGECONFIG_CONFARGS to cargo build
In order to allow rust packages to define PACKAGECONFIG options, append
the contents of PACKAGECONFIG_CONFARGS to the build command.
This patch was already submitted by Bartosz Golaszewski on older
version but was never merged. It will be really usefull for Rust recipes.

(From OE-Core rev: 16745b20452de60ae2474433cc1a2fb1ed9f6a64)

Signed-off-by: Jean-Pierre Geslin <jarsoper@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 11:29:04 +00:00
Wang Mingyu
271c5340a0 python3-dbus: upgrade 1.3.2 -> 1.4.0
(From OE-Core rev: 5c177d0984e7ca7cc757fab727b96c9ce3b6f0b1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 11:29:04 +00:00
Khem Raj
f1c2a06c80 time: Fix build with musl
(From OE-Core rev: a4dae0fa2d566a6b7bdda938c4d94a4d8b8e8dcf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 11:29:04 +00:00
Khem Raj
9b0d00363c time: Fix build with GCC 15
Initialize interrupt_signal and quit_signal with correct type

(From OE-Core rev: ed19b9a801fb5410e7c9e37bd29453b3c8d8e0be)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 11:29:04 +00:00
Khem Raj
111cabf95b unzip: Fix build with GCC-15
Add a patch to remove redundant declarations

(From OE-Core rev: 20ae2ce01f5114f6df67c0cfb6d820fc1513cdcc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 11:29:04 +00:00
Khem Raj
687ebe86a9 ppp: Fix build when shadow is enabled
GCC-15 patch is not sufficient when shadow is enabled, therefore fix
the remaining issues.

(From OE-Core rev: 9143b23cecb505f130f86b03039c6c0aba5dcc2b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 11:29:04 +00:00
Khem Raj
b1df0e16b9 readline: Fixed build with GCC-15
(From OE-Core rev: 58bfcc0d3adcdfc8da63dd552ad54376a0f20b93)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 11:29:04 +00:00
Peter Kjellerstedt
c0f3bc79b3 devtool: reset: Escape command line input used in regular expression
Running, e.g., `devtool reset sdbus-c++` would result in the following
error:

  re.error: multiple repeat at position 35

This was due to the ++ in the recipe name, which would be treated as an
incorrect regular expression in _reset().

Use re.escape() to make sure all characters in the recipe name are
treated literally.

(From OE-Core rev: 6e73bd9b3e6d529752db93879f2c0ed53873dd1a)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 11:29:04 +00:00
Peter Bergin
0e32e1cb26 pkg-config-native,librsvg-native: fix EXTRA_NATIVE_PKGCONFIG_PATH
When building librsvg-native the variable PKG_CONFIG_PATH
was incorrect in the bitbake environment but handled correct due
to the pkg-config-native wrapper. Commit [1] and [2]
introduced some inconsistens of EXTRA_NATIVE_PKGCONFIG_PATH
where it was prepended in pkg-config-native wrappers but
appended in native.bbclass.

  meta/classes-recipe/native.bbclass:
    PKG_CONFIG_PATH .= "${EXTRA_NATIVE_PKGCONFIG_PATH}"

This commit will try to resolve this to always append the
EXTRA_NATIVE_PKGCONFIG_PATH. It is tested by building
librsvg-native and also checking bitbake environment
before and after.

[1] https://git.openembedded.org/openembedded-core/commit?id=2bc050146d47b14d890a1b0db2b55f9057a08b65
[2] https://git.openembedded.org/openembedded-core/commit?id=ae4824f4f6234884a245bce314d6305ad8eb982d

(From OE-Core rev: a59fa4a4bf08bbbd79fbb1642b3e3b23181f87c9)

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Cc: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 11:29:04 +00:00
Ross Burton
7517eed223 gtk+3: depend on the librsvg pixbuf loader in gtk3-demo
The demo uses some SVG icons, so depend on the SVG pixbuf loader so that
they are visible.

(From OE-Core rev: 77e18e640c42ee3992464fddc1a16760cea9bc4f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 11:29:04 +00:00
Richard Purdie
65db5783d3 sanity: Bump minimum python version requirement to 3.9
Since Ubuntu 20.04 is heading to EoL and that we're having other issues
on that platform needing buildtools anyway, we're about to lose the
last python 3.8 platform we were supporting.

Bump the minimum version to 3.9 since there are many developers wanting
access to newer python features.

This likely won't be seen since the bitbake minimum has also been
increased but helps for documentation purposes.

(From OE-Core rev: c3db241c6e97420ca0705d1535a7cdd0c273b761)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 11:29:04 +00:00
Alexander Kanavin
0063905fcd qemu: fix upstream version check
(From OE-Core rev: 84e00fc0279b819e375b1331dfda9b585b1971e1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 11:29:04 +00:00
Ross Burton
c05046519c pciutils: work around pseudo symlink creation race
Richard managed to reproduce a pseudo bug that pciutils in a minimal
test case[1] which confirmed that it was the symlink creation causing
issues.

The pciutils Makefile has several installation targets:
- install: binaries, manpages, shared library
- install-lib: headers, library symlinks, shared library

We need to run both targets to install the full set of files we want to
be installed, but notably they both create the .so symlink and as they're
running in parallel this is what triggers the bug in pseudo.

Until the bug has been resolved (or the Makefiles don't duplicate rules),
just run the two targets separately.

[ YOCTO #14957 ]

[1] https://lore.kernel.org/openembedded-core/20250319133457.806384-1-richard.purdie@linuxfoundation.org/T/#u

(From OE-Core rev: a5fc49fafe910a25be7372c82bfbd7876871ce3f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 11:29:04 +00:00
Richard Purdie
d86bb7085b libmatchbox: Upgrade 1.12 -> 1.13
This includes fixes for gcc 15.

License fixes were also made in the repository. The license being referred to
as MIT was in fact HPND so fix the LICENSE on the recipe accordingly.

Use the new bitbake tag functionality to verify the commit matches the tagged
version.

Trim the license checksums to the top level COPYING files now everything
is accurate.

(From OE-Core rev: c9d3a47a19babfe88f0174233729394292a31726)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 11:29:04 +00:00
Alexander Kanavin
e02e69fbe2 mesa-demos: update 8.5.0 -> 9.0.0
The new version is in a location that isn't discoverable
by upstream version checks, and so has been overlooked for a while.

Drop patches:
0001-mesa-demos-Add-missing-data-files.patch
(backport)
0004-Use-DEMOS_DATA_DIR-to-locate-data-files.patch
(very old patch rejected by upstream as not necessary and not making sense:
https://gitlab.freedesktop.org/mesa/demos/-/issues/9 )

Disably wayland for now due to libdecor dependency,
adjust other feature dependencies as needed.

(From OE-Core rev: 59a9e96fa43e18af932cec7c2f1a36d9fcafff94)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 11:29:03 +00:00
Alexander Kanavin
8aa856a421 mesa: correct download location
(From OE-Core rev: 6f12ecd4e69f482834c8ba4115f9a119d1bfae75)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 11:29:03 +00:00
Richard Purdie
ab58a56859 psplash: Fix build with GCC 15
Pull in upstream changes for fix the build with gcc 15 and README tweaks.

(From OE-Core rev: 0ba624f30d482c0c7d86202d46abdab9d148c9b0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 11:29:03 +00:00
Khem Raj
a673be8dca bluez: Fix build with GCC-15
gcc-15 switched to -std=c23 by default:

    https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212

As a result `bluez` fails the build as:

    src/shared/ad.c:1090:24: error: incompatible types when returning type '_Bool' but 'const char *' was expected
     1090 |                 return false;
          |                        ^~~~~

(From OE-Core rev: 5afef9ba63364c6c93c8a1359020f038d06881fa)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 11:29:03 +00:00
Lei Maohui
aa0cb5d94a kea: fix conflict between kea-dhcp6 multilibs
There are conflict of config files between kea and lib32-kea:
  | Error: Transaction test error:
  | file /etc/kea/kea-dhcp6.conf conflicts between attempted installs of lib32-kea-2.6.1-r0.core2_32 and kea-2.6.      1-r0.core2_64

Similar to:
  | 8cc65e7eb0 kea: fix conflict between multilibs

(From OE-Core rev: 0fe8ec57f19d79e94f02e3c710a1b76c04b34143)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 11:29:03 +00:00
Jason Schonberg
3652b35c75 sqlite3: upgrade 3.47.2 -> 3.48.0
Changelog:
 https://www.sqlite.org/releaselog/3_48_0.html

(From OE-Core rev: db32c9d19fa21b0d1cd556dc86c2f60eb6de0593)

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 11:29:03 +00:00
Wang Mingyu
0e91a1dabf adwaita-icon-theme: upgrade 47.0 -> 48.0
(From OE-Core rev: 9f761d37df5bb0eaa5645ab9cbd4109b69337909)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 11:29:03 +00:00
Khem Raj
9cd6b3ad8b cronie: Resolve build failure with GCC15
Fix function prototypes for C23 to work

(From OE-Core rev: 2bdb276345b4b40be53d818116f71851e45cd1b1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 12:09:06 +00:00
Khem Raj
a6b8c0c196 makedumpfile: Fix build with GCC-15
fix gcc-15 compiling error: too many arguments to function eppic_init

(From OE-Core rev: 3bd6bbd77e8ceb068baeffd7670eb51efd52d917)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 12:09:06 +00:00
Khem Raj
6bca4852a4 e2fsprogs: Fix build failure with gcc 15
Backport a needed fix

(From OE-Core rev: baceb28924383729a445e2bf2a13c0a6115bc5c7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 12:09:06 +00:00
Khem Raj
05a300261e libsndfile1: Include <stdbool.h> instead of redefining bool true and false
(From OE-Core rev: 198323f4381cc40d219185e86800872df5f9d789)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 12:09:06 +00:00
Khem Raj
93bc67e4fe at: Remove mktime signature from posixtm.c
This is in conflict with signature from system time.h

extern time_t mktime (struct tm *__tp) __THROW;

GCC-15 with C23 on, this is treated at error

 posixtm.c:45:8: error: conflicting types for 'mktime'; have 'time_t(void)' {aka 'long int(void)'}
|    45 | time_t mktime ();
|       |        ^~~~~~
|

config.h is local include file to use quotes to include it

(From OE-Core rev: afc888d87fbf268c43bbcc81aa378eb9d58397a8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 12:09:06 +00:00
Khem Raj
4d4d61f961 expect: Fix build with GCC 15
Stick to C17 standard as GCC 15 switches to C23

(From OE-Core rev: 4ae08da819d1bc5fee382651c3fe074e9be9d86e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 12:09:06 +00:00
Peter Kjellerstedt
58deeacb07 buildhistory.bbclass: Do not create annotated tags if tag.gpgSign is set
If tag.gpgSign is configured in Git's configuration, then creating the
build-minus-X tags will fail (if Git's core.editor is not configured) or
it will hang (when trying to open the editor). This is beacause
tag.gpgSign causes git tag to create annotated tags. To avoid this,
specify --no-sign as argument to git tag.

(From OE-Core rev: 7595a0a63a933af9dd9d1e458dc34a4ba80d9eae)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 12:09:06 +00:00
Peter Kjellerstedt
9fda20fc1c devtool-source.bbclass: Do not create annotated tags if tag.gpgSign is set
If tag.gpgSign is configured in Git's configuration, then creating the
devtool-patched tag will fail (if Git's core.editor is not configured)
or it will hang (when trying to open the editor). This is beacause
tag.gpgSign causes git tag to create annotated tags. To avoid this,
specify --no-sign as argument to git tag.

(From OE-Core rev: 5dba8d0b6c940934375eea9af37e7c4856b51c96)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 12:09:06 +00:00
Peter Kjellerstedt
9eb610fb74 devtool: Do not create annotated tags if tag.gpgSign is set
If tag.gpgSign is configured in Git's configuration, then creating the
devtool-base tag will fail (if Git's core.editor is not configured) or
it will hang (when trying to open the editor). This is beacause
tag.gpgSign causes git tag to create annotated tags. To avoid this,
specify --no-sign as argument to git tag.

(From OE-Core rev: f96e955b29aad6a9e0b20f8e9a4987ace3808c91)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 12:09:06 +00:00
Markus Volk
7c969b75fe gobject-introspection: update 1.82.0 -> 1.84.0
1.84.0 - 2025-03-15
-------------------

* No changes

1.83.4 - 2025-03-08
-------------------
* Revert support for "static" virtual functions [!526]
1.83.2 - 2025-03-01
-------------------
* Improve GType inspection helper [!494]
* Parse C11's _Alignas [#520]
* Respect custom Python binary [!503]
* Fix build on the latest Windows SDK [!498]
* Small performance improvement when looking up a signal information [!504]
* Use standard imports in the JavaScript templates for g-ir-doctool [!501]
* Ensure that enumeration members can be marked as deprecated [!512]
* Add more test coverage for structured union types [!348]
* Add an option to skip tests when building [!507]
* Fix various MSVC compatibility issues [!511]
* Add support for "static" virtual functions [!361]
* Allow specifying the format of the documentation inside doc blocks [!401]
* Handle C99's _Complex [!515]
* Consider UCRT64 and CLANG64 as mingw32 compilers [!516]
* Handle static NSString syntax [!518]
* Add instance parameter checks to strict validation [!506, !521]
* Documentation improvements [!481, !483, !485, !500]

(From OE-Core rev: cc3bfd7547d88ac0ae11c11812aafb89965a659a)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 11:49:45 +00:00
Alexander Kanavin
3b3a1d35b6 ppp: remove erroneous generated header from the source tree
ppp-2.5.2 tarball ships a generated header with various
configuration settigns that takes precedence over the same
header generated into the build directory during the actual build.

This resulted in various linking fails that were worked around
by enabling multilink in 2.5.2 version update. The correct fix
that removes all contamination is to remove the bogus header first.

(From OE-Core rev: 87863ce4530cf08fd28b1bde13e3f7142001b54d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 11:49:45 +00:00
Wang Mingyu
8ba702dcd7 systemd: upgrade 257.3 -> 257.4
(From OE-Core rev: 4c3f6657467dafb529ab1ef7f7576ddca91cbeb7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 11:49:45 +00:00
Wang Mingyu
c0bc969ce0 python3-pygobject: upgrade 3.50.0 -> 3.52.2
(From OE-Core rev: 4cd22618a41c87bf877949c1c38da61eb0e2a1f3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 11:49:45 +00:00
Wang Mingyu
eafb273f9c python3-pycryptodomex: upgrade 3.21.0 -> 3.22.0
(From OE-Core rev: 2996b3ba3d7ad7f48bb97ad72bb8196c9e13dbb6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 11:49:45 +00:00
Wang Mingyu
b2ca36fdf8 python3-pycryptodome: upgrade 3.21.0 -> 3.22.0
(From OE-Core rev: 4922dc3c4e346a8fc6eb73022ac478644184b83b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 11:49:45 +00:00
Wang Mingyu
6c39d8b6b2 netbase: upgrade 6.4 -> 6.5
(From OE-Core rev: 65cf564f9b00df9c956046f0b96f3c3c84890774)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 11:49:45 +00:00
Wang Mingyu
b5e84e5989 libjitterentropy: upgrade 3.6.1 -> 3.6.2
License-Update: Copyright year uptated to 2025

(From OE-Core rev: af6cc5ea16f557fb63114f6150e1207d15483eea)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 11:49:45 +00:00
Wang Mingyu
126a2ceaf8 at-spi2-core: upgrade 2.54.1 -> 2.56.0
(From OE-Core rev: 0a9da6b761997796405a73230a09227d5f5b2e78)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 11:49:45 +00:00
Richard Purdie
70e450217b dbus-glib: Upgrade 0.112 -> 0.114
License-Update: Upstream added SPDX tags and more license information. The
main license is AFL-2.1 | GPL-2.0-or-later however some files are
LGPL-2.1-or-later or MIT licensed. The bash completiion plugin is
GPL-2.0-or-later only.

Therefore:
* Add checksums for the separated license files
* Update the main LICENSE
* Specify the correct license for the bash completion plugin

(From OE-Core rev: 82f2675ad3821398a849ced303b6f637f14723d1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 11:49:45 +00:00
Ross Burton
d8e3567d85 common-licenses/OASIS: remove unused license
This isn't a common license as it's the DocBook v4 XML DTD license, and
that is now part of the recipe itself.

(From OE-Core rev: 11c366ebff98dad34d95aac0cfee571f78b87252)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 11:49:45 +00:00
Ross Burton
a0bf911c68 docbook-xml-dtd4: clean up LICENSE situation
Don't use the common 'OASIS' license, as this isn't a SPDX license and
is in fact specifically the DocBook XML v4 license text.

Instead, use NO_GENERIC_LICENSE to ship a custom license file. We still
need to ship a copy of it in-tree because the license code needs a bare
copy of the license text.  Reference the in-tree license text in the
license checksum to show that we've verified they match.

Also, clean up some comments.

Thanks to hongxu.jia@eng.windriver.com for a previous iteration of this.

(From OE-Core rev: d04db152a512f564566a4205db6fe788fcbadde2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 11:49:45 +00:00
Richard Purdie
cc5e31ceab bitbake: tests/fetch: Fix typo in npm test
(Bitbake rev: 79b04f61236117d310c12c1b1378ae63afb931ff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 11:46:31 +00:00
Richard Purdie
122de6fd0f bitbake: tests/fetch: Add git tag verification tests
Add tests for git tag verification in both standard and shallow clones.

(Bitbake rev: f47127066d67e2ad80974fa1e7c0fcc7409161af)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 11:46:31 +00:00
Richard Purdie
b56a335481 bitbake: fetch/git: Ensure tags work with shallow clones
If we want to validate a tag when using shallow clones, we need to ensure
the tag is imported to the clone. Adding to extra_refs allows this to happen
ensuring tag validation in shallow clones works.

(Bitbake rev: 03945475886b8d31c7eccc80fe594ab5306bcf5d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 11:46:30 +00:00
Richard Purdie
18a533bfe6 bitbake: fetch/git: Rework tag parameter handling
Currently bitbake disallows tag parameters along with revision parameters.
This isn't great since quite often, we'd like to verify that a given revision
does match some tag. At the same time we don't want to or need to access
the network to verify this, which normally a tag would require.

Rework the code so that tag and revisions can both be specified together.
Verify that any tag specified matches the revision in use at unpack time.

This means we can start requiring people to put tags in git SRC_URIs
when revisions are used, making review a little easier that it isn't
some random revision.

The test that is dropped looks like a different test but the comment
is a copy and paste error. The SRCREV/rev mismatch test remains, this
removes the rev and tag set test.

(Bitbake rev: d591d7633fe8d739ec00395920e44910b0b77e27)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 11:46:30 +00:00
Richard Purdie
e8e34a04ce bitbake: tests/fetch: Add missing branch parameter to tests
(Bitbake rev: fd01e8e3a5a757d5f506095fc1ac4e45d888ae78)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 11:46:30 +00:00
Vijay Anusuri
e57dee3e65 vim: Upgrade 9.1.1115 -> 9.1.1198
This includes CVE-fix for CVE-2025-27423 and CVE-2025-29768

Changes between 9.1.1115 -> 9.1.1198
====================================
https://github.com/vim/vim/compare/v9.1.1115...v9.1.1198

(From OE-Core rev: 8e540bd287fd56e3a714f81395b59dd508a6d957)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 10:07:31 +00:00
Khem Raj
18ed5f9044 webkitgtk: Add packageconfig for assertions
assertions have new knob in 2.48, add a packageconfig to control it

(From OE-Core rev: b4c1e115b063761e60956c93dff53e1a04391bda)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 10:07:31 +00:00
Marta Rybczynska
8e11797a56 cve-check: change the default feed
Move to the FKIE feed by default, as it is showing better stability
than NVD2. Content of the feed should be the same.

(From OE-Core rev: 10580a6d36aa1366732f9c030345bd4590eb9f74)

Signed-off-by: Marta Rybczynska <marta.rybczynska@ygreky.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 10:07:30 +00:00
Niko Mauno
3552eccf0d packagegroup-core-x11: Avoid non-ASCII in RDEPENDS
Replace the UTF8 character for non-breaking space with regular
(ASCII) space in RDEPENDS:${PN}-utils variable.

(From OE-Core rev: ee772df90dfc0eb1c973282e3bfac7357d42b0db)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 10:07:30 +00:00
Khem Raj
979162b032 ncurses: Pin to C17 standard
Newer snapshots of ncurses have the fixes but they are many needed to get
C23 going. Until next release lets stick with C17 even while GCC 15 switches
to C23 defaults.

(From OE-Core rev: f3081700d931fc8f7d5cb13494e11100cb28b19f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 09:48:14 +00:00
Khem Raj
983b0a6f3b cpio: Pin to use C17 std
Fixes build with GCC-15 which is defaulting to C23

(From OE-Core rev: c4978268a4714466ecdec14d865a61adc47f3b3b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 09:48:14 +00:00
Khem Raj
8c1ca5e123 tcp-wrappers: Stick to C17 standard
GCC 15 has switched to C23 by default and tcp-wrappers is old code
pre-c99 and would need to be fixed all around to get to work in C23

(From OE-Core rev: 0a532f07eb54b7f66be25a0f9584581ab693b21c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 09:48:14 +00:00
Khem Raj
a34e57a2d1 bash: Stick to C17 std
GCC 15 defaults to C23 and bash is not yet ready for that
so keep using C17 like GCC 14 for now

(From OE-Core rev: aa9ac09aa7b8d4bd4427dbb26ae595b97b60da2f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 09:48:14 +00:00
Khem Raj
7427895495 gdbm: Use C11 standard
GCC15 is switching defaults to C23 and gdbm is not yet ready to
compile using C23 std.

(From OE-Core rev: e0f13f9bc96a0dd4c5f6750a8106422a6d015359)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 09:48:14 +00:00
Kai Kang
067b1fa297 libpam: add ptest cases back
It removes the installation of ptest cases when upgrade libpam to 1.7.0.
Add them back to make ptest work. And 2 more cases in libpam 1.7.0.

(From OE-Core rev: ba8266267b4a89285bba0fceeaa1507957d318fb)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 09:48:14 +00:00
Khem Raj
aec9b16dc9 webkitgtk: Fix assertion options with clang
libc++20 needs _LIBCPP_HARDENING_MODE while older libc++
needs _LIBCPP_ENABLE_ASSERTIONS

(From OE-Core rev: 7cc918e3e69e1a91d7ce2fa39dd930e4cbe13de8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 09:48:14 +00:00
Khem Raj
aee3a351e1 webkitgtk: Fix build with clang-20
Backport the proposed patch to sync Enum traits header

(From OE-Core rev: fb4d29e17230080d727de1107cc48bdc4c169302)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 09:48:14 +00:00
Kai Kang
37306727c7 webkitgtk: 2.46.6 -> 2.48.0
Upgrade webkitgtk from 2.46.6 to 2.48.0:

* remove backported patch bmalloc-fix.patch
* update context of no-musttail-arm.patch
* add PACKAGECONFIG speech

(From OE-Core rev: a80e06186e919c72b352103e87a9921073d81213)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 09:48:14 +00:00
hongxu
d029e4e033 spdx30: test the existence of directory before walking
Due to commit [spdx30: Improve os.walk() handling][1] applied,
it reported an error if walk directory failed

While SPDX_INCLUDE_SOURCES = "1", if recipe does not provide sysroots,
the walk in function add_package_files is broken

$ echo 'SPDX_INCLUDE_SOURCES = "1"' >> conf/local.conf
$ bitbake packagegroup-core-boot
|DEBUG: Adding sysroot files to SPDX
|ERROR: packagegroup-core-boot-1.0-r0 do_create_spdx: ERROR walking tmp/sysroots-components/intel_x86_64/packagegroup-core-boot: [Errno 2]
| No such file or directory: 'tmp/sysroots-components/intel_x86_64/packagegroup-core-boot'

Test the existence of directory before walking

[1] https://git.openembedded.org/openembedded-core/commit/?id=86b581e80637cd8136ce7a7e95db94d9553d2f60

(From OE-Core rev: cb1792e4950d5075be9bbe4c5337a5215db9669e)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 09:48:14 +00:00
Alexander Kanavin
6ee4b8dd33 libsdl2: only include 2.x releases in version check
libsdl3 has its own recipe in meta-oe, which will
probably migrate to core in due time.

(From OE-Core rev: 6f6d57842f3c0dddd9c563305a693cacee9e72f8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 09:48:14 +00:00
Alexander Kanavin
05d23378c2 meta/lib/oe/recipeutils.py: handle fetcher errors when checking for new commits
Recent freedesktop instabilities are causing 'devtool check-upgrade-status' to
fail with:

bb.fetch2.FetchError: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; git -c gc.autoDetach=false -c core.pager=cat -c safe.bareRepository=all -c clone.defaultRemoteName=origin ls-remote https://gitlab.>
fatal: unable to access 'https://gitlab.freedesktop.org/mesa/kmscube/': The requested URL returned error: 502

and not print any results for this one or any unrelated recipes included in the check.

This change handles the error, so that if some upstream server isn't working
properly, latest upstream revision for that is marked as unknown, a
warning is printed and upstream version check for other recipes
isn't thwarted:

WARNING: Unable to obtain latest revision: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; git -c gc.autoDetach=false -c core.pager=cat -c safe.bareRepository=all -c clone.defaultRemoteName=origin ls-remote https://gitlab.freedesktop.org/mesa/piglit.git  failed with exit code 128, output:
remote: GitLab is not responding
fatal: unable to access 'https://gitlab.freedesktop.org/mesa/piglit.git/': The requested URL returned error: 502

piglit                    1.0             UNKNOWN_BROKEN  Ross Burton <ross.burton@arm.com>

(From OE-Core rev: c1056293f7cb32ee2bdf31441cc0b59d9ccfe556)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-19 09:48:14 +00:00
Alexandre Marques
331aef4bcf scripts: Add clean-hashserver-database script
Auxiliary script to clean the hashserver database based on the files
available in the sstate directory.

It makes used of the new "hashclient gc-mark-stream" command to mark all sstate
relevant hashes as "alive" and removes everything else from the
database.

Usage example:
```
./scripts/clean-hashserver-database \
    --sstate-dir ~/build/sstate-cache \
    --hashclient ./bitbake/bin/bitabke-hashclient \
    --hashserver-address "ws://localhost:8688/ws" \
    --mark "alive" \
    --threshold-age 60 \
    --clean-db
```

(From OE-Core rev: f6737c762ac11f7653a64fac58428428c4222d0f)

Signed-off-by: Alexander Marques <c137.marques@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-18 11:25:36 +00:00
Ross Burton
944551b0c9 dhcpcd: don't try to run autoreconf
This recipe has a configure script that isn't actually autoconf but
tries hard to look like it is.  Instead of trying to run autoreconf,
change do_configure to just run the configure script directly.

(From OE-Core rev: e80d2ec5cda1121ba6b3d299fb2e79c194c7f30e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-18 11:25:36 +00:00
Ross Burton
0c7190686c autotools: require that a configure script exists
There's no point inheriting autotools if you're not actually going to
run a configure script, so make a missing configure script fatal.

(From OE-Core rev: 6d327a39befae44a88a812bdf4acde800dcee57b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-18 11:25:36 +00:00
Ross Burton
d599ce3d63 mdadm: don't inherit autotools
mdadm doesn't use autotools at all:
- do_configure does nothing as it can't find configure.ac or configure
- do_compile is overridden to pass SYSROOT
- do_install is overridden but still calls autotools_do_install (which
  is just 'make install DESTDIR=$D') and then appended.

Clean this up by passing SYSROOT and STRIP in EXTRA_OEMAKE, removing the
now-obsolete do_compile(), and merging the do_install()s.

(From OE-Core rev: a43888fda9aedaa5ac13d298644aedbf4134165d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-18 11:25:36 +00:00
Bin Lan
2c6cb136ca babeltrace2: upgrade 2.0.6 -> 2.1.0
Refresh 0001-Make-manpages-multilib-identical.patch with
correct number and upstream status. Create a new patch
0001-tests-fix-test-applications-in-cpp-common.patch
to fix test applications in cpp-common are needed to re-build when
running in an embedded environment.
0001-tests-do-not-run-test-applications-from-.libs.patch is deleted
for the commit log is not very accurate and the line number is changed,
is replaced by 0001-tests-set-the-correct-plugin-directory.patch.
Use 0001-tests-set-the-correct-plugin-directory.patch to set the
correct directory of plugin shared library.

Copy the trace files (*.ref) the metadata files (*.mctf) and json files
which are required by test cases from source directory in
babeltrace2_2.1.0.bb. Add character set conversion (gconv) for UTF-16/32
encoding for test cases. Set the correct test environment variables in
tests/utils/env.sh when running in an embedded environment. Remove
"GREP=grep SED=sed PYTHON=python3" from the file run-ptest for these
test environment variables are set in tests/utils/env.sh.

License-Update: add new license BSD-4-Clause GPL-3.0-or-later CC-BY-SA-4.0 PSF-2.0
Babeltrace 2.1.0 is a major change. Babeltrace 2.1.0 is released after five years
of development after the release of Babeltrace 2.0.0. The licenses did change
significantly.

Changelog:
Babeltrace 2.1, MIP 1 is available and adds many functions
to support CTF 2 features.
The Python bindings wrap all the library changes in the same
systematic way as in Babeltrace 2.0. Add type hints to the
public API to assist with static analysis of your applications.

Details about the 2.1.0 release:
https://babeltrace.org/docs/release-notes/babeltrace-2.1.0-release-notes.html

(From OE-Core rev: 1a17aec7955cb3ed288519d28ee10858abbba3ae)

Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-18 11:25:36 +00:00
Richard Purdie
39c0bfd3ea dhcpcd: upgrade 10.1.0 -> 10.2.2
License-Update: Copyright years change only

Drop a backported patch

(From OE-Core rev: 718e4efa4f6f595b17e2438a15fc57c2c88ae9f1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-18 11:25:36 +00:00
Yoann Congal
159a49f35a bitbake: tinfoil: Track data during finalizeData
finalizeData changes the value of variables, so, it needs to have data
tracking enabled to get a full and accurate variable value history.

Fixes [YOCTO #15652]

(Bitbake rev: 228979b506f7d0e24c643440bcc7becf684da283)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-18 11:03:17 +00:00
Yoann Congal
e4761312f7 bitbake: tinfoil: Refactor temporary data tracking in a context manager
A new context manager Tinfoil._data_tracked_if_enabled() is introduced to
replace the following structure:
  if self.tracking:
      self.run_command('enableDataTracking')
  # Code that need data tracking
  if self.tracking:
      self.run_command('disableDataTracking')

(Bitbake rev: 0fea4555d2143c6b23a79d3d5cf791103a68141b)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-18 11:03:17 +00:00
Patrik Nordvall
8180865c22 bitbake: fetch2/git: Restore escape quoting for the git url when used
This fixes a bug where escapes in the url path would not be properly
restored for the git commands in the git fetcher. For example, a
space which is encoded as '%20' was not properly encoded before the
clone command.

e.g.

SRC_URI="git://git.openembedded.org/bitbake%20example/bitbake;protocol=https"

resulted in
git clone 'https://git.openembedded.org/bitbake example/bitbake'

instead of
git clone 'https://git.openembedded.org/bitbake%20example/bitbake'

(Bitbake rev: be48024253b93215bb110cd1d05925e789ec9680)

Signed-off-by: Patrik Nordvall <patrik.nordvall95@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-18 11:03:17 +00:00
Ross Burton
85c2eb6d42 libcap: upgrade to 2.75
Just one change, to fix the Go psx module build.

(From OE-Core rev: 8b95a195e31a1e01b3b508ca0a77908fa87f5d02)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-18 10:27:31 +00:00
Ross Burton
f465a5fd31 libcap: fix licensing fields
The recipe LICENSE field should reflect the license of all of the sources,
so include the PAM module licenses too.

Don't use conditionals in LIC_FILES_CHKSUM so that the configuration
does not cause differing checksums to be used.

Explicitly set the license on libcap and libcap-dev to reflect the
contents:
- libcap is BSD|GPLv2, and also BSD|LGPLv2+ if PAM is enabled.
- libcap-dev is just the library, so BSD|GPLv2.

(From OE-Core rev: 12ac8b55ee7407aca485869f0031cf7375761ca9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-18 10:27:31 +00:00
Ross Burton
45ecfbb583 libcap: clean up configuration variables
There's no need to set PACKAGECONFIG:class-native as we disable PAM in
the native DISTRO_FEATURES.

No need to set COPTS, since "Canonicalize build system"[1] the exported
CFLAGS/CPPFLAGS/LDFLAGS are respected.

Merge multiple make arguments into EXTRA_OEMAKE to remove duplication.

SYSTEM_HEADERS is not used upstream, remove.

[1] 2762c2c1a8c98d9012fcd40f20d133493a0b3219

(From OE-Core rev: 88cd79eee6dcc40d0e75ab35d9092ac3c788be7d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-18 10:27:31 +00:00
Ross Burton
8536e51f0f libcap: remove redundant FILES:PN-dev
base_libdir/*.so is part of the default assignment.

(From OE-Core rev: 964c73bd4de30c682961f7fe2ee85a92995d3160)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-18 10:27:31 +00:00
Ross Burton
48b587d8e5 libcap: drop obsolete patches
Drop 0001-ensure-the-XATTR_NAME_CAPS-is-defined-when-it-is-use.patch,
fixed upstream in "libcap: Fix for older kernels"[1].

Drop 0002-tests-do-not-run-target-executables.patch, doesn't appear to
be needed anymore and most likely resolved by "Don't build the
tests/binaries until we want to run them"[2].

[1] f1c3ac995d02d4f17b9d15656ab6d58f4c87435a
[2] 99799844ad9272d43892881d1090369e6032aec2

(From OE-Core rev: 1efd3ff1ab24ee4037bdcf92602dce961abe63aa)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-18 10:27:31 +00:00
Ross Burton
5dfca64b78 dbus-glib: depend on dbus, not dbus-x11
dbus-x11 hasn't existed as a package since 2012[1] and is just a
RPROVIDES in dbus, so depend on dbus directly instead.

[1] oe-core c02364f36e228835ea5d7fd4e1d347fd451f8544

(From OE-Core rev: 0de78341ddc3740891daf957d6d3a61b7af20167)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-18 10:27:31 +00:00
Adrian Freihofer
12801c7bbb oe-selftest: fitimage add more u-boot tests
Add a new test function which checks that the device-tree of U-Boot
contains the public keys which are required for checking the signature
of the kernel FIT image at run-time.

Use this new _check_kernel_dtb function in the existing
test_sign_cascaded_uboot_fit_image test case which already creates a
build configuration with UBOOT_SIGN_ENABLE = "1" and keys for the kernel.
But so far there was no check that the keys for the kernel verification
got added to U-Boot's DTB.
This test case checks the configuration where only the configuration
nodes of the kernel FIT image are signed.

A new test case test_sign_uboot_kernel_individual checks the
configuration with two keys and signed image and signed configuration
nodes.
This test case covers the use case which recently broke with commit:
  OE-Core rev: 259bfa86f384206f0d0a96a5b84887186c5f689e
               u-boot: kernel-fitimage: Fix dependency loop if
               UBOOT_SIGN_ENABLE and UBOOT_ENV enabled
and got fixed with commit
  OE-Core rev: 0106e5efab99c8016836a2ab71e2327ce58a9a9d
               u-boot: kernel-fitimage: Restore FIT_SIGN_INDIVIDUAL="1"
               behavior

This patch also fixes a few more details:
- Simplify the code by moving all the U-Boot related variables to the
  _fit_get_bb_vars function.
- Do not set FIT_GENERATE_KEYS = "1" without inheriting the
  kernel-fitimage.bbclass which handles this variable.

(From OE-Core rev: dda1fcbc85c26d1851dda6ed235238b15939998e)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-18 10:27:31 +00:00
Adrian Freihofer
4632788c43 oe-selftest: fitimage improve bb_vars access
Make the code slightly more robust by using e.g.
bb_vars.get('UBOOT_SIGN_ENABLE') instead of bb_vars['UBOOT_SIGN_ENABLE']
for variables which are potentially undefined.
This is a general cleanup but also a preparation for additional test
cases.
Log bb_vars in verbose mode.
Drop one no longer used log message.

(From OE-Core rev: 22a554e1d5a2449c4c1b34f4d5cfe1572a72a142)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-18 10:27:31 +00:00
Niko Mauno
15e8ec7e38 kbd: Avoid non-ASCII characters in DESCRIPTION
Replace the UTF8 dash character with ASCII dash in DESCRIPTION
variable.

(From OE-Core rev: 79481376735192aaf65be5c0e3740daf5a6bf883)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-18 10:27:31 +00:00
Niko Mauno
17cc5faf46 python3-imagesize: Avoid non-ASCII in SUMMARY
Replace the UTF8 character for right single quotation mark with
ASCII single quotation mark in SUMMARY variable.

(From OE-Core rev: 941e610631c3a1f611eb38134c88aa0468661137)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-18 10:27:31 +00:00
Niko Mauno
62ccd885c3 at-spi2-core: Avoid non-ASCII characters in FILES
Replace the UTF8 character for non-breaking space with regular
(ASCII) space in FILES:${PN} variable.

(From OE-Core rev: 5506d920a5e9404f6b4d115c1e71c0bf68a74cca)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-18 10:27:31 +00:00
Richard Purdie
40ff3dcfd8 native: Drop export statements that aren't needed
These are already exported by bitbake.conf, no need to export them again.

(From OE-Core rev: 92e52f5afac4877366c1ee2e6c6f0d1f5df84410)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-18 10:27:31 +00:00
Antonin Godard
eefc974c1c native: follow BUILD_* definitions for OBJCOPY, OBJDUMP and READELF
Set the host OBJCOPY, OBJDUMP, and READELF variables to be derived from
their corresponding BUILD_* definitions. This makes the native class
match the build-gcc.inc file 1 to 1, as these were the only missing.
Currently these variables get their definitions from gcc.inc, which uses
HOST_PREFIX, and that works because the native class sets HOST_PREFIX to
BUILD_PREFIX, but this doesn't seem correct.

(From OE-Core rev: 87a6ffe21b706e6aeeeb77891565cbd7730ca163)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-18 10:27:31 +00:00
Richard Purdie
cf3933d44d libxkbcommon: upgrade 1.8.0 -> 1.8.1
License-Update: Upstream made a large license header cleanup and summarised in
the main LICENSE file. Pull the resulting identifiers into our LICENSE
field where several different variants were clarified, complicating the license.

e120807bde

(From OE-Core rev: 7fa58d595bcbc1c5564867952f724a6d0dbda986)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
f585320b6d libidn2: upgrade 2.3.7 -> 2.3.8
License-Update: Upstream moved the GPLv3 text to the COPYING file as the main
license. Our LICENSE field remains correct though and the main license and
the library license remain unchanged.

61ee87ee22

(From OE-Core rev: 7f17e23a358bb0181e440a4ecf82e71bd938103b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
f56ca4233f ccache: upgrade 4.10.2 -> 4.11
License-Update: Copyright year and component version changes, no license change

(From OE-Core rev: ddeb00bd649c3f97595ea2e435e4a17ae9232947)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
8c031f5a25 xinit: upgrade 1.4.3 -> 1.4.4
(From OE-Core rev: c956ec946b4b6979a1bb27f683967b48a54702ef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
d520b89046 xtrans: Upgrade 1.5.2 -> 1.6.0
License-Update: Update copyright years

(From OE-Core rev: 2a76693eb823cd79478d69bfa7b8ccad81521917)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
0a8719d560 libsm: Upgrade 1.2.5 -> 1.2.6
(From OE-Core rev: b83dc6bded49108be2654864dfde1cdfc6dfbc84)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
7700d8eae4 xauth: upgrade 1.1.3 -> 1.1.4
(From OE-Core rev: b09ada0c2a87ac511fae804427e71b65ad7504b3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
3f83e9b127 libx11: Upgrade 1.8.11 -> 1.8.12
(From OE-Core rev: e33393a6597deeacc08f0339f4795be2a8152923)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
a6f71564ab lttng-modules: Upgrade 2.13.16 -> 2.13.17
Drop patch now applied in the new release.

(From OE-Core rev: d6a9a41a2ef2d06aeca7742ecb0a40d45740989b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
115566c217 wpebackend-fdo: upgrade 1.14.3 -> 1.16.0
(From OE-Core rev: 061d041c3ab88b71bf7b84a54b45d9c30922f386)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
3da9050859 ttyrun: upgrade 2.36.0 -> 2.37.0
(From OE-Core rev: d6d77bf96489c9d8605976ed1d13860a35184b22)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
5e902d8861 sysvinit: upgrade 3.13 -> 3.14
(From OE-Core rev: 8608b72182347f9afaf652864cf824a81c005f25)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
b65e760880 sysklogd: upgrade 2.7.0 -> 2.7.1
(From OE-Core rev: 17b903a9fc4490a961e4aabeba29eaddd2b17c71)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
7927583872 python3-yamllint: upgrade 1.35.1 -> 1.36.0
(From OE-Core rev: 2f4e34924c5cd7a602de5b9f50ac2ca6dfc18841)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
0e6b061c0f python3-websockets: upgrade 15.0 -> 15.0.1
(From OE-Core rev: cd98428e000c0009da83bd9bc90a961313233b73)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
64a32293bf python3-trove-classifiers: upgrade 2025.2.18.16 -> 2025.3.13.13
(From OE-Core rev: 3bff020501140be1e7f0446488923f7d407df6e8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
9013e8eb93 python3-setuptools: upgrade 75.8.2 -> 76.0.0
(From OE-Core rev: cdaa24119650c41469cd1cea1955aa6fb0494398)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
d022d19b9c python3-setuptools-rust: upgrade 1.10.2 -> 1.11.0
(From OE-Core rev: 2406fe66f4ea454c06d1d8cc158aa4b0590922d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
2c327a4ca9 python3-scons: upgrade 4.8.1 -> 4.9.0
(From OE-Core rev: 290cb872fe068d0e36cd620418cdee9bfdd6e8e7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
a24cae43c9 python3-pyproject-metadata: upgrade 0.9.0 -> 0.9.1
(From OE-Core rev: 1a531d675b90c84f21be6856906c671204f215e2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
8e6dceeb89 python3-maturin: upgrade 1.8.1 -> 1.8.3
(From OE-Core rev: 367cb68aba1ed550d982cbb247c17106b9b8ebed)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
fc6d3e33c3 python3-jinja2: upgrade 3.1.5 -> 3.1.6
(From OE-Core rev: 1c2240ec7d220c02a9e5e8224483146e0174027c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
4746200e22 python3-hypothesis: upgrade 6.127.4 -> 6.129.2
(From OE-Core rev: 133f14787fbec7b3aa422ff65a59fc92b00e29a6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
c73c148cc2 python3-cryptography/python3-cryptography-vectors: Upgrade 44.0.0 -> 44.0.2
(From OE-Core rev: 36a2fb08f8ea4116838357a77c2d447ecc45ef8a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
42cb63ddaa python3-attrs: upgrade 25.1.0 -> 25.3.0
(From OE-Core rev: df24d2967361375731788e95dc8fb8846aba6c24)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
7be4879457 puzzles: upgrade to latest revision
(From OE-Core rev: 6c7d171f4337ad11c9d74e24a42785a0aff621a5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
5337cd9152 pkgconf: upgrade 2.3.0 -> 2.4.3
(From OE-Core rev: 6e4112b5e8aedf6e214d49c100210181d03f9c6e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
fb199fea9d pango: upgrade 1.56.1 -> 1.56.2
(From OE-Core rev: 86d331ea02a6b1950e81ea3ddae16178a1b6192e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
84f7aaaf11 ofono: upgrade 2.14 -> 2.15
(From OE-Core rev: d2eb70c70a5632edc6fe118aae3f3c8a816ac8ba)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
343aa1474b mmc-utils: upgrade to latest revision
(From OE-Core rev: 9b0063c18e3d8d9ad0742d09835ad48493eea4be)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
c706d7b8f0 libxslt: upgrade 1.1.42 -> 1.1.43
(From OE-Core rev: 16e6ce22f6fb9a4cfdf87f52654e01c4e27a493c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
f548816734 libxmlb: upgrade 0.3.21 -> 0.3.22
(From OE-Core rev: 2a79ba6e4b8197bbd42168b4a5ae00d27223df12)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
647a2d4397 libical: upgrade 3.0.19 -> 3.0.20
(From OE-Core rev: 88c6ffab00f9da9075c7cafe619d5e7d823f9d77)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
2f02b0e4bb hwdata: upgrade 0.392 -> 0.393
(From OE-Core rev: dc944a41f695496b711cf5f5abcaffa44d09d7c5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
73763d492a git: upgrade 2.48.1 -> 2.49.0
(From OE-Core rev: cff5f7c2fabdefc5bc1e9b61bf26a35e2d28ddac)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
a12dd0636f ghostscript: upgrade 10.04.0 -> 10.05.0
(From OE-Core rev: baef546edd9a719448cc39962dea24925aab70b8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
3378af6512 gcr: upgrade 4.3.0 -> 4.3.1
(From OE-Core rev: a06c44997fd588e92c02ab4a2445c05e88677f93)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
71c0b42ce4 fastfloat: upgrade 8.0.0 -> 8.0.2
(From OE-Core rev: 2d1b4582c0c057869b2d4ee9f3c660a8637d4f5f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
00d607c8c9 epiphany: upgrade 47.3.1 -> 48.0
(From OE-Core rev: eea42463ac5f4ae7d7c835110dfa4a303437f9d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
e59c368477 ell: upgrade 0.73 -> 0.74
(From OE-Core rev: 562684fcb1ed6632eb7a5383f572ee20ea81da96)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
cd5290a65d diffoscope: upgrade 287 -> 289
(From OE-Core rev: dda73ecaaed0d8966a040e5f04698a889e8493b4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
69e5b7e997 cmake: Upgrade 3.31.5 -> 3.31.6
(From OE-Core rev: 30057514735df75e5d4e90843e11df72d78f8df0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Richard Purdie
50d69d9ab6 cairo: upgrade 1.18.2 -> 1.18.4
(From OE-Core rev: 36cde7319bbdc2d4d69ea9cc8f54045c1c4e106b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 22:38:32 +00:00
Khem Raj
963bdbce0b llvm: upgrade 19.1.7 -> 20.1.0
(From OE-Core rev: a25121bfd2b6d4a72b102764a456d3eefb9a59ce)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Makarios Christakis
4acbabd87b icu: Adjust ICU_DATA_DIR path on big endian targets
On big-endian systems the preprocessor define ICU_DATA_DIR
is currently being set to a path ending with the ${PV} of
the recipe.

The PV version string has changed to a '-' separator
since oe-core commit cebe8439cdc656d53355506a31a3782312bf03c5
whereas the build system installs the data files into a
path ending with the dot-separated version of ICU.

This causes the ICU data file to not be detected at runtime,
consequently breaking any dependant applications.

We therefore substitute ${PV} with the dot-separated version
string of ICU, as returned from the icu_install_folder function,
on the ICU_DATA_DIR define on big-endian targets.

(From OE-Core rev: 28cdc0110def011e3d690da1d591076385267ef7)

Signed-off-by: Makarios Christakis <makchrbiz@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Peter Marko
4b1a1fd6d4 xserver-xorg: mark CVEs fixed in 21.1.16 as fixed
These are tracked as versionless redhat CVEs in NVD DB.

(From OE-Core rev: e3419fbaf2999a821e1890a12ab27285cc25b577)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Peter Marko
a1b206f634 expat: upgrade 2.6.4 -> 2.7.0
Handles CVE-2024-8176

Release notes:
https://blog.hartwork.org/posts/expat-2-7-0-released/

(From OE-Core rev: bc086b9025e020a21837945ed9c8f46ed57143a8)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Dmitry Baryshkov
03b7d0afcb vulkan: upgrade 1.3.296.0 -> 1.4.309.0
Upgrade all Vulkan-related packages together in a single cmmit.

License-Update: copyright years update.
(From OE-Core rev: 647e592c2d091da5b92e9aef80707ff0bd275dc9)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Markus Volk
ba62f7745a glib-2.0: fix build issue with gobject-introspection
- Add backport patch to fix a build issue with gobject-introspection >= 1.83.2

(From OE-Core rev: 153de2c6a87dd0c0abd2ee8c805167ef36b15c9f)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Markus Volk
612f45be10 libadwaita: update 1.6.4 -> 1.7.0
- add backport patch to fix introspection

=============
Version 1.7.0
=============

- Build
  - Specify --doc-format for GIR data
- AdwDialog
  - Fix :current-breakpoint notifications
- AdwPreferencesDialog/Window
  - Exclude hidden pages from search too
  - Fix the search filter expression
- Translation updates
  - Belarusian
  - Catalan
  - Danish
  - Filipino
  - French
  - Hungarian
  - Nepali
  - Norwegian Bokmål
  - Spanish
  - Swedish

==============
Version 1.7.rc
==============

- Fix build failures on win32
- Bump minimum GTK and GLib versions
- Adaptive preview
  - Fix screenshotting GtkGraphicsOffload
  - Add a missing translators comment
- AdwAboutDialog/Window
  - Use system monospace font for `<code>` in release notes
- AdwDialog
  - Fix parent window shortcuts propagating into dialogs
- AdwPreferencesDialog
  - Hide pages with visible=false
- AdwStyleManager
  - Document how to handle font names
- Stylesheet
  - Fix popovers in non-composited environments
  - Fix GtkPaned drag area
- Translation updates
  - Basque
  - Brazilian Portuguese
  - Bulgarian
  - Catalan
  - Chinese (China)
  - Czech
  - Finnish
  - Galician
  - Georgian
  - Hebrew
  - Indonesian
  - Korean
  - Lithuanian
  - Norwegian Bokmål
  - Occitan
  - Persian
  - Polish
  - Portuguese
  - Turkish
  - Ukrainian

==============
Version 1.7.rc
==============

- Fix build failures on win32
- Bump minimum GTK and GLib versions
- Adaptive preview
  - Fix screenshotting GtkGraphicsOffload
  - Add a missing translators comment
- AdwAboutDialog/Window
  - Use system monospace font for `<code>` in release notes
- AdwDialog
  - Fix parent window shortcuts propagating into dialogs
- AdwPreferencesDialog
  - Hide pages with visible=false
- AdwStyleManager
  - Document how to handle font names
- Stylesheet
  - Fix popovers in non-composited environments
  - Fix GtkPaned drag area
- Translation updates
  - Basque
  - Brazilian Portuguese
  - Bulgarian
  - Catalan
  - Chinese (China)
  - Czech
  - Finnish
  - Galician
  - Georgian
  - Hebrew
  - Indonesian
  - Korean
  - Lithuanian
  - Norwegian Bokmål
  - Occitan
  - Persian
  - Polish
  - Portuguese
  - Turkish
  - Ukrainian

================
Version 1.7.beta
================
- AdwApplicationWindow, AdwWindow
  - Add a public property for toggling adaptive preview
  - Open adaptive preview with Ctrl+Shift+M
- AdwBreakpoint
  - Fix to_string() with locales using comma as decimal separator
- AdwComboRow
  - Fix very short strings not being displayed
- AdwDialog
  - Fix ::closed emission with window-backed dialogs
  - Fix a focus-related crash
- AdwOverlaySplitView, AdwFlap
  - Remove an unreachable check
- AdwPreferencesDialog
  - Document navigation.pop action
- AdwTabBox, AdwTabGrid
  - Fix scrolling to newly appearing tabs
  - Fix a copy-paste error
- AdwToast
  - Use a lighter opaque style
- Adaptive Preview
  - Add an outline around the device
  - Round bezel sizes
  - Fix bezels with locales using comma as decimal separator
  - Prevent secondary sidebar style leak into the previewed app
- Demo
  - Allow opening adaptive preview from menu
  - Inherit page background color when duplicating tabs
- Docs
  - Switch to Adwaita Sans/Mono 11pt for doc screenshots
- Inspector
  - Provide a list of windows instead of a single button for adaptive preview
- Stylesheet
  - Add --document-font-family/size and --monospace-font-family/size
  - Use --monospace-font-family/size for .monospace
  - Fix disabled style for raised/suggested/destructive menubuttons in toolbars
  - Drop GtkSourceView support for textview.inline as it didn't work anyway
- Translation updates
  - Italian
  - Russian
  - Slovenian
  - Turkish

=================
Version 1.7.alpha
=================

- Add AdwToggleGroup and AdwInlineViewSwitcher
- Add AdwWrapBox and AdwWrapLayout
- Add adaptive preview in inspector
- Use EASE easing for timed animations instead of EASE_OUT_CUBIC
- Don't warn when setting child in bin-like widgets to itself
- Fix meson syntax in readme
- Add doc guidelines to HACKING
- Build
  - Drop pre-built docs and styles
  - Rename -Dgtk_doc to -Ddocumentation, deprecate the old option
- AdwAboutDialog
  - Add Other Apps section
  - Fix natural width
- AdwAboutWindow
  - Fix natural width
- AdwActionRow
  - Set accessible role to presentation for the icon
- AdwAlertDialog
  - Fix a crash when setting content-width/height before present()
- AdwAvatar
  - Set accessible role and label
- AdwBanner
  - Start-align the title earlier
  - Tone down visuals
  - Add :style to allow to make button suggested
- AdwBottomSheet
  - Add :reveal-bottom-bar
  - Fix natural height
  - Fix criticals in dispose in some cases
- AdwBreakpointBin
  - Fix natural size
- AdwButtonRow
  - Set accessible role to presentation for icons
- AdwClamp
  - Fix get/set_unit() version
- AdwClampLayout
  - Fix layout with multiple children
  - Fix height-for-width measuring
- AdwComboRow
  - Fix a property noficiation
- AdwDialog
  - Fix accessible role critical when using window-backed dialogs
  - Handle close() before and right after present()
  - Don't crash when chaining up in vfuncs
- AdwEasing
  - Add EASE, EASE_IN, EASE_OUT and EASE_IN_OUT
- AdwExpanderRow
  - Make suffix spacing match action rows and entry rows
- AdwHeaderBar
  - Ignore split views outside sheets
- AdwLengthUnit
  - Fix pt and sp unit values when gtk-xft-dpi = -1
- AdwMessageDialog
  - Fix a typo in adw_message_dialog_response() deprecation message
- AdwNavigationSplitView
  - Support :sidebar-position
  - Stop reporting baseline
- AdwNavigationView
  - Addw :h/vhomogeneous
  - Add :visible-page-tag
  - Don't crash when chaining up in vfuncs
- AdwOverlaySplitView
  - Don't allow focusing hidden sidebar
- AdwPreferencesPage
  - Add :banner
- AdwStyleManager
  - Fix initial color scheme value on Windows
- AdwTabBar
  - Only handle middle clicks started and ended on the same tab
  - Don't select tabs when clicking close or indicator buttons
- AdwTabOverview
  - Darken background color
  - Only handle middle clicks started and ended on the same thumbnail
- AdwToastOverlay
  - Add dismiss_all()
  - Add tooltip to the dismiss button
- AdwToolbarView
  - Fix height-for-width measurements
- AdwViewSwitcher
  - Have a minimum height outside header bars
  - Always focus active toggle when entering focus
- AdwViewStack
  - Add an optional crossfade transition
  - Rework adjusting child allocation
- AdwWindow, AdwApplicationWindow
  - Fix allocating children
- Docs
  - Indicate and explain out of gamut colors on CSS variables page
  - Update deprecated meson syntax
  - Link clamp/layout/scrollable docs between each other
  - Force GTK_FONT_RENDERING_MANUAL for screenshots
  - Typo fixes
- Stylesheet
  - Increase border radii of various widgets
  - Tint gray colors to make them colder
  - Add hover and active transition to switch, check, radio and slider
  - Increase scrollbar padding to match the new window radius
  - Add .dimmed and deprecate .dim-label
  - Make preferences group .labels style more specific
- Translation updates
  - Belarusian
  - Catalan
  - Chinese (China)
  - Dutch
  - Hebrew
  - Russian
  - Serbian
  - Slovenian
  - Thai

(From OE-Core rev: dba976609f6932d40909727553ca8535e8b6a544)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Khem Raj
cb196bfb09 ppp: Replace K&R style C declarations
GCC uses C23 standard by default which does not allow
K&R style declarations

(From OE-Core rev: acc41d7f912bf9d3ee142a02d0b64cf9ff6f226e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Markus Volk
84b4840356 gtk4: update 4.16.12 -> 4.18.1
Overview of Changes in 4.18.1, 14-03-2025
=========================================

Note: This release makes the use of the Wayland color-management protocol
opt-in, since our code is not quite ready for being used by default yet.
To enable the color management protocol, use GDK_DEBUG=color-mgmt.

* macOS: Make fractional scaling work again

* Android: Provide a GL renderer

* Bugs fixed:
  - #7386 Deadkeys using UFDD modifiers do not work under gtk4 apps (Matthias
    Clasen)
  - #7390 recorder.ui's action items made available for translation (Matthias
    Clasen)
  - #7402 Trying to measure GtkPopover 0x42761b0 for height of 277, but it needs
    at least 313 (Sergey Bugaev)
  - #7406 Nautilus crashes when try to pin any folder as a new bookmark on the
    side panel. (Matthias Clasen)
  - !8191 treeview: Drop cell-only states when rendering the empty bottom area
  - !8237 paned: Fix handle jump on drag start
  - !8258 Revamp the portal check
  - !8260 fix: Fix the type conversion (gtk demo) in the gtkgear example
  - !8262 bitset: Fix annotations
  - !8268 Add another font testcase
  - !8269 inspector: Make editing attributes work
  - !8270 docs: Add some a11y references
  - !8271 docs: fix typo
  - !8272 inspector: Don't translate action names
  - !8273 macos: Fix HiDPI rendering on macOS
  - !8274 call nproc once in gdk parallel
  - !8276 docs: Clarify invalidation replacements
  - !8278 android: Introduced partial OpenGL backend
  - !8280 Tweak text layout
  - !8282 inspector: Allow editing PangoTabArrays
  - !8283 egl: modifers must be an array
  - !8284 gpu: Make sure we actually download dmabuf textures again
  - !8285 Make color management opt-in
  - !8287 Improve key event logging
  - !8288 Tweak font rendering more
  - !8289 API: Deprecate gdk_surface_create_cairo_context()
  - !8291 Use gtk_shell version to announce wl_surface.offset support for cursors
  - !8292 gsk: Fix multiple clipping of partial pixels
  - !8294 vulkan: Prepare for Vulkan using wp-color-v1
  - !8296 gsk: Pad text node bounds
  - !8298 window: Fix destroying with transient parent
  - !8299 stack: Fix adjusting child allocation

* Translation updates:
  - Basque (Asier Saratsua Garmendia)
  - Bulgarian (Alexander Shopov)
  - Catalan (Jordi Mas i Hernandez)
  - Chinese (China) (Luming Zh)
  - Czech (Daniel Rusek)
  - Danish (Ask Hjorth Larsen)
  - French (Vincent Chatelain)
  - Galician (Fran Dieguez)
  - Georgian (Ekaterine Papava)
  - Hebrew (Yosef Or Boczko)
  - Hungarian (Balázs Úr)
  - Indonesian (Andika Triwidada)
  - Korean (Changwoo Ryu)
  - Lithuanian (Aurimas Černius)
  - Persian (Danial Behzadi)
  - Polish (Piotr Drąg)
  - Portuguese (Hugo Carvalho)
  - Portuguese (Brazil) (Artur Miranda)
  - Russian (Artur S0)
  - Slovenian (Martin)
  - Swedish (Anders Jonsson)
  - Turkish (Sabri Ünal)
  - Ukrainian (Yuri Chornoivan)

Overview of Changes in 4.17.6, 04-03-2025
=========================================

Note: The buffer sizing fixes in this release are known to
not work with fractional scales on macOS. This will hopefully
be fixed soon. In the meantime, you can use the cairo renderer.

* GSK rendering issues on Asahi Linux are fixed

* Buffer sizing issues with fractional scaling are fixed

* GtkFontChooser scrolls to the initially selected font

* Font rendering with the new default GNOME font is improved

* The Wayland cursor shape protocol is supported

* Initial focus for popups on Android is fixed

* Bugs fixed:
  - #3184 Application crashes when presenting popover menus (Matthias Clasen)
  - #4019 Crash on ListBoxRow.get_index (Matthias Clasen)
  - #6455 GtkFlowBox aligns incorrectly with GTK_ALIGN_END and
    min/max_children_per_line (Gergo Koteles)
  - #6817 Null pointer dereference in gdk_surface_request_motion (Matthias
    Clasen)
  - #7146 GSK issues illegal render ops with load=dont-care and blend=over with
    Wayland fractional scaling, causing graphical corruption (Benjamin Otte)
  - #7282 memorytexture testsuite fails the float tests (Benjamin Otte)
  - #7314 Incorrect height calculations with fractional scaling under vulkan
    renderer (violates vulkan validation layers) (Benjamin Otte)
  - #7369 GtkTextView does not claim all click gestures (Maximiliano Sandoval)
  - #7370 activating `GDK_DEBUG=EVENTS` crashes the application if a touch event
    occurs (Matthias Clasen)
  - #7384 Comment required for search string (Matthias Clasen)
  - !6617 Fix measuring label min wfh with wrap+ellipsize+lines
  - !6635 gtkmodelbutton: Always close submenus when changing parent item
  - !7746 ci: Regenerate Fedora image from F41
  - !8028 fontchooser: scroll to selected font
  - !8111 macos: Re-enable macOS GIR generation
  - !8154 adjustment: Verify that values are finite
  - !8156 Clarify hide-on-close documentation
  - !8188 gdkkeys-win32: Add keymap get_active_layout_index/get_layout_names
  - !8231 docs: Fix the missing image in the picture screenshots
  - !8232 gdk: Fix spelling for GdkAndroidDisplayNightMode enum value nick
  - !8234 wayland: Update color coordinates for extra precision
  - !8235 Drop GskProfiler
  - !8241 macos: Do not occupy space for window buttons when full screen
  - !8242 android: Update focus state on motion events for autohide surfaces
  - !8243 gdk: Deprecate gdk_cairo_context_cairo_create()
  - !8246 cpdb: Update gtk_print_backend_cpdb_init for latest CPDB version
  - !8247 wayland: Support the cursor-shape protocol
  - !8248 docs: Fix an image name
  - !8250 macos: Track number of button widgets realized on a window
  - !8251 wayland: Go back to the old none cursor
  - !8253 Bring back unhinted extents
  - !8256 wayland: Fix none cursor check
  - !8263 inspector: Show font options
  - !8264 Try again to fix font rendering

* Translation updates:
  - Basque (Asier Sarasua Garmendia)
  - Bulgarian (twlvnn kraftwerk, Alexander Shopov)
  - Catalan (Jordi Mas i Hernandez)
  - Chinese (China) (Luming Zh)
  - Czech (Daniel Rusek)
  - Finnish (Jiri Grönroos)
  - Galician (Fran Dieguez)
  - Georgian (Ekaterine Papava)
  - Hebrew (Yosef Or Boczko)
  - Indonesian (Andika Triwidada)
  - Korean (Changwoo Ryu)
  - Lithuanian (Aurimas Černius)
  - Persian (Danial Behzadi)
  - Polish (Piotr Drąg)
  - Portuguese (Hugo Carvalho)
  - Portuguese (Brazil) (Rafael Fontenelle)
  - Slovenian (Martin)
  - Spanish (Daniel Mustieles)
  - Turkish (Sabri Ünal)
  - Ukrainian (Yuri Chornoivan)

Overview of Changes in 4.17.5, 23-02-2025
=========================================

* Numeric mode in GtkSpinButtons works again

* Client-side dialogs can be made fully modal

* Portals work better for unsandboxed apps, by registering

* Editable labels have a context menu

* GtkListBox size allocation has been improved

* We require wayland 1.23 and wayland-protocols 1.41

* We use the wp_color_manager_v1 protocol for color management under Wayland

* Most screenshots in the documentation have a dark variant

* GtkBuilder allows inline definition for GMenu-valued properties

* Headerbars can use native window controls on macOS

* Bugs fixed:
  - #4353 Keyboard: Set shortcut does not work for key-codes > 247 (Matthias
    Clasen)
  - #5125 Demo / Menu: Popup at wrong position, hangs on Wayland (Matthias
    Clasen)
  - #5815 builder: integrate menus more properly (Matthias Clasen)
  - #6010 gtk4-demo > Lists > Selections emits CRITICALS (Matthias Clasen)
  - #6272 a11y: API for updating platform state for custom GtkAccessible
    implementations is missing (Emmanuele Bassi)
  - #6355 gtk_widget_compute_transform() not working correctly with GtkPopover
    (Alessandro Astone)
  - #6379 GtkListBox crashes if the placeholder is focused and then TAB is
    pressed
  - #7191 Have a way to block parent shortcuts in AdwDialog (Matthias Clasen)
  - #7215 Changing the click behavior of Gtk.EditableLabel (Matthias Clasen)
  - #7229 GSK/vulkan uses mipmaps without checking the formats/tiling
    `VkImageFormatProperties.maxMipLevels` (Janne Grunau)
  - #7249 Cursor hotspot and cursor image are not updated atomically on Wayland
    (Carlos Garnacho)
  - #7257 Unexpected spacing at the end of a textview when using child widgets.
    (Sergey Bugaev)
  - #7286 GtkApplicationWindow show-menubar documentation inconsistent
  - #7307 GtkAppChooserWidget doesn't fit in a mobile screen (Automeris naranja)
  - #7310 Inspector showing child widgets & controllers twice (Florian
    "sp1rit"​)
  - #7311 GtkSpinButton:numeric=True doesn't work (Matthias Clasen)
  - #7312 Dead link in common questions
  - #7321 mem leak in emoji chooser (Matthias Clasen)
  - #7322 invalid array index use
  - #7324 Missing support for F17, F18, F19 and F20 keys on MacOS (Elisa Pau)
  - #7334 Gtk password inputs should expose the displayed text (e.g. black
    circles) via AT-SPI; not the underlying value (Emmanuele Bassi)
  - #7340 Job Failed #4757144: Meson error
  - !7951 ListBox hacking
  - !8071 macos: Native window controls
  - !8073 gpu: Fix off-by-one error in gsk_vulkan_mipmap_levels
  - !8155 application: Register host apps with portal
  - !8177 Small Android fixes
  - !8178 Fix typo in `FileLauncher.set_always_ask` docs
  - !8179 gdk/wayland: Use forgotten include guards
  - !8180 docs: fix some typos, mainly closing ticks
  - !8184 android: Provide Gdk.FOCUS_CHANGE events
  - !8187 demos: Fix gettext domain in metainfo
  - !8195 gtk-demo: Tweak the fixed demo
  - !8196 settings: Fix GdkDisplay values ignored at init
  - !8197 popovermenubar: Do not steal the focus on hover
  - !8198 gi: Add missing annotation to WaylandSurface.force_next_commit
  - !8200 rendernode: Add fixed-size annotations
  - !8201 fontdialogbutton: Gracefully handle unknown font
  - !8205 Update getting_started.md - point to Gtk.Widget.present instead of
    show
  - !8206 docs: Fix 'Title overline too short' error
  - !8207 Update getting_started for gdk_surface_create_similar_surface
    depreaction
  - !8208 a11y: Fix issues in text attribute run logic
  - !8210 gdk: Small documentation improvements
  - !8211 wayland: Use the wp_color_manager_v1 protocol
  - !8217 macos: Disable animations if setting "Reduce Motion" is active
  - !8219 application: Clean up dangling inhibitor surface
  - !8221 gtk-demo: Improve colors of triangle in GLArea demo
  - !8222 vulkan: Fix max amount of modifiers per format
  - !8223 docs: Add dark variants to widget gallery
  - !8224 docs: Fix gallery images for menus
  - !8228 gsk: Don't color-convert empty surfaces
  - !8229 gdk: Remove GDK_DEBUG=gl-no-fractional

* Translation updates:
  - Catalan (Jordi Mas)
  - Chinese (Taiwan) (Chao-Hsiung Liao)
  - French (Vincent Chatelain)
  - Georgian (Ekaterine Papava)
  - Nepali (Pawan Chitrakar)
  - Persian (Danial Behzadi)
  - Polish (Piotr Drąg)
  - Slovenian (Martin)

Overview of Changes in 4.17.4, 01-02-2025
=========================================

This release introduces a new backend, which allows running
GTK applications on Android phones. It is still considered
experimental. Feedback and improvements are welcome!

We have a ci job that produces signed apks for gtk4-demo,
to make it easy to try this out.

* GtkFileChooser:
 - Stop replacing : (colon) with U+2236 (ratio)

* GtkSpinButton:
 - Avoid out-of-bounds values in some cases

* GtkWindow:
 - Send expected a11y events when a window is closed
 - Change accessible role back to GTK_ACCESSIBLE_ROLE_WINDOW

* GtkLabel:
 - Make context menus keyboard-navigatable

* GtkVideo:
 - Support rotated videos

* GDK:
 - Add a way to retrieve keyboard layout information
 - Use libpng api for cicp if available

* GSK
 - Drop the old GL renderer

* Accessibility:
 - Maintain inverse relations

* macOS:
 - Enable AccessKit in ci
 - Fix inverted pen tilt

* Deprecations:
 - The x11 backend
 - The Broadway backend

* Build:
 - Require cairo 1.18.2

* Bugs fixed:
  - #6755 Accessible `window:activate` events missing for Gtk4 (Matthias Clasen)
  - #6823 Enumeration values starting with numbers (Matthias Clasen)
  - #7210 ci: Build with -Daccesskit=enabled on macOS
  - #7228 gtk4-demo settings demo does not actually write settings (Matthias
    Clasen)
  - #7246 Cannot navigate context menu of GtkLabel with keyboard
  - #7268 RFC: API to query the current keyboard layout ?
  - #7271 Test failures with libpng-1.6.45 (Alessandro Astone)
  - #7279 GTKFileChooserWidget incorrectly displays "Modified" time of file when
    format should be "%H:%M" (Matthias Clasen)
  - #7294 Hovering buttons causes "g_object_unref: assertion 'G_IS_OBJECT
    (object)' failed" (Matthias Clasen)
  - !7555 Introducing new android backend
  - !8017 gdk: fix crash on Wayland with already destroyed surface.
  - !8060 Deprecate the X11 backend
  - !8115 Introduce the label for relation and the concept of reverse relations
  - !8118 Prepare the 4.17.3 release
  - !8119 Post-release version bump
  - !8121 vulkan: Handle VK_PRESENT_MODE_FIFO_LATEST_READY_EXT
  - !8124 Fix the archive URL for Boost
  - !8126 docs: Mark GtkShortcutsWindow as deprecated
  - !8127 tools: Drop support for the gl renderer
  - !8128 spinbutton: Consider adjustment value sanitization
  - !8129 Drop test exclusions for the gl renderer
  - !8133 ci: Move subproject download and update over to a separate job
  - !8134 Keep installing gsk/gl/gskglrenderer.h
  - !8137 gtktextattributes and gtkaccessible copy-paste errors
  - !8138 gtk-demo: Plug a memory leak
  - !8139 window: Hide accessible earlier
  - !8140 Keep installing gsk/gl/gskglrenderer.h
  - !8142 gtk4-builder-tool: Plug a few memory leaks
  - !8144 macos: fix broken accounting messages and click after moving the
    window
  - !8147 Docs: Small fixes
  - !8148 text: Correct the documentation
  - !8150 Avoid using deprecated GtkWindow::keys-changed internally
  - !8151 gstreamer: Implement rotation tag support
  - !8157 gstreamer: Improve rotation tag support
  - !8160 docs: Don't recommend usage of deprecated ToggleButton method
  - !8163 gdk/contentserializer: Force specific URI schemes to serialize as URI
  - !8164 gdk/wayland: Ensure to generate grab broken events before crossings
  - !8166 filedialog: fix typo in docs
  - !8167 macos: Gtk4: Fix inverted pen Y tilt on macOS

* Translation updates:
  - Slovenian (Martin)
  - Thai (Aefgh Threenine)

Overview of Changes in 4.17.3, 16-01-2025
=========================================

* GtkText:
 - Consume Ctrl-A
 - Handle Cut', Copy, Paste, Undo, and Redo keys
 - Improve a11y representation

* GtkLabel:
 - Consume Ctrl-A when we handle it
 - Pass mnemonics to a11y

* GtkTextView:
 - Handle Cut, Copy, Paste, Undo, and Redo keys
 - Fix disappearing carets after focus changes

* GtkFileChooser:
 - Handle Find keys
 - Set a11y label on Search button
 - Set a11y labels on pathbar buttons
 - Pass key-shortcuts for the "New folder" button

* GtkAppChooser:
 - Fix sorting

* GtkListBox:
 - Improve a11y representation

* GtkColumnView:
 - Fix column dnd in right-to-left context

* GtkWindow:
 - Make resize corners gapless with rounded corners

* GtkPopoverMenu:
 - Show mnemonics on Alt press

* GtkMenuButton:
 - Improve a11y representation

* GtkFileDialog:
 - Fix a crash
 - Add more text file api variants

* GtkSizeGroup:
 - Improve consistency measurements and allocations

* GtkBuilder:
 - Parse tab arrays and font descriptions in Pango syntax

* Wayland:
 - Rely on scale events for pointer surfaces
 - Make idle inhibit work with fullscreen subsurfaces

* Accessibility:
 - Implement GetKeyBinding properly for actions
 - Set key-shortcuts attribute
 - Fix state change notification for some states
 - Set application ID attribute

* MacOS:
 - Make the NGL renderer work again

* GSK:
 - Don't double-clip edges for shadows

* Demos:
 - widget-factory: Set alternative text on pictures
 - gtk-demo: Allow to run as a service

* Deprecations:
 - GtkShortcutsWindow
 - Loading themes from ~/.themes
 - <child> in ui files where child properties exist

* Translation updates:
 Brazilian Portuguese
 Georgian
 Turkish

Overview of Changes in 4.17.2, 26-12-2024
=========================================

* GtkWindow:
 - Rework computing the minimum size

* GtkPicture:
 - Fix measuring with content-fit = scale-down

* GtkStack:
 - Report constant size request mode in more cases
 - Avoid measuring children aginst preferred request mode
 - Fix measuring during size interpolation

* GtkFlowBox:
 - Improve size request mode reporting
 - Fix measuring minimum height
 - Fix measuring natural width
 - Implement hfw vai binary search

* GtkScrolledWindow:
 - Report constant size request mode in more cases
 - Skip measuring children if we can

* GtkBox:
 - Don't always reserve height for baseline alignment
 - Rework natural opposite size-for-size computation
 - Add fast paths for some cases of measurement and allocation

* GtkLayoutManager:
 - Skip invisible children for request mode determination
 - Prefer hfw, all things being equal

* GtkColorPicker:
 - Respect GDK_DEBUG=no-portals

* GtkEntry:
 - Stop guessing text direction from keyboard layout
 - Add a shortcut and context menu item to change text direction

* GtkSpinButton:
 - Make numeric spin buttons always LTR

* GtkAboutDialog:
 - Small UI improvements

* Accessibility:
 - Add an AccessKit backend. Use -Daccesskit=enabled to build it
   and GTK_A11Y=accesskit to use it

* Windows:
 - Drop the AeroSnap emulation

* Wayland:
 - Always clear exported surface IDs on finalize
 - Use the correct display for imcontext

* Vulkan:
 - Make GdkVulkanContext work with Android armv7

* Build:
 - Require GLib 2.80
 - Require harfbuzz 8.4
 - Require pango 1.55
 - Require C11

* Translation update:
 Russian

Overview of Changes in 4.17.1, 06-12-2024
=========================================

This release switches our portal support from opt-in to opt-out.
We will use portals by default, unless you set GDK_DEBUG=no-portals.
And we will *always* use portals in flatpaks.

* Text rendering:
 - Make error underlines smaller

* GtkText:
 - Avoid selecting inserted Emoji

* GtkPlacesView:
 - Improve accessibility

* GtkFileChooser:
 - Fix a case where search was stealing focus

* GtkEmojiChooser:
 - Update to CLDR 46 / Unicode 16

* Accessibility:
 - Fix DBus signature of ChildrenChanged

* GDK:
 - Don't recycle threads too aggressively
 - Add GDK_DISABLE=threads to disable threaded operations
 - Improve parallelization for small tasks

* GSK:
 - Make occlusion checking more effective
 - Clip luminosity when clipping colors (avoiding masking artifacts)
 - Fix problems with dihedral transforms

* Vulkan:
 - Streamline Vulkan setup
 - Fix blurry rendering at certain scale/size combinations

* OpenGL:
 - Conform to buffer offset alignment requirements

* Windows:
 - Fix pasting certain bitmaps

* Documentation:
 - Revise and modernize some docs

* Debugging:
 - Inspector: Show surfaces and renderers in the tree
 - Inspector: Make the object tree resizable
 - Inspector: Add a "Copy for gitlab" button

* Translation updates
 Icelandic
 Serbian
 Slovenian

Overview of Changes in 4.17.0, 06-11-2024
=========================================

* GtkScrolledWindow
 - Fix criticals in size allocation code

* GtkFileChooser
 - Fix a crash in the portal code

* GtkFontChoser
 - Make the dialog more shrinkable

* GtkPicture
 - Avoid unnecessary resizes

* GtkVideo
 - Make dmabufs work without GL

* GtkListBox:
 - Add a tab-behavior property to influence keynav

* GtkEmojiChooser:
 - Fix problems with insertion and selection

* GtkStringList:
 - Add gtk_string_list_find

* GtkApplication:
 - Respect GDK_DEBUG=no-portals
 - Set default window icon from app ID

* GtkTextView:
 - Vertical and horizontal positioning of the textview is now quantized
   to the nearest device pixel. This should improve the perceived smoothness
   of scrolling with fractional scaling and font hinting.
 - Incorrect re-use of cached styling was fixed
 - Fix some missing CSS invalidation
 - Handle charsets in clipboard datatypes

* Printing:
 - Avoid warnings for avahi errors
 - Fix a segfault in the print dialog setup code

* Accessibility:
 - Always realize non-widget accessibles, to help webkit
 - Fix list view selection implementation
 - Handle NULL values in more places

* Gstreamer:
 - Make dmabufs works without GL

* Gdk:
 - Add OKLAB and OKLCH color states
 - GL: Drop support for GLES 2 and GL < 3.3
 - GL: Use the ngl dmabuf downloader instead of the GL downloader
 - Vulkan: Drop the GDK_VULKAN_DEVICE env var. Use MESA_VK_DEVICE_SELECT instead
 - Vulkan: Use the swapchain maintenance extension to release swap images
 - Forbid opening displays before gtk_init()

* Gsk:
 - Many improvements to the dmabuf downloaders
 - ngl: Avoid glBufferSubData for globals, speeding up llvmpipe
 - Renderer selection will no longer consider the GL renderer
 - Allow Vulkan software rendering as fallback
 - Support gradient interpolation in different color states

* Wayland:
 - Improve settings portal handling
 - Improve fallback for cursor themes
 - Make cursor theme changes apply immediately
 - Use a viewporter for cursor image scaling
 - Improve cursor size handling
 - Use the system bell protocol if available
 - Fix possible deadlock with high-priority sources triggering roundtrips

* Windows:
 - Improve the backend code
 - Fix some problems with WGL on NVidia
 - Many testsuite fixes for Windows compatibility
 - Make all pixbuf loaders builtin in the gdk-pixbuf subproject
 - Add GDK_DISABLE=aerosnap to disable aerosnap
 - Improve clipboard handling
 - Fix behavior or gdk_display_open() on Windows
 - Numerous papercut fixes
 - Require Windows 10

* Macos:
 - Fix crashes when dragging libadwaita TabView tabs
 - Require macOS 10.15

* Tools and demos
 - gtk4-demo: Make demos standalone
 - gtk4-demo: Drop GL shader demos
 - gtk4-demo: Improve scrolling benchmarks
 - gtk4-builder-tool: Improve separator handling
 - gtk4-image-tool: Better color state support

* Build:
 - Don't set GSK_RENDERER in our flatpaks
 - Require meson 1.2

* Translation updates
 Belarusian
 Brazilian Portuguese
 British English
 Galician
 Lithuanian
 Romanian
 Slovenian
 Swedish

(From OE-Core rev: 204474ba88963d8c5eb3be996b12896b63dd88c9)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Alex Kiernan
d5a4f0432a eudev: Drop --output=... from kmod call in init script
This awkward invocation is no longer required as kmod just uses the stdout file
descriptor, rather than explicitly opening /dev/stdout.

(From OE-Core rev: c54e9e205c5cc45c37c34a472a7e78266ee17983)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Alex Kiernan
ee8811c2c8 kmod: Upgrade 33 -> 34.1
Migrate to meson from autotools. Drop remnants of ptest support which was
removed in 2015:

  https://git.openembedded.org/openembedded-core/commit/?id=f80d136bdd578468035a88125fa1b84973fd912b

Remove configuration directory/symlink handling which is now done by the meson
build. Fix manpage generation.

kmod 34
=======

- Improvements

	- Drop pre-built .ko modules from git - distros/packages will need the
	  linux-headers to be able to run the testsuite. There was limited use
	  of the feature, while linters complained about "source-not-included"
	  or "source-contains-prebuilt-binary".

	- Switch build system to meson: autotools is still supported but slated
	  for removal on next release. This is the transition release to help
	  distros and integrators to move to the new build system. Default options
	  target distros while developers can use the build-dev.ini configuration
	  file.

	- Allow to load decompression libraries on demand: liblzma.so, libz.so
	  and libzstd.so can now be loaded on demand, only when there is
	  such a need. For use during early boot for loading modules, if
	  configured well it means none of these libraries are loaded: the
	  module loading logic via finit_module() will just hand over to kernel
	  the open file descriptor and kernel will use its own decompress routine.

	  If kernel doesn't handle decompression or if the module is compressed
	  with a different algorithm than the one configured in the kernel,
	  libkmod can still open the module by dynamically loading the
	  correspondent library.

	  Tools inspecting the module contents, like modinfo, will load that
	  single decompression library instead all of them.

	  For distros building with meson it's possible to choose the behavior
	  per library. Examples: a) -Ddlopen=all uses dlopen behavior for all
	  the libraries; b) -Ddlopen=xz, will make only xz to be dlopen'ed
	  while other enabled libraries will be linked in at build time.

	  The use of dlopen is annotated in the ELF file by using the ELF
	  Package Metadata spec as documented in
	  https://systemd.io/ELF_PACKAGE_METADATA/. Example:

	  $ dlopen-notes.py libkmod.so
	  # build/libkmod.so
	  [
	    {
	      "feature": "xz",
	      "description": "Support for uncompressing xz-compressed modules",
	      "priority": "recommended",
	      "soname": [
	        "liblzma.so.5"
	      ]
	    }
	  ]

	- Add -m / --moduledir to depmod to override in runtime the module
	  directory that was already possible to set on build time. Document
	  the interaction between the dir options: base, module and output.

	- Better error propagation in libkmod for its internal APIs and libc
	  functions up to the callers.

	- Improve libkmod API documentation by adding new sections, documenting
	  functions previously missing, rewording existing ones, adding version
	  information, cross-referencing, etc.

	- Remove deprecated arguments for depmod: --unresolved-error, --quiet,
	  --root and --map.

	- Remove deprecated arguments for rmmod: -w.

	- Remove deprecated arguments for insmod: -p and -s.

	- Add --syslog and --force for insmod to normalize it with other tools.

	- Add bash, fish and zsh shell-completion for insmod, rmmod and lsmod.

	- Remove depmod_module_directory_override from .pc as the kernel side
	  is not making use of it and will likely not need it.

	- Improve builtin module listing and retrieving information from its
	  modinfo index which reduces the amount of needed syscalls by 90%.

	- Improve zstd decompression by using streaming bufferless mode which
	  reduces the amount of syscalls by 65%.

	- Increase use of pread while parsing ELF and indexes in order to reduce
	  syscalls and improve performance.

	- Improve module sorting in depmod to speedup the use of the
	  modules.order index and support duplicate lines in it.

	- Avoid misaligned memory access while reading module signature in
	  libkmod.

	- Add more documentation for contributing to kmod. New developers are
	  welcome to look at the new README.md and CONTRIBUTING.md files for
	  information on process, coding style, build/installation, etc.

	- Overhaul man pages with multiple clarifications, section rewrites and
	  additional documentation.

	- Drop --with-rootlibdir as it's seldom used and was partially broken.

	- Drop strndupa() and alloca() for increased libc compatibility.

	- Better handling of LFS for increased compatibility with libc.

	- Protect kmod_get_dirname() and kmod_new() against NULL argument.

	- Normalize --version / --help output across all tools.

	- Always include log priority in messages, even when building with debug.

	- Optimize index reading by lazily reading nodes on demand, reducing
	  FILE overhead and reducing code duplication wrt FILE vs mmap
	  implementations, etc.

	- Switch index to pre-order to improve performance in both read and
	  write, meaning faster lookup and faster depmod. Some examples:
	  a) traversing all indexes via configuration dump shows a 9%
	  improvement on Raspberry Pi 2. b) writing the indexes takes 90% less
	  lseek() calls, leading to a performance gain of 13%.

	- Make symlink install locations more similar to what distros are
	  using: by default it installs the kmod binary as bin/kmod and the
	  symlinks are located in e.g. `sbin/depmod -> ../bin/kmod`. Changing
	  the sbin location is sufficient to move the symlinks to the
	  appropriate place, so distros using `--sbin /usr/bin` will have them
	  installed in that directory. This avoids distros having to remove the
	  symlink and add the symlinks by themselves. (meson only)

	- Install configuration directories,
	  /{etc,usr/lib}/{depmod,modprobe}.d/ as part of installation, matching
	  what several distros do during packaging. (meson only)

- Bug fixes

	- Fix testsuite using when using configurable module dir.

	- Fix typos on documentation and source code.

	- Fix out of bound access in multiple places when using long paths,
	  synthetic huge files, or handling memory allocation errors, or
	  inconsistent variable types, particularly on 32b builds.

	- Fix internal array APIs, with better error checking: improve execution on
	  very memory-constrained scenarios or very long paths.

	- Fix absolute path handling in depmod.

	- Fix libkmod memory leaks on error handling when getting builtin
	  module list.

	- Do not crash on invalid modules.builtin.modinfo file.

	- Fix link with lld resulting in empty testsuite.

	- Fix testsuite build/execution with musl.

- Others

	- Adopt clang-format and editorconfig for coding style and setup CI
	  action to keep the codebase consistent.

	- Adopt codespell in CI.

	- Adopt CodeQL integration in CI.

	- Adopt Codecov in CI.

	- Adopt SPDX copyright and license identifiers throughout the project.

	- Add more distros to CI, 32b builds, clang as compiler and lld as
	  linker.

	- Add support for clang sanitizers and squelch warnings.

	- Add tests for builtin modules from modinfo index file.

	- Multiple testsuite refactors and fixes to make it simpler to write tests.

	- Add CI coverage for docs

	- Improve strbuf implementation with more error checks and generalize
	  it to cover the role of scratchbuf. This allows to remove the
	  scratchbuf implementation.

	- Use common array and strbuf code in depmod to remove duplication.

	- Add abstraction and use more compiler builtins for addition and
	  multiplication with overflow checking.

	- Normalize use of C attributes throughout the project.

(From OE-Core rev: 5ed23bb44dcfb6488134a0e5d83adc9abbaed1aa)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Alex Kiernan
0b212fef33 selftest: gdbserver: Adjust regex for change to output
The updated kmod build (using meson) causes the output which results from `info
line kmod_help` to change. Relax the regex so that both old and new reponses
will pass.

(From OE-Core rev: 8783e7b8109b02847cf3b07421582c4fdb18949c)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Alex Kiernan
8553d3e1ca scdoc: Upgrade 1.11.2 -> 1.11.3
Swap static link removal patch to a backport of upstream, remove autotools
usage (this is just a Makefile recipe), fix up metadata.

Changes:
	Dimitry Andric (1):
	      Fix clang 15 -Wstrict-prototypes warnings

	Drew DeVault (2):
	      README.md: mention system packages
	      Update version to 1.11.3

	Eli Schwartz (2):
	      remove useless re-declarations of standard functions
	      get rid of some unused includes

	Humm (3):
	      use .PP for paragraph breaks
	      scdoc(1), scdoc(5): follow conventions more closely
	      simplify list output

	Max Schillinger (1):
	      fix formatting of escaped backticks

	Simon Branch (2):
	      scdoc.5: fix capitalization of subsection headers
	      scdoc.5: fix formatting in the preamble

	Simon Ser (1):
	      man: add section about SOURCE_DATE_EPOCH

	jturtle (1):
	      Emit '\e' instead of '\\'

(From OE-Core rev: a57fa257b4e64a790ee649661c0a386803acf0a5)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Alex Kiernan
113bf90b00 scdoc: Import from meta-wayland
scdoc is a simple man page generator for POSIX systems written in C99.

(From OE-Core rev: 00c9683ae5ca5dd2d4490caa7a408a1a04a60f13)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Khem Raj
78609596c6 m4: Stick to C17 standard
GCC15 imposes C23 by default and 1.4.19 release has gnulib version which
can not be compiled without errors, while new release of m4 is in progress
we might use C17 until then and use GCC15 to compile it

(From OE-Core rev: b99f5c44aaa925bdc2a0534458dcb95d1514dc66)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Khem Raj
c140e7c4db gmp: Fix build with older gcc versions
The fix to make this work with GCC15/C23 caused problems with older gcc versions.
Add a fix for that.

(From OE-Core rev: 08fce47470c629cbdd85a5ad486bc79b05afa44b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Khem Raj
0f1c2f7cc5 gmp: Fix build with GCC15/C23
(From OE-Core rev: 9484b1396fd04a400ef774b12413dfb82b7e8d1a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Peter Marko
5f26d71861 binutils: patch CVE-2025-1153
Pick patch [1] mentioned in NVD report [2]

[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8d97c1a53f3dc9fd8e1ccdb039b8a33d50133150
[2] https://nvd.nist.gov/vuln/detail/CVE-2025-1153

(From OE-Core rev: bc3c169d78dac9d2e83c533056b8bec8dbdab3f7)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Khem Raj
d3522b71a8 gcc-runtime: Package libstdc++.modules.json
libstdc++.modules.json is new file in libstdc++ from GCC-15
it is the module mapping file used in C++ projects that
utilize C++20 modules

(From OE-Core rev: bbfe7ee5b64618649eb8aff753b444c97313e617)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Alexander Kanavin
96ca859344 glib-2.0: address ptest failures
Particularly:
- one of the tests requires a C.utf-8 locale
(only available in glibc)
- another needs .gir files to be installed

Also, consolidate the ptest dependencies in a
single variable assignment.

(From OE-Core rev: e9b318408bd6e68e4d7f7d4f74abf6d55f2dae09)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Markus Volk
6654368434 glib-2.0: update 2.82.4 -> 2.84.0
- Add option for tests to prevent them from being built without PACKAGECONFIG[tests] being selected

Overview of changes in GLib 2.84.0, 2025-03-06
==============================================

* Bugs fixed:
  - #3590 Update Slovenian (sl) translation in glib
  - !4539 Update Korean translation
  - !4540 tests: Minor fixes to reference and stream-rw_all tests
  - !4542 gdebugcontrollerdbus: Fix a minor typo in a code example in the docs
  - !4543 Update Hungarian translation

* Translation updates:
  - Hungarian (Balázs Úr)
  - Korean (Changwoo Ryu)
  - Slovenian (Martin)

Overview of changes in GLib 2.83.5, 2025-02-28
==============================================

* A few improvements for when GLib is used as a subproject (#3625, #3626, work
  by Simon McVittie)

* Fix out-of-order parameters in a marshaller generated by `gdbus-codegen`
  (!4524, work by Ryan Gonzalez)

* Bugs fixed:
  - #3272 gutils-user-database test crashes in CI with G_DISABLE_ASSERT and -m
    thorough (Philip Withnall)
  - #3424 Update the release instructions (Philip Withnall)
  - #3615 Use of timeout in GApplication example code (Reuben Thomas)
  - #3625 when GLib is a subproject, check-missing-install-tag.py asserts that
    the parent project has install tags (Simon McVittie)
  - #3626 when GLib is a subproject and pcre2 is a subproject, pcre2's tests are
    run (Simon McVittie)
  - !4507 [th/gdataset-misc] minor improvements in gdataset.c (around
    g_datalist_id_remove_multiple())
  - !4508 [th/datalist-update-atomic-no-keyid] gdataset: drop "key_id" argument
    from GDataListUpdateAtomicFunc
  - !4509 tests: Search the appropriate directories for our GIR XML inputs
  - !4510 doc: Simplify instructions for testing with Automake
  - !4511 Update Georgian translation
  - !4512 Update Czech translation
  - !4513 [th/gobject-inline-private-call] gobject: avoid GLIB_PRIVATE_CALL()
    for g_datalist_id_update_atomic
  - !4514 Update Ukrainian translation
  - !4515 doc: point to iconv(3) and iconv(3posix) for more details about iconv
  - !4516 Update Bulgarian translation
  - !4517 Update file fa.po
  - !4518 Update Chinese translation
  - !4521 docs: Fix man page link for xattrs
  - !4522 Meson: Disable lint+no-valgrind tests when tests option is set to
    false
  - !4523 [th/gobj-performance-fixes] improvements and fixes for gobject's
    `performance.c` benchmark
  - !4524 gdbus-codegen: Fix callback GUnixFDList parameter order
  - !4526 [th/gobj-performance-2] more improvements to GObject's `performance.c`
    and add test "property-set-signaled"
  - !4527 Updated Lithuanian translation
  - !4529 Update Portuguese translation
  - !4531 Update Swedish translation
  - !4535 Update Galician translations

* Translation updates:
  - Bulgarian (Alexander Shopov)
  - Chinese (China) (lumingzh)
  - Czech (AsciiWolf)
  - Galician (Fran Diéguez)
  - Georgian (NorwayFun)
  - Lithuanian (Aurimas Černius)
  - Persian (Danial Behzadi)
  - Portuguese (Hugo Carvalho)
  - Swedish (Anders Jonsson)
  - Ukrainian (Yuri Chornoivan)

Overview of changes in GLib 2.83.4, 2025-02-20
==============================================

* Fix Python shebang paths so they work on Windows again (#3331, work by
  Dan Yeaw and others)

* Fix refcounting semantics of `g_dbus_connection_register_object_with_closures()`
  by adding a replacement API (#3560, work by Philip Withnall)

* Support static vfuncs in GIRepository (!4457, work by Philip Chimento)

* Add support for QNX8.0 (!4466, work by Felix Xing)

* Add a soft dependency on C11 — if your toolchain doesn’t support C11, you have
  six months to tell us before this becomes a hard dependency (!4473)

* Port from `net.hadess.PowerProfiles` to `org.freedesktop.UPower.PowerProfiles`
  for `GPowerProfileMonitorDBus` (!4478, work by Marco Trevisan)

* Bugs fixed:
  - #3331 Windows build broken because of Python paths (Dan Yeaw)
  - #3448 Use after free in GCancellableSource test (Marco Trevisan (Treviño))
  - #3560 Fix refcounting semantics of
    g_dbus_connection_register_object_with_closures() (Philip Withnall)
  - #3578 gkeyfile: Honor C in $LANGUAGE as gettext does (Gaël Bonithon)
  - #3587 g_app_info_launch crashes on macos (Andre Miranda)
  - #3592 GDBusConnection does not handle serial number overflow (Philip
    Withnall)
  - #3595 Toolchain documentation should mention that GLib assumes functions can
    be called through wrongly-typed function pointers (Demi Obenour)
  - #3612 cancellable unit test crashes in /cancellable-source/threaded-dispose
    (Marco Trevisan (Treviño))
  - #3613 Potentially revert g_win32_com_clear() due to pulling in windows.h
  - !3255 Drop TypeNode reference counting
  - !4046 Add G_OPTION_FLAG_DEPRECATED
  - !4457 Support static vfuncs in GIRepository
  - !4461 docs: Update the release documentation for the new release workflow
  - !4464 gosxappinfo: Fix leak
  - !4466 Add support for QNX8.0
  - !4468 Registry backend fixes
  - !4471 glib.supp: Ignore once-per-thread leak from SysprofCollector
  - !4472 gkeyfile: Convert docs to gi-docgen linking syntax
  - !4473 build: Add a soft dependency on C11
  - !4475 docs: Fix invalid references and broken links
  - !4476 tests: Cleanup python tests and add tests for gi-compile-repository
    and gi-inspect-typelib
  - !4477 gcancellable: remove sketchy source ref/unref
  - !4478 gio/powerprofilemonitordbus: Use newer D-Bus API
  - !4479 docs: Make docs more markdown-ish
  - !4483 tests: Fix a memory leak if a callable-info test is skipped
  - !4486 meson: Fix typo in comment about python shebang
  - !4487 gio/gfilemonitor: Use atomic API to get / store cancelled state
  - !4488 gmain: Use atomic logic to handle internal GSource flags
  - !4490 gio/subprocess: Lock while writing on shared pid and status values
  - !4491 Update Brazilian Portuguese translation
  - !4492 gfilemonitor: Various cleanups and minor fixes to property handling
  - !4493 gdbus: Add g_clear_dbus_signal_subscription() inline convenience
    function
  - !4494 gio/subprocess: Initialize pid variable to 0
  - !4495 gio/gvolumemonitor: Suggest disconnecting signals
  - !4496 Update Polish translation for GNOME 48
  - !4497 tests: Fix a minor leak in a new GSubprocess test
  - !4498 gdatetime: Fix integer overflow when parsing very long ISO8601 inputs

* Translation updates:
  - Polish (Piotr Drąg)
  - Portuguese (Brazil) (Rafael Fontenelle)

Overview of changes in GLib 2.83.3, 2025-01-23
==============================================

* Fix build-time paths appearing in generated `Gio-2.0.gir` and
  `GioUnix-2.0.gir` files (#3564, work by Simon McVittie)

* Fix crash on macOS when opening links (#3568, work by John Ralls)

* Bugs fixed:
  - #3558 Recent `(inout)` changes caused unintended side-effects with
    `GWeakRef` (Michael Catanzaro)
  - #3561 Missing nullable annotation on parameter user_data and on the return
    value of GVfsFileLookupFunc callback (fbrouille)
  - #3562 GBytes semantics of handling empty strings are inconsistent and
    confusing (Philip Withnall)
  - #3563 Bad anchor link in g_signal_connect() documentation
  - #3564 build-time paths to gio/gunixmounts.h, etc. end up in Gio-2.0.gir,
    GioUnix-2.0.gir (Simon McVittie)
  - #3568 Links crash application on MacOS due to lack of machine-id file (John
    Ralls)
  - #3569 Requirement of GUnixMountMonitor for a Valid Timestamp from
    unix_mount_at is not Suffeciently Documented (Philip Withnall)
  - #3582 gmacros:  _G_BOOLEAN_EXPR_IMPL is incompatible with c++ functions
    marked constexpr
  - !3885 [th/gdataset-index] add a lookup index (GHashTable) to `GData`
  - !4392 GWin32: Add g_win32_com_clear()
  - !4436 docs: Add --generate-md to the gdbus-codegen documentation
  - !4437 docs: Fix some backslash escaping issues in doc comments
  - !4440 gio, gobject: Improve reproducibility of enumtypes headers
  - !4441 gstrfuncs: Drop a redundant paragraph
  - !4442 Don't define test setups unless we're testing
  - !4443 build: Make the introspection feature yield
  - !4444 Fix pointer-to-paramref syntax in docs
  - !4446 gio: Fix a link to a specifications document
  - !4449 Add several assertions to help static analysis and fix some GIR
    annotations
  - !4450 Fix GCC version detection for GUINT*_SWAP_LE_BE
  - !4454 gioenums: Add deprecation for FLAGS_NONE
  - !4455 docs: Use gi-docgen syntax in main-loop.md
  - !4458 docs: Document more extension points
  - !4460 docs: Clarify that g_array_unref() works like g_ptr_array_unref().

Overview of changes in GLib 2.83.2, 2024-12-11
==============================================

* This release has the same code as 2.83.1, but contains a fix for release
  archive generation which means that 2.83.1 does not have a release archive

* Bugs fixed:
  - !4433 ci: Enable -Dintrospection for dist builds

Overview of changes in GLib 2.83.1, 2024-12-11
==============================================

* Bugs fixed:
  - #1251 gio/tests/contenttype fails on OS X: "public.directory" !=
    "public.folder"
  - #3441 Bump minimum supported version of macOS (John Ralls)
  - #3493 Heap buffer overflow read in utf8_verify_ascii() (Philip Withnall)
  - #3511 Build failure “'ifunc' is not supported on this target” with muslc
    (Philip Withnall)
  - #3517 Silent linked-list corruption in g_static_resource_init() on redundant
    calls
  - #3524 Wrong parameter type for g_enum_register_static in GObject-2.0.gir
    (Jan-Willem Harmannij)
  - #3526 Segfault in statically linked binary during initialization of ifuncs
    since 2.83.0 (Philip Withnall)
  - #3532 g_converter_output_stream_write() can return 0 (Benjamin Otte)
  - #3540 g_signal_connect on "notify::non-existant-property" doesn't warn for
    invalid property (Sid)
  - #3545 Modernize the default value for g_thread_pool_set_max_unused_threads
    (Matthias Clasen)
  - #3546 Make the thread name available (Matthias Clasen)
  - #3548 Fix g_settings_schema_has_key() to work with extended schemas
  - #3552 Missing nullable annotation for `log_domain` in `GLogFunc` callback
    (Roberto Leinardi)
  - #3559 2.82.3 regression: lollypop crashes on startup (Philip Withnall)
  - !4232 refstring: Fix race between releasing and re-acquiring an interned
    GRefString
  - !4382 girepository: gi_object_info_find_signal(): Avoid repeated allocations
  - !4384 test utils: Make nonfatal assertions an option
  - !4385 gutf8: Skip ASan instrumentation for load_word
  - !4389 macos: Add extra content type tests
  - !4393 Replace procfs linuxism with kinfo freebsdism
  - !4395 appmonitor: Fix warning building test
  - !4396 tests: Factor out a function to convert FD to path
  - !4398 grefstring: Mark a variable as potentially unused
  - !4399 meson: Add variables to -uninstalled.pc files
  - !4401 testutils: Documentation improvements
  - !4403 Revert "CI: Rebuild a slightly newer version of ninja for debian-
    stable-i386"
  - !4406 glib/gbytes: Be more careful when saving a GBytes of NULL
  - !4407 guri: Fix paths starting with ‘//’ when parsing
  - !4410 threadpool: Simplify pool thread naming
  - !4411 gdbusconnection: Allow creating connection with cross-namespace
  - !4412 gmessages: Treat DEBUG_INVOCATION=1 same as G_MESSAGES_DEBUG=all
  - !4413 gunicode: Update some comments in gunicode.h for Unicode 16.0.0
  - !4414 gdbus: Add a few missing `(nullable)` annotations to GDBus method
    invocation related functions
  - !4415 gdbus: Fix leak of method invocation when registering an object with
    closures
  - !4421 gparam: Add link to constructed vfunc to CONSTRUCT
  - !4422 docs: Fix dead link in CONTRIBUTING
  - !4423 gio-tool: Clarify that `gio mount -l` only lists user-interesting
    things
  - !4424 ci: Ensure all variables are quoted in .gitlab-ci.yml
  - !4425 tests: Skip unsupported dbus-appinfo test on GNU/Hurd for the moment
  - !4428 girepository: Expose gi-compile-repository and gi-* tools in pkg-
    config
  - !4429 gdbus: Add nullable annotations for fd list outs
  - !4432 ci: Add release component to automate tarball publishing

Overview of changes in GLib 2.83.0, 2024-11-06
==============================================

* Update to Unicode 16.0.0; there may be bugs in linebreaking support, see #3518
  (#3460, work by Philip Withnall)

* Optimise UTF-8 validation of strings, including use of ifuncs to prevent
  spurious warnings from sanitizers and valgrind (#3481, work by Christian
  Hergert)

* Fix a potential buffer overflow in `GSocks4aProxy` (#3461, work by
  Michael Catanzaro)

* Change the default value of -Dglib_debug from `auto` to `enabled` for
  developers — distributions will almost certainly want to override it to
  `-Dglib_debug=disabled` for package release builds though; see #3421

* Revert per-instance locking changes in `GCancellable` as they introduced new
  races (#3448)

* Bump Meson dependency to 1.4.0 (!4244, work by Benjamin Gilbert)

* Rename multiple `g_unix_mount_*()` APIs to `g_unix_mount_entry_*()` (#3492,
  work by Jialu Zhou)

* Add a new `GFileMonitor` backend for macOS and BSD: libinotify-kqueue (!3657,
  work by Gleb Popov)

* Add APIs for sync, async and finish function annotations to libgirepository
  (!3746, work by Evan Welsh)

* Bugs fixed:
  - #3289 readlink -f fails in CI on macOS
  - #3415 module-test-library and module-test-plugin tests fail on FreeBSD and
    muslc (Philip Withnall)
  - #3417 Investigate trampoline performance implications in g_mutex_lock_impl()
    changes (Philip Withnall)
  - #3421 Default value for glib_debug meson option (Philip Withnall)
  - #3444 deprecation warnings when using gobjectnotifyqueue.c
  - #3450 Should check for epoll_create1 rather than epoll_create (Philip
    Withnall)
  - #3451 Gio.MenuModel docs have an outdated UI example (Philip Withnall)
  - #3456 Test /unix-mounts/get-mount-entries fails unless libmount is enabled
    (Philip Withnall)
  - #3458 scan-build CI job fails due to gvdb subproject not having meson.build
    (Philip Withnall)
  - #3460 "404: Page not found" Error on "submitted as merge requests" Link
    (Philip Withnall)
  - #3461 Buffer overflow in set_connect_msg() (Michael Catanzaro)
  - #3464 g-ir-scanner fails silently on msys2 CI jobs (Philip Withnall)
  - #3465 Avoid GError for control flow in GResources
  - #3469 Unclear correctness of g_malloc() in pattern_coalesce() (Michael
    Catanzaro)
  - #3470 Update to Unicode 16.0.0 (Philip Withnall)
  - #3472 Overactive GVariantTypeInfo collection causes considerable overhead
    (Christian Hergert)
  - #3477 Determine policy on 32-bit support (Philip Withnall)
  - #3478 Incorrect Examples in GVariant Specification (Christian Hergert)
  - #3480 glib/gvariant: incorrect use of G_ANALYZER_ANALYZING (Christian
    Hergert)
  - #3481 Discussion: utf8 validation optimization (Christian Hergert)
  - #3483 mainloop Unix FD test intermittently fails on Hurd (Philip Withnall)
  - #3484 g_app_info_launch_default_for_uri no longer works on macOS
  - #3486 GVariant inline allocation support broke i686/32-bit builds (Christian
    Hergert)
  - #3488 `glib` does not properly detect `gobject-introspection` (Philip
    Withnall)
  - #3489 Multicast cannot be joined on Mac OS on non-default interface
    (Nirbheek Chauhan)
  - #3490 Meson: fix support for aarch64-w64-mingw32 (Windows on ARM64) (Carlo
    Bramini)
  - #3492 Incorrect Documentation for g_unix_mount_get_mount_path Return Value
    Ownership (Jialu Zhou)
  - #3500 AIX: build failure due to pollfd structure change (Parth Patel)
  - #3502 Test regressions with tzdata 2024b (Rebecca N. Palmer)
  - #3508 g_array_free and free_seg
  - #3512 AIX: Undefined symbol related to ASAN Sanitizer
  - !3657 Introduce a new GFileMonitor backend: libinotify-kqueue
  - !3746 girepository: Add APIs for sync, async, and finish function
    annotations
  - !3816 Update the wrap file for gi-docgen
  - !4126 build: Enable -Wfloat-conversion and fix warnings
  - !4176 tests: Expand tests for app launching via D-Bus
  - !4196 refstring: add GEqualFunc for ref-counted strings
  - !4202 simpleproxyresolver: Ignore host with scope id
  - !4204 Fix minor issues found by static analysis, and add some additional
    code comments
  - !4216 build: Post-release version bump
  - !4218 Persian l10n
  - !4219 tests: Run lint tests with detected bash
  - !4223 Update Korean translation
  - !4224 Update Catalan translation
  - !4225 Update Czech translation
  - !4226 Update Portuguese translation
  - !4227 gspawn: close child_err_report_fd before exiting on error
  - !4235 Update Ukrainian translation
  - !4236 Cherry pick Polish and Brazilian Portuguese translations from
    glib-2-82 to main
  - !4237 Update French translation
  - !4239 Update Galician translations for main
  - !4243 gresource: Convert docs to gi-docgen linking syntax
  - !4244 build: Bump Meson dependency to 1.4.0
  - !4245 resource: Add g_resource[s]_has_children and avoid a pointless
    allocation
  - !4248 dir: Avoid some allocations
  - !4252 gio: Fix overindented docstring of buffer argument
  - !4253 Update Bulgarian translation
  - !4254 Update British English translation (main)
  - !4256 Updated Lithuanian translation
  - !4257 Update Hungarian translation
  - !4260 Collation keys are not encoded in UTF-8
  - !4261 gsocket windows: check event before calling WSAEnumNetworkEvents
  - !4262 Update Russian translation
  - !4264 Update Danish translation
  - !4267 Update Georgian translation
  - !4268 subprojects: Update pcre2 to 10.44
  - !4269 docs(glib): Fix link in string-utils ref
  - !4272 gio: Add a query_exists vfunc to GFile
  - !4277 tests: Add some explicit float → int casts
  - !4278 GDBus: Don't log a message for G_DBUS_CONNECTION_FLAGS_CROSS_NAMESPACE
  - !4286 glib/gvariant: avoid GVariantType copy for stack builders
  - !4288 girepository: Make _blob_is_registered_type static inline
  - !4290 glib/gbytes: save small byte buffers inline
  - !4292 Fix incorrect use of assert/debug/check macros
  - !4293 gvarianttypeinfo: reduce caching overhead
  - !4294 gvarianttype: mark const functions as such
  - !4295 gvariant: Avoid malloc/free in valid_format_string()
  - !4296 glib/gvariant: use g_utf8_validate() for strlen
  - !4297 glib/gvarianttype: g_variant_type_is_subtype_of() fastpath
  - !4298 glib/gvariant: avoid g_renew() for definite tuples
  - !4299 glib/gvariant: Avoid extraneous GBytes ref counting
  - !4300 gpoll windows: use a threadpool when polling large number of fds
  - !4301 glib/gvariant: Inline small gvariant data using C99 flexible arrays
  - !4302 glib/gvariant: skip bitlock for g_variant_ref_sink()
  - !4303 gbytes: Convert docs to gi-docgen linking syntax
  - !4304 gutf8: Convert docs to gi-docgen linking syntax
  - !4305 build: switch back to c_std=gnu99 pending ObjC fix
  - !4307 ci: Re-enable fatal warnings for FreeBSD CI
  - !4308 utils: Add g_steal_handle_id() to complement g_clear_handle_id()
  - !4310 tests: FreeBSD doesn't use glibc
  - !4311 tests: Move fake-document-portal subprocess inside dbus-appinfo test
  - !4313 remove quadratic behavior in g_string_replace
  - !4315 fuzzing: Add simple fuzz test for g_string_replace()
  - !4318 CI: Use Visual Studio 2019 for the MSVC CI
  - !4321 gvariant-core.c: Fix suffix alignment on 32-bit MSVC builds
  - !4322 gvariant: Fix unused variables when G_DISABLE_ASSERT is defined
  - !4323 gbytes: Add an assertion to placate static analysis
  - !4326 gvarianttype: Add two missing (nullable) annotations and port docs to
    gi-docgen format
  - !4327 gio/gdatainputstream: use memchr() when possible
  - !4331 gir: Ignore function-inline and method-inline elements
  - !4332 gstring: Fix a heap buffer overflow in the new g_string_replace() code
  - !4334 fuzzing: Add input length limits on g_string_replace() test
  - !4335 docs: Update CI platforms list and Visual Studio recommendation
  - !4338 CI/MSYS2: Fix prefix for gobject-introspection
  - !4339 Win32 cleanup: do not define STRICT
  - !4340 gsocket: Fix #ifdef for defining g_socket_get_adapter_ipv4_addr()
  - !4341 gio: Use g_steal_handle_id() with signal unsubscriptions
  - !4342 CI: Add manual CI job for VS2019 ARM64 builds
  - !4343 CI: Skip PCRE2 tests for now for 32-bit Visual Studio builds
  - !4344 glib/gutf8: use ifunc to check for valgrind
  - !4345 fuzzing: Add fuzz tests for GDataInputStream’s complex read methods
  - !4346 gdate: Fix minor typo in documentation comment
  - !4347 docs: Add Meson to the GSettings build integration
  - !4348 gdatainputstream: Fix length return value on UTF-8 validation failure
  - !4350 glib: Don't require GLIB_DOMAIN to be a NUL-terminated string
  - !4351 Build fixes for building on Solaris & illumos
  - !4352 gdatainputstream: Use memchr() for the multi-stop-char case too
  - !4353 docs: Add CI runner maintainers to CODEOWNERS
  - !4354 glib.supp: Suppress more _g_io_module_get_default_type leaks
  - !4358 Add a CI job for Debian stable i386 (32-bit)
  - !4359 tests: Use g_assert_*() rather than g_assert() in GDateTime tests
  - !4365 fuzzing: Fix buffer overread error in the fuzz test itself
  - !4366 glocalfile: Disable faccessat()-based query_exists on FreeBSD
  - !4367 tests: Fix calls to deprecated API in unix-mounts tests
  - !4373 macos: Remove extraneous space from type identifier
  - !4374 thread: Force-limit thread name length
  - !4375 Small improvements to g_on_error_stack_trace and g_on_error_query
  - !4376 Enable GNetworkMonitorNetlink on FreeBSD
  - !4377 gvariant: Introduce G_VARIANT_BUILDER_INIT_UNSET
  - !4378 gio: Fix GFileEnumerator leaks in gio tools
  - !4383 gtask: Fix comment for auto task naming via 'g_task_set_source_tag()'

* Translation updates:
  - Bulgarian (twlvnn kraftwerk)
  - Catalan (Jordi Mas)
  - Czech (AsciiWolf)
  - Danish (Ask Hjorth Larsen)
  - English (United Kingdom) (Bruce Cowan)
  - French (Vincent Chatelain)
  - Galician (Fran Diéguez)
  - Georgian (NorwayFun)
  - Hungarian (Balázs Úr)
  - Korean (Changwoo Ryu)
  - Lithuanian (Aurimas Černius)
  - Persian (Danial Behzadi)
  - Polish (Piotr Drąg)
  - Portuguese (Hugo Carvalho)
  - Portuguese (Brazil) (Rafael Fontenelle)
  - Russian (jtux270)
  - Ukrainian (Yuri Chornoivan)

(From OE-Core rev: 3ea3a3eebcfac4338479fd5b4de960bfbd7d577c)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Randy MacLeod
7651052e55 tcmode-default: eliminate needless linux-libc-headers version defaults
Manually setting the preferred version is not required or generally a
good idea as stated in:
   meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc

   # You're probably looking here thinking you need to create some new copy
   # of linux-libc-headers since you have your own custom kernel. To put
   # this simply, you DO NOT.

so remove that for linux-libc-headers.

(From OE-Core rev: 72eca56ba754079733da49403b59205a44b24709)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Randy MacLeod
2220c127eb tcmode-default: eliminate needless binutils version defaults
Manually setting preferred version is not required so remove that for binutils.

(From OE-Core rev: a6961e13d3dd4d94dbb771328e6c67c101a157be)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Alexander Kanavin
7d85b62a8a scripts/install-buildtools: write download URLs to files for traceability
This extends the previous commit, so that download URLs are preserved
in addition to actual artefacts. By default it's all written to a temporary
directory and erased together with artefacts, but users can choose
to preserve both:

$ install-buildtools -D --downloads-directory=.
...

$ ls -1
buildtools_url
checksum_url
x86_64-buildtools-extended-nativesdk-standalone-5.1.2.sh
x86_64-buildtools-extended-nativesdk-standalone-5.1.2.sh.sha256sum

Additionally, rename check_url variable into checksum_url as it's
a better name.

(From OE-Core rev: 76748d27fd5088971259d08fdeae5c86a054452b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Alexander Kanavin
157685ca87 scripts/install-buildtools: add an option to specify where downloads go
By default the script puts everything it downloads into a temporary
directory and erases it after unpacking and installing the buildtools.

This isn't great for traceability and reproducibility of builds
(being able to see what was downloaded exactly, and being able
to reproduce setting up a build, especially if the buildtools
download location isn't available for whatever reason).

This commit adds an option to download items into a specified directory
and keep them there. I would particularly like to use it with
bitbake-setup, where an optional feature to install the buildtools
(exact implementation details tbd) would ensure the tarball remains
available on local disk.

(From OE-Core rev: fc8cedd899f7e5d06215a71808dd0827ccdcf849)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Markus Volk
ae398ec14e vala: update 0.56.17 -> 0.56.18
- this update is required to work with gobject-introspection >= 1.83.2

Vala 0.56.18
============
 * Various improvements and bug fixes:
  - vala: Don't allow inheritance of compact class from non-compact class
  - vala, libvaladoc: Fix color support detection in log reporting
  - girparser: Handle `doc:format` element in root:repository [#1586]
  - codegen: Use correct ctype for result variable in methods in more cases
  - codegen: Fix conditional expression with only one void side
  - valadoc: Sync gir argument handling from valacompiler.vala
  - Update links to GNOME Wiki project and refer to new Vala websites
  - Add CI for tarball release service
 * Bindings:
  - gio-2.0: Improve the {Input,Output}Message bindings
  - glib-2.0: Fix the binding of `get_console_charset`
  - glib-2.0: Add missing CCode.array_null_terminated attributes to IConv.iconv()
  - glib-2.0: Make FileStream.*printf() return int [#1547]
  - glib-2.0: Update RegexMatchFlags and RegexCompileFlags's binding to 2.74
  - glib-2.0: Add Regex.escape_nul in GLib
  - gnu: add binding for 'relocate' APIs
  - gobject-2.0: Add TypeFlags missing values
  - gstreamer-1.0: Skip ParamSpecArray and ParamSpecFraction
  - libusb-1.0: Fix the LibUSB.TransferCb declaration
  - libusb-1.0: Fix the LibUSB.HotPlugCb declaration
  - sdl2: Fix CCode.destroy_function of SDL.RWops and usage of
    SDL.RWops.from_file() [#1550]
  - sdl2: Fix missing integer type for JoystickID [#1563]

(From OE-Core rev: 6aa3e8e7b701590097ecefc3cf9a193423c5a5ea)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Khem Raj
a2c9bc2a75 gcc-cross,gcc-cross-canadian: Drop symlinking gold linker
Its not being built by binutils anymore

(From OE-Core rev: b51c98d75437a4497fc727c1201b3f8d124deafa)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-17 17:09:22 +00:00
Richard Purdie
6610cad12a bitbake: data_smart: Ensure module dependency changes invalidate the base config cache
Changing module files was changing the tash hashes but it was not invalidating
the parse cache, leading to tashhash mismatch errors during builds.

Add information from modulecode_deps to the configuration hash used for
cache invalidation to avoid this and trigger reparses when function library
code changes.

[YOCTO #15795]

(Bitbake rev: a121db3d8d28420c36369237b8bb11c2d0aaf5f7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 21:21:04 +00:00
Alexandre Marques
a4f8336982 bitbake: hashserv: Add gc-mark-stream command for batch hash marking
Implements the `gc-mark-stream` command to allow for marking equivalence entries
in batch, by  making use of stream mode communication to the server.

The aim of this is to improve efficiency by reducing the impact of latency when
marking a high volume of hash entries.

Example usage of the new `gc-mark-stream` command:

```
$ cat << HASHES | \
./bin/bitbake-hashclient --address "ws://localhost:8688/ws" gc-mark-stream "alive"
unihash f37918cc02eb5a520b1aff86faacbc0a38124646
unihash af36b199320e611fbb16f1f277d3ee1d619ca58b
taskhash a1117c1f5a7c9ab2f5a39cc6fe5e6152169d09c0 method oe.sstatesig.OEOuthashBasic
HASHES
```

(Bitbake rev: c84715f28cd36666ea07a179d91b8c32ea0df8e7)

Signed-off-by: Alexander Marques <c137.marques@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 16:52:44 +00:00
Zoltan Boszormenyi
cb9bff9eac linux-firmware: Fix packaging of some subpackages
Since commit c0fedbc7 ("linux-firmware: Upgrade to 20241017 and
allow compressing firmware") more firmware files were added and
some subpackages have been split further.

Some of these new subpackages do not use the correct globbing so
when FIRMWARE_COMPRESSION is set, the firmware files end up in
a different subpackage than they were intended.

For example, linux-firmware-amdgpu-aldebaran and others are empty
and everything ends up in linux-firmware-amdgpu-misc.

(From OE-Core rev: 5299816c59ea01905cfb73c72421bb8f11149426)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:36 +00:00
Daniel Ammann
2e09710198 systemd: Fix typo in 00-create-volatile.conf
Also do a minor white space tweak.

(From OE-Core rev: 0e0e3b9474a88c62810d87268765aadea97714c0)

Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:36 +00:00
Khem Raj
b0241e2582 libtirpc: Fix build with gcc-15/C23
Update declarations to allow building with gcc-15 with C23 std
being default now.

Fixes:
error: conflicting types for 'xdr_opaque_auth

(From OE-Core rev: 567faa5515fc314e2c251c8ee14fe8e4186a3d97)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:36 +00:00
Peter Marko
a1522fd330 go: upgrade 1.24.0 -> 1.24.1
Upgrade to latest 1.24.x release [1]:

$ git --no-pager log --oneline go1.24.0..go1.24.1
339c903a75 (tag: go1.24.1) [release-branch.go1.24] go1.24.1
334de7982f [release-branch.go1.24] all: updated vendored x/net with security fix
5d6920842b [release-branch.go1.24] runtime/cgo: avoid errors from -Wdeclaration-after-statement
949eae84df [release-branch.go1.24] cmd/compile: don't pull constant offsets out of pointer arithmetic
0bfde51e0d [release-branch.go1.24] runtime: document that cleanups can run concurrently with each other
45a52718e3 [release-branch.go1.24] runtime/cgo: avoid errors from -Wdeclaration-after-statement
7f375e2c22 [release-branch.go1.24] reflect: let Value.Seq return the iteration value correct type
4070531920 [release-branch.go1.24] syscall: disable O_DIRECTORY on Windows for js/wasm
5ffdb9c88b [release-branch.go1.24] reflect: correctly handle method values in Seq
becc17ebcd [release-branch.go1.24] runtime: use WCLONE when waiting on pidfd test child
d418e224ae [release-branch.go1.24] syscall: don't send child signal when testing pidfd
456eaf5c29 [release-branch.go1.24] cmd/compile: don't report newLimit discovered when unsat happens multiple times
e4ef83383e [release-branch.go1.24] debug/buildinfo: base64-encode test binaries
4e6d3468cc [release-branch.go1.24] cmd/compile: ensure we don't reuse temporary register
f5c388313f [release-branch.go1.24] internal/godebugs: add fips140 as an opaque godebug setting
af236716b2 [release-branch.go1.24] cmd/compile, runtime: use deferreturn as target PC for recover from deferrangefunc
0f7b7600fb [release-branch.go1.24] doc/godebug: mention GODEBUG=fips140
eb58df7dbf [release-branch.go1.24] cmd/compile: avoid infinite recursion when inlining closures
30f4d9e117 [release-branch.go1.24] syscall: don't truncate newly created files on Windows
bb0e5c2045 [release-branch.go1.24] runtime: fix usleep on s390x/linux
cd0e528d3d [release-branch.go1.24] runtime: add some linknames back for `github.com/bytedance/sonic`
80e2e474b8 [release-branch.go1.24] cmd/go: initialize req.Header when loading git credential

Fixes CVE-2025-22870

[1] https://github.com/golang/go/compare/go1.24.0...go1.24.1

(From OE-Core rev: 55325a3cbc8ade35e811b95b6f4b7a5c2787800d)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:36 +00:00
Peter Marko
42b745435f grub: patch CVE-2025-0678 and CVE-2025-1125
Cherry-pick patch mentioning these CVEs.

(From OE-Core rev: 9d0422bfb97c01e4326dcad59a1fe8842d4cec90)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:36 +00:00
Peter Marko
ce5affae93 grub: patch CVE-2025-0677, CVE-2025-0684, CVE-2025-0685, CVE-2025-0686 and CVE-2025-0689
Cherry-pick patch mentioning these CVEs.

(From OE-Core rev: 0fa593382a01d1dbeb6c697d422c1a186027f573)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:36 +00:00
Peter Marko
5b95c74b81 grub: patch CVE-2024-45778 and CVE-2024-45779
Cherry-pick patch mentioning these CVEs.

(From OE-Core rev: 4e624e4737510f65a1dbbf31676eb6a4326aca72)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:36 +00:00
Peter Marko
570958575a grub: patch CVE-2025-1118
Cherry-pick patch mentioning this CVE.

(From OE-Core rev: 16739e8eb936ba1ed9f48cffca848691f258bcd5)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:36 +00:00
Peter Marko
77c3472400 grub: patch CVE-2025-0690
Cherry-pick patch mentioning this CVE.

(From OE-Core rev: e4c372c5078f60a980e8161ea88cee2e3b7f9626)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:36 +00:00
Peter Marko
2ec98a3802 grub: patch CVE-2024-45777
Cherry-pick patch mentioning this CVE.

(From OE-Core rev: c08e2e4e8b04107723702e0e97124642fb82f92f)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:36 +00:00
Peter Marko
cdc079c029 grub: patch CVE-2024-45776
Cherry-pick patch mentioning this CVE.

(From OE-Core rev: f2cd97d9312f233a604d62a662a93a2d7d8ab3f3)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:36 +00:00
Peter Marko
1ab99590d7 grub: patch CVE-2025-0622
Cherry-pick patch mentioning this CVE.

(From OE-Core rev: 13fafdaa6958bd4cf1ff350caf355c8c41a80e47)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:36 +00:00
Peter Marko
30d4e5ed9a grub: patch CVE-2024-45775
Cherry-pick patch mentioning this CVE.

(From OE-Core rev: a9a8ed1b41336913978c6300fac1deed83708ac4)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:36 +00:00
Peter Marko
5e3bd27eb6 grub: patch CVE-2024-45774
Cherry-pick patch mentioning this CVE.

(From OE-Core rev: a9a28975b3674f027369fbf40a979bc77ea71d23)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:36 +00:00
Peter Marko
ccdbdfad16 grub: patch CVE-2025-0624
Cherry-pick patch mentioning this CVE.

(From OE-Core rev: 51d7f122bd8154fed3e261003d4accfbd085aad2)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:36 +00:00
Peter Marko
15ddd0137d grub: patch CVE-2024-45783
Cherry-pick patch mentioning this CVE.

(From OE-Core rev: 662d705f0f947eef2eab5f72764d421698ca0588)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:35 +00:00
Peter Marko
e8a7b959b5 grub: patch CVE-2024-45780
Cherry-pick patch mentioning this CVE.

(From OE-Core rev: 1b6bc19cb1fbc909f52296f1d82ab8255535a01c)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:35 +00:00
Peter Marko
5512092c0a grub: patch CVE-2024-45782 and CVE-2024-56737
Cherry-pick patch mentioning these CVEs.

(From OE-Core rev: c408aaee0aa6fed6f2b0f14a06f91ef5e91cff9b)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:35 +00:00
Peter Marko
48cd891833 grup: patch CVE-2024-45781
Cherry-pick patch mentioning this CVE.

(From OE-Core rev: c9caf81174284969d8f71086f9dc1bb3e3910143)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:35 +00:00
Peter Marko
d449547607 grub: backport strlcpy function
It is used to fix multiple CVEs.

(From OE-Core rev: 05791100fe67fd36ef24f98323890a4f3d6c3524)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:35 +00:00
Peter Marko
6eb5927852 grub: drop obsolete CVE statuses
CVE-2021-46705 was needed only with 2.06
CVE-2023-4692 and CVE-2023-4693 were fixed in NVD DB meanwhile

(From OE-Core rev: d4a6b7b559465c2af5c016dd39475df6492c719f)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:35 +00:00
Wang Mingyu
7fdabb677e btrfs-tools: upgrade 6.12 -> 6.13
Add patch fix the error when do_image_btrfs:
  ERROR: lzo support not compiled in

(From OE-Core rev: c0cd0079c4f0cdc54843713a6985563a153a3395)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:35 +00:00
Hongxu Jia
ce7beeb9d6 man-pages: 6.12 -> 6.13
Changelog:
============
-  Build system:
   -  PDF book:
      -  Add support for UNIX V10 sources.
   -  Makefiles:
      -  Don't pass an escaped # to grep(1).  Use a trick to work with
         both new and old systems.  This fixes a regressions in the
         build system from man-pages-6.11, which was itself introduced
         while fixing a regression introduced in man-pages-6.10.

[RP: Tweak version typo in commit message]
(From OE-Core rev: d19fcc6885521d5ec41a32938299b4cc016c0030)

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>
2025-03-13 11:00:35 +00:00
Hongxu Jia
35ea52d2a2 gnupg: 2.5.4 -> 2.5.5
Noteworthy changes in version 2.5.5 (2025-03-07)
------------------------------------------------

  * gpg: Fix a verification DoS due to a malicious subkey in the
    keyring.  [T7527]

  * dirmngr: Fix possible hangs due to blocking connection requests.
    [T6606, T7434]

  * w32: On socket nonce mismatch close the socket.  [T7434]

  * w32: Print more detailed diagnostics for IPC errors.

  * GPGME is not any more distributed with the Windows installer.
    Please install gpg4win to get gpgme version.

  See-also: gnupg-announce/2025q1/000491.html
  Release-info: https://dev.gnupg.org/T7530

https://dev.gnupg.org/source/gnupg/browse/master/NEWS

(From OE-Core rev: e0eaf598193012c6b0ada9e56be9bc0d6b19ec97)

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>
2025-03-13 11:00:35 +00:00
Peter Marko
77246fe064 xwayland: mark CVEs fixed in 24.1.6 as fixed
These are tracked as versionless redhat CVEs in NVD DB.

(From OE-Core rev: 76c7bb2b9c1b5300f957f11e1601816f8f90b501)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:35 +00:00
Yogita Urade
a0bdf51ff9 libcap: upgrade 2.73 -> 2.74
This upgrade includes fix for CVE-2025-1390

Changelog:
https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.ccbrq82zh7n9

(From OE-Core rev: bcc688bd61bea718e4983bd6d786fa73509bdd62)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:35 +00:00
Sofiane HAMAM
6caf4788f6 patchtest: Fix minor README typo
Fix minor typo in patchtest.README.

(From OE-Core rev: a0531c99b9aa328f28904ffdad8883d5e739436a)

Signed-off-by: Sofiane HAMAM <sofiane.hamam@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:35 +00:00
Markus Volk
9eb112d185 libsdl2: fix build with pipewire 1.4.0
This commit adds a backport patch to address a build issue with pipewire 1.4.0

| /home/flk/poky/build/tmp/work/corei7-64-poky-linux/libsdl2/2.32.2/SDL2-2.32.2/src/audio/pipewire/SDL_pipewire.c:593:37: error: passing argument 1 of 'pw_node_enum_params' from incompatible pointer type [-Wincompatible-pointer-types]

(From OE-Core rev: bacb0c9231176b605d22ad6eb168d041a2c64bd9)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-13 11:00:35 +00:00
Hongxu Jia
99e1e8c0b9 lib: spdx30_tasks: remove duplicated patched CVEs
Due to commit [lib: spdx30_tasks: Handle patched CVEs][1] applied,
duplicated CVE identifier for each CVE which increased +25% build
time (image task: do_create_image_sbom_spdx)

$ bitbake binutils-cross-x86_64
$ jq . tmp/deploy/spdx/3.0.1/x86_64/recipes/recipe-binutils-cross-x86_64.spdx.json | grep CVE-2023-25584
      "spdxId": "http://spdx.org/spdxdocs/binutils-cross-x86_64-5de92009-80e6-55c5-8b1f-cc37f04fbe09/962efd5da447b81b017db54d3077be796d2e5b6e770a6b050467b24339c0995f/vulnerability/CVE-2023-25584",
          "https://rdf.openembedded.org/spdx/3.0/alias": "http://spdxdocs.org/openembedded-alias/by-doc-hash/594f521fb7a3a4e9a2d3905303ffb04b016c3ce7693a775cca08be5af4d06658/binutils-cross-x86_64/UNIHASH/vulnerability/CVE-2023-25584"
          "identifier": "CVE-2023-25584",
            "https://cveawg.mitre.org/api/cve/CVE-2023-25584",
            "https://www.cve.org/CVERecord?id=CVE-2023-25584"
      "spdxId": "http://spdx.org/spdxdocs/binutils-cross-x86_64-5de92009-80e6-55c5-8b1f-cc37f04fbe09/962efd5da447b81b017db54d3077be796d2e5b6e770a6b050467b24339c0995f/vulnerability/CVE-2023-25584",
          "https://rdf.openembedded.org/spdx/3.0/alias": "http://spdxdocs.org/openembedded-alias/by-doc-hash/594f521fb7a3a4e9a2d3905303ffb04b016c3ce7693a775cca08be5af4d06658/binutils-cross-x86_64/UNIHASH/vulnerability/CVE-2023-25584"
          "identifier": "CVE-2023-25584",
            "https://cveawg.mitre.org/api/cve/CVE-2023-25584",
            "https://www.cve.org/CVERecord?id=CVE-2023-25584"

Since the commit [cve-check: annotate CVEs during analysis][2] improved
function get_patched_cves to:
- Check each patch file;
- Search for additional patched CVEs from CVE_STATUS;

And return dictionary patched_cve for each cve:
{
  "abbrev-status": "xxx",
  "status": "xxx",
  "justification": "xxx",
  "resource": "xxx",
  "affected-vendor": "xxx",
  "affected-product": "xxx",
}

But while adding CVE in meta/lib/oe/spdx30_tasks.py, the cve_by_status
requires decoded_status
{
  "mapping": "xxx",
  "detail": "xxx",
  "description": "xxx",
}

This commit converts patched_cve to decoded_status

  patched_cve["abbrev-status"] --> decoded_status["mapping"]
  patched_cve["status"] --> decoded_status["detail"]
  patched_cve["justification"] --> decoded_status["description"]

And remove duplicated search for additional patched CVEs from CVE_STATUS
(calling oe.cve_check.decode_cve_status)

After applying this commit
$ bitbake binutils-cross-x86_64
$ jq . tmp/deploy/spdx/3.0.1/x86_64/recipes/recipe-binutils-cross-x86_64.spdx.json | grep CVE-2023-25584
      "spdxId": "http://spdx.org/spdxdocs/binutils-cross-x86_64-5de92009-80e6-55c5-8b1f-cc37f04fbe09/381bf593d99c005ecd2c2e0815b86bca2b9ff4cc2db59587aaddd3db95c67470/vulnerability/CVE-2023-25584",
          "https://rdf.openembedded.org/spdx/3.0/alias": "http://spdxdocs.org/openembedded-alias/by-doc-hash/594f521fb7a3a4e9a2d3905303ffb04b016c3ce7693a775cca08be5af4d06658/binutils-cross-x86_64/UNIHASH/vulnerability/CVE-2023-25584"
          "identifier": "CVE-2023-25584",
            "https://cveawg.mitre.org/api/cve/CVE-2023-25584",
            "https://www.cve.org/CVERecord?id=CVE-2023-25584"

[1] https://git.openembedded.org/openembedded-core/commit/?id=1ff496546279d8a97df5ec475007cfb095c2a0bc
[2] https://git.openembedded.org/openembedded-core/commit/?id=452e605b55ad61c08f4af7089a5a9c576ca28f7d

(From OE-Core rev: 08595b39b46ef2bf3a928d4528292ee31a990c98)

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>
2025-03-12 15:58:14 +00:00
Joshua Watt
143103a1c4 lib: Fix dependencies on SPDX code
The SPDX library code was being ignored from taskhash calculations due
to accidentally being omitted from BBIMPORTS. This meant that changes in
the code or dependent variables would not cause the task to rebuild
correctly.

In order to add spdx_common, convert the `Dep` object from a named tuple
to a frozen dataclass. These function more or less equivalently, but the
bitbake code parser cannot handle named tuples.

Finally, the vardepsexclude that used to be present on the recipe tasks
needs to be moved to the python code in order for the variables to be
correctly ignored. Several unused exclusions were removed

(From OE-Core rev: eb597bf61cbcb0a4d43149404c93eec0894fb4c7)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-11 21:29:50 +00:00
Vijay Anusuri
0606ae583e xserver-xorg: upgrade 21.1.15 -> 21.1.16
Includes security fix

  * CVE-2025-26594
  * CVE-2025-26595
  * CVE-2025-26596
  * CVE-2025-26597
  * CVE-2025-26598
  * CVE-2025-26599
  * CVE-2025-26600
  * CVE-2025-26601

Ref: https://lists.x.org/archives/xorg-announce/2025-February/003584.html
     https://lists.x.org/archives/xorg-announce/2025-February/003585.html

(From OE-Core rev: b5491688a045e52b2a1a00d04b746ed6af456784)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-11 21:29:50 +00:00
Ross Burton
422362a03a xserver-xf86-config: remove obsolete configuration files
For reasons we have explicit xorg.conf files for a number of the qemu
machines, but not all of them. These mainly disabled screen blanking
(which is now down with a separate fragment) but also explictly set the
device driver to fbdev which meant they didn't use the modesettings
driver as they should (with the virtio framebuffer from qemu).

This is the root cause of why the xserver 21.1.16 upgrade doesn't work
on a number of machines: the /sys probing changed and the fbdev driver
now refuses to use the PCI framebuffer device as there are better
drivers, but we've explictly told xorg to use the wrong driver.

For more details, see https://gitlab.freedesktop.org/xorg/xserver/-/issues/1798.

(From OE-Core rev: 8c8039bf4c2d011e3d12c970ce45036b184902a9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-11 21:29:50 +00:00
Ross Burton
6385714277 xserver-xf86-config: add a configuration fragment to disable screen blanking
Add a configuration fragment that disables screen blanking, and add it
to all qemu machines.

(From OE-Core rev: 780a5ccaa51d5aed18200883a686387e70847e4b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-11 21:29:50 +00:00
Alexander Kanavin
df31f91c58 gcr: exclude x.y.9z pre-releases from upstream version check
(From OE-Core rev: 34adcb09da9098561c6fb5946c5ff6491c4b9154)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-11 21:29:50 +00:00
Alexander Kanavin
269385daa4 gnupg: follow odd-even scheme in upstream version checks
Unfortunately this has been overlooked, and resulted in
erroneous updates to testing/development releases.

The check will report an 'unknown' latest version until 2.6.0
is released.

(From OE-Core rev: 7e505c1506ea6a079b0291f84e4ec6774064ef20)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-11 21:29:50 +00:00
Alexander Kanavin
14929d8bf1 python3-roman-numbers-py: correct upstream version check
(From OE-Core rev: 40ca9ee277f8638fde5f8afb2246f79a56ab9a42)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-11 21:29:50 +00:00
Alexander Kanavin
6bc68a4e28 systemd-systemctl-native: correctly set PV
(From OE-Core rev: 8514809f0ce06dc146774d753d8eb061620b5bb5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-11 21:29:50 +00:00
Richard Purdie
e1e6066934 bitbake: bitbake-server/worker: Hide os.fork() deprecation warning
We're fairly careful in bitbake about how we handle fork() calls and believe our code
to be safe. The upstream deprecation warning is problematic as it can appear in log
output as a WARNING, breaking tests. It also tends to alarm users.

Hide the warning for now to avoids the test failures.

(Bitbake rev: c636bd629896f56e5f3d4030da3d1f130590afc6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-11 14:17:57 +00:00
Adrian Freihofer
840504e256 oe-selftest: fitimage add more kernel tests
* Test with only one externally provided ssh key not only with two
  keys generated by the kernel-fitimage.bbclass itself.
* Add a test which signs only the configuration but not the image nodes.
  There was no test case which covered the probably much more important
  use case of setting FIT_SIGN_INDIVIDUAL = "0".
* Cover also the unbundled initramfs use case. Also this use case is
  probably much more relevant than the bundled initramnfs use case.

(From OE-Core rev: 0a5b65b83dcd9f8d1d22d074fdfad1f1e472827c)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-11 11:20:34 +00:00
Adrian Freihofer
2db2709b8b oe-selftest: fitimage cleanup
This is a comprehensive cleanup of the fitImage related test cases.
The existing test cases were essentially the same code copied and pasted
9 times. All 9 test cases contained the code to parse an its file and to
parse the output of the dumpimage utility in slightly different variants.
Changing the kernel-fitimage.bbclass or the uboot-sign.bbclass would mean
changing 9 test cases individually. This is no longer maintainable.

This cleanup converts the code into reusable functions. The new test
code is more like a reverse implementation of the bbclasses to be tested
than a collection of straightforward test sequences.
This also means that the test code evaluates the same bitbake variables
as the implementation. This makes it much easier to add new test cases,
as a test case is basically just another local.conf file. The code is
not yet complete. But it can now be improved step by step in this
direction.

(From OE-Core rev: 1dfa03a182d9d9e9e38c410847c7dac4ed7e8ce6)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-11 11:20:34 +00:00
Adrian Freihofer
02d2b95e6e oe-selftest: fitimage sort tests
This is a trivial refactoring.
The goal is to have all tests for kernel-fitimage.bbclass and all tests
for uboot-sign.bbclass together. This refactoring greatly simplifies
the diff of the next commit.

(From OE-Core rev: 638abab58b653a1fb120368bd5e30bc80478757c)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-11 11:20:34 +00:00
Adrian Freihofer
c93f487dc4 oe-selftest: adapt u-boot tests to latest changes
For u-boot test cases (bitbake virtual/bootloader) inheriting the
kernel-fitimage.bbclass is no longer needed. Also setting any variable
which is evaluated by the kernel-fitimage.bbclass but not by
uboot-sign.bbclass is pointless since:

* Commit OE-Core rev: 5e12dc911d0c541f43aa6d0c046fb87e8b7c1f7e
  changed the test case from
    bitbake virtual/kernel
  to
    bitbake virtual/bootloader

* Commit OE-Core rev: 259bfa86f384206f0d0a96a5b84887186c5f689e has
  finally removed the dependency of uboot-sign.bbclass on the
  kernel-fitimage.bbclass completely.

Remove the related lines of code which are now without any effect.

The two test cases test_uboot_fit_image and test_uboot_sign_fit_image
do the exact same test. Both generate a binary equal its file:

/dts-v1/;

/ {
    description = "A model description";
    #address-cells = <1>;

    images {
        uboot {
            description = "U-Boot image";
            data = /incbin/("u-boot-nodtb.bin");
            type = "standalone";
            os = "u-boot";
            arch = "arm";
            compression = "none";
            load = <0x80080000>;
            entry = <0x80080000>;
        };
        fdt {
            description = "U-Boot FDT";
            data = /incbin/("u-boot.dtb");
            type = "flat_dt";
            arch = "arm";
            compression = "none";
        };
    };

    configurations {
        default = "conf";
        conf {
            description = "Boot with signed U-Boot FIT";
            loadables = "uboot";
            fdt = "fdt";
        };
    };
};

The code diff between the two equal test cases looks like:

@@ -1,8 +1,9 @@
-    def test_uboot_fit_image(self):
+    def test_uboot_sign_fit_image(self):
         """
         Summary:     Check if Uboot FIT image and Image Tree Source
                      (its) are built and the Image Tree Source has the
-                     correct fields.
+                     correct fields, in the scenario where the Kernel
+                     is also creating/signing it's fitImage.
         Expected:    1. u-boot-fitImage and u-boot-its can be built
                      2. The type, load address, entrypoint address and
                      default values of U-boot image are correct in the
@@ -26,16 +27,15 @@
 UBOOT_LOADADDRESS = "0x80080000"
 UBOOT_ENTRYPOINT = "0x80080000"
 UBOOT_FIT_DESC = "A model description"
-
-# Enable creation of Kernel fitImage
 KERNEL_IMAGETYPES += " fitImage "
-KERNEL_CLASSES = " kernel-fitimage"
+KERNEL_CLASSES = " kernel-fitimage "
 UBOOT_SIGN_ENABLE = "1"
 FIT_GENERATE_KEYS = "1"
 UBOOT_SIGN_KEYDIR = "${TOPDIR}/signing-keys"
 UBOOT_SIGN_IMG_KEYNAME = "img-oe-selftest"
 UBOOT_SIGN_KEYNAME = "cfg-oe-selftest"
 FIT_SIGN_INDIVIDUAL = "1"
+UBOOT_MKIMAGE_SIGN_ARGS = "-c 'a smart U-Boot comment'"
 """
         self.write_config(config)

Conclusion: The test case test_uboot_sign_fit_image looks redundant.
Contrary to its name, it does not insert any signature nodes into the
its-file and therefore does not test any type of signature.

Code history:
- Commit OE-Core rev: e71e4c617568496ae3bd6bb678f97b4f73cb43d8
  introduces both test cases.
- Commit OE-Core rev: 5e12dc911d0c541f43aa6d0c046fb87e8b7c1f7e
  changes both test cases like this:
  -        bitbake("virtual/kernel")
  +        bitbake("virtual/bootloader")

It looks like the original implementation of test_uboot_sign_fit_image
was supposed to test the interaction between the kernel-fitimage.bbclass
and uboot-sign.bbclass which does not longer work like that.

When compiling u-boot, the variable that is relevant for creating an its
file with signature nodes is: SPL_SIGN_ENABLE. This is what the test
case test_sign_standalone_uboot_fit_image verifies. Lets just delete the
now obsolete test_uboot_sign_fit_image test case.

(From OE-Core rev: de8bfdff0f997f59a2bd27842a2ffcd365f725f3)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-11 11:20:34 +00:00
Adrian Freihofer
66ba0ddcc4 uboot, kernel: use hex address for UBOOT_ENTRYPOINT
Compiling a FIT image with this default values and dump it with
dumpimage shows decimal converted values. For example the default value
20008000 looks like this:

 Image 0 (kernel-1)
  ...
  Load Address: 0x01314c40
  Entry Point:  0x01314c40

With this change the expected value is printed by dumpimage.

(From OE-Core rev: e6f2ca9135ef7da8f8b5925957532734c06e55cc)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-11 11:20:34 +00:00
Adrian Freihofer
dabd582240 linux-fitimage: sign setup sections
If FIT_SIGN_INDIVIDUAL is set to “1”, a signature section is added
to all screen sections, but not to the setup section. To match the setup
section with all other sections, the signature is also added. This also
helps to implement the associated tests generically.

This change is intended to make the code more consistent. However, it is
not intended to make the FIT_SIGN_INDIVIDUAL function more popular.
Technically, it would be better to remove the signature from all other
image sections and discard the FIT_SIGN_INDIVIDUAL function, the use of
which is no longer recommended anyway.

(From OE-Core rev: 8bf6a9c07cdde8fc8bbd4bb61a4886ccc02a570f)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-11 11:20:34 +00:00
Adrian Freihofer
080cd0899c oe-selftest: drop redundant imports
(From OE-Core rev: 95e26e937b37c02646c2481915ddba616fe754ba)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-11 11:20:34 +00:00
Antonin Godard
00e30f557b bitbake: doc: bitbake-user-manual-metadata: document the include_all directive
Document the include_all directive, which can be used to include
multiple files present in the same location in different layers.

(Bitbake rev: bd41f09c7fa67f917246a740fd4068e4588a1dcd)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-11 11:17:34 +00:00
Richard Purdie
ad09c355d1 bitbake: command: Fix command complete event ordering
The command complete event triggers the UI to start new commands.
We should send this once we've cleaned up existing commands since
on very slow systems, this could otherwise cause failures. There
is a 30s timeout on incomming commands but slow systems have been
known to hit this on poorly configured I setups.

(Bitbake rev: d202298b3d989c39bc532b69c410e2e78b082a11)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-11 10:53:13 +00:00
Richard Purdie
ec166484a2 bitbake: cooker: Add debug for parsing being complete
We have a "parsing started" event in the cooker deamon log but we don't
currently log the corresponding "parsing complete" event which is
confusing. Add this so that the logs are more logical.

(Bitbake rev: 1aa491c1f1211bf9faab712c321b66629fb7be66)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-11 10:53:13 +00:00
Richard Purdie
046a92d351 build-appliance-image: Update to master head revision
(From OE-Core rev: 6027a6c6cf283bfb639bb6c3bc2f35b3da225352)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-09 20:10:21 +00:00
Vyacheslav Yurkov
2fe7f46e17 classes-recipe: Consolidate machine-id handling
Whenever Systemd is used as an init manager, it requires a machine-id
file to be present / initialized / or have the RW rootfs. This change
does not introduce a new functionality, but rather merges everything we
do with machine-id in one place.

(From OE-Core rev: 890b81cdfadc427189eff4bbd2c24e32eb286126)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-09 20:10:06 +00:00
Vyacheslav Yurkov
03b8e2ec1e systemd: Build the systemctl executable
Instead of the python re-implementation build the actual systemctl from
the systemd source tree. The python script was used when systemd didn't
provide an option to build individual executables. It is possible in the
meantime, so instead of always adapting the script when there's a new
functionality, we simply use upstream implementation.

License-Update: Base recipe is used

(From OE-Core rev: 7a580800db391891a3a0f838c4ae6e1513c710a2)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-09 20:10:06 +00:00
Eric Meyers
452217a679 bitbake: doc: bitbake-user-manual-ref-variables: document BB_USE_HOME_NPMRC
(Bitbake rev: d5562e007c7c64e8613a118ab9a6c73ed2063263)

Signed-off-by: Eric Meyers <eric.meyers@arthrex.com>
Cc: Geoff Parker <geoffrey.parker@arthrex.com>
Cc: Chuck Wolber <chuckwolber@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-09 20:10:06 +00:00
Eric Meyers
57adda32c5 bitbake: fetch2/npm: Adding npmrc support for private registry authentication
(Bitbake rev: 5fa6137b6d98544766f3152b874e67d04fafb88f)

Signed-off-by: Eric Meyers <eric.meyers@arthrex.com>
Cc: Geoff Parker <geoffrey.parker@arthrex.com>
Cc: Chuck Wolber <chuckwolber@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-09 20:10:06 +00:00
Pedro Ferreira
3480f4dbe9 bitbake: codeparser: Skipping typing when inspecting Python modules
If a custom python module is added thru BBIMPORTS and it
uses typing(Any,Tuple,Union...), codeparser will fail because
inspect.py raises TypeError exception if the object is a
built-in module, class, or function.

(Bitbake rev: 0ecfd0b8540220633e71d24cd73cc5306863ae3c)

Signed-off-by: Pedro Silva Ferreira <Pedro.Silva.Ferreira@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-09 20:10:06 +00:00
Khem Raj
19584fedb8 mpfr: Apply the backport of Float128 patch
This is the final patch that got applied to mpfr upstream
so lets drop the version we are carrying in favour of this backported.

(From OE-Core rev: e6fa8eea0cd035623f06d51da89cf2e3b9eb7449)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-08 18:08:04 +00:00
Victor J. Hansen
7cc86c0e5a cmake.bbclass: remove whitespace
(From OE-Core rev: 219c7c4954c649a1a0c284bb5f35eee533db41c3)

Signed-off-by: Victor J. Hansen <victor.hansen@remarkable.no>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-08 18:08:04 +00:00
Stefan Mueller-Klieser
41ea4e2b08 kernel-arch: add macro-prefix-map in KERNEL_CC
When building external modules, macros can include absolute names of
kernel headers. The macro-prefix-map for the STAGING_KERNEL_DIR is
currently missing. Add it in the same way as its done in bitbake.conf.

This fixes reproducible builds and following build error:
ERROR: cryptodev-module-1.14-r0 do_package_qa: QA Issue: File <..>
cryptodev.ko <..> contains reference to TMPDIR [buildpaths]

(From OE-Core rev: a741e11751bfb8f52be58cf51abeddca4559e5e9)

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-08 18:08:04 +00:00
Joshua Watt
e852d99018 lib: spdx30_tasks: Handle patched CVEs
The code to iterate over patched CVEs (e.g. those patched by a .patch
file in SRC_URI) was accidentally omitted when writing the SPDX 3
handling. Add it in now

[YOCTO #15789]

(From OE-Core rev: 1ff496546279d8a97df5ec475007cfb095c2a0bc)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-08 18:08:04 +00:00
Randy MacLeod
5e1a91bc5b tcmode-default: eliminate needless 'go' defaults
Manually setting preferred version/provider is not required so remove that for 'go'.

(From OE-Core rev: f01aa20752a4435dd10a523aa01d40addb1cd8d0)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-08 18:08:04 +00:00
Randy MacLeod
8dbd9e8dc3 tcmode-default: eliminate needless gdb, qemu defaults
Manually setting preferred version/provider is not required so remove
that for gdb and qemu as a first step of cleaning up this file.

This PREFERRED_VERSION list dates back to 2006, which is an era where
several versions of a given recipe was a common occurence.

(From OE-Core rev: 4f22ca1233b390308f8266bafe96efaee0631cf4)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-08 18:08:04 +00:00
Pavel Zhukov
afcd27c4dd ovmf: Add PACKAGECONFIG[debug]
In release mode, OVMF does not output any debug information to the QEMU port, making it extremely difficult to debug boot issues.
This commit introduces packageconfig debug flag to enable it

Usage:
PACKAGECONFIG:append:pn-ovmf = " debug"
runqemu qemuparams="-debugcon file:debug.log -global isa-debugcon.iobase=0x402"

The OVMF debug console output will be written to debug.log.

(From OE-Core rev: 50393dadf4a0086334efa184dd249cdf7f543488)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-08 18:08:04 +00:00
Lee Chee Yang
e9514130c7 migration-guides: add release notes for 5.1.3
(From yocto-docs rev: e608902ffae3af5ab0c5308b0550e49a790482f0)

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>
2025-03-07 17:04:26 +00:00
Antonin Godard
c154a5ac7d ref-manual/variables: document KMETA* and KCONF_AUDIT* variables
Document the variables used to control the outcome of the kernel
configuration auditing done by the kernel-yocto bbclass.

[YOCTO #13835]

Acked-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(From yocto-docs rev: f75a1c1a1447ed52dc6561c67e6afb5fd1413f28)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-07 17:04:26 +00:00
Ross Burton
7f91376d2e ref-manual: remove OE_IMPORTS
oe-core no longer supports OE_IMPORTS[1], so remove the documentation.

[1] oe-core 1f56155e ("base: Switch to use addpylib directive and
    BB_GLOBAL_PYMODULES")

(From yocto-docs rev: d03dad11974ada7a99b4406e2350b9f5f0acc746)

Signed-off-by: Ross Burton <ross.burton@arm.com>
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>
2025-03-07 17:04:26 +00:00
Ross Burton
dcaaf3ed57 ref-manual: don't refer to poky-lsb
This was removed in 2019, so swap it for poky-altcfg.

(From yocto-docs rev: 7f7f6570befdda280c174a5f9776b20f53f3ea0d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
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>
2025-03-07 17:04:26 +00:00
Ross Burton
63c8e8e530 Remove all mention of core-image-lsb
core-image-lsb was removed in 2019[1], so remove all of the  incredibly
obsolete references in the documentation.

[1] oe-core fb064356af615d67d85b65942103bf943d84d290

(From yocto-docs rev: 062445a49919eff117b5478c1fb18d125c1f895c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
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>
2025-03-07 17:04:26 +00:00
Adrian Freihofer
657b458332 ref-manual: cover UBOOT_ENV variables
(From yocto-docs rev: dc2ff96a3401eba8dac86fc8305b261be52c8a13)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
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>
2025-03-07 17:04:26 +00:00
Lee Chee Yang
1145d16d08 migration-guides: add release notes for 4.0.25
(From yocto-docs rev: 4649514cdfae496f43711d6b830a0a835c3a1534)

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>
2025-03-07 17:04:26 +00:00
Peter Kjellerstedt
55e65e6d70 bitbake: tests/fetch: Verify regular expression "URLs" that contain a ?
A regular expression "URL" in PREMIRRORS and MIRRORS may contain a ? as
part of the regular expression. Make sure this does not cause
problems.

(Bitbake rev: 5af7fe4473cd7e75d4eb7f8b93c499bd157ff156)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-07 15:38:15 +00:00
Stefan Herbrechtsmeier
bae86fe618 bitbake: fetch2: Partial revert decodeurl() to not use the URI class
This partial reverts commit a5d569c94700f04b8193c6bccae5af619931b00f
which changes decodeurl() to use the URI class to parse the URL instead
of doing it itself. While reusing code is generally a good idea, using
urllib.parse.urlparse() (which the URI class does) to parse the regular
expression "URLs" that are used in PREMIRRORS and MIRRORS does not work.
A regular expression URL containing https?://... would be silently
ignored, while a URL using a negative lookahead such as
git://(?!internal\.git\.server).*/.* would result in a cryptic error:

  Exception: re.error: missing ), unterminated subpattern at position 0

The problem is that urllib.parse.urlparse() treats the ? as the start of
URL parameters and thus stops parsing whatever part of the URL it was
parsing. Restore the old function and use it in the PREMIRRORS and
MIRRORS code.

(Bitbake rev: f8a7712754e6d0199a0d227fca288307b935368d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-07 15:38:15 +00:00
Xiaotian Wu
5323603048 lib/oe/elf.py: Add loongarch64 architecture definition for musl
Add the ELF definition for the loongarch64 architecture when building
with musl as libc.

(From OE-Core rev: c6498e4ca43dc2f8bc326bc6b6dbc8fd7f0bef79)

Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-07 11:13:24 +00:00
Xiaotian Wu
12151ad2f5 llvm: Use LoongArch as host for LLVM architecture
(From OE-Core rev: 9b07e2e8ab2dd23e003d2aab6f2b7a7e58eb4652)

Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-07 11:13:24 +00:00
Xiaotian Wu
e4f6eff971 grub2: Add loongarch64 as grub target
(From OE-Core rev: 40b75e0559ccfea533eba1beeec2d73954672f83)

Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-07 11:13:24 +00:00
Changqing Li
be8263f9af babeltrace2: extend to nativesdk
This allows anyone using the SDK to be able to analyze the logs
collected on target

(From OE-Core rev: 760e6d7467a55aa98316310c68a95b94ccd0bf20)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-07 11:13:24 +00:00
Changqing Li
e36a3eccb5 babeltrace: extend to nativesdk
This allows anyone using the SDK to be able to analyze the logs
collected on target

(From OE-Core rev: 5fda2c8ad16ecf65b9e5012f57b03b8c867e2199)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-07 11:13:24 +00:00
Markus Volk
db3e08f820 fastfloat: add recipe
A header-only library for fast number parsing
An older version of this recipe is included in meta-oe, since fastfloat
is also used by libplacebo. If the recipe is accepted, I will send a patch for
removal there.

The reason why this is needed in oe-core is the upcoming vte release,
which uses fastfloat but pulls it as a wrap-based subproject by default.

(From OE-Core rev: 09aba21e7eb51b2ebe5448135c8c2438985240fe)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-07 11:13:24 +00:00
Markus Volk
6ab80d3d53 libsdl2: fix PACKAGECONFIG for libusb
libusb is required to support some older low level input
devices. Meanwhile this is guarded by an option:
SDL_HIDAPI_LIBUSB

Use it for the PACKAGECONFIG to allow build with libusb support again

(From OE-Core rev: e93bc2876fb3ee488a5bc6ed03eefd1bfdcdf69a)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-07 10:10:02 +00:00
Joshua Watt
5d7d2981bd lib: sbom30: Add action statement for affected VEX statements
VEX Affected relationships have a mandatory action statement that
indicates the mitigation for a vulnerability. Since we don't track this
add a statement indicating that no mitigation is known.

(From OE-Core rev: 39545c955474a43d11a45d74a88a5999b02cb8b3)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 16:33:20 +00:00
Chen Qi
b34f84dce8 bitbake: data_smart.py: clear expand_cache in _setvar_update_overridevars
At the end of this function, self.overrides is cleared, which means we'll
construct a new self.overrides after this call. And a new self.overrides
will give out different expand_cache, so the old expand_cache should also
be cleared to avoid any wrong value.

Currently, there's a problem revealed by recent recipe specific virtual
provider patch. If we enable multilib and set "OVERRIDES:prepend" in local.conf,
things don't work.

Here's the error message:

  ERROR: Nothing PROVIDES 'lib32-gcc-cross-x86_64'

Below are reproduce steps:
1. Add in local.conf the following lines:
   MACHINE ?= "qemux86-64"
   require conf/multilib.conf
   MULTILIBS ?= "multilib:lib32"
   DEFAULTTUNE:virtclass-multilib-lib32 ?= "core2-32"
   OVERRIDES:prepend = "some-override:"
   (Note that using :append and :remove also reproduces the issue.)
2. bitbake -n lib32-sysstat
   (bitbake -n core-image-minimal also reproduces the issue)

The expandWithRefs calls getVar, which fills expand_cache. So when setting
OVERRIDES:prepend, this will fill the expand_cache. When overridevars are updated,
if we don't clear expand_cache, we'll retrieve wrong values.

Previously, things happened to work because there's a call to expand
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc, which in turn expands
TARGET_VENDOR. Now what we expand is PREFERRED_PROVIDER_ virtual/cross-cc,
so the problem is revealed.

(Bitbake rev: 842e94234c9b9faf4e902721f516071f643e49c9)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 16:32:47 +00:00
Chen Qi
c077a12e49 bitbake: data_smart.py: simple clean up
When var matches __setvar_regexp__, which has the value as below,
__setvar_regexp__ = re.compile(r'(?P<base>.*?)(?P<keyword>:append|:prepend|:remove)(:(?P<add>[^A-Z]*))?$')
the keyword will not be __doc__ or __module__ and var will always
contain ":".

(Bitbake rev: 0af396917fe176df7b1ed0bd7c7267507ed12e03)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 16:32:47 +00:00
Chen Qi
27db4f1014 bitbake: data_smart.py: remove unnecessary ? from __expand_var_regexp__
The non-greedy modifier suffix ? is not necessary here because } is
not in the character set [a-zA-Z0-9\-_+./~:].

(Bitbake rev: 80735719d0002c02b704a49604ddd82c461203a2)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 16:32:47 +00:00
Fabio Estevam
768a0f6c7f mtd-utils: Upgrade to 2.3.0
Upgrade to mtd-utils 2.3.0.

Details about the 2.3.0 release:

https://lore.kernel.org/linux-mtd/1b7a55a6-1c5b-4e86-8006-e2010e54367e@sigma-star.at/T/#u

[RP: Tweak SRC_URI formatting]
(From OE-Core rev: b72823fc09674f78ad452250f453f6e47d9444de)

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Balaji Pothunoori
58f56c3649 dhcpcd: fix for unexpected syscall 135 for 10.1.0 version
Current dhcpcd (version 10.1.0) service crashes on the WiFi (wlan0)
interface with the following error:

"ps_seccomp_violation: unexpected syscall 135"

This update pulls in fix #421 for dhcpcd 10.1.0 to address this issue.

(From OE-Core rev: 2bb20f49ada56f1c7707565e475051174feba945)

Signed-off-by: Balaji Pothunoori <quic_bpothuno@quicinc.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Archana Polampalli
f88aa1c772 ffmpeg: upgrade 7.1 -> 7.1.1
Remove 0001-lavc-h264dsp-move-RISC-V-fn-pointers-to-.data.rel.ro.patch as it merged to 7.1.1
4ea558152f

Changelog:
https://github.com/FFmpeg/FFmpeg/blob/n7.1.1/Changelog

(From OE-Core rev: df6f3ac24d5ca7aedd45bbc424300916845b1f64)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
5aaf06fc7a gi-docgen: upgrade 2024.1 -> 2025.3
Changelog:
=========
Added
------
Add layout for tablet portrait mode
Support static virtual methods

Changed
-------
Don't generate classes hierarchy if not needed
Improve copy buttons on narrow layouts

Fixed
-------
Only consider dot data processing fail if dot returns non-zero
Show non-standard instance parameters
Fix C declaration of structure fields

(From OE-Core rev: 96527a7463b4266cfdf6a401959ae5537a15f41b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Zoltán Böszörményi
073caf0dd8 rpm-sequoia-crypto-policy: Don't validate gnutls crypto policy
Building this recipe may fail on hosts with an old GnuTLS version,
like Ubuntu 20.04.6 LTS.

Add OLD_GNUTLS=1 to disable validation for this policy variant
that isn't needed anyway.

(From OE-Core rev: f9bf1bbe25b625cc1bf54fdf6ed174499fc79571)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Tested-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
67aabd2573 zstd: upgrade 1.5.6 -> 1.5.7
(From OE-Core rev: 6a0ebdba83d9f3898d682b13df14c680d91490b0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
69a9c4bc58 wireless-regdb: upgrade 2024.10.07 -> 2025.02.20
(From OE-Core rev: 50ffd4054892db1448b52eb2e43c80cfd49ebe7d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
aa7d6b18ad stress-ng: upgrade 0.18.10 -> 0.18.11
(From OE-Core rev: 0fbde5c51ef14c01927cdcf0fc39fe3f321be8d2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
8820f5c3e4 shadow: update 4.17.2 -> 4.17.3
shadow-update-pam-conf.patch
refreshed for 4.17.3
[RP: One of the utilities, chage was dropped from pam]

(From OE-Core rev: f6fc7a8a786edc133e7be5a99d182f6adad02916)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
edf92f7088 repo: upgrade 2.51 -> 2.52
(From OE-Core rev: 8ffc276a152266ed1dbdadd04472e7b14a987c0a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
1bb8438ee8 re2c: upgrade 4.0.2 -> 4.1
(From OE-Core rev: 24ec79b645de3c2b69c3e7f0f898d874b58adcff)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
1c6adbf58f python3-websockets: upgrade 14.2 -> 15.0
(From OE-Core rev: fbf229dd4750d7014e71926de0ed90c46931b706)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
b0b7b83a85 python3-trove-classifiers: upgrade 2025.1.15.22 -> 2025.2.18.16
(From OE-Core rev: 6b9a43fba44f6764601a376d02f30b2065e2df42)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
612da826b0 python3-setuptools: upgrade 75.8.0 -> 75.8.2
0001-conditionally-do-not-fetch-code-by-easy_install.patch
refreshed for 75.8.2

(From OE-Core rev: 7afde38357bb214d3685e84e2db73c26074dd354)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
225403f0b6 python3-pytest: upgrade 8.3.4 -> 8.3.5
(From OE-Core rev: d93258feb1523653ce06b2331a5b0b81468f6fc3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
cbc4592930 python3-pyelftools: upgrade 0.31 -> 0.32
(From OE-Core rev: b4013d924372d5c5a66f77d079b408a5947f1402)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
7dacb677c7 python3-hypothesis: upgrade 6.125.3 -> 6.127.4
Changelog:
 https://hypothesis.readthedocs.io/en/latest/changes.html

(From OE-Core rev: 456c1d3b58b73ae97b97235d7b584c8c5d5bbe73)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
3761df8238 python3-beartype: upgrade 0.19.0 -> 0.20.0
License-Update: Copyright year updated to 2025

(From OE-Core rev: 01a284bde4516e54df204c5adaec87d6bb6d253f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
01588e832a python3-bcrypt: upgrade 4.2.1 -> 4.3.0
Changelog:
============
- Dropped support for Python 3.7.
- We now support free-threaded Python 3.13.
- We now support PyPy 3.11.
- We now publish wheels for free-threaded Python 3.13, for PyPy 3.11 on manylinux, and for ARMv7l on manylinux.

(From OE-Core rev: 691453d3eefbc310ec91a02b0a51cfcdd635e292)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
47126b32a7 orc: upgrade 0.4.40 -> 0.4.41
(From OE-Core rev: 89f3b393c1b310e5c26dd52921ce5951d1f4fde0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
f8babed3c4 openssh: upgrade 9.9p1 -> 9.9p2
(From OE-Core rev: 584584d4e33d06171f2f9b77adb312dd357f46a4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
2ebd803c33 nghttp2: upgrade 1.64.0 -> 1.65.0
(From OE-Core rev: aaa52d2ad7595af8f655accd195e63140d140f8d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
59dfc9962f mtools: upgrade 4.0.47 -> 4.0.48
clang_UNUSED.patch
disable-hardcoded-configs.patch
refreshed for 4.0.48

(From OE-Core rev: 1d5aee7e67cd614073a15b47b832375428865260)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
71dc87b404 minicom: upgrade 2.9 -> 2.10
(From OE-Core rev: 3845334ab16fc2dc2cbccc52ecac1233d7ef74c6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
6f72349b35 man-pages: upgrade 6.11 -> 6.12
(From OE-Core rev: 971d096e0cc6e15c8c31ff19d963c92729de18a8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
4a5c745448 liburcu: update 0.15.0 -> 0.15.1
0001-uatomic-generic.h-add-missing-stdlib.h-header-file-f.patch
removed since it's included in 0.15.1

(From OE-Core rev: c8dcd773a062685f249a020af7858a794b556617)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
7fdc0c3c86 libsdl2: upgrade 2.30.12 -> 2.32.2
(From OE-Core rev: cbc45a87f1361034b1c086044a4eca7fdbfc6227)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
06d3fb1ed2 libpng: upgrade 1.6.45 -> 1.6.47
(From OE-Core rev: 10e42f09c40bf91365bfa36a039816254c0b2d73)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
2cfe51134e libnotify: upgrade 0.8.3 -> 0.8.4
(From OE-Core rev: c36ded9e452c241d712a8e850cc63bec241d3d2a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
61a3561b95 libassuan: upgrade 3.0.1 -> 3.0.2
libassuan-add-pkgconfig-support.patch
refreshed for 3.0.2

(From OE-Core rev: b91289cf3f6c0bc4e718462a8fd44a50f0687313)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
b95eb313f7 inetutils: upgrade 2.5 -> 2.6
(From OE-Core rev: 82fc6ffca9e1f0bc4905777296bce5067e578ee9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:47 +00:00
Wang Mingyu
5511c279a3 harfbuzz: upgrade 10.2.0 -> 10.4.0
(From OE-Core rev: 1d4768df4bbb045b7a249020fdb5d1cadcfc1dad)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:46 +00:00
Wang Mingyu
0659e4df6b fmt: upgrade 11.1.3 -> 11.1.4
Changelog:
===========
- Fixed ABI compatibility with earlier 11.x versions on Windows
- Improved the logic of switching between fixed and exponential format for float
- Moved is_compiled_string to the public API
- Simplified implementation of operator""_cf
- Fixed __builtin_strlen detection
- Fixed handling of BMI paths with the Ninja generator
- Fixed gcc 8.3 compile errors
- Fixed a bogus MSVC warning

(From OE-Core rev: 2f6bb073c6dd5e0ed64d161acc37d465c5fc2302)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:46 +00:00
Wang Mingyu
69ec94eafa dbus: upgrade 1.16.0 -> 1.16.2
Changelog:
===========
- The branch used for development releases has been renamed to 'main'.
- On Linux, fix build regression with libselinux >= 3.8 and verbose mode
  enabled
- Documentation updates

(From OE-Core rev: 2329ff73279299c3243f9773641bdbe9ccf19799)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:46 +00:00
Wang Mingyu
dd07877cca bind: upgrade 9.20.5 -> 9.20.6
Changelog:
===========
New Features
--------------
- Adds support for EDE code 1 and 2.
- Add a rndc command to toggle jemalloc profiling.
- Add support for multiple extended DNS errors.
- Print the expiration time of the stale records.

Feature Changes
---------------
- Refactor reference counting in both QPDB and RBTDB.
- Shutdown the fetch context after canceling the last fetch.

Bug Fixes
----------
- Fix possible truncation in dns_keymgr_status()
- Recently expired records could be returned with timestamp in future.
- Yaml string not terminated in negative response in delv.
- Fix a bug in dnssec-signzone related to keys being offline.
- Apply the memory limit only to ADB database items.
- Avoid unnecessary locking in the zone/cache database.
- Fix EDE 22 time out detection.
- Split and simplify the use of EDE list implementation.
- Fix the cache findzonecut() implementation.
- DNSSEC EDE system tests on FIPS platform.
- Reduce the false sharing the dns_qpcache and dns_qpzone.

(From OE-Core rev: 1394e8befb305106695c91e2fe16c55483bf467f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:46 +00:00
Ross Burton
e0dbdc555b puzzles: ignore three new CVEs for a different puzzles
As we just match on product by default, ignore three CVEs which are
for the "Puzzles" WordPress theme by ThemeREX (CPE themerex:puzzles).

(From OE-Core rev: 87326573c82ac1e8dc335319442236ef2341501e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:46 +00:00
Dan McGregor
f0a765624b openssl-native(sdk): poision built in paths
Long ago, in the OpenSSL 1.1 days changing CFLAGS worked to override
hard-coded paths in the OpenSSL libraries. Even as far back as
kirkstone this was no longer working.

Override make variables instead to poision the paths that get built
into the native (and nativesdk) libraries so they become relocatable
again.

While here, remove the -isystem<foo> compiler argument from the compiler
command line stored in the library, just like we already remove the
prefix-map and sysroot arguments.

(From OE-Core rev: d1b29222ad6243c15275a04f9de5989cf158cb2e)

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:46 +00:00
Vijay Anusuri
6b6c774db8 libtasn1: upgrade 4.19.0 -> 4.20.0
* Noteworthy changes in release 4.20.0 (2025-02-01) [stable]
- The release tarball is now reproducible.
- We publish a minimal source-only tarball generated by 'git archive'.
- Update gnulib files and various build/maintenance fixes.
- Fix CVE-2024-12133: Potential DoS in handling of numerous SEQUENCE OF or SET
OF elements

License-Update: file COPYING.LESSER renamed to COPYING.LESSERv2 & Copyright year updated to 2025

(From OE-Core rev: 3a8633b9f522e0be31c08790a3f2050c6d052d93)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:46 +00:00
Ross Burton
a50f4c3239 mirrors: rationalise Debian mirrors
Change DEBIAN_MIRROR to point at the canonical server, deb.debian.org.

This is a CDN-backed server using network magic to load balance across
the planet so there's no need to set a slew of regional mirrors.

Also add a more recent snapshot.debian.org from the beginning of 2025.

(From OE-Core rev: 3d95d45836accd29916dd8cb9bfe624d63d6c202)

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>
2025-03-06 11:16:46 +00:00
Ross Burton
d1eaffbd6b systemd-serialgetty: use existing unit files in systemd
Now that systemd isn't deleting the serial-getty@.service unit template
files, we can simply symlink to the files provided by systemd instead of
shipping a copy of them in this recipe.

This ensures that the getty units triggered by the systemd are identical,
be them via SERIAL_CONSOLES or the generator.

(From OE-Core rev: b6a7617145c3acf9f79888e7555e7706cd55a350)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:46 +00:00
Ross Burton
5935e0ab57 systemd: if getty generator is disabled remove the generator, not the units
If the getty generator is disabled then it's neater to remove just the
generator tool instead of the unit files as the unit files are still
useful.

(From OE-Core rev: 2beb3170af6ebf3a6fff6953a2d48f70f61b959f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:46 +00:00
Ross Burton
69dc1fb011 systemd-serialgetty: don't set a default SERIAL_CONSOLES
bitbake.conf defines a default value, so there's no value in setting
another default here that doesn't match the rest of the system.

(From OE-Core rev: 86586f4956879ad1b906f198dc258c88f64ef179)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:46 +00:00
Alexander Kanavin
12840e2d68 bitbake: lib/bb/cooker.py: produce an error when BB_HASHSERVE_UPSTREAM cannot be used due to missing python module
Previously if the websockets module was not installed
bitbake would only print a warning and continue, resulting in a degraded user
experience due to inability to use the configured sstate server.

Let's consider that as fatal misconfiguration, so that users can address
the issue properly and not wonder why builds are taking forever.

(Bitbake rev: cfba2a9fca9dfa3b05ec9040fe0cb8143ac04af7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:46 +00:00
Stefan Koch
543b1e6ffb bitbake: tests/fetch: Add an additional test case to check whether the fast fetch is shallow
(Bitbake rev: 16f1961e077c525ccfc12496a3deca944df89fc6)

Signed-off-by: Stefan Koch <stefan-koch@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:46 +00:00
Stefan Koch
db267f2c94 bitbake: tests/fetch: Adapt test cases for fast shallow fetches
- Address the absence of an initial full bare clone
- Utilize the initial shallow clone
- Modify existing test cases for this behavior
- Remove incompatible test cases

(Bitbake rev: 599fedacd7782dcb52825c22200f35344c102548)

Signed-off-by: Stefan Koch <stefan-koch@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:46 +00:00
Stefan Koch
22728acd78 bitbake: fetch2/gitsm: Unpack even when ud.clonedir is not available
(Bitbake rev: 13d76361ec37faecd84e7b81da22ada7d4e0ba90)

Signed-off-by: Stefan Koch <stefan-koch@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:46 +00:00
Stefan Koch
539b012013 bitbake: bitbake-user-manual: Update documentation for fast BB_GIT_SHALLOW
(Bitbake rev: b92c95fab631156e8c7ecc4ab18e4b16f7e590dc)

Signed-off-by: Stefan Koch <stefan-koch@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:46 +00:00
Stefan Koch
65ae50cd16 bitbake: fetch2/git: Add support for fast initial shallow fetch
When `ud.shallow == 1`:
- Prefer an initial shallow clone over an initial full bare clone,
  while still utilizing any already existing full bare clones.
- If the Git error "Server does not allow request for unadvertised object"
  occurs, the initial full bare clone is fetched automatically.
  This may happen if the Git server does not allow the request
  or if the Git client has issues with this functionality,
  especially with the Git client from Ubuntu 20.04.

This improves:
- Resolve timeout issues during initial clones on slow internet connections
  by reducing the amount of data transferred.
- Eliminate the need to use an HTTPS tarball `SRC_URI`
  to reduce data transfer.
- Allow SSH-based authentication (e.g. cert and agent-based) when
  using non-public repos, so additional HTTPS tokens may not be required.

(Bitbake rev: 457288b2fda86fd00cdcaefac616129b0029e1f9)

Signed-off-by: Stefan Koch <stefan-koch@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 11:16:46 +00:00
Ross Burton
9be2fc0031 xserver-nodm-init: improve XDG_RUNTIME_DIR fallback creation
This directory must have mode 0700, and should be under /run/user (as
recommended in the specification, and as weston-init does).

Also check the permissions if the directory already exists and fail
early if they're incorrect.

[ YOCTO #13878 ]

(From OE-Core rev: 5c98609bf7dfb05af722e30adb49731727df9a94)

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>
2025-03-05 21:26:54 +00:00
Ross Burton
ff49596df4 weston-init: improve XDG_RUNTIME_DIR fallback creation
Sanity-check the permissions of the directory already exists, and clean
up the creation code.

(From OE-Core rev: a977c2a61dfabed9be061d742797248448aa5ade)

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>
2025-03-05 21:26:54 +00:00
Ross Burton
77415816bc ltp: don't use host objcopy
The kernel/kvm test uses the host objcopy when building a payload, but
the host objcopy might not know how to deal with target binaries:

  CC testcases/kernel/kvm/lib_host.o
  objcopy: Unable to recognise the format of the input file `kvm_svm03-payload.elf'
  make[3]: *** [ltp/testcases/kernel/kvm/Makefile:67: kvm_svm03-payload.o] Error 1

Solve this by using the host-prefixed objcopy binary.

(From OE-Core rev: 74818f79bd9a206f77ae3d26b19657116fd956cc)

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>
2025-03-05 21:26:54 +00:00
Deepesh Varatharajan
274827980c rust: Oe-selftest changes for rust v1.83.0
Few unit tests are failing for x86_64 arch.
Ignore the failing unit tests.

Upstream-Status: Pending

(From OE-Core rev: c71f9efc3140d279813ff6eb474fdbf5e677e348)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-05 21:26:54 +00:00
Deepesh Varatharajan
5c9f0206dc rust: Fix build break because of download-ci-llvm
Previously, download-ci-llvm was set to false. However, with the following commit:
7d579046c8 ,
which has been present from rust_1.83, it was changed to true. As a result, after
updating to rust_1.83, we encountered the following error during the build:

-------------------------------------------------------------------------------
| thread 'main' panicked at src/core/config/config.rs:2047:13:
| setting build-target.llvm-config is incompatible with download-ci-llvm.
| note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
-------------------------------------------------------------------------------

To resolve this issue, we are setting download-ci-llvm back to false.

(From OE-Core rev: d43424cba7e93ee30b410d0a024be441e2336dbd)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-05 21:26:54 +00:00
Deepesh Varatharajan
72e21bef1a rust: Upgrade 1.82.0->1.83.0
Rust stable version updated to 1.83.0.
https://blog.rust-lang.org/2024/11/28/Rust-1.83.0.html

Renamed and modified the below patch to adapt the new version.
rv32-cargo-rustix-0.38.34-fix.patch->rv32-cargo-rustix-0.38.37-fix.patch

Modified the below patches to adapt the new version.
repro-issue-fix-with-cc-crate-hashmap.patch
revert-link-std-statically-in-rustc_driver-feature.patch

Dropped: zlib-off64_t.patch
a566e156b3kq

Because of the following commit ,
68034f837a
when we enable lib32, getting build failure because there is a check for target
support for "-Zdual-proc-macros" flag not functioning properly when lib32 is
enabled in the build environment. So for now reverting this commit and bring
back the previous behavior, where the "-Zdual-proc-macros" flag is always
added for building proc macros, regardless of the target architecture's support.
This would bypass the check introduced in the patch, allowing the build to
proceed without error, even when building for a 64-bit architecture with lib32 enabled.

(From OE-Core rev: 40d8dafdf556d7ce79c12a6de872193be9a0928a)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-05 21:26:54 +00:00
Richard Purdie
64ad67cf69 bitbake: toaster/tests: Fix kirkstone test
After the fixture changes, the tests need to be tweaked unfotunately.

(Bitbake rev: 708abd1a8060684127acc7ce4142f05865005750)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-05 12:08:50 +00:00
Richard Purdie
9d32155fb6 bitbake: toaster/fixtures: Add walnascar release information
(Bitbake rev: 44f732ae1b2d812577a9004f8e15c4ebcdfd1d74)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-05 10:29:02 +00:00
Richard Purdie
3e61f40f36 bitbake: toaster: Add script to compare toaster fixtures to project release data
We need to validate the toaster fixtures information against our current release
data to ensure it is correct when we release. Add a script we can use to
do this which the autobuilder can run to validate things.

[YOCTO #15516]

(Bitbake rev: 5b2d79ed505bbfa2fb2d355935e75199b7f2c37e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-05 10:29:02 +00:00
Richard Purdie
08c435c1bc bitbake.conf: Start to separate out gcc related variable definitions
To be able to switch toolchains, we need to separate out the gcc definitions
into seperate include files. This patch starts that process. Whilst the
include is still hardcoded for now, it allows developers to start experimenting
with this locally more easily and stops people reinventing this patch. A
sample clang configuruation is also included which I was using for experimentation.

(From OE-Core rev: be063d58c0985a2c43c16302efb44706fbf3f1b3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-05 09:31:16 +00:00
Richard Purdie
a23edf70b4 poky: Remove Fedora38 from SANITY_TESTED_DISTROS
Now the obsolete config is removed from the autobuilder, we should remove
this distro from the tested list too.

(From meta-yocto rev: 59567ab18a6819ea845c9be824b203d030eb09c4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-05 09:30:57 +00:00
Richard Purdie
1670970f8f poky: Update SANITY_TESTED_DISTROS
Update the distros list to match what the autobuilder has available as configured
and tested workers.

(From meta-yocto rev: b3641515b44dcde4ee37e82428699d92b0785f2a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-05 09:12:39 +00:00
Roland Hieber
fec201518b bitbake: contrib: vim: ftdetect: don't conflict with other filetypes
Use :setfiletype instead of :set filetype. The former only sets the
'filetype' option if it has not been set before, which makes it possible
to override the syntax of certain *.inc files in autocommands from e.g.
.vimrc or modelines. All other ftdetect plugins in upstream vim also use
:setfiletype for this reason.

The detection for bitbake *.inc files is now upstream since Vim 9.0
patch 0055 [1]. If we're running an earlier Vim, use the detection
heuristic from upstream [2] to overwrite the filetype explicitely if we
find bitbake code. But don't always assuming that *.inc files are
bitbake files so as not to break Perl, PHP, Assembly, Povray, etc.

[1]: https://github.com/vim/vim/commit/fa49eb482729
[2]: https://github.com/vim/vim/blob/fb49e3cde79d/runtime/autoload/dist/ft.vim#L715

(Bitbake rev: e8efbba5d7bb4b685ed0a9b970e042ad99be8afb)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-03 21:38:57 +00:00
Mark Hatle
8ed26544f9 bitbake: bitbake: runqueue: Verify mcdepends are valid
In order to avoid a potentially confusing backtrace, check that the mcdepend
is valid when we add it.

Add a test case to ensure invalid configurations are caught and trigger an
error.

[RP: Reworked test case to simplify and improve code]
(Bitbake rev: ff523497270f37b484b44a4445c2194791bcb6ff)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-03 21:38:57 +00:00
Richard Purdie
054875b222 bitbake: event/utils: Avoid deadlock from lock_timeout() and recursive events
We've been seeing intermittent failures on Ubuntu 22.04 in oe-selftest which
were problematic to debug. The failure was inside lock_timeout and once that was
identified and the backtrace obtained, the problem becomes clearer:

  File "X/bitbake/lib/bb/server/process.py", line 466, in idle_thread_internal
    retval = function(self, data, False)
  File "X/bitbake/lib/bb/command.py", line 123, in runAsyncCommand
    self.cooker.updateCache()
  File "X/bitbake/lib/bb/cooker.py", line 1629, in updateCache
    self.parser = CookerParser(self, mcfilelist, total_masked)
  File "X/bitbake/lib/bb/cooker.py", line 2141, in __init__
    self.bb_caches = bb.cache.MulticonfigCache(self.cfgbuilder, self.cfghash, cooker.caches_array)
  File "X/bitbake/lib/bb/cache.py", line 772, in __init__
    loaded += c.prepare_cache(progress)
  File "X/bitbake/lib/bb/cache.py", line 435, in prepare_cache
    loaded = self.load_cachefile(progress)
  File "X/bitbake/lib/bb/cache.py", line 516, in load_cachefile
    progress(cachefile.tell() + previous_progress)
  File "X/bitbake/lib/bb/cache.py", line 751, in progress
    bb.event.fire(bb.event.CacheLoadProgress(current_progress, cachesize),
  File "X/bitbake/lib/bb/event.py", line 234, in fire
    fire_ui_handlers(event, d)
  File "X/bitbake/lib/bb/event.py", line 210, in fire_ui_handlers
    _ui_handlers[h].event.send(event)
  File "X/bitbake/lib/bb/cooker.py", line 117, in send
    str_event = codecs.encode(pickle.dumps(event), \'base64\').decode(\'utf-8\')
  File "/usr/lib/python3.10/asyncio/sslproto.py", line 320, in __del__
    _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
  File "/usr/lib/python3.10/warnings.py", line 109, in _showwarnmsg
    sw(msg.message, msg.category, msg.filename, msg.lineno,
  File "X/bitbake/lib/bb/main.py", line 113, in _showwarning
    warnlog.warning(s)
  File "/usr/lib/python3.10/logging/__init__.py", line 1489, in warning
    self._log(WARNING, msg, args, **kwargs)
  File "/usr/lib/python3.10/logging/__init__.py", line 1624, in _log
    self.handle(record)
  File "/usr/lib/python3.10/logging/__init__.py", line 1634, in handle
    self.callHandlers(record)
  File "/usr/lib/python3.10/logging/__init__.py", line 1696, in callHandlers
    hdlr.handle(record)
  File "/usr/lib/python3.10/logging/__init__.py", line 968, in handle
    self.emit(record)
  File "X/bitbake/lib/bb/event.py", line 778, in emit
    fire(record, None)
  File "X/bitbake/lib/bb/event.py", line 234, in fire
    fire_ui_handlers(event, d)
  File "X/bitbake/lib/bb/event.py", line 197, in fire_ui_handlers
    with bb.utils.lock_timeout(_thread_lock):
  File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
    return next(self.gen)
  File "X/bitbake/lib/bb/utils.py", line 1888, in lock_timeout
    bb.server.process.serverlog("Couldn\'t get the lock for 5 mins, timed out, exiting. %s" % traceback.format_stack())

or put in simpler terms, whilst sending an event(), an unrelated warning
message happens to be triggered from asyncio:

/usr/lib/python3.10/asyncio/sslproto.py:320: ResourceWarning: unclosed transport <asyncio.sslproto._SSLProtocolTransport object at 0x7f0e797d3100>

which triggers a second event() which can't be sent as we're already
in the critcal section and already hold the lock.

That warning is due to the version of asyncio used on Ubuntu 22.04 with
python 3.10 and that comined with timing issues explains why we don't
see it on other python versions or distros.

We can't handle the second event as the lock is there to serialise the
events. Instead, we queue the event and then process the queue later.

Add a new version of lock_timeout which allows us to handle the situation
more gracefully.

(Bitbake rev: 2c590ff1aff89d23b25ce808650f200013a1e6af)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-03 21:38:57 +00:00
Richard Purdie
cffc7a1d05 bitbake: utils: Add signal blocking for lock_timeout
We never want to exit whilst holding these locks as it deadlocks all python
threads. Add signal blocking around the lock critical part so a signal
shouldn't cause such an exit.

(Bitbake rev: a097755c671e2b530dea6200a94b39fa9dca246c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-03 21:38:57 +00:00
Richard Purdie
14bf122313 bitbake: utils: Tweak lock_timeout logic
We should really try and take the lock in the try/finally block so that
in some rare cases such as badly timed interrupt/signal, we always release
the lock.

(Bitbake rev: a9eb8bf7174b6962b5ba07192fe95b8c7112d9d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-03 21:38:57 +00:00
Richard Purdie
6b01f33b33 bitbake: utils: Print information about lock issue before exiting
(Bitbake rev: cdf6c51a064f8f335c3262b7f102618996f1a229)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-03 21:38:57 +00:00
Richard Purdie
ab830b19ee qemurunner: Fix a bug with fork/exit handling
If you send this forked process a SIGTERM, it will execute all of the
parent's exit code leading to two sets of console/exit output which is
extremely confusing. Wrap the code in a try/finally to ensure we always
call os._exit() to avoid this.

I spent far too long trying to work out the crazy console output from this.

(From OE-Core rev: 652e40bfae24b8e23bbf7a7f35d900d2ab8d0f92)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-03 18:01:30 +00:00
Marta Rybczynska
171da2fa9c maintainers.inc: change email address
(From OE-Core rev: 3e09e4d9a19cec68a41faaea555a1ed7b76e576e)

Signed-off-by: Marta Rybczynska <marta.rybczynska@ygreky.com>
Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-03 18:01:30 +00:00
Changqing Li
43b2a05422 python3: update python3-ctypes RDEPENDS to RRECOMMENDS
ctypes.util.find_library depend on run external programs(ldconfig, gcc,
objdump or ld) to get the pathname, if none of above are installed, None
is returned.  Previously, RDEPENDS to ldconfig is added to ensure it
always work when installed.

This commit change it to RRECOMMENDS, this allows user who don't use
function find_library could remove ldconfig from image by
PACKAGE_EXCLUDE

Refer:
https://docs.python.org/3/library/ctypes.html

(From OE-Core rev: 404e7c65499c58d2a6a760b5f0994fadd2ff74d0)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-03 18:01:30 +00:00
Christos Gavros
6864079933 go: Check if GO_IMPORT is set in recipe and error if not
Check if the variable GO_IMPORT is
set in the recipe. If not generate an error.
Test building go-helloworld when GO_IMPORT assigned
Test building go-helloworld when GO_IMPORT is not assigned, generate error about GO_IMPORT
Test building any other recipe(e.g bash) when GO_IMPORT is not assigned, generate error about GO_IMPORT
Test creating a GO recipe with recipetool (not affected)
Test selftest test_recipetool_create_go (not affected)
Test selftest test_recipetool_create_go_replace_modules (not affected)

[YOCTO #15763]

CC: Yoann Congal <yoann.congal@smile.fr>
CC: Randy MacLeod <randy.macleod@windriver.com>
(From OE-Core rev: 374a91204bdaf44067f6b0ae89ed60934751efaa)

Signed-off-by: Christos Gavros <gavrosc@yahoo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-03 18:01:30 +00:00
Alex Kiernan
8401052ffd boost: Use PN/BPN for naming of packages
Rework the anon Python so that it doesn't expect to find non-MLPREFIXed FILES
overrides which are then mapped into MLPREFIXed versions, this allows the
apparent hardcoding of boost-{test,serialization} to be written more naturally
(and is significantly less surprising).

With this, and a change to lookup ${BPN} when generating split package names,
generating an explicitly versioned boost package (e.g. "boost-1.82") alongside
the main boost package ("boost") can be done by copying/renaming the older
recipe. This is useful when upstream code hasn't yet been ported to newer
boost and an older version is required.

(From OE-Core rev: b0770990a8b332dd2de802091164c9506882a465)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-03 18:01:30 +00:00
hongxu
79d1fd0881 tcmode-default: bump GOVERSION to 1.24.0
Due to we have upgraded go to 1.24.0, we should also bump GOVERSION
to fix preferred version warning
...
WARNING: preferred version 1.22% of go not available (for item go)
WARNING: versions of go available: 1.24.0
...

(From OE-Core rev: 939449cfcb4a920132145d2ad1212bac3acb1baa)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-03 18:01:30 +00:00
Hongxu Jia
9729465f1d go: remove support for GOROOT_FINAL
After upstream go applied commit [cmd: remove support for
GOROOT_FINAL][1], GOROOT_FINAL variable is dropped and use
option -trimpath to instead [2]

The option -trimpath has already been added to GOBUILDFLAGS
in go.bbclass

[1] 507d1b22f4
[2] https://github.com/golang/go/issues/62047

(From OE-Core rev: 791ab77ac05f658ecd61525a3d9b1afaf8ac6e06)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-03 18:01:29 +00:00
Hongxu Jia
ef1d0dea7b go: fix buildpath issue for go-runtime
In upstream commit [cmd: remove support for GOROOT_FINAL][1], it clear
GOROOT for func ld when -trimpath is used

But it missed to do the same thing for share libarary linking which caused
building go-runtime failed with buildpath issue

|ERROR: go-runtime-1.23.4-r0 do_package_qa: QA Issue: File /usr/lib/go/pkg/
linux_amd64_dynlink/libstd.so in package go-runtime contains reference to
TMPDIR [buildpaths]

This commit applied a patch to clear GOROOT for func ldShared when
-trimpath is used and add option -trimpath to go-runtime build

[1] 507d1b22f4
[2] 507d1b22f4 (diff-cab5921f94f2667bb0bc1b935d2d46b4c03541b4351b33438ab7290b94dea212R669)

(From OE-Core rev: f7b05ebfdc6504a8360741f273163ef7fbb11b10)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-03 18:01:29 +00:00
Hongxu Jia
4674fc9f7c go: upgrade 1.22.12 -> 1.24.0
Refresh patches

See [1] for Go 1.24 Release Notes

License-Update: update per Google Legal [2]

[1] https://go.dev/doc/go1.24
[2] 760b722c34

(From OE-Core rev: fc6625e934d9b098359103c82cdbcd0c7ce6caee)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-03 18:01:29 +00:00
Richard Purdie
2bd5494291 buildstats: Avoid rare UnboundLocalError
In rare cases BUILDNAME can seemingly be None outside of heartbeat events
which leads to UnboundLocalErrors as bsdir and taskdir aren't defined.

Skip the code in these cases rather than generate tracebacks which cause
bitbake server to exit.

(From OE-Core rev: 0f74d804ba0daf7e8bd6481597740b9d89821414)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-03 18:01:29 +00:00
Richard Purdie
44f2059a93 shadow-native: Disable syslog usage
Spamming the build host's syslog with useradd information during image creation
isn't great. Add a patch to disable that.

It may be possible to convince upstream to make it a configure option but for
now the patch is trivial and reduces host impact to the logs.

(From OE-Core rev: a52572886e60e4aff9d54b57bf45a301e1dec1ee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-03 18:01:29 +00:00
Enrico Jörns
44139c8c69 cml1.bbclass: use consistent make flags for menuconfig
The class called 'make menuconfig' without any of the make variables and
options set in EXTRA_OEMAKE, resulting in a quite different build
environment than actually intended.

For the kernel.bbclass this was fixed in commit 8c616bc0 ("kernel: Use
consistent make flags for menuconfig") by appending ${EXTRA_OEMAKE} to
KCONFIG_CONFIG_COMMAND.

Instead of fixing this individually for additional recipes, we simply
include ${EXTRA_OEMAKE} in KCONFIG_CONFIG_COMMAND by default.

For most class users, this change is directly visible in the generated
.config file:

* For barebox and u-boot, the CONFIG_GCC_VERSION erroneously reflected
  the host GCC version before where it now correctly reflects the target
  toolchain's GCC.

* For u-boot, also the "Compiler: " line at the beginning of the .config
  now prints the target toolchain instead of the host ones.

* The kernel had this already set.

* busybox did not produce any difference.

Note that these projects might base some compile-time decisions on e.g.
the actual compiler version used. Having the wrong one in the
menuconfig-generated .config affects at least the visibility and
consistency.

Reported-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
(From OE-Core rev: 1b6ddd452837e67b500a84455a234f5edc8250a9)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-03 18:01:29 +00:00
Markus Volk
4dfed23581 boost: add charconv lib
In boost 1.85 a charconv implementation in c++11 was added
[https://www.boost.org/doc/libs/master/libs/charconv/doc/html/charconv.html]

This is already used in real life and e.g. building the current wesnoth release fails with:
| /usr/src/debug/wesnoth/1.19.9/src/utils/charconv.hpp:57:(.text+0x238b): undefined reference to `boost::charconv::to_chars(char*, char*, double, boost::charconv::chars_format)'

Add charconv to BOOST_LIBS to provide the library

(From OE-Core rev: 42d14c130f2159c1d9ea314acc93142e6ccb2761)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-03 18:01:29 +00:00
Vijay Anusuri
001f0a14ff xwayland: upgrade 24.1.5 -> 24.1.6
Includes security fix

  * CVE-2025-26594
  * CVE-2025-26595
  * CVE-2025-26596
  * CVE-2025-26597
  * CVE-2025-26598
  * CVE-2025-26599
  * CVE-2025-26600
  * CVE-2025-26601

Ref: https://lists.x.org/archives/xorg-announce/2025-February/003584.html
     https://lists.x.org/archives/xorg-announce/2025-February/003586.html

(From OE-Core rev: c3f99b156a94e6687f2a6221a88d463730fd7561)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-03 18:01:29 +00:00
Peter Kjellerstedt
8ec093ac89 libbsd: Remove package specific licenses
After the removal of BSD-4-Clause from LICENSE in commit 362435b0aec
(libbsd: Drop licenses that were removed upstream), the licenses for all
packages match the licenses for the recipe. Thus there is no longer any
reason to explicitly specify the package licenses.

(From OE-Core rev: 0c1b68fefe41d92eaa87578ff644bc254e078f9a)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-03 18:01:29 +00:00
Ross Burton
f71f5fcb62 automake: remove upstreamed patches
0001-automake-Add-default-libtool_tag-to-cppasm.patch was upstreamed in
1.16[1].

0003-build-fix-race-in-parallel-builds.patch wasn't directly applied,
but a fix for the same problem was merged in 1.17[2].

[1] automake dc67b18d "automake: Add default libtool_tag to cppasm"
[2] automake 5d022858 "build: fix race in parallel builds"

(From OE-Core rev: 386feebe8221c5ef0f87d371dc3e79bfdee1a3bb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-03 18:01:29 +00:00
Yi Zhao
9ac081be6f ltp: upgrade 20240930 -> 20250130
* Drop 0001-sched_attr-Do-not-define-for-glibc-2.41.patch as it has been
  merged upstream.
* Skip statmount02 case which does not work on musl.

(From OE-Core rev: 5d72185e65aa0d9012913d9d095caceada7799d7)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-03 18:01:29 +00:00
Peter Marko
61b88919f7 Revert "cve-update-nvd2-native: Tweak to work better with NFS DL_DIR"
This reverts commit 7adaec468d.

It does not seem to fix the issue it was supposed to fix.
Additionally it breaks code which decides in full/partial update,
because it manipulates timestamp that code is relying on.

(From OE-Core rev: ebc65fdddd7ce51f0f1008baa30d0ae7918ae0bb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-01 13:33:26 +00:00
Khem Raj
dfe34c2337 rust-llvm: Fix build break found with clang
call and callee have mismatched types, this patch fixes it

(From OE-Core rev: 88e5970998fb4c72844056be19e3a9f77de3f4d6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-28 07:49:18 +00:00
Mikko Rapeli
7deed33f2c psplash: ignore startup errors in psplash-systemd.service
psplash-systemd.service depends on FIFO created by psplash-start@fb0.service.
This FIFO can be removed due to signals or /dev/fb0 related errors
when psplash-start@fb0.service exits. This exit can happen
when psplash-systemd.service is being started. Thus ignore
all errors in psplash-systemd.service startup.
There are too many ways things can go wrong and all of them
leave open race conditions unless a single process handles
all of the psplash usecases including progress bar updates.

(From OE-Core rev: 580ae81e102bf999cb89f05430c737210253d90a)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-28 07:49:18 +00:00
Ross Burton
22c45873e9 conf/documentation.conf: remove OE_IMPORTS
oe-core no longer supports OE_IMPORTS[1], so remove the documentation.

[1] oe-core 1f56155e ("base: Switch to use addpylib directive and
    BB_GLOBAL_PYMODULES")

(From OE-Core rev: d1388e0958c8013179a948e08bf989c07f8654ca)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-28 07:49:18 +00:00
Richard Purdie
430ed4a884 lib/package/utils: Improve multiprocess_launch argument passing
The current code for multiple argument passing is horrible. Tweak the
multiprocess_launch function to only convert to a tuple if it isn't already
one, which means we can then use function arguments in a standard way.

(From OE-Core rev: 7c99f90079e722764ebdc30e8d0e781454b3a51a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-28 07:49:18 +00:00
Alexander Kanavin
c92709d4c0 classes/insane: do not leak host uid/gid into package_qa sstate signatures
This prevented package_qa sstate from being reusable unless host uid/gid
values would  match exactly (and they unfortunately do on the yocto autobuilder
worker machines which all share a 'pokybuild' user).

I noticed this when testing CDN sstate reuse, which otherwise works well.

(From OE-Core rev: 6ea8b4b10b0549c858427a8411bf2a4cd5c0eb7b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-28 07:49:18 +00:00
Ross Burton
707be18cac bitbake: lib/bb/build: remove mention of OE_EXTRA_IMPORTS
This is an OpenEmbedded-specific variable that is no longer used[1].

[1] oe-core 1f56155e ("base: Switch to use addpylib directive and
    BB_GLOBAL_PYMODULES")

(Bitbake rev: 34bfa55a3c14f5d1d6bb3e31b747906fa7cb99c3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 15:21:10 +00:00
Michael Estner
e1836b205a bitbake: lib: Remove double imports
* Remove double imports mentioned by pylint

(Bitbake rev: 741db6719efca5aa9ef2c15e60cdd624e4aa1a8d)

Signed-off-by: Michael Estner <michaelestner@web.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 15:12:55 +00:00
Trevor Gamblin
ff8898d10b python3-sphinx: upgrade 8.1.3 -> 8.2.1
Changelog: https://www.sphinx-doc.org/en/master/changes/8.2.html

License-Update: Update copyright year

Add roman-numerals-py to RDEPENDS to avoid the following error:

|     sphinx.errors.ExtensionError: Could not import extension sphinx.builders.latex (exception: No module named 'roman_numerals')

(From OE-Core rev: 67874bb6689f177dcf4b7509cfa0dc9d62b8f38b)

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>
2025-02-27 10:55:17 +00:00
Trevor Gamblin
0c648d3ae1 python3-roman-numerals-py: add recipe
roman-numerals-py is a module providing utilities for working with
well-formed Roman numerals. python3-sphinx relies on this now, so add it
as a recipe.

(From OE-Core rev: 43b4e995769de54e47b0a98ce841b143a877f87d)

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>
2025-02-27 10:55:17 +00:00
Enrico Jörns
446730122d barebox: upgrade 2024.12.0 -> 2025.02.0
Due to some musl build issues with 2025.01.0, we skip this version and
move forward to 2025.02.0 directly.

Changes in 2025.01.0
--------------------

* Added LLVM/Clang support for the sandbox architecture.
* Enabled command execution from the sandbox command line.
* Improved TFTP with dentry caching and default-disabled window size.
* Introduced hardening features: register zeroing, stack variable
  initialization, and malloc buffer zeroing.
* Enhanced AM625 support with network support, watchdog driver, and
  bootsource detection.

Changelog: https://lore.barebox.org/barebox/Z4oUYdHXEAtnkySC@pengutronix.de/T/#u

Changes in 2025.02.0
--------------------

* Several memory overflow fixes for different filesystems.
* Added 'Security Considerations' guideline:
  https://www.barebox.org/doc/latest/user/security.html
* Added FIT image build target for booting barebox 2nd stage from a
  U-Boot with the bootm command (for development purpose).
* AM625 1st stage support including DDR, clock and power domain drivers.
* Added support for the AM625-SK board
* Added support for the Pine64 PineTab 2 (Rockchip)
* CVE's fixed:
  - CVE-2025-26721
  - CVE-2025-26722
  - CVE-2025-26723
  - CVE-2025-26724
  - CVE-2025-26725

Changelog: https://lore.barebox.org/barebox/Z7iJIYuoxZAja_F7@pengutronix.de/T/#u

(From OE-Core rev: 8a526783e31d9fbb65ffdf234607fa6229543f8d)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:17 +00:00
Bruce Ashfield
f35bf272e4 perf: enable zstd in default PACKAGECONFIG
The following upstream commit:

  commit 44b44ffd5dcef03d273ad070d0b02a65a323f5f6
  Author: Leo Yan <leo.yan@arm.com>
  Date:   Sun Dec 15 22:12:22 2024 +0000

      perf build: Minor improvement for linking libzstd

      The zstd library will be automatically linked by detecting the feature
      libzstd.  It is no need to explicitly link it for static builds, so
      remove the redundant linkage.

      It is contradictory to detect the feature libelf-zstd while the build
      configuration NO_LIBZSTD is set.  Report an error for reminding users
      not to set NO_LIBZSTD.

      Signed-off-by: Leo Yan <leo.yan@arm.com>
      Tested-by: Namhyung Kim <namhyung@kernel.org>
      Acked-by: Andrii Nakryiko <andrii@kernel.org>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexei Starovoitov <ast@kernel.org>
      Cc: Daniel Borkmann <daniel@iogearbox.net>
      Cc: Eduard Zingerman <eddyz87@gmail.com>
      Cc: Guilherme Amadio <amadio@gentoo.org>
      Cc: Hao Luo <haoluo@google.com>
      Cc: Ian Rogers <irogers@google.com>
      Cc: James Clark <james.clark@linaro.org>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: John Fastabend <john.fastabend@gmail.com>
      Cc: KP Singh <kpsingh@kernel.org>
      Cc: Kan Liang <kan.liang@linux.intel.com>
      Cc: Martin KaFai Lau <martin.lau@linux.dev>
      Cc: Nick Terrell <terrelln@fb.com>
      Cc: Quentin Monnet <qmo@kernel.org>
      Cc: Song Liu <song@kernel.org>
      Cc: Stanislav Fomichev <sdf@google.com>
      Cc: Yonghong Song <yonghong.song@linux.dev>
      Link: https://lore.kernel.org/r/20241215221223.293205-3-leo.yan@arm.com
      Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

Enforces that zstd must be enabled if libelfstd is detected.

Our build of perf and the other default features lead to libelf-zstd
being detected, and hence the build aborts when the features are
checked.

We can't condionally enable this for 6.14+ kernels due to the way that
the perf recipe works. The feature is minor and probably should have
already been in the defaults. To keep things simple, we just enable it
and will watch for any fallout.

(From OE-Core rev: c1b44f4e9f7d13673a93aa81be6a3e11aa9f742b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:17 +00:00
Bruce Ashfield
78c885d31e linux-yocto-dev: bump to v6.14
Updating the development kernel to track the v6.14 series.

(From OE-Core rev: e1ead507fcfb3963ea705d8eef18d96432c79c2d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:17 +00:00
Jamin Lin
0247289464 oe-selftest: fitimage: add testcases to test ATF and TEE
Add "test_uboot_atf_tee_fit_image" test caste to check u-boot FIT image and
Image Tree Source(ITS) are built and the ITS has the correct fields.

Add "test_sign_standalone_uboot_atf_tee_fit_image" test case to check if u-boot
FIT image and Image Tree Source (ITS) are created and signed correctly for the
scenario where only the u-boot proper fitImage is being created and signed.

Currently, ATF and TEE(optee-os) recipes are placed in meta-arm layer.
OpenEmbedded-Core is a basic and core meta layer. To avoid OpenEmbedded-core
depends meta-arm, both test cases are used dummy images for testing.

(From OE-Core rev: 92e51452f8831f74e0907b960135eef8cecd012a)

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:17 +00:00
Jamin Lin
7be7e16cbb uboot-sign: support to add users specific image tree source
Currently, uboot-sign.bbclass only supports to create Image Tree Source(ITS)
for "u-boot" and "flat_dt". However, users may want to add their private
images into u-boot FIT image for specific application and purpose.

To make this bbclass more flexible and support to add users specific snippet
ITS, creates a new "UBOOT_FIT_USER_SETTINGS" variable. Users can add their
specific snippet ITS into this variable.

Example:

```
UBOOT_FIT_MY_ITS = '\
       myfw {\n\
            description = \"MY Firmware\";\n\
            data = /incbin/(\"myfw.bin\");\n\
            type = \"mytype\";\n\
            arch = \"myarch\";\n\
            os = \"myos\";\n\
            load = <0xb2000000>;\n\
            entry = <0xb2000000>;\n\
            compression = \"none\";\n\
        };\n\
'

UBOOT_FIT_USER_SETTINGS = "${UBOOT_FIT_MY_ITS}"
```

The generated ITS

```
       myfw {
            description = "My Firmware";
            data = /incbin/("myfw.bin");
            type = "mytype";
            arch = "myarch";
            os = "myos";
            load = <0xb2000000>;
            entry = <0xb2000000>;
            compression = "none";
       };
```

Add a variable "UBOOT_FIT_CONF_USER_LOADABLES" to load users specific images
and it is an empty by default.

(From OE-Core rev: c12e013453689697a8680f1c7de3e625a0ff28ec)

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:17 +00:00
Jamin Lin
e6ff708977 uboot-sign: support to create TEE and ATF image tree source
Currently, uboot-sign.bbclass only supports to create Image Tree Source(ITS)
for "u-boot" and "flat_dt". However, users may want to support multiple images
such as  ARM Trusted Firmware(ATF), Trusted Execution Environment(TEE) and
users private images for specific application and purpose.

To make this bbclass more flexible and support ATF and TEE, creates new
functions which are "uboot_fitimage_atf" and "uboot_fitimage_tee"
for ATF and TEE ITS file creation, respectively.

Add a variable "UBOOT_FIT_ARM_TRUSTED_FIRMWARE" to
enable ATF ITS generation and it is disable by default.

Add a variable "UBOOT_FIT_TEE" to enable TEE ITS generation
and it is disable by default.

(From OE-Core rev: c14641a964b5b802e995e574a599c5b4937fb488)

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:17 +00:00
Enrico Jörns
fa198a04eb barebox: drop patch file left over during last upgrade
The patch was removed from SRC_URI but not deleted from the directory
tree.

Fixes: 3291a8fa ("barebox: upgrade 2024.10.0 -> 2024.12.0")
(From OE-Core rev: 0a3c4e3550cb52b4f42858ff6cc3356c96f5a6bf)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:17 +00:00
Zoltán Böszörményi
310a29ed0c rpm-sequoia-crypto-policy: clean up dependencies
Rely on host-provided coreutils and make.

openssl-native is not needed either, as the build scripts
use crypto functionality via python.

Python 3.11+ is needed by the python build scripts, which is
ensured by "inherit python3native".

(From OE-Core rev: 34fc028a8a3a6628b11c6ee67676532012f55f47)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:17 +00:00
Trevor Gamblin
a8f507ba6c python3-setuptools-scm: upgrade 8.1.0 -> 8.2.0
Patch '0001-respect-GIT_CEILING_DIRECTORIES.patch' is no longer required
as it's upstream in 979d79301da6.

Changelog (https://github.com/pypa/setuptools-scm/blob/main/CHANGELOG.md):

Added
    - fix #960: add a --force-write-version-files flag for the cli

Changed
    - fix #950: ensure to pass encodings to io usage
    - fix #957: add subprocess timeout control env var
    - add sp-repo-review pre-commit hook

Fixed
    - fix #1018: allow non-normalized versions for semver
    - fix #1103: respect GIT_CEILING_DIRECTORIES when trying to find git toplevels
    - fix #1081: add name normalized pipx entrypoint
    - fix #1080: clean pdm from PYTHONPATH to protect mercurial

(From OE-Core rev: 6bab759c00b44fc2793e095f991975b7eebf360f)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:17 +00:00
Trevor Gamblin
ee3bd7405d python3-flit-core: upgrade 3.10.1 -> 3.11.0
This update is required for latest versions of packages such as sphinx
to build with flit, otherwise you encounter errors like:

|   File "/home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux/python3-sphinx/8.2.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/flit_core/config.py", line 444, in _check_type
|     raise ConfigError(
|         "{} field should be {}, not {}".format(field_name, cls, type(d[field_name]))
|     )
| flit_core.config.ConfigError: license field should be <class 'dict'>, not <class 'str'>
|
| ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel

Changelog (https://github.com/pypa/flit/blob/main/doc/history.rst#version-311):

- Support for SPDX license expressions and multiple license files, as
  detailed in PEP 639:

    license = "BSD-3-Clause"
    license-files = ["LICENSE"]

  For now, only a single license identifier is allowed. More complex
  expressions describing multiple licenses & expressions may be
  supported in a future version.

- The metadata format in produced packages is now version 2.4, to
  support the expanded license information.

(From OE-Core rev: 268f1c96c70334d6a882d00e895e1f0c72cfa36f)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:17 +00:00
Sven Kalmbach
c804a62745 cml1.bbclass: do not escape the exit value
Remove incorrectly escaped exit value, which causes error handling logic not to run.

[YOCTO #15731]

(From OE-Core rev: 5c44a9154f0cd4252d4840d836e6936393b5d3a3)

Signed-off-by: Sven Kalmbach <Sven.Kalmbach@loewensteinmedical.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:17 +00:00
Bastian Krause
ffdc020519 systemd: move sysusers.d systemd-remote to PN-journal-remote
systemd's sysusers.d/systemd-remote.conf contains the user
"systemd-journal-remote" [1]. This file is currently not part of any
specific package.

To make this match the corresponding USERADD_PARAM:${PN}-journal-remote
for the same user, move the file to the correct package.

This prevents warnings in case PACKAGECONFIG contains "microhttpd" but
systemd-journal-remote is not installed, such as:

  WARNING: some-image-1.0-r0 do_rootfs: User systemd-journal-remote has never been defined

[1] https://github.com/systemd/systemd/blob/v257.3/sysusers.d/systemd-remote.conf

(From OE-Core rev: 2d50d3595502e65e3b0997800a6dc60ca3e10100)

Signed-off-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:17 +00:00
Divya Chellam
d566bebd78 vim: Upgrade 9.1.1043 -> 9.1.1115
This includes CVE-fix for CVE-2025-26603 and CVE-2025-1215

Changes between 9.1.1043 -> 9.1.1115
====================================
https://github.com/vim/vim/compare/v9.1.1043...v9.1.1115

(From OE-Core rev: aaa09a629cd993377000084d4558b4542578c417)

Signed-off-by: Divya Chellam <divya.chellam@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:17 +00:00
Christos Gavros
de51bc3cd9 oeqa/selftest: add a newline in local.conf (newbuilddir)
If the build-st/conf/local.conf does not end with a newline
when is generated then add one

[YOCTO #15734]

CC: Yoann Congal <yoann.congal@smile.fr>
CC: Randy MacLeod <randy.macleod@windriver.com>
CC: Alexander Kanavin <alex.kanavin@gmail.com>
(From OE-Core rev: d2fcd9e880126bc33be2ef14e678cc1aa72683c3)

Signed-off-by: Christos Gavros <gavrosc@yahoo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:17 +00:00
Markus Volk
e004154042 wayland-protocols: update 1.40 -> 1.41
wayland-protocols 1.41 is the minimum requirement for the upcoming gtk4 release

(From OE-Core rev: acbdd2d76186a685b4283b41e3ce73b4d4d29d43)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:17 +00:00
Yi Zhao
d02a5a7e4e nfs-utils: fix rpc.statd path in initscript
The location of rpc.statd is /usr/sbin instead of /sbin.

(From OE-Core rev: 19494e414429b74d2a15b32f21b1b3067d3a41b2)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:16 +00:00
Rasmus Villemoes
77c10c60a4 openssl: honour calling environment's values in wrapper script
When using openssl with some pkcs#11 plugin module, one (usually)
needs to set the OPENSSL_CONF environment variable
appropriately, and e.g. invoke openssl as

  openssl dgst -engine pkcs11 -keyform engine ...

However, when putting that logic in a bitbake recipe and depending on
openssl-native (and the recipe providing the pkcs#11 engine and the
associated configuration file), the value of OPENSSL_CONF is
unconditionally overridden by the wrapper script.

If openssl was invoked directly in the task function, I could probably
call "openssl.real" instead, but then I miss the proper settings of
the other four variables, which I'd then also have to repeat in my
recipe. Moreover, sometimes openssl is only called via some helper
script (for example rpi-eeprom-digest for signing bootloader images
for RPi), and it's not reasonable to patch every such script to call
openssl.real.

So rewrite the wrapper such that if a variable is already set in the
environment before openssl is invoked, preserve its value.

(From OE-Core rev: 5582ec9d3a21c546b799d2f6d4928f5e1d19eb0a)

Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:16 +00:00
Rasmus Villemoes
de80844aa2 openssl: fold result of sed invocation into environment file
A long time ago, the environment.d-openssl.sh file was shared between
openssl 1.0 and openssl 1.1 recipes, and sed was used to make the path
right for the 1.1 version. Nowadays, with only a single recipe, this
is a bit roundabout, so just use the proper path in the file directly.

(From OE-Core rev: 291fe7db623b0974e7831e908e91b1f1259e0506)

Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:16 +00:00
Ross Burton
997711b7a2 freetype: pass missing include paths to autoreconf
Now that autotools isn't searching for every m4 file the configure fails.
This is because freetype only uses autoconf and has a manual autogen.sh
script that passes -I. itself.

As we don't call that script, pass -I . to autoreconf ourselves.

(From OE-Core rev: 1a26f800d5fdadc990b73d17e1c373f3e8fba879)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:16 +00:00
Ross Burton
77ac9cf581 apr-utils: remove obsolete patch
This patch to change how autotools pulls in macros is no longer needed.

(From OE-Core rev: 9a550b4154d3e501ed6555694dc95b31df527637)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:16 +00:00
Ross Burton
937758dc13 recipes/*: remove obsolete use of acpaths
The bulk of these recipes used acpaths to work around argument list
limits as we passed the full path to every directory. As this behaviour
no longer happens we can remove these workarounds.

(From OE-Core rev: c4336f1b0da981b3ea396b17779b67898bceccef)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:16 +00:00
Ross Burton
a4b1fa2b22 autotools: don't try and find in-tree macros
autotools has improved a lot since this class was written, and there's
now no need to search the source tree for m4 files and add them to the
include path.

If packages have macros in subdirectories the idiom is to tell aclocal
via an assignment in Makefile.am:

  ACLOCAL_AMFLAGS = -I gl/m4 -I m4

If, for example, a package isn't autoreconfable out of the box (because
it has a non-trivial autogen.sh or similar, say) then the required -I
statements can be added to EXTRA_AUTORECONF.

(From OE-Core rev: e718d1be2c4fb54cf363c23f929358e1be68c724)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:16 +00:00
Hongxu Jia
510a1fb72b socat: upgrade 1.8.0.2 -> 1.8.0.3
According to [1]:

2025-02-21: Socat version 1.8.0.3 has been released. It fixes a lot of minor
issues and provides some minor improvements, see file CHANGES [2]. The
experimental POSIXMQ feature has been improved, got a few new options,
and is now considered stable.

License in README has no change

[1] http://www.dest-unreach.org/socat/
[2] http://www.dest-unreach.org/socat/CHANGES:

(From OE-Core rev: 650e9b72ded376ef5974cb7a71ade00a93e4612f)

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>
2025-02-27 10:55:16 +00:00
Hongxu Jia
26ad4e11b2 gpgme: upgrade 1.24.1 -> 1.24.2
Noteworthy changes in version 1.24.2 (2025-02-10)
-------------------------------------------------

  Take care: This version is from a legacy branch of gpgme created
  just before we split out the C++, Qt, and Python bindings to
  separate repositories and bumped the version number up to 2.0.

 * Fix regression for RSA in gpgme_pubkey_algo_string.  [T7508]

 * Prevent failing tests after 2027-05-15.  [T7471]

 [c=C44/A33/R2 cpp=C27/A21/R2 qt=C21/A6/R2]

 Release-info: https://dev.gnupg.org/T7524

See NEWS in https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-1.24.2.tar.bz2 for details

(From OE-Core rev: 90b637936b601c7af4c708d92562f098620a0d6a)

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>
2025-02-27 10:55:16 +00:00
Hongxu Jia
edf19845f1 man-pages: upgrade 6.9.1 -> 6.11
1. Due to upstream commit [GNUmakefile: Require the user to specify
'-R' if their make(1) is too old][1], add option -R to make

2. Due to upstream commit [src/bin/pdfman, scripts/bash_aliases,
pdfman.1: Make pdfman a standalone program, and add a manual page][2],
inherit bbclass lib_package to use package ${PN}-bin to collect newly
added scripts and runtime depends on bash

[1] https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/?id=50c914d25b40ac6a4d63ce10ed146653098014a2
[2] https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/?id=ed9bc1e3277befd6e165270f14e458a5ec4074f1

(From OE-Core rev: e1620f45f4c254f95881ccb9860b582ae7fbd1ed)

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>
2025-02-27 10:55:16 +00:00
Fabio Berton
5435d9552d ccache.conf: Add include_file_ctime to sloppiness
When multiple recipes are built in parallel, Ccache sometimes refuses to
lookup some objects in cache, leading to undesired cache misses. The
root cause of this is an interaction between the way how bitbake
constructs a recipe sysroot and Ccache's `include_file_ctime` check.

Whenever bitbake creates a recipe's sysroot it hardlinks the files
provided by a recipes dependencies. Adding a hardlink to a file changes
it's ctime which in turn leads Ccache to believe that the file was
modified thus aborting the cache lookup.

To avoid this situation, add `include_file_ctime` to the list of checks
that should be ignored using the Ccache sloppiness configuration option
[1].

Example of a log entry that Ccache ignores a file:
/
|recipe-sysroot/usr/include/bits/pthread_stack_min.h had status change
|near or after invocation (ctime 1739822508.107677255, invocation time
|1739822507.970071107)
\

1 - https://ccache.dev/manual/4.10.2.html#config_sloppiness

(From OE-Core rev: 4899698297c7783e02aba5388e0469cc83bd2f70)

Signed-off-by: Fabio Berton <fabio.berton@criticaltechworks.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-27 10:55:16 +00:00
Antonin Godard
dcfbb14ad3 dev-manual/multiconfig: add suggested best practices and baremetal sections
After the suggestions from Mark Hatle on the list
(https://lists.yoctoproject.org/g/docs/topic/110487932), add two
sections to the multiconfig doc:

- Suggested best practices: suggestion for better design of multiconfig
  builds.

- Common use case: baremetal build.

  This section applies the guidelines from the first sections and apply
  it to a real-life example of how to use multiconfig. This one to build
  some baremetal firmware alongside a regular Linux build.

Suggested-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 36fb1e9e5099aa0d858d5478530143e9bac39588)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-26 14:49:28 +00:00
Antonin Godard
705966c546 dev-manual/multiconfig: improve the current doc
After the suggestions from Mark Hatle on the list
(https://lists.yoctoproject.org/g/docs/topic/110487932), rewrite the
introduction to multiconfig with the following changes:

- Move the part of overriding TMPDIR or not to a note.
- Use BB_CURRENT_MC in the example.
- Various additions of references & improved formatting.

Suggested-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 8cedef6d5b701235325e6e0bdd793f8c06dfef57)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-26 14:49:28 +00:00
Antonin Godard
8368cac811 dev-manual/multiconfig: rename to use Multiconfig term
Rename this section to explicitely name the multiple configuration feature
"multiconfig".

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 286db24f37bf16a157d3897a046f1fc0d33a44b4)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-26 14:49:27 +00:00
Antonin Godard
e87504429a migration-5.2: fix references to BB_CURRENT_MC
Now part of the documentation.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 2a50504bd5c211bfae26db64190863fdf53fc3c9)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-26 14:49:27 +00:00
Antonin Godard
a3669b55f1 variables.rst: add a reference to BB_CURRENT_MC from bbdocs
BB_CURRENT_MC is documented in the Bitbake user manual. Add a reference
to it here.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: a9aaef86bf76027f602546b5d4a3dffc6168d9b4)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-26 14:49:27 +00:00
Antonin Godard
6a31bdb4dd dev-manual: move multiconfig documentation to its own document
In preparation of more section and examples to multiconfig, move the
section about it in building.rst into its own document.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 6f60fb09976540dd320816684684c14f6b7ab460)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-26 14:49:27 +00:00
Marta Rybczynska
8bb220aa11 vulnerabilities/classes: remove references to cve-check text format
The text format has been removed, so also remove references and examples
using this format. Replace with examples with the JSON format.

(From yocto-docs rev: a52cd7bcadccc53e982f90d6e170d00798322597)

Signed-off-by: Marta Rybczynska <marta.rybczynska@ygreky.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-26 14:49:27 +00:00
Weisser, Pascal
b3347ef726 ref-manual: Add missing variable IMAGE_ROOTFS_MAXSIZE
This patch adds the missing documentation of variable IMAGE_ROOTFS_MAXSIZE
to the reference manual.

(From yocto-docs rev: 1dcc8cf7c49da449b324a7bd6bb22effe1d53d70)

Signed-off-by:
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>
2025-02-26 14:49:27 +00:00
Yoann Congal
a7a55e856b release-notes-5.2: Add new variable OEQA_REPRODUCIBLE_TEST_LEAF_TARGETS
Add mention of OEQA_REPRODUCIBLE_TEST_LEAF_TARGETS to release-notes-5.2
to users can use it after upgrading.

(From yocto-docs rev: eec44e4daf414be414e9fd0471b0381b980d6fab)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Guillaume Swaenepoel <guillaume.swaenepoel@smile.fr>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-26 14:49:27 +00:00
Yoann Congal
9c90dadbd0 reproducible-builds: add a "How to" section with OEQA* variables
Shows an example of the new variable OEQA_REPRODUCIBLE_TEST_LEAF_TARGETS
and still mention OEQA_REPRODUCIBLE_TEST_TARGET/SSTATE_TARGETS that were
shown earlier.

(From yocto-docs rev: 78cf8b1ff1cdfbc863033f267da8fb60419b50fc)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Guillaume Swaenepoel <guillaume.swaenepoel@smile.fr>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-26 14:49:27 +00:00
Yoann Congal
18556f78bd reproducible-builds: change/add titles in the "How" section
This is preparation work for the following commit.

(From yocto-docs rev: 0ff459c273704a281419a44ae5670068ac47f1b9)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Guillaume Swaenepoel <guillaume.swaenepoel@smile.fr>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-26 14:49:27 +00:00
Yoann Congal
835af80553 ref-manual/variables: document OEQA_REPRODUCIBLE_TEST_LEAF_TARGETS
This documents the variable used in the "automate testing a single
recipe's reproducibility" feature [YOCTO #15701]

(From yocto-docs rev: 417b423ea3d2ba9903d21d930c1982ff2ac6f596)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Guillaume Swaenepoel <guillaume.swaenepoel@smile.fr>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-26 14:49:27 +00:00
Chen Qi
40b5f61a8f bitbake: data_smart: fix indentation
Fix 8 spaces indentation to be 4 spaces.

(Bitbake rev: 973866d134f0493bb3034593fe03cb8bf8920c5c)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-25 15:27:28 +00:00
Antonin Godard
9a59194f22 bitbake: doc: bitbake-user-manual-ref-variables: document BB_CURRENT_MC
Document the BB_CURRENT_MC variable, which holds the name of the current
multiconfig build a task is being run under.

(Bitbake rev: 178e09ea5ea39e60452077fa2ab90b90478ada6e)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-25 14:10:36 +00:00
Richard Purdie
ba91179519 bitbake: fetch2: Fix BB_FETCH_PREMIRRORONLY network disabling
When using BB_FETCH_PREMIRRORONLY we write to the datastore to disable the network.
This change needs to be undo when handling later urls, so operate on a copy of the
datastore to allow this.

Reported by Julian Haller <julian.haller@philips.com>

(Bitbake rev: 67a5ede8ae92ed7dcad29fd0dcfd62c6640b10b2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-25 12:49:52 +00:00
Michael Halstead
4f238aa907 yocto-uninative: Update to 4.7 for glibc 2.41
(From OE-Core rev: 84fa232cc1b50f0d15c090377659d6aa7a065b1d)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-25 12:17:22 +00:00
Christos Gavros
dd8195473f skeletoninit: remove broken link
The link in the comment is broken.
It's removed together with some text.

CC: Yoann Congal <yoann.congal@smile.fr>
CC: Randy MacLeod <randy.macleod@windriver.com>
(From OE-Core rev: 4d5ce199d44bbeee7a7cff1dc7deac3d45a15d35)

Signed-off-by: Christos Gavros <gavrosc@yahoo.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-25 12:17:22 +00:00
Marek Vasut
d63dba2f98 u-boot: kernel-fitimage: Restore FIT_SIGN_INDIVIDUAL="1" behavior
OE FIT_SIGN_INDIVIDUAL is implemented in an unusual manner,
where the resulting signed fitImage contains both signed
images and signed configurations, possibly using different
keys. This kind of signing of images is redundant, but so is
the behavior of FIT_SIGN_INDIVIDUAL="1" and that is here to
stay.

Adjust the process of public key insertion into u-boot.dtb
such that if FIT_SIGN_INDIVIDUAL==1, the image signing key
is inserted into u-boot.dtb first, and in any case the
configuration signing key is inserted into u-boot.dtb last.

The verification of the keys inserted into u-boot.dtb against
unused.itb is performed only for FIT_SIGN_INDIVIDUAL!=1 due to
mkimage limitation, which does not allow mkimage -f auto-conf
to update the generated unused.itb, and instead rewrites it.

Fixes: 259bfa86f384 ("u-boot: kernel-fitimage: Fix dependency loop if UBOOT_SIGN_ENABLE and UBOOT_ENV enabled")
(From OE-Core rev: 0106e5efab99c8016836a2ab71e2327ce58a9a9d)

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-25 12:17:22 +00:00
Enrico Scholz
60ab4d0a80 oeqa/selftest/devtool: use 'config.toml' instead of plain 'config'
After changing naming of cargo config in cargo_common.bbclass, adapt
devtool to use the new name.

(From OE-Core rev: 715d27f0b4301c97f05ed3cbbaace0ba01c28f39)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-25 12:17:22 +00:00
Enrico Scholz
5fe47418ba cargo_common: use 'config.toml' instead of plain 'config'
cargo configuration has been renamed from plain 'config' to
'config.toml' in rust-1.38.

Using the old name is still supported but creates warnings like

| $ cargo
| warning: `/sdk.../home/cargo/config` is deprecated in favor of `config.toml`
| note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`

Use the new name.

(From OE-Core rev: 94b7d1a6cdb44949f8a96213ff2e45fafd759442)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-25 12:17:22 +00:00
Yi Zhao
cf8b4459a5 kea: avoid assertion on empty DHCPDISCOVER packet
When kea is built with "-D_GLIBCXX_ASSERTIONS " set in SECURITY_CFLAGS,
an assertion occurs if the kea server receives an empty DHCPDISCOVER
packet:

kea-dhcp4[596]: /usr/include/c++/13.3.0/bits/stl_vector.h:1128:
std::vector<Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type)
[with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>; reference = unsigned char&;
size_type = long unsigned int]: Assertion '_n < this->size()' failed.

Backport patches to fix this issue[1].

[1]  0b98eae16d
     16306026e3

(From OE-Core rev: 17c67a47ec9c6e90a339f32c35f80ca4c908a254)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-25 12:17:22 +00:00
Yi Zhao
131163d59d kea: make kea environment available to lfc process
If the location of the log lock file is changed using the environment
variable KEA_LOCKFILE_DIR, the kea-dhcp process will work properly, but
the lfc (lease file cleanup) process spawned by it will not inherit this
value and use the default path[1], which will cause the kea server to
print the following message when running:

kea-dhcp4[6767]: Unable to use interprocess sync lockfile (No such file or directory): /var/run/kea/logger_lockfile

Backport a patch to fix this issue[2].

[1] https://gitlab.isc.org/isc-projects/kea/-/issues/3450
[2] f477e8ebcc

(From OE-Core rev: 34f1392aef4d5fa402600b21f6d7a47cd735cfd4)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-25 12:17:22 +00:00
Robert Yang
f1ea319021 runqemu: Set target to rootfs when target is empty
Fixed:
$ runqemu qemux86-64 core-image-minimal
runqemu - ERROR - IMAGE_LINK_NAME wasn't set to find corresponding .qemuboot.conf file

(From OE-Core rev: 992d6075fbb4e8eb82920a477fcc38b3c0dc8cd5)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-25 12:17:22 +00:00
Wang Mingyu
29b0eebb19 pango: upgrade 1.55.5 -> 1.56.1
Add python3-docutils-native to provide rst2html5

Changelog:
==========
- Avoid criticals when there are no fonts
- fontconfig: Handle lack of FC_FONT_WRAPPER in font cache
- fontconfig: Prefer application fonts even if they are older
- Support setting font features in font descriptions
- serialization: Document the tab array format
- serialization: Accept attributes without range
- win32: Improve the pango_font_map_reload_implementation
- win32: Take variations into account for caching
- layout: Fix measuring ellipsis runs with shapes
- build: Require C11
- build: Require GLib 2.80
- build: Require cairo 1.18

[RP: Use += instead of :append for DEPENDS]
(From OE-Core rev: 7d6a0f362244d243f8c806802a7a0fdc3d92c880)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-25 12:17:22 +00:00
Sebastian Zenker
f99540de7b kernel.bbclass: Handle possible multiconfig.
When specifying the dependencies of do_bundle_initramfs the current
multiconfig might not be the default. This fixes the dependencies between
the multiconfigs if the current differs to default.

(From OE-Core rev: 2e40466af83a3c66aef878e3f08a891405199ebe)

Signed-off-by: Mueller, Daniel <daniel.mueller@karlstorz.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-25 12:17:22 +00:00
Changqing Li
0df1318e5c Revert "python3-ctypes: depend on ldconfig only if distro-feature set"
In oe-core, function ldconfig_postinst_fragment use exist of
/sbin/ldconfig to decide if ldconfig is runned to generate the cache,
and function _run_ldconfig will run ldconfig to generate cache during
generate rootfs.  ldconfig.service is actually not used since we have
generate ld.so.cache during do_rootfs, refer[1][2][3]. ldconfig
dependency is necessary when ldconfig not in DISTRO_FEATURES.

The reverted commit causes regression when ldconfig not in
DISTRO_FEATURES, before, without ldconfig in DISTRO_FEATURES,
ctypes.util.find_library(name) can find the lib if it is installed, now,
since ldconfig is not installed, ctypes.util.find_library(name) cannot
find the lib even if it is installed.

Here is one usecase(gtk+3 lib is installed, ctypes.util.find_library
used to find the lib):
import wx.lib.wxcairo as wxcairo
File "/usr/lib/python3.13/site-packages/wx/lib/wxcairo/{}init{}.py", line 59, in <module>
  from .wx_cairocffi import _ContextFromDC, _FontFaceFromFont
File "/usr/lib/python3.13/site-packages/wx/lib/wxcairo/wx_cairocffi.py", line 189, in <module>
  gdkLib = _findGDKLib()
File "/usr/lib/python3.13/site-packages/wx/lib/wxcairo/wx_cairocffi.py", line 181, in _findGDKLib
  return _findHelper([libname], 'gdk',
                     "Unable to find the GDK shared library")
File "/usr/lib/python3.13/site-packages/wx/lib/wxcairo/wx_cairocffi.py", line 170, in _findHelper
  raise RuntimeError(msg)
RuntimeError: Unable to find the GDK shared library

[1] https://git.openembedded.org/openembedded-core/tree/meta/classes-global/package.bbclass#n394
[2] https://git.openembedded.org/openembedded-core/tree/meta/lib/oe/rootfs.py#n316
[3] https://github.com/systemd/systemd-stable/blob/v255-stable/units/ldconfig.service

(From OE-Core rev: f98299ec2fa65804ceeff634fa50c8d154e1c153)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-25 12:17:22 +00:00
Chen Qi
116070ab08 debugedit: fix build failure when enabling DEBUG_BUILD
When DEBUG_BUILD is enabled, we use "-Og" gcc options. In such
case, the xxhash functions are considered not inline, yet debugedit.c
defined XXH_INLINE_ALL to force inline, thus causing build failure.

Backport a patch which add "--disable-inlined-xxhash" option and
make debugedit use that option when DEBUG_BUILD is enabled.

The 0003-Makefile.am-do-not-update-manual.patch is moved from musl
specific patch to SRC_URI, because we now have a patch to modify debugedit.c
and this will cause manual to be generated again. This is unnecessary and
will report help2man missing.

(From OE-Core rev: 7aaf60854c6bc9c075399de7450fe63b21b2883b)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-25 12:17:22 +00:00
Joerg Schmidt
ae8fe5b896 bitbake: bblayers/query: Fix using "removeprefix" string method
The minimum Python version required for Yocto 5.0 is 3.8 which causes
failure in poky/bitbake/lib/bblayers/query.py when listing layers by
using command "bitbake-layers show-recipes -f --bare --mc MC" for the
given multiconfig MC.
The reason for that failure is the use of "removeprefix" string method
which got introduced in Python 3.9.
This patch replaces the "removeprefix" method with an equivalent
solution supported by Python 3.8.

(Bitbake rev: 004cfdec1c865f2351bbac99acb3d63bfef9d380)

Signed-off-by: Joerg Schmidt <joerg.schmidt@garmin.com>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-21 13:14:22 +00:00
Ross Burton
13ee5bb0d1 documentation: remove AUTHOR[doc]
The variable was mostly removed in oe-core 9d5edd12 but the documentation
remained.

[ YOCTO #15758 ]

(From OE-Core rev: 6aab808bb9adee8e2409c23f49c6bc021007f1d8)

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>
2025-02-21 13:08:44 +00:00
Alexis Cellier
cbde82f70b systemd: Fix man page indices generation
The dependency on python3-lxml-native was missing, so the generation of
man page indices was skipped (systemd.index and systemd.directives).

(From OE-Core rev: be19e4cd6466cbf967e5301c1a3cdd853d22d250)

Signed-off-by: Alexis Cellier <alexis.cellier@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-21 13:08:44 +00:00
Dmitry Baryshkov
e8a90cbb89 linux-firmware: make linux-firmware-qcom-qcm6490-wifi provide -qcs6490-
The package linux-firmware-qcom-qcm6490-wifi also provides a symlink
qcom/qcs6490/wpss.mbn. Follow the pattern established by
linux-firmware-qcom-qcm6490-audio and -compute packages and make this
package RPROVIDE the qcs6490 name.

(From OE-Core rev: c18be7fb4aa2969dc1e15067f99ff7d317eb906f)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-21 13:08:44 +00:00
Mikko Rapeli
305326079b systemd: depend on util-linux-mkswap
busybox mkswap doesn't support all needed options.
Fixes:

systemd[1]: Activating swap /dev/disk/by-uuid/38d0b388-9989-4744-8a0a-3e6be1135f5a...
swapon[210]: swapon: /dev/sda3: swap format pagesize does not match.
swapon[210]: swapon: /dev/sda3: reinitializing the swap.
swapon[212]: mkswap: invalid option -- 'U'
swapon[212]: BusyBox v1.37.0 () multi-call binary.
swapon[212]: Usage: mkswap [-L LBL] BLOCKDEV [KBYTES]
systemd[1]: dev-disk-by\x2duuid-38d0b388\x2d9989\x2d4744\x2d8a0a\x2d3e6be1135f5a.swap: Swap process exited, code=exited,

(From OE-Core rev: 50d139f5748432e68b8f66cd4ecfd6e2ad677ed3)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-21 13:08:44 +00:00
Mikko Rapeli
4fbdfd842c psplash: fix typo in psplash-systemd.service
systemd ignores the typo and continues but startup fails later due to
missing fifo file. Fixes:

systemd[1]: /usr/lib/systemd/system/psplash-systemd.service:8: Unknown key 'ConditionFileExists' in section [Unit], ignoring.

(From OE-Core rev: c7215ad8599a4b792d7edefb46861c94a7ba79b3)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-21 13:08:44 +00:00
Peter Marko
f1b96cd0dd libsass: fix fetched commit hash
Old commit hash is for v3.6.5, not v3.6.6.
https://github.com/sass/libsass/tags
Old version contains several vulnerabilities.

Note that exact recipe copy of recipe introduced in oe-core was never
present in oe.

(From OE-Core rev: a4bee854f7009564cd2dbc6d30fd5a94a8ec7427)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-21 13:08:44 +00:00
Peter Marko
e9105151ff sassc: set status of CVE-2022-43357
When this recipe was copied from oe, last commit was missing.
https://git.openembedded.org/meta-openembedded/commit/?id=576b84263bac4dda26d84d116a9e7628a126f866

(From OE-Core rev: d7d45b5025550c1031ba9e44bc653f9d638c275e)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-21 13:08:44 +00:00
Khem Raj
ca289e5d85 python3: Skip test_write_read_append
We use editline by default and test_write_read_append also fails especially on musl
since this needs to be fixed upstream, extend the skip for test_write_read_append along
with other history manipulation tests being skipped.

(From OE-Core rev: fbafd942e6c78d1298fa64129149ff311b61fcf8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-20 11:57:49 +00:00
Khem Raj
85efdf6278 python3: Ignore locale2 tests on musl
These tests require additional locales not supported in musl

(From OE-Core rev: ce3190f9c9a23fc3277e9a6f91b06b2fc60dafb1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-20 11:57:49 +00:00
hongxu
1ce86daa3d libxml2: upgrade 2.13.5 -> 2.13.6
https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.6

Release notes
Security

    [CVE-2025-24928] Fix stack-buffer-overflow in xmlSnprintfElements
    [CVE-2024-56171] Fix use-after-free after xmlSchemaItemListAdd
    pattern: Fix compilation of explicit child axis

Regressions

    xmllint: Support compressed input from stdin
    uri: Fix handling of Windows drive letters
    reader: Fix return value of xmlTextReaderReadString again
    SAX2: Fix xmlSAX2ResolveEntity if systemId is NULL

Portability

    dict: Handle ENOSYS from getentropy gracefully
    Fix compilation with uclibc (Dario Binacchi)
    python: Declare init func with PyMODINIT_FUNC
    tests: Fix sanitizer version check on old Apple clang
    cmake: Work around broken sys/random.h in old macOS SDKs

Build

    autotools: Set AC_CONFIG_AUX_DIR
    cmake: Always build Python module as shared library
    cmake: add missing Bcrypt link on Windows (Saleem Abdulrasool)
    cmake: Fix compatibility in package version file

(From OE-Core rev: 86e16b1081fbe12b4f53fc72bfdff5240da7321a)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-20 11:57:49 +00:00
Wang Mingyu
71efb75637 libpcre2: upgrade 10.44 -> 10.45
License-Update:
- LICENCE renamed to LICENCE.md
- format changed
- add "SPDX-License-Identifier:	BSD-3-Clause WITH PCRE2-exception" to the top of LICENCE file
- add contribution information

(From OE-Core rev: 290bcaad31ac87766cd08bc017326daf5c4bd60d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-20 11:57:49 +00:00
Sofiane HAMAM
48c946af33 sanity: Check for non ascii chars in TOPDIR
Some modules (like Perl's MakeMaker) do not support non ASCII
characters in build folder's path, this would cause build failures
of software that does not support non ASCII.
A sanity check is added to warn the user.

Fixes [YOCTO #15764]

(From OE-Core rev: 2b3be97a0d0d60d026786a4465b24b6f6752ba32)

Signed-off-by: Sofiane HAMAM <sofiane.hamam@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-20 11:57:49 +00:00
Deepesh Varatharajan
36f4602671 rust: Oe-selftest changes for rust v1.82.0
A few tests are getting failed with x86 arch.The unsupported/failing tests
are added to the exclude list and ignore the failing unit tests.

Upstream-Status: Pending

(From OE-Core rev: b1340173be2a3a91fbb135eb0e24e50c3b996425)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-20 11:57:49 +00:00
Deepesh Varatharajan
e5a11a0ed1 rust: oe-selftest issue fix with v1.82
A new feature "Link std statically in rustc_driver" was introduced
in rust_1.82 [https://github.com/rust-lang/rust/pull/122362],and
which is causing the below failure in oe-selftest.

Running unittests src/main.rs (build/x86_64-unknown-linux-gnu/stage1-rustc/
x86_64-poky-linux-gnu/release/deps/rustc_main-92223b15c9f2d827)
uploaded ".../build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-poky-linux-gnu/
release/deps/rustc_main-92223b15c9f2d827", waiting for result
/tmp/work/test4056/rustc_main-92223b15c9f2d827: error while loading shared
libraries: librustc_driver-fb0866b1cd913c20.so: cannot open shared object file: No
such file or directory

The rustc_main binary depends on the librustc_driver-*.so file. However,
this file has not been copied to QEMU. If we manually copy the file into
QEMU and export the LD_LIBRARY_PATH, the issue does not occur. Issue
reprorted to upstream and reverted the buggy code as a workaround.

Upstream-Status: Inappropriate [reported at https://github.com/rust-lang/rust/issues/136237]

(From OE-Core rev: 977bd1a10771a6588e596e1bbfd49e9af659aa4a)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-20 11:57:49 +00:00
Deepesh Varatharajan
555849ead3 rust: Upgrade 1.81.0->1.82.0
Rust stable version updated to 1.82.0.
https://blog.rust-lang.org/2024/10/17/Rust-1.82.0.html

Renamed the below patch to adapt the new version.
rv32-cargo-rustix-0.38.28-fix.patch->rv32-cargo-rustix-0.38.34-fix.patch

Dropped: rv32-rustix-libc-backend.patch [addressed with rv32-cargo-rustix-0.38.34-fix.patch]

(From OE-Core rev: cfa431e734a642796140347f09c3c54b41a7bb75)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-20 11:57:49 +00:00
Marta Rybczynska
4e1b34de24 flex: update CVE_PRODUCT
NVD uses westes:flex for recent CVEs in flex, based on the GitHub repo

(From OE-Core rev: 8bb6aa4b4acb16c59b66aa55b33053e3e8749e72)

Signed-off-by: Marta Rybczynska <marta.rybczynska@ygreky.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-20 11:57:49 +00:00
Enrico Jörns
634d649aab busybox: drop net-tools from defconfig
The 'net-tools' have been deprecated 15 years ago! [1]
Let's remove their busybox pendants from the defconfig to prevent people
from accidentally starting projects with ancient technology.

[1] https://lists.debian.org/debian-devel/2009/03/msg00780.html

(From OE-Core rev: cad9d9671baf7f475e3c629d73badce4d509812e)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-20 11:57:49 +00:00
Richard Purdie
00f5339c2a oeqa/qemurunner: Convert from ifconfig to use ip
ifconfig is obsolete and being removed, convert to use ip instead.

(From OE-Core rev: 3b2fb477750606976359884b18c33a37832e5a78)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-20 11:57:49 +00:00
Richard Purdie
dc4eeab72c udev-extraconf: Switch from ifconfig to ip
ifconfig is obsolete, drop the call and replace with ip instead.

(From OE-Core rev: e18e29728ace57d7ef1409c3c13df9e1857af3ac)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-20 11:57:49 +00:00
Michael Estner
8f69906d5e bitbake: utils: Clean up imports
* Remove double imports
* Re-roder the imports as mentioned by pylint

(Bitbake rev: 6de536bbaee8cf7664c5702a96a5ca18ad09fb9d)

Signed-off-by: Michael Estner <michaelestner@web.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 23:07:07 +00:00
Richard Purdie
ebdbd105ef gdb: Include xz support by default and clean up PACKAGECONFIG
Firstly, just include xz support in all gdb configurations to simplify config.
Most systems would already have the shared library so this isn't a big problem
for a larger debugging tool.

The PACKAGECONFIG duplication is also confusing. The only PACKAGECONFIG which
needs special handking is the python one due to the differing modules needed
in the nativesdk case. Remove all the other duplicate entries which should work
through our usual class extension code.

(From OE-Core rev: d6eefdd66171c2bcdeeebc8a9b583c5383c80bf6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:45 +00:00
Richard Purdie
cce708b925 base: Fix PACKAGECONFIG handling for cross recipes
We don't have many cross recipes that use PACKAGECONFIG but gdb-cross does,
so correctly remap dependencies for that case allowing the gdb recipe to be
simplified.

(From OE-Core rev: c5bb7976f4d6e8559b4b87e4c3f39135dbb40ef8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:45 +00:00
Vyacheslav Yurkov
a7b14b3ca2 oeqa/selftest: Drop dependency on systemd-native
The tests don't need it. On top of that, this extra requirement
creates a dependency loop between systemd-systemctl-native and util-linux.

(From OE-Core rev: b5770d8c56036bdfef8d596d27433d8f408ee36f)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:45 +00:00
Richard Purdie
1460b73e01 oeqa/runtime/connman: Drop unused test
This test checks for an IP address and then tests if interface aliases work. We
don't run it on any of our automated testing as it only applies for non-qemu.

The connectivity test is unrealted to connman and pretty pointless as it depends
on ssh being working, so networking is probably ok.

The alias interface test is unrelated to commman and a general networking test
but seems out of place.

The code uses obsolete ifconfig calls and overall, the value of the test we're
never using seems low. Delete it.

(From OE-Core rev: 5e40277d1ee9df8dbc612a39b575f9a50806cd62)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:45 +00:00
Peter Marko
a4d31bb032 gnutls: upgrade 3.8.8 -> 3.8.9
Solves CVE-2024-12243

Refreshed patches

License-Update: multiple changes
* a8727cdb07
  COPYING.LESSER updated wording to latest FSF version
* 75f5ea8073
  LICENSE file merged to README.md
  COPYING and COPYING.LESSERv2 moved to top-level directory

Release notes: https://gitlab.com/gnutls/gnutls/-/blob/3.8.9/NEWS?ref_type=tags

* Version 3.8.9 (released 2025-02-07)

** libgnutls: leancrypto was added as an interim option for PQC
   The library can now be built with leancrypto instead of liboqs for
   post-quantum cryptography (PQC), when configured with
   --with-leancrypto option instead of --with-liboqs.

** libgnutls: Experimental support for ML-DSA signature algorithm
   The library and certtool now support ML-DSA signature algorithm as
   defined in FIPS 204 and based on
   draft-ietf-lamps-dilithium-certificates-04. This feature is
   currently marked as experimental and can only be enabled when
   compiled with --with-leancrypto or --with-liboqs.
   Contributed by David Dudas.

** libgnutls: Support for ML-KEM-1024 key encapsulation mechanism
   The support for ML-KEM post-quantum key encapsulation mechanisms
   has been extended to cover ML-KEM-1024, in addition to ML-KEM-768.
   MLKEM1024 is only offered as SecP384r1MLKEM1024 hybrid as per
   draft-kwiatkowski-tls-ecdhe-mlkem-03.

** libgnutls: Fix potential DoS in handling certificates with numerous name
   constraints, as a follow-up of CVE-2024-12133 in libtasn1. The
   bundled copy of libtasn1 has also been updated to the latest 4.20.0
   release to complete the fix.  Reported by Bing Shi (#1553).
   [GNUTLS-SA-2025-02-07, CVSS: medium] [CVE-2024-12243]

** API and ABI modifications:
GNUTLS_PK_MLDSA44: New enum member of gnutls_pk_algorithm_t
GNUTLS_PK_MLDSA65: New enum member of gnutls_pk_algorithm_t
GNUTLS_PK_MLDSA87: New enum member of gnutls_pk_algorithm_t
GNUTLS_SIGN_MLDSA44: New enum member of gnutls_sign_algorithm_t
GNUTLS_SIGN_MLDSA65: New enum member of gnutls_sign_algorithm_t
GNUTLS_SIGN_MLDSA87: New enum member of gnutls_sign_algorithm_t

(From OE-Core rev: 4313d931673dd86aaf590c68f7b1fa364d752740)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:45 +00:00
Dmitry Baryshkov
0e8a7ce0a5 linux-firmware: fix qca-qca61x4-usb package contents
The NVM files for QCA61x4 USB chips went to linux-firmware-qca-misc
instead of -qca-qca61x4 because of the c&p error. Fix package contents.

Fixes: 93b3d61b657c ("linux-firmware: further split qca61x4 package")
(From OE-Core rev: 19146220a57d4829c18e8860e85b2843aafd901d)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:45 +00:00
Wang Mingyu
d8df6269ab xz: upgrade 5.6.3 -> 5.6.4
(From OE-Core rev: 3db7bd96a39fcccce8a39a1f9aba27edd4820cab)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:45 +00:00
Wang Mingyu
8161ea284b xwayland: upgrade 24.1.4 -> 24.1.5
(From OE-Core rev: f04edcc6ab87b638989ebac0fe442926897c0277)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:45 +00:00
Wang Mingyu
9dbbde32d1 xkeyboard-config: upgrade 2.43 -> 2.44
(From OE-Core rev: 02d07b39c0bfbb2612c42c17329aadd1ff21f35a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:45 +00:00
Wang Mingyu
8a95eebc62 xhost: upgrade 1.0.9 -> 1.0.10
(From OE-Core rev: b51817ad89b06dcac94e05107170e48274a36e1e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:45 +00:00
Wang Mingyu
a39530b5f6 stress-ng: upgrade 0.18.09 -> 0.18.10
(From OE-Core rev: 87da85f4c7b076430912a248cd73df3ffac7b1e7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:45 +00:00
Wang Mingyu
bffc1edf17 ruby: upgrade 3.4.1 -> 3.4.2
License-Update: Added copyright for vendored turbo_tests.

(From OE-Core rev: 8537992eba7adf40c58b0cc35fd87f690fd045c2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:45 +00:00
Wang Mingyu
a9d1eab790 python3-psutil: upgrade 6.1.1 -> 7.0.0
Changelog:
==========
- net_if_addrs() also returns the broadcast address instead of None.
- Python 2.7 is no longer supported. Latest version supporting Python 2.7 is
  psutil 6.1.X. Install it with: pip2 install psutil==6.1.*.
- removed long deprecated Process.memory_info_ex() method. It was deprecated in
  psutil 4.0.0, released 8 years ago. Substitute is Process.memory_full_info().
- Avoid segfault (a cPython bug) on Process.memory_maps() for processes that use
  hundreds of GBs of memory.
- virtual_memory() now relies on host_statistics64 instead of host_statistics.
  This is the same approach used by vm_stat CLI tool, and should grant more accurate results.
- Python 2.7 is no longer supported.
- removed long deprecated Process.memory_info_ex() method.

(From OE-Core rev: 78a89c7cb3165ba7bf1c31292389ea05944a91a3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:45 +00:00
Wang Mingyu
02f9c77667 python3-poetry-core: upgrade 2.0.1 -> 2.1.1
Changelog:
==========
- Pass a local version label to the build backend interface
- Expose build-system dependencies via the poetry instance
- Add has_upper_bound method to VersionConstraint
- Improve performance of calculating intersections and unions of extra markers
- Improve performance of calculating intersections and unions of complex markers
- Improve performance of marker operations by simplifying python_version markers
- Improve performance by caching parsed requirements
- Improve error message when a referenced license file is missing
- Fix an issue where inclusive ordering with post releases was inconsistent with PEP 440
- Fix an issue where invalid URI tokens in PEP 508 requirement strings were silently discarded
- Fix an issue where wrong markers were calculated when removing parts covered by the project's python constraint
- Fix an issue where optional dependencies that are not part of an extra were included in the wheel metadata
- Fix an issue where the __pycache__ directory and *.pyc files were included in sdists and wheels
- Fix an issue where simplifying a python_version marker resulted in an invalid marker

(From OE-Core rev: 98cb445ff59d863e5962fb84ab3161193d7419ae)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:45 +00:00
Wang Mingyu
656e072f8a python3-pip: upgrade 25.0 -> 25.0.1
Changelog:
===========
- Fix an unsupported type annotation on Python 3.10 and earlier.
- Fix a regression where truststore would never be used while installing build dependencies.

(From OE-Core rev: b1760b2292331e473120cd94d0dfca0270b150c9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:45 +00:00
Wang Mingyu
90d2100417 python3-numpy: upgrade 2.2.2 -> 2.2.3
(From OE-Core rev: 7086cddf6d0f7afee3da6890ddc3c1fcc129f45d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:45 +00:00
Wang Mingyu
d9abc8dc8f python3-mako: upgrade 1.3.8 -> 1.3.9
License-Update: Copyright year updated to 2025.

Fixed test suite to not rely upon ancient "future division" statement to
test the Template.future_imports feature.

(From OE-Core rev: 3c35df03ffb394022af16e8551b18d0015b3d657)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:45 +00:00
Wang Mingyu
3ecaa6717f python3-hypothesis: upgrade 6.124.7 -> 6.125.3
Changelog:
============
- Improves sharing of some internal cache behavior.
- Optimize performance (improves speed by ~5%) and clarify the wording in
  an error message.
- Fixes a bug since around version 6.124.4 where we might have generated
  -0.0 for st.floats(min_value=0.0), which is unsound.
- Add 2024.12 to the list of recognized Array API versions in hypothesis.extra.array_api.
- Registration of experimental Alternative backends for Hypothesis is now done
  via hypothesis.internal.conjecture.providers.AVAILABLE_PROVIDERS instead of
  hypothesis.internal.conjecture.data.AVAILABLE_PROVIDERS.
- Refactor some internals for better type hinting.

(From OE-Core rev: d5400f3df7167d6b66a03e90fafff8a483e865ed)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:45 +00:00
Wang Mingyu
7239109f20 python3-dtschema: upgrade 2024.11 -> 2025.2
Changelog:
===========
- schemas: gpio: Add descriptions
- schemas: root-node: add 'spectacles' chassis-type
- schemas: gpio: Restrict HOG node name pattern to suffixes
- schemas: property-units: Add the picoamp type
- validator: Add warning for properties with incompatible multiple types
- schemas: Add access controller consumer
- github: Disable python 3.7
- meta-schemas: Allow additionalItems to be a schema
- on Dec 17, 2024
- dt-bindings: trigger: Add trigger source
- schemas: pci: bridge: Document PCIe equalization presets
- dtb: Fix type collision with "mode-gpios"

(From OE-Core rev: 4ffda90946be7b8deab3be62961bf2f4e2e4770e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:45 +00:00
Wang Mingyu
8abfb88736 python3-cython: upgrade 3.0.11 -> 3.0.12
Bugfix:
===========
* Release 3.0.11 introduced some incorrect "noexcept" warnings.
* Conditional assignments to variables using the walrus operator could crash.
* Dict assignments to struct members with reserved C names could generate invalid C code.
* Fused ctuples with the same entry types but different sizes could fail to compile.
* In Py3, 'pyximport' was not searching 'sys.path' when looking for importable source files.
* Using '& 0' on integers produced with 'int.from_bytes()' could read invalid memory on Python 3.10.
* Modules could fail to compile in PyPy 3.11 due to missing CPython specific header files.
  Patch by Matti Picus.
* Minor fix in C++ "partial_sum()" declaration.

(From OE-Core rev: 8ea41b6736f2a0d20816081dcb2363b626030385)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:45 +00:00
Wang Mingyu
f97595e533 python3-babel: upgrade 2.16.0 -> 2.17.0
License-Update: Copyright year updated to 2025.

(From OE-Core rev: 8d798c1df8f6194ae1d1640ec3156d14b3c9bb6e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:45 +00:00
Wang Mingyu
2c8238d554 libxkbcommon: upgrade 1.7.0 -> 1.8.0
(From OE-Core rev: ba4965e5e391b6727db0e75383689e55a3db8a13)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:44 +00:00
Wang Mingyu
b9544a7227 libx11: upgrade 1.8.10 -> 1.8.11
(From OE-Core rev: 608b14b0e8f988b432d4efe933ca03af902a360a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:44 +00:00
Wang Mingyu
829d6432e2 libwpe: upgrade 1.16.1 -> 1.16.2
Changelog:
- Fix ABI break accidentally introduced in the 1.16.2 release.

(From OE-Core rev: 747f719b7368129b1ba5502cd80773f0e37778b7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:44 +00:00
Wang Mingyu
9b2abb4a00 libuv: upgrade 1.49.2 -> 1.50.0
Changes since version 1.49.2:
==============================
* ci: run macOS and iOS tests also on macOS 14
* unix,win: map ENOEXEC errno
* test: skip multicast join test on ENOEXEC
* ci: make sure the macOS firewall is disabled
* darwin,test: squelch EBUSY error on multicast join
* build: update minimum cmake to 3.10
* kqueue: use EVFILT_USER for async if available
* unix,win: fix off-by-one in uv_wtf8_to_utf16()
* doc: add scala-native-loop to LINKS.md
* unix: fix build breakage on haiku, openbsd, etc
* kqueue: lower overhead in uv__io_check_fd
* doc: move cjihrig back to active maintainers
* build(deps): bump actions/checkout from 3 to 4
* unix,pipe: fix handling null buffer in uv_pipe_get{sock,peer}name
* unix,win: harmonize buffer checking
* unix,win: add support for detached threads
* src: add uv_thread_set/getname() methods
* build: fix qemu builds
* win: drop support for windows 8
* linux: fix uv_cpu_info() arm cpu model detection
* linux: always use io_uring for epoll batching
* doc: clarify repeating timer behavior more
* unix,win: handle nbufs=0 in uv_udp_try_send
* win: use GetQueuedCompletionStatusEx directly
* win: enable uv_thread_{get,set}name on MinGW
* win: drop support for the legacy MinGW
* win,fs: get (most) fstat when no permission
* win: plug uv_fs_event_start memory leak
* test: address FreeBSD kernel bug causing NULL path in fsevents
* unix: refactor udp sendmsg code
* unix,win: add uv_udp_try_send2
* build: enable fdsan in Android
* test: fix udp-multicast-join for FreeBSD
* win: fix leak processing fs event
* src: set a default thread name for workers
* misc: implement uv_getrusage_thread

(From OE-Core rev: 0a941918275ea089fa94d05129a2b88858aec8bd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:44 +00:00
Wang Mingyu
ff1f5baf38 libtest-warnings-perl: upgrade 0.037 -> 0.038
Changelog:
- no longer swap out done_testing method if :no_end_test is
  configured

(From OE-Core rev: da8507047e3611909b2b5577dae11691a77483c7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:44 +00:00
Wang Mingyu
6d2345d2e9 libportal: upgrade 0.9.0 -> 0.9.1
Changelog:
===========
- Meson 0.55.0 is required
- Fix memory management in the Input Capture portal code
- Correct the type used for GObject signal connections
- Remove wrong '(closure)' annotations, fixing GObject-Introspection warnings
- Don't require a C++ compiler for the build architecture
- Fix Meson warnings
- Consistently use '#pragma once'
- Initialize all g_autoptr variables

(From OE-Core rev: 4a0ee769cfdb5753cdd5e245d109f0158dd7a754)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:44 +00:00
Wang Mingyu
eb51b5b70b libffi: upgrade 3.4.6 -> 3.4.7
Changelog:
==========
- Add static trampoline support for Linux on s390x.
- Fix BTI support for ARM64.
- Support pointer authentication for ARM64.
- Fix ASAN compatibility.
- Fix x86-64 calls with 6 GP registers and some SSE registers.
- Miscellaneous fixes for ARC and Darwin ARM64.
- Fix OpenRISC or1k and Solaris 10 builds.
- Remove nios2 port.

(From OE-Core rev: e7ee958facbf602c8e7d27507a984f29811efd01)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:44 +00:00
Wang Mingyu
d232302923 hwdata: upgrade 0.391 -> 0.392
(From OE-Core rev: 96e350d6b7949cc768a0c9f8a0f2cb1abe8e05dc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:44 +00:00
Wang Mingyu
271d2c064e fmt: upgrade 11.1.1 -> 11.1.3
fix-gcc9.patch
removed since it's included in 11.1.3

Changelog:
=========
- Fixed compilation on GCC 9.4
- Worked around an internal compiler error when using C++20 modules with GCC
  14.2 and earlier
- Worked around a bug in GCC 6
- Fixed an issue caused by instantiating 'formatter<const T>'
- Fixed formatting into 'std::ostreambuf_iterator' when using format string
  compilation
- Restored a constraint on the map formatter so that it correctly reports as
  unformattable when the element is
- Reduced the size of format specs
- Readded 'args()' to 'fmt::format_context'
- Fixed a bogus MSVC warning
- Fixed a pedantic mode error in the CMake config
- Fixed ABI compatibility with earlier 11.x versions
- Added 'wchar_t' support to the 'std::bitset' formatter
- Prefixed CMake components with 'fmt-' to simplify usage of {fmt} via
  'add_subdirectory'
- Updated docs for meson
- Fixed a compilation error in chrono on nvcc
- Fixed various warnings

(From OE-Core rev: cfe2d61fa142ae146abdb44a3de028b9804ddc91)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:44 +00:00
Wang Mingyu
d3e69d01d9 erofs-utils: upgrade 1.8.4 -> 1.8.5
Changelog:
==========
- (mkfs.erofs) Support '-Efragdedupe=inode' for multithreading;
- (dump.erofs) Add '--cat' to show file contents (Juan Hernandez);
- (mkfs.erofs) Fix inefficient fragment deduplication;
- (fsck.erofs/erofsfuse) Introduce fragment cache;
- (fsck.erofs) Preserve S{U,G}ID bits properly on extraction;
- (mkfs.erofs, tarerofs) Align non-existent directories with their parents;
- Several minor bugfixes.

(From OE-Core rev: 73288647931cb498e15a1846a77fe02d2f1e75c5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:44 +00:00
Wang Mingyu
c1c6498042 ell: upgrade 0.71 -> 0.73
Changelog:
===========
- Add support for the Test Anything Protocol.
- Fix issue with parsing hwdb.bin child structures.

(From OE-Core rev: e03c3a2be28f67fe80e663a1eead9d43541fdf1c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:44 +00:00
Aleksandar Nikolic
2226616ef8 scripts/install-buildtools: Update to 5.1.2
Update to the 5.1.2 release of the 5.1 series for buildtools.

(From OE-Core rev: 6766bce806a7e4fd62f6666db731eefc1b98c5ff)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:44 +00:00
Simone Weiß
e96bc03c5a libadwaita: upgrade 1.6.2 -> 1.6.4
Add sassc-native as in libadwaita the handling wrt to pre build artifacts
changed and sassc is now needed.

Changelog
---------
- AdwBreakpoint
  - Fix to_string() with locales using comma as decimal separator
- AdwComboRow
  - Fix very short strings not being displayed
- AdwDialog
  - Fix ::closed emission with window-backed dialogs
  - Fix a focus-related crash
- AdwPreferencesDialog
  - Document navigation.pop action
- AdwTabBox, AdwTabGrid
  - Fix scrolling to newly appearing tabs
  - Fix a copy-paste error
- Translation updates
  - Italian

(From OE-Core rev: 4a0d16158844a5c4d429bf3547b75bcc799633f1)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:44 +00:00
Simone Weiß
350ff5bff3 sassc, libsass: add recipes
Those have been in meta-oe, but are needed for libadwaita upgrade.
Also updates libsass to newest version. I can take care of those
recipes for now.

(From OE-Core rev: 0a1d3607da7bb7c586c69cefadf8ade52c7b1987)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 22:53:44 +00:00
Lee Chee Yang
459b62daeb migration-guides: add release notes for 5.0.7
(From yocto-docs rev: 9f1f9f1a3a2a541ed70df72d4fe391b5b7fd3733)

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>
2025-02-18 15:47:37 +00:00
Antonin Godard
b26eee09dc Add favicon for the documentation html
Import the favicon from https://www.yoctoproject.org/, convert it to
16x16 (as per the Sphinx documentation) to make a 1291B image of the
Yocto logo.

(From yocto-docs rev: e3ee43e6d70685a2404aae2d60557a42879b0bb1)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 15:47:37 +00:00
Antonin Godard
a1395636bb contributor-guide/submit-changes: add policy on AI generated code
Based on message by Richard Purdie on the yocto-docs list:
https://lists.yoctoproject.org/g/docs/message/6300

Re-formatted for the Yocto Project documentation syntax.

(From yocto-docs rev: a72dd13e6841b621c9e8f904dfaa440c186d2959)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 15:47:37 +00:00
Quentin Schulz
7ea0561669 tools: add script for building documentation inside containers
This adds a script for building a container and building the
documentation within that new container image.

The openSUSE instructions now require a --non-interactive flag otherwise
they fail to run. Sadly there doesn't seem to be a way to have this in
an environment variable à-la DEBIAN_FRONTEND=noninteractive, so we
simply do a sed on the scripts to add --non-interactive to the zypper
commands to avoid having those in the instructions provided to our
users.

Somehow tzdata package in Ubuntu doesn't respect
DEBIAN_FRONTEND=noninteractive hence why the timezone needs to be set by
hand.

(From yocto-docs rev: cefced592f1302fcb65afa9e0b1f9f5ff1570e93)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Tested-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 15:47:37 +00:00
Quentin Schulz
9d7930a4e0 docs: use literalinclude for system requirements
The YAML variables for the host dependencies are updated by hand and
actually only used inside code blocks.

Let's migrate all instructions into separate shell scripts that are then
literalinclude'd into the Sphinx documentation.

This allows a few things:
- ability to run shellcheck on the scripts if we ever want to
- manually calling the appropriate script from a supported distro to
  build stuff (distro or bitbake/yocto stuff)
- use this script to create containers to do CI of documentation on
  different distros, to make sure our instructions are all up to date,

(From yocto-docs rev: 8d993022c2aefc0fde9baa949d39d7a3613f9f46)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Tested-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 15:47:37 +00:00
Hongxu Jia
09849475c8 gnupg: upgrade 2.5.3 -> 2.5.4
Noteworthy changes in version 2.5.4 (2025-02-12)
------------------------------------------------

* gpg: New option --disable-pqc-encryption.  [rG00c31f8b04]

* gpg: Fix --quick-add-key for Weierstrass ECC with usage given.[T7506]

* gpg: Fix handling with no CRC armor.  [T7071]

* gpg: New private Kyber keys are now cross-referenced using a new
Link attribute.  [T6638]

* gpg: Fix an import problem with keys having another primary key as
a subkey.  [T7527]

* gpgsm: Allow unattended PKCS#12 export without passphrase.
[rG159e801043]

* gpgsm: Allow CSR generation with an unprotected key.
[rG89055f24f4]

* agent: New option --change-std-env-name.  [T7522]

* agent: Fix ssh-agent's request_identities for skipped Brainpool
keys.  [rG2469dc5aae]

* Do not package zlib and bzip2 object files in a speedo release
build.  [T7442]

See-also: gnupg-announce/2025q1/000490.html
Release-info: https://dev.gnupg.org/T7480

https://dev.gnupg.org/source/gnupg/browse/master/NEWS

(From OE-Core rev: 59f26c7311ae3d5596f517b739e7c3435db070a3)

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>
2025-02-18 12:04:03 +00:00
Hongxu Jia
a4ba090f61 setuptools3-base.bbclass: override default subprocess timeout
The environment variable SETUPTOOLS_SCM_SUBPROCESS_TIMEOUT allows to override
the subprocess timeout. The default is 40 seconds and should work for most
needs.[1] However, it was not enough while using git shallow tarball and starting
multiple Yocto world builds in one host.

|   File "tmp/work/x86_64-linux/python3-scancode-native/32.1.0/recipe-sysroot-
native/usr/lib/python3.13/subprocess.py", line 1263, in _check_timeout
|     raise TimeoutExpired(
|     ...<2 lines>...
|             stderr=b''.join(stderr_seq) if stderr_seq else None)
| subprocess.TimeoutExpired: Command '['git', '--git-dir', 'tmp/work/x86_64-
linux/python3-scancode-native/32.1.0/git/.git', 'status', '--porcelain',
'--untracked-files=no']' timed out after 40 seconds

Explicitly set variable SETUPTOOLS_SCM_SUBPROCESS_TIMEOUT to 600s in bbclass,
and we could override it in local.conf

[1] https://github.com/pypa/setuptools-scm/blob/main/docs/overrides.md

(From OE-Core rev: a3a2edbf7139b7f8c665c2b0b13e094a334e4441)

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>
2025-02-18 12:04:03 +00:00
Niko Mauno
5eaba2308f cve-check.bbclass: Mitigate symlink related error
According to Yocto reference manual, in description of the
IMAGE_LINK_NAME variable, it is said that

  It is possible to set this to "" to disable symlink creation,
  however, you also need to set :term:`IMAGE_NAME` to still have
  a reasonable value e.g.::

    IMAGE_LINK_NAME = ""
    IMAGE_NAME = "${IMAGE_BASENAME}${IMAGE_MACHINE_SUFFIX}${IMAGE_VERSION_SUFFIX}"

However, when using following additions in local.conf file:

  INHERIT += "cve-check"
  IMAGE_LINK_NAME = ""
  IMAGE_NAME = "${IMAGE_BASENAME}${IMAGE_MACHINE_SUFFIX}${IMAGE_VERSION_SUFFIX}"

the implicit symlink creation in cve_check_write_rootfs_manifest leads
to following build failure

  $ bitbake core-image-minimal core-image-base
  ...
  ERROR: core-image-base-1.0-r0 do_image_complete: Recipe core-image-base is trying to install files into a shared area when those files already exist. The files and the manifests listing them are:
    /home/poky/build/tmp/deploy/images/qemux86-64/.json
      (matched in manifest-qemux86_64-core-image-minimal.image_complete)
  Please adjust the recipes so only one recipe provides a given file.

Mitigate the issue by creating the symlink only in case IMAGE_LINK_NAME
has not been set to empty string.

(From OE-Core rev: 64bfec359bd909761ce0a6a716286d938ed162d1)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 12:04:03 +00:00
Chen Qi
a75a919592 systemd/systemd-boot: upgrade from 257.1 to 257.3
0001-ukify-measure-Revert-changes-to-use-SizeOfImage-from.patch is
dropped as it is in the new version.

(From OE-Core rev: 5c72734dc99d1287e805530d925a37c9aa70ba9d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 12:04:03 +00:00
Yi Zhao
4bd8f78b4c psplash: update to latest rev
* 5a32cf6 psplash.c: fix crash from length becoming negative

(From OE-Core rev: 1845f785359a689add866881286fdac38753e5bb)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Khem Raj
a3f0e2e31e musl: Upgrade to latest tip of trunk
* c47ad25e iconv: harden UTF-8 output code path against input decoder bugs
* 4c4f15da hasmntopt: match only whole options not arbitrary substrings
* e5adcd97 iconv: fix erroneous input validation in EUC-KR decoder
* 5e594aea iconv: fix erroneous decoding of some invalid ShiftJIS sequences
* 6af4f25b s390x: manually inline __tls_get_addr in __tls_get_offset
* 5ccf05d8 ldso: don't reclaim zero-memory-sized segments
* 1a985764 sched.h: reduce namespace conflicts in _GNU_SOURCE profile
* d36e5bf8 mq: add x32-specific implementations to work around mismatched kernel ABI
* 561cd07d SIGEV_THREAD timers: re-block signals when reusing kernel thread
* 47fa6e4f SIGEV_THREAD timers: fix fatal signal if internal SIGTIMER becomes unblocked

(From OE-Core rev: bfcc61f7b0ec42fafdcc7441bd50c8a75f456693)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Khem Raj
59e69a74d2 libxcrypt-compat,libxcrypt: upgrade 4.4.37 -> 4.4.38
Drop patch which is already applied upstream [1] since 4.4.20

[1] fed81d1a98

(From OE-Core rev: 7b802e4e55b37e985cc7151a8a8561b206563509)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Khem Raj
3dcde9dcac python3-lxml: upgrade 5.3.0 -> 5.3.1
(From OE-Core rev: 4572eee91b73e0a0b50c8537a4ea6ebad1476b66)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Chen Qi
06614551ac util-linux/util-linux-libuuid: upgrade from 2.40.2 to 2.40.4
The following patch dropped because it is in the new version:
- 0001-autotools-fix-securedir-and-pam_lastlog2-install.patch

libfdisk-cfdisk-and-sfdisk-sector-size-improvements.patch is replaced
by two new patches:
- 0001-cfdisk-add-sector-size-commanand-line-option.patch
- 0002-sfdisk-add-sector-size-commanand-line-option.patch

This is because the original patch is a squash of four patches and
two of them are in the new version. So extract the remaining two
that are not in the current version and make them separate patches
for better tracking.

(From OE-Core rev: e87b9bccc52bfba0c48db4920c0996d7dd6a0866)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Yi Zhao
f8f333fb0e libsdl2: upgrade 2.30.11 -> 2.30.12
This is a stable bugfix release, with the following changes:
  Improved XInput controller detection on Windows
  Added support for the 8BitDo Ultimate 2C Wireless in Bluetooth mode
  Fixed Steam Deck controller not being visible to games running on
  Proton 9 and older
  Fixed a crash when hot-plugging keyboards and mice on Linux
  Fixed a crash when disconnecting a Bluetooth audio device on macOS
  Fixed building with Xcode using older Apple SDKs
  Fixed a crash when disconnecting an external display on iOS
  Fixed detection of function keys on Emscripten

(From OE-Core rev: 01a8dba6281ad1f026ab6d42a5d509207789b04f)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Yogita Urade
4dbdf179ba webkitgtk: upgrade 2.46.5 -> 2.46.6
Includes fix for CVE-2025-24143, CVE-2025-24150, CVE-2025-24158 and
CVE-2025-24162

Drop 0001-Support-ICU-76.1-build.patch fix is part of upgrade.

Changelog:
==========
- Fix a crash when enabling Skia CPU rendering.
- Fix several crashes and rendering issues.

(From OE-Core rev: 289e09c1a090d06146406886d4763dd22203c231)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Chen Qi
76e071a79b glibc: fix header file conflict in case of multilib
When enabling multilib for qemuarm64, populate_sdk would fail with
the following error:

  Error: Transaction test error: file /usr/include/bits/indirect-return.h
  conflicts between installs of lib32-libc6-dev-2.41 and libc6-dev-2.41+

The problem could be reproduced by adding the following lines in
local.conf and then run 'bitbake core-image-minimal -c populate_sdk':

  MACHINE ?= "qemuarm64"
  require conf/multilib.conf
  MULTILIBS ?= "multilib:lib32"
  DEFAULTTUNE:virtclass-multilib-lib32 ?= "armv7athf-neon"

Use oe_multilib_header to handle bits/indrect-return.h to fix this
issue.

(From OE-Core rev: e13d464db8db4e0fdec6c076aecff5284a27c510)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Mikko Rapeli
af38235305 psplash: start via udev if framebuffer device detected
psplash-start.service expected to find /dev/fb0 and failed
if device was not found. This failure breaks systemd
oeqa runtime test with "runqemu nographic". Starting
psplash based on detected framebuffer device fixes systemd
boot status and systemd oeqa runtime tests for qemu
boots with and without graphics support.

Note that psplash-systemd.service still depends on /dev/fb0
so startup with multiple framebuffer devices may not work
correctly. I don't have devices with multiple framebuffer
devices to test with.

On qemu machine with graphics, psplash displays yocto
logo correctly and boot progress bar as well. Once boot completes
to systemd "running" state, the logo is replaced by login prompt.
On qemu machine without graphics, boot completes without psplash
or failures and login over serial console works normally.
Tested with genericarm64 machine poky-altcfg distro and core-image-base
image on qemu. AMD kv260 tested as well but graphics stack is not yet
working there so boot is similar to qemu without graphics.

(From OE-Core rev: 3820f6f342c2309ba7d51d3c08b3a951c2c17781)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Zoltán Böszörményi
6dd4120d62 oeqa/selftest/cases/signing.py: Re-enable self-test
With all the pieces in place, the self test can be re-enabled.

(From OE-Core rev: 46e8b94582ea9734117d20cd62c39fb4450c00c4)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Zoltán Böszörményi
0c3da27d33 dnf: Set SEQUOIA_CRYPTO_POLICY in wrapped tools
Point to the crypto policy file	so dnf can work with signed packages.

(From OE-Core rev: 7067d469742f0be4dd2b9ea3953fb039a4410085)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Zoltán Böszörményi
51d5e12aa0 rpm: Set SEQUOIA_CRYPTO_POLICY in wrapped tools
Point to the crypto policy file so RPM signing may work.

(From OE-Core rev: 23083b72e3e6587dca9ca5a16762676e981b4a3b)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Zoltán Böszörményi
7c3c6f844d rpm-sequoia: New recipe for version 1.7.0
rpm 4.20 removed the built-in code to handle signed packages
and uses rpm-sequoia as a more feature complete library.

Runtime-depend on rpm-sequoia-crypto-policy.

(From OE-Core rev: d8b01b436d37f4deb2de5d234e8f04c957719ca3)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Zoltán Böszörményi
304df6b4c8 rpm-sequoia-crypto-policy: New recipe
This ships a crypto policy file for rpm-sequoia.

(From OE-Core rev: 8e499cefab6bfb40b40ae3eb811ca3eb51a7d4bc)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Vivek Puar
fc4bbbbd51 linux-firmware: upgrade 20250109 -> 20250211
Add DSP firmware for Qualcomm SA8775P / QCS9100
platforms to ${PN}-qcom-sa8775p-{audio, compute, generalpurpose}
packages, and updating it with correct license information.

Add QCA6698AQ package ${PN}-ath11k-qca6698aq
to ath11k firmware.

Add bluetooth WCN3950 package ${PN}-qca-wcn3950,
bluetooth QCA6698 package ${PN}-qca-qca6698
to qca firmware.

Add two more WCN3950 1.3 NVM files to
${PN}-qca-wcn3950 package.

Add device specific ath11k firmware to QCM6490
boards in ${PN}-qcom-qcm6490-wifi package.

Add Firmware files for Lenovo T14s G6 Qualcomm platform
to ${PN}-qcom-x1e80100-lenovo-t14s-g6-{adreno, audio, compute}
packages.

License-Update: additional files

(From OE-Core rev: 6148a282509106879388138fe682721d07968452)

Signed-off-by: Vivek Puar <quic_vpuar@quicinc.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Chen Qi
b94e1da2e6 coreutils: upgrade from 9.5 to 9.6
Upgrade coreutils from 9.5 to 9.6.

License-Update: Update copyright year (2024 -> 2025).

Fix do_install_ptest for new version to avoid buildpath QA issue.

(From OE-Core rev: b3de417033fda92956db093cf17a0b5134bd2f88)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Chen Qi
225b8e9a09 diffutils: upgrade from 3.10 to 3.11
Upgrade diffutils from 3.10 to 3.11.

(From OE-Core rev: deb6b9a2ef250143d181c0a603606d3368de464f)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Chen Qi
6fa6995c1e shadow: upgrade from 4.17.1 to 4.17.2
Upgrade shadow from 4.17.1 to 4.17.2.

0001-lib-attr.h-use-C23-attributes-only-with-gcc-10.patch is dropped
because it has been merged.

(From OE-Core rev: 6170d60175237dd4a0471d6f88cee2db4a37b7c4)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Chen Qi
6b3c2666e6 sysstat: upgrade from 12.7.6 to 12.7.7
Upgrade sysstat from 12.7.6 to 12.7.7.

(From OE-Core rev: a925302d95e8c8fbd9141db7d9e5e4dcbd26c78b)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Marta Rybczynska
52dc3286df cve-check: allow feed choice
Allow choice of one of three feeds and update task dependencies
accordingly. All feeds contain data from NVD and are stored in
different files.

Set the NVD_DB_VERSION variable to choose feed:
NVD2 (default) - the NVD feed with API version 2
NVD1 - the NVD JSON feed (deprecated)
FKIE - the FKIE-CAD feed reconstruction

In case of malformed database feed name, we default to NVD2 and show
an error.

(From OE-Core rev: f265812bfb6797aee10e7be42865736c9ff3478f)

Signed-off-by: Marta Rybczynska <marta.rybczynska@ygreky.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Marta Rybczynska
0486af6e3c cve-update-db-native: add the fkie source
Add support for FKIE-CAD reconstruction of NVD feed from
https://github.com/fkie-cad/nvd-json-data-feeds

We download this feed directly from github releases.

(From OE-Core rev: f6253ac8189db09fbe87141aca1733cb37a4d78f)

Signed-off-by: Marta Rybczynska <marta.rybczynska@ygreky.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Marta Rybczynska
7a3904c6a7 cve-update-db-native: update structure
Update the database structure and tasks to fit the current YP master.
This means:
- add the unpack task
- update the database structure (CVSS, vector string)
- use the temporary database in the same directory as the download

However, the old feed does not include CVSS4

(From OE-Core rev: dd249921a5d6b8e472242b57415de3f210dc81f1)

Signed-off-by: Marta Rybczynska <marta.rybczynska@ygreky.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Marta Rybczynska
ae7097e4c1 cve-update-db-native: restore
Restore cve-update-db from kirkstone

Use cve-update-db-native.bb from OE 8c10f4a4dc12f65212576e6e568fa4369014aaa0

(From OE-Core rev: c84e19edc15b622bfe4d7e268ca5cb18312f09d6)

Signed-off-by: Marta Rybczynska <marta.rybczynska@ygreky.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Daniel McGregor
7d5f754f5e nfs-utils: Start nfsv4 utilities with sysvinit
Rewrite the nfs sysvinit scripts to start the services required
by nfsv4: gssd, idmapd, and statd.

(From OE-Core rev: 2cca2dfb6acc25f1a6a25dc60423708a78cef85d)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Daniel McGregor
a7ec517298 nfs-utils: Configure nfsv4 ID mapping & Kerberos
Add support for the nfsv4 user ID mapping daemon, configured with
a sensible default, and add a packageconfig for Kerberos support.

This is reasonably tested in production in our environment, but only
systemd support. There'll be some more work to do to get GSSAPI and
NFS idmapd support integreated into that.

(From OE-Core rev: a7ea135108e445197a58b19601d77eb9d287af69)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:04 +00:00
Daniel McGregor
cabf796709 nfs-utils: Use upstream systemd service files
Reduce diffs against upstream by using the service files provided
by them. This reduces our dependence on patches that simply change
the names of a service.
This also changes the way some nfs options get set for systemd, it
introduces the nfs.conf file for configuration, which all daemons
already support.

(From OE-Core rev: eeab3fa1423d499f9b39fda7a7514e619a3ac010)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:03 +00:00
Daniel McGregor
5d9a26dfb6 nfs-utils: clean up startup
Change the sysvinit script to start at the S runlevel, this matches
Debian, and prevents systemd from generating a unit file for it.
Also have the nfsd systemd service request the nfsd kernel filesystem
mountpoint. This avoids startup failures in unpriviled containers
or other setups that don't support the filesystem.

(From OE-Core rev: 6110687d199bf390380fe84c330858e3b03f681d)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:03 +00:00
Divya Chellam
3830f872df vim: Upgrade 9.1.0764 -> 9.1.1043
This includes CVE-fix for CVE-2025-22134 and CVE-2025-24014

Changes between 9.1.0764 -> 9.1.1043
====================================
https://github.com/vim/vim/compare/v9.1.0764...v9.1.1043

(From OE-Core rev: ed871f8e4a4d4be7d88f52e3a9100476a1d2f026)

Signed-off-by: Divya Chellam <divya.chellam@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:03 +00:00
Peter Marko
36c3bfa64b openssl: upgrade 3.4.0 -> 3.4.1
Release information:
https://github.com/openssl/openssl/blob/openssl-3.4/NEWS.md#major-changes-between-openssl-340-and-openssl-341-11-feb-2025

Handles CVE-2024-12797 and CVE-2024-13176.

Remove two patches included in the new version.

(From OE-Core rev: d7ac886d91ccf6b91f67fb0c843fc1765d9dafb1)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:03 +00:00
Joshua Watt
36be59464c scripts/contrib: Add oe-image-files-spdx script
Adds a template for a python project that processes the SPDX 3.0.1
output from a build and lists all the files on the root file system with
their checksums

This is intended to be an example to show how to deal with the SPDX data
to do common tasks.

(From OE-Core rev: 3d9c5588ce6181b519810e3378b55826ffcaee49)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:03 +00:00
Ross Burton
837d41f078 python3-license-expression: fix ptest installation
This recipe was overriding do_install_ptest which is provided by the
ptest-python-pytest class, so there was no tests or run-ptest installed.

Use an append override, and minimise the installed files: use a symlink
so that scancode-licensedb-index.json is found and install setup.cfg.

(From OE-Core rev: 164876d33af9edaac37a686726727d3bc3d10aa9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:03 +00:00
Peter Marko
7b9c7d80c0 curl: upgrade 8.12.0 -> 8.12.1
Rebase patch which needs it.

(From OE-Core rev: 375167de2f46338d77ca9b79325819ea4068751c)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:03 +00:00
Joshua Watt
54e4a89a75 spdx30: Improve os.walk() handling
There have been errors seen when assembling root file system SPDX
documents where they will references files that don't exist in the
package SPDX.

The speculation is that this is caused by os.walk() ignoring errors when
walking, causing files to be omitted. Improve the code by adding an
error handler to os.walk() to report errors when they occur.

In addition, sort the files and directories while walking to ensure
consistent ordering of the file SPDX IDs.

(From OE-Core rev: 86b581e80637cd8136ce7a7e95db94d9553d2f60)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:03 +00:00
Etienne Cordonnier
d55cd3fc39 python3-setuptools-scm: respect GIT_CEILING_DIRECTORIES
Fixes https://bugzilla.yoctoproject.org/show_bug.cgi?id=15740

python3-setuptools-scm was ignoring GIT_CEILING_DIRECTORIES which is set by poky,
and it was thus finding a wrong value of "toplevel" in ./src/setuptools_scm/_file_finders/git.py
The code is supposed to generate the list of files contained in python3-setuptools-scm, but it was
instead running "git archive" on whatever git repository was above the build directory, because the
tarball containing the sources of python3-setuptools-scm does not contain a .git directory.

This is barely noticeable when building as a subdirectory of poky which is only 48MB, but this was
causing serious slowdowns of python3-setuptools-scm:do_compile when building
inside a big git repository with files tracked using git-lfs (50 minutes in my use-case).

Reported upstream as https://github.com/pypa/setuptools-scm/issues/1103

(From OE-Core rev: 4ebe72477484cf68165b6f736ce10373e97d0e6d)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:03 +00:00
Ross Burton
959db9cb12 linux-yocto: revert omap8250 power management changes on genericarm64
The genericarm64 machine sets SERIAL_CONSOLES to a number of potential
devices:

SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0 115200;ttyS0 115200;ttyS1 115200;ttyS2"

With sysvinit this turns into getty lines in inittab, and with systemd
the systemd-serialgetty recipe creates explicit units to spawn gettys.

This worked fine with 6.6, but since "serial: 8250_omap: Drop
pm_runtime_irq_safe()"[1] in 6.7 onwards we see kernel hangs:

BUG: scheduling while atomic: getty/957/0x00000002
Call trace:
 dump_stack+0x1c/0x30
 __schedule_bug+0x60/0x90
 __schedule+0x83c/0xcf8
 schedule+0x40/0x158
 schedule_timeout+0xb0/0x1b0
 wait_for_completion_timeout+0x84/0x188
 ti_sci_set_device_state+0x134/0x220
 ti_sci_cmd_get_device_exclusive+0x24/0x40
 ti_sci_pd_power_on+0x34/0x68 [ti_sci_pm_domains]
 _genpd_power_on+0xa4/0x178
 genpd_power_on+0xb4/0x190
 genpd_runtime_resume+0xc8/0x260
 __rpm_callback+0x54/0x200
 rpm_callback+0x78/0x90
 rpm_resume+0x420/0x690
 __pm_runtime_resume+0x5c/0xb0
 omap8250_set_mctrl+0x38/0xe0 [8250_omap]
 serial8250_set_mctrl+0x2c/0x60
 uart_update_mctrl+0x98/0x120
 uart_shutdown+0x124/0x180
 uart_hangup+0x7c/0x180
 __tty_hangup.part.0+0x408/0x440
 tty_vhangup_session+0x24/0x40
 disassociate_ctty.part.0+0x48/0x1b0
 disassociate_ctty+0x30/0x48
(full backtrace elided)

With many thanks to TI, my understanding is that it was determined that
the problem here is that we have a getty connected to ttyS1 which is
actually the expansion port uart and on the BeaglePlay wired up to the
wifi controller's debug port. The getty receives noise it doesn't know
what to do with, and at some point the power management code does a
suspend/result cycle of the device.  The serial drivers assume that
child nodes use the serdev driver and they manage runtime_pm, but the
getty opening the tty breaks a series of bad assumptions in the drivers.

So, there are two bugs:
1) The kernel shouldn't crash if this tty is opened
2) The only serial port for a console on the BeaglePlay is ttyS2,
   despite others existing.

TI are looking at (1) and other patches to follow will deal with (2).
Until one of these is resolved entirely, reverting this change to power
management stops the crashes.

[ YOCTO #15704 ]
[1] linux 8700a7ea5519fb0b3bad2362adfeac358c2119ce

(From meta-yocto rev: 49519579f8b6bacf181d2f00bdd256e71d0880c4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:08:36 +00:00
Louis Rannou
2ae32dae58 bitbake: bitbake: tests/data: add tests for variable flags
Check default flags are correctly returned by getVarFlags and check all flags
are returned when internalflags is True.

Check delVarFlags also removes default value.

Check all flags are removed after delVar.

Run the test with:
    $ bitbake-selftest -v bb.tests.data.TestFlags
    test_delflag (bb.tests.data.TestFlags.test_delflag) ... ok
    test_delvar (bb.tests.data.TestFlags.test_delvar) ... ok
    test_setflag (bb.tests.data.TestFlags.test_setflag) ... ok

    ----------------------------------------------------------------------
    Ran 3 tests in 0.000s

    OK

This is a test case for [YOCTO #15685]

(Bitbake rev: ff8cae735cf489373af1aac7ee233d7b82d483d3)

Signed-off-by: Louis Rannou <louis.rannou@non.se.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-13 22:24:27 +00:00
Louis Rannou
0a9cfebb3a bitbake: bitbake: data_smart: fix ??= operator for variable flags
Variable flags have been fixed in commit
0329a7e3ac694737f2d2c1861f65492551360663 which introduces the
"_defaultval_flag_" prefix for default values.

This must not be ignored in delVarFlags and getVarFlags.

Fixes [YOCTO #15685]

(Bitbake rev: 2ee079fc1b7cf6d384ca17bd034b0a40461d9d18)

Signed-off-by: Louis Rannou <louis.rannou@non.se.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-13 22:24:27 +00:00
Stefan Herbrechtsmeier
c49684b48b bitbake: fetch2: clearcase: remove double DL_DIR from localfile
(Bitbake rev: bcf090ed631bbd523a5341baebba0765f1a847f8)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 21:18:39 +00:00
Stefan Herbrechtsmeier
f62042523a bitbake: fetch2: ssh: use common localpath handling
(Bitbake rev: 22ac6e84c70034a74f1729c7e0f31ca928fa1dea)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 21:18:39 +00:00
Stefan Herbrechtsmeier
170dd77e4a bitbake: fetch2: remove unnecessary unquote
The URI path is already unquoted. Remove the unnecessary unquote
function calls for URI path values.

(Bitbake rev: 3de12bbc28b5a4189b849720735cf3e268d3941d)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 21:18:39 +00:00
Stefan Herbrechtsmeier
f17c51c695 bitbake: fetch2: local: use path variable
Use the path variable from the fetch data instead of decoding the path
manually from the plain unexpanded url.

(Bitbake rev: ad3a29fa6ea53741d4e1786de35f8e7fc4292e7a)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 21:18:39 +00:00
Stefan Herbrechtsmeier
3e543e8eaa bitbake: fetch2: remove unnecessary expand function calls
The fetch data class already expands the type, host, path, user, pswd
and parm variables. The fetcher classes already expand the localfile
variable. The getVar function expands the returned string per default.
Remove unnecessary expand function calls to simplify the code.

(Bitbake rev: 1b1eb037b861fbf20491ac17e519e9eaf232b858)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 21:18:39 +00:00
Stefan Herbrechtsmeier
2935d76bb4 bitbake: fetch2: remove duplicated code in url decode and encode
Use the URI class to decode and encode an URL. Remove duplicate code and
unify the behavior.

(Bitbake rev: a5d569c94700f04b8193c6bccae5af619931b00f)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 21:18:39 +00:00
Stefan Herbrechtsmeier
851b24cf81 bitbake: tests: fetch: quote URI password as per RFC3986
The password must be quoted as per RFC3986 because it can contain
reserved characters.

(Bitbake rev: 5c53dbf0ad4385e1de7f2eef66565a1f05dae67a)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 21:18:39 +00:00
Stefan Herbrechtsmeier
34bb313e90 bitbake: tests: fetch: use lower case hostnames
Do not use upper case hostnames because the hostname is case insensitive
and maybe decoded into lower case to follow the common style.

(Bitbake rev: 554b7048412c4c67bf895a8b98822b54ac3a66db)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 21:18:39 +00:00
Stefan Herbrechtsmeier
e69304675d bitbake: tests: fetch: add test for file URI with @
(Bitbake rev: f169704ef48f04da33aaca8b1ad5d8d7eabf8fd6)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 21:18:39 +00:00
Stefan Herbrechtsmeier
2b71696f35 bitbake: fetch2: do not decode user from file URI
A file URI can't contain a user. Do not treat the @ as reserved
character for a file URI.

(Bitbake rev: 11cf4062f48536547a352e24d6e963d91fdd1190)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 21:18:39 +00:00
Bruce Ashfield
33cfb14214 yocto-bsp: drop linux-yocto 6.6 bbappend
6.6 has been dropped from OE core master in preparation for the
LTS release, so we drop our reference BSP bbappend as well.

(From meta-yocto rev: e40fb898889254c461b4049d5e457b2270c659c9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:20 +00:00
Bruce Ashfield
bf6fae9619 poky-alt: switch preferred kernel to 6.12
6.6 is being removed from the upcoming LTS release, so we
adjust the alt config to use the 6.12 reference.

(From meta-yocto rev: 9502859f2d0c36d23cc23d3a91f1513eb748f0d3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:20 +00:00
Mikko Rapeli
eced0341cc genericarm64.conf: allow overriding u-boot and qemuboot variables
Assignment in machine config can not be overwritten in local.conf
because former is evaluated later than latter. Use ?= conditional
assignment for u-boot and qemuboot variables so that they can be
overwritten in local.conf if a different test setup is wanted
for kernel, initrd and rootfs built for genericarm64 machine
config.

(From meta-yocto rev: fbb2b2a2dcfd4dd990071d4d73b149d4099a36ab)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Richard Purdie
b9dbb45aa6 package_ipk: Use preferred form of --force-postinstall
opkg accepts both - and _ in its options but use the help text
preferred format. From https://github.com/yoctoproject/poky/pull/14
from Philipp-Alexander Blum <blum@gessler.de>.

(From OE-Core rev: 4bea64347407dfb1eb46dacffd05af3bd200b419)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Alexander Kanavin
0b07f6d0de libxkbcommon: convert to git
Upstream no longer publishes tarballs. 1.8.0 release is git only.

(From OE-Core rev: e378a1f9ced2a5674e4d60d1876410fc68350344)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Vyacheslav Yurkov
c30f3ec853 meson.bbclass: Add an option to specify install tags
The feature is available since meson 0.60.0. You can specify
comma-separated list of install tags (not targets).

(From OE-Core rev: a61ec67cb6f240c7593c9dd1b9a1ef5fff87c855)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Wang Mingyu
c0329693b1 ncurses: Fix install conflict when enable multilib.
The setting of want_xterm_kbs is as following:
case $host_os in
(*linux-gnu|*cygwin|*mingw32|*msys)
    want_xterm_kbs=DEL
    ;;
(*)
    want_xterm_kbs=BS
    ;;
esac

The host_os when enable multilib is as folloing:
host_os of aarch64 : linux-gnu
host_os of aarch32 : linux-gnueabi

So in lib64 package, want_xterm_kbs=DEL, and in lib32 package, want_xterm_kbs=BS.
It results the differences in the terminfo files between lib32 and lib64 packages.

Using --with-xterm-kbs=del to unify the packages of lib32 and lib64 into "want_xterm_kbs=DEL".

(From OE-Core rev: 3868ae96ff32e8335e539ce62f51b7a223547c48)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
MAIL: wangmy@fujitsu.com
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Weisser, Pascal.ext
eb1537f04b kernel-fitImage: Remove dependeny on initramfs image when bundled.
In case the initramfs image is bundled into the kernel there's no need to
specify a dependeny on the do_image_complete task of the initramfs image
from the do_assemble_fitimage_initramfs task since the task won't access
the image.

(From OE-Core rev: af6cde746f72be761550ee28b017719fba26ea65)

Signed-off-by: Weisser, Pascal <pascal.weisser.ext@karlstorz.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Weisser, Pascal.ext
2fb5d93afb kernel-fitImage: Take possible multiconfig into account.
When specifying the dependencies of do_assemble_fitimage_initramfs the
initramfs image might be built with another multiconfig. This needs to be
taken into account.

The path of the initramfs image also needs to be adapted to handle the
case when it's built with another multiconfig.

(From OE-Core rev: 891d58e9dc00e52f17ddecd4f12fc81c8a3c1bce)

Signed-off-by: Weisser, Pascal <pascal.weisser.ext@karlstorz.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Hongxu Jia
4ed99ca9b4 toolchain-shar-relocate.sh: support multiple dynamic loaders for multilib
While nativesdk support multilib, there are two dynamic loaders,

    $OECORE_NATIVE_SYSROOT/lib64/ld-linux-x86-64.so.2
    $OECORE_NATIVE_SYSROOT/lib/ld-linux.so.2

Search them with wildcard and call relocate_sdk.py separately

[ YOCTO #15722 ]

(From OE-Core rev: 703187755244b1a45dd9f90aeaf620d4c92a6757)

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>
2025-02-11 11:44:19 +00:00
Hongxu Jia
5c8705b483 script/relocate_sdk.py: check dynamic loader arch before relocating interpreter
While multiple dynamic loader existed, in order to make executable file is
interpreted by the expected dynamic loader, relocating interpreter only if
the new dynamic loader and executable file have the same arch

[ YOCTO #15722 ]

(From OE-Core rev: 0c1f2bf3d8e31e66d28aaa81a7c1658f160bb79e)

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>
2025-02-11 11:44:19 +00:00
Richard Purdie
261a1409b1 oeqa/runtime: Add debugging if networking fails
If networking fails, we can get useful informaiton over the serial connection. Add
this fallback code so that any issues can be more easily debugged by showing the
host and target networking states.

(From OE-Core rev: 3291f9d07ecfe7d3301dc914f5e6a80577cf1d5d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Richard Purdie
a24b178666 oe-build-perf-report: Use commit_time if available
Currently, the perf report charts use start_time which is when the build
is run. If running builds for commits in the past, this is inaccurate so
switch to using the recently added commit_time if the field is present.
Over time, the reports will switch to using the more accurate values.

(From OE-Core rev: 8c22efd444b0b1486c43f01b41cba891a47c7520)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Richard Purdie
723bb4240a libsecret: Inherit bash-completion
Use the class available for bash compleition to simplify the recipe.

(From OE-Core rev: d29577ef719d76d445c88255c4a6dfe61456c3c2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Simone Weiß
59dd1cdba6 libsecret: upgrade 0.21.4 -> 0.21.6
Upgrade per AUH failed as with 0.21.6 libsecret now also comes with
bash-completions. Put those to an additional package, as systems might
come without bash, so not everyone might want them.

Changelog
---------
0.21.6
 * meson: Make dbus-run-session optional [!157]
 * meson: Actually include bash-completion subdir [!158]

0.21.5
 * session: Tolerate non-approved DH parameter usage in FIPS mode [!145]
 * Add some missing GIR annotations [!140]
 * meson: Create default test setup with D-Bus [!115]
 * meson: Use env.prepend() for test environment setup [!141]
 * meson: Fix license field [!139]
 * build: Remove self-inclusion from secret-item.h [!149]
 * build: Fix compiler warnings in Vala tests [!153]
 * tests: Fix "\|" used in test-secret-tool.sh not portable [!150]
 * Fix typo in D-Bus XML [!152]
 * docs: Fix minor gi-docgen reference [!142]
 * docs: Fix Python example [!144]
 * docs: Mention file backend [!146]
 * docs: Fix link in README [!147]
 * Several CI-related updates
 * Updated translations

(From OE-Core rev: 1be1cf128ba04ea1399c43a369e909a2a5a16bc4)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Adrian Freihofer
4558f1b722 oe-selftest: fitimage add u-boot env script
Extend all kernel-fitimage tests to add a boot.cmd script to the
fitImage and verify the script ends up in the fitImage.

The test covers the use case which is documented here:
https://docs.u-boot.org/en/latest/usage/cmd/source.html#fit-image.
But instead of adding the sctip inline a script file is generated.

(From OE-Core rev: 816f25359935f54881b557d55c29a390dd991609)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Adrian Freihofer
d29786839f oe-selftest: fitimage split run_dumpimage function
Provide a re-usable function which calls the dumpimage utiliy.
This is a refactoring.

(From OE-Core rev: f69f54d72d89fb381ea1945ea52f4c9963552e9f)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Adrian Freihofer
9ea3f0e4cd kernel-fitimage.bbclass: do not use the UBOOT_ENV variable
The kernel-fitimage.bbclass evaluates the UBOOT_ENV variable from the
u-boot recipe. Based on this variable an u-boot script might be added to
the fitImage. However, the UBOOT_ENV variable is also used to install
the script as an old u-boot image, usually named boot.scr into the /boot
directory of the target device. This dual usage of one variable leads to
several strange side effects. Some examples:
- If UBOOT_ENV_SUFFIX is set to the default value scr, the boot.cmd
  script gets added as a legacy uImage to the fitImage. That does not
  look useful.
- If the UBOOT_ENV_SUFFIX is set to e.g. txt the script is not converted
  into a legacy uImage and a usable plain text script gets added to the
  fitImage. But the same script ends up redundant in /boot.
  Another strange detail is that the UBOOT_ENV_BINARY gets set to e.g.
  boot.txt for this configuration.
- Appending the script to the u-boot recipe and then hand it over to the
  kernel recipe via the staged /boot directory looks like over
  complicated. Such kind of over complications and u-boot kernel
  inter-dependencies lead to an almost unmaintainable
  kernel-fitimage.bbclass.
- A single variable does not allow you to add a text file to the fitImage
  and at the same time place boot.scr file in the /boot directory of the
  target device.
- It is not documented or obvious how the UBOOT_ENV variable should be
  used together with the kernel-fitimage.bbclass.

The commit which introduced this feature (among other features...) is:
https://git.yoctoproject.org/poky/commit/?id=8a2f4e143b52109fbd0ee8d792e327d460b8c1e6
This commit is going to remove the u-boot script part of it.

The removal of this function requires a note in the migration guide.
The migration should be straightforward: If UBOOT_ENV and the
kernel-fitimage.bbclass are used, the u-boot script must now be appended
to the kernel recipe and the new FIT_UBOOT_ENV variable must be used.

(From OE-Core rev: ab7f0b5e3d3612c43f9aab9ea2b7bd554d02859d)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Adrian Freihofer
68bbc11f8f kernel-fitimage.bbclass: introduce FIT_UBOOT_ENV
Introduce a new variable FIT_UBOOT_ENV, which allows to add a u-boot
script as a text file to the fitImage. Such a script can be sourced
from the u-boot shell, as documented here:
https://docs.u-boot.org/en/latest/usage/cmd/source.html#fit-image

The kernel-fitimage.bbclass also evaluates the existing UBOOT_ENV
variable and adds the corresponding script to the fitImage. However, the
UBOOT_ENV variable is also used to install the script as an old u-boot
image, usually named boot.scr into the /boot directory of the target
device. These are different use cases which should be handled
independently.

Appending the script to the u-boot recipe and then hand it over to the
kernel recipe via the staged /boot directory leads to complicated task
dependencies. Decoupling the two use cases will also allow to simplify
the implementation by dropping the evaluation of the UBOOT_ENV variable
in the kernel-fitimage.bbclass. But this commit is supposed to be
backward compatible.

(From OE-Core rev: 269605ed053fd8dc7bcbcc04a46c308188115f66)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Chen Qi
df8f1ad5cc python3-bcrypt: fix ptest
For now, python3-bcrypt's ptest package does not have run-ptest script.

The ptest-python-pytest.bbclass has do_install_ptest which will generate
run-ptest. So the do_install_ptest in pytho3n-bcrypt is not needed,
and it does not generate run-ptest.

Also remove the RDEPENDS setting because ptest-python-pytest.bbclass
has set it.

(From OE-Core rev: 9640c89ae0fcc72b53fdf59b01616ab2b62469ed)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Dmitry Baryshkov
0a20b836bd linux-firmware: further split qca61x4 package
Separate linux-firmware-qca-qca61x4 package into two independent pieces:
serial and USB. Serial part is going to be used for Qualcomm
Dragonboard820c and similar devices, where QCA6174 is attached over a
serial line, while USB package is required for devices where BT part of
the QCA chip is attached over USB.

(From OE-Core rev: 93b3d61b657ce7d07c78a75b1b3ae4c81189e19a)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Bruce Ashfield
5b23b6d29e linux-yocto/6.12: update to v6.12.13
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    4b07fe4a044d Linux 6.12.13
    333f1282241c ethtool: ntuple: fix rss + ring_cookie check
    5ae72abbf91e btrfs: do proper folio cleanup when run_delalloc_nocow() failed
    27a46e60617a LoongArch: Change 8 to 14 for LOONGARCH_MAX_{BRP,WRP}
    c3a3741db8c1 memcg: fix soft lockup in the OOM process
    a9e318519b22 KVM: x86: Plumb in the vCPU to kvm_x86_ops.hwapic_isr_update()
    8eb4d51b44c7 drm/amd/display: Add hubp cache reset when powergating
    593d852f7fe2 s390: Add '-std=gnu11' to decompressor and purgatory CFLAGS
    ba30a82cb2d0 ASoC: da7213: Initialize the mutex
    141a2389a694 selftests/bpf: Add test to verify tailcall and freplace restrictions
    5f72bf80e74b Revert "s390/mm: Allow large pages for KASAN shadow mapping"
    1cf217795968 ethtool: Fix access to uninitialized fields in set RXNFC command
    364d7e7f3097 xfrm: Fix acquire state insertion.
    78b366aa0e81 xfrm: Add error handling when nla_put_u32() returns an error
    698943070ea7 dma-mapping: save base/size instead of pointer to shared DMA pool
    8de4e5a92282 of: reserved-memory: Warn for missing static reserved memory regions
    a6848636d8b4 btrfs: output the reason for open_ctree() failure
    237e19519c8f md/md-bitmap: Synchronize bitmap_get_stats() with bitmap lifetime
    b853ff0b514c powerpc/pseries/iommu: Don't unset window if it was never set
    6e601a64f777 media: imx-jpeg: Fix potential error pointer dereference in detach_pm()
    278a98f6d8a7 staging: media: max96712: fix kernel oops when removing module
    929b69810eec usb: gadget: f_tcm: Don't free command immediately
    7e5ee3281dc0 pps: Fix a use-after-free
    d1f8e69eec91 media: uvcvideo: Fix double free in error path
    f2013d19b770 remoteproc: core: Fix ida_free call while not allocated
    7cc8f681f6d4 RDMA/mlx5: Fix implicit ODP use after free
    b2bf3a2fdc71 mptcp: blackhole only if 1st SYN retrans w/o MPC is accepted
    84ac44d9fed3 mptcp: handle fastopen disconnect correctly
    8ac344cbd84f mptcp: pm: only set fullmesh for subflow endp
    6169e942370b mptcp: consolidate suboption status
    9a49748e5a6e clk: qcom: gcc-x1e80100: Do not turn off usb_2 controller GDSC
    15b50cbc6ff6 usb: typec: tcpci: Prevent Sink disconnection before vPpsShutdown in SPR PPS
    ce5c91a1b2b2 usb: typec: tcpm: set SRC_SEND_CAPABILITIES timeout to PD_T_SENDER_RESPONSE
    01c74aeac297 usb: dwc3: Skip resume if pm_runtime_set_active() fails
    ebba1bebf036 usb: dwc3: core: Defer the probe until USB power supply ready
    e5dd5bfc3359 usb: dwc3-am62: Fix an OF node leak in phy_syscon_pll_refclk()
    b69805e311fb usb: gadget: f_tcm: Fix Get/SetInterface return value
    a1fd89c09385 drivers/card_reader/rtsx_usb: Restore interrupt based detection
    ae069cd2ba09 usb: xhci: Fix NULL pointer dereference on certain command aborts
    f395b7efcee8 net: usb: rtl8150: enable basic endpoint checking
    e0216c39b496 ALSA: usb-audio: Add delay quirk for iBasso DC07 Pro
    631430768b41 xfs: don't shut down the filesystem for media failures beyond end of log
    b0773cf34eec xfs: check for dead buffers in xfs_buf_find_insert
    0a8a05bf2873 ktest.pl: Check kernelrelease return in get_version
    64e222d15615 selftests/ftrace: Fix to use remount when testing mount GID option
    ab5b45301933 selftests/rseq: Fix handling of glibc without rseq support
    f488b53b5443 drm/amd/display: Reduce accessing remote DPCD overhead
    49b7182b97ba netfilter: nf_tables: reject mismatching sum of field_len with set key length
    4cea10a863f9 kbuild: switch from lz4c to lz4 for compression
    31b3e5ce9f79 Revert "SUNRPC: Reduce thread wake-up rate when receiving large RPC messages"
    260cbf992713 md/md-bitmap: move bitmap_{start, end}write to md upper layer
    aa8e15d69f5c md/raid5: implement pers->bitmap_sector()
    783e6715a49d md: add a new callback pers->bitmap_sector()
    88564ef736fb md/md-bitmap: remove the last parameter for bimtap_ops->endwrite()
    dc1967143ab9 md/md-bitmap: factor behind write counters out from bitmap_{start/end}write()
    00d1943fe46d f2fs: Introduce linear search for dentries
    c12b8bc1e9c5 hexagon: Fix unbalanced spinlock in die()
    5892138e3001 hexagon: fix using plain integer as NULL pointer warning in cmpxchg
    e4e8ed67e085 kconfig: fix memory leak in sym_warn_unmet_dep()
    6e26ca181870 kconfig: fix file name in warnings when loading KCONFIG_DEFCONFIG_LIST
    281244ab4271 cifs: Fix getting and setting SACLs over SMB1
    077f372585b6 cifs: Validate EAs for WSL reparse points
    4eb5f692e923 tools/power turbostat: Fix forked child affinity regression
    e7f44edd44ff ASoC: amd: acp: Fix possible deadlock
    206d8e0242de io_uring/uring_cmd: use cached cmd_op in io_uring_cmd_sock()
    21cfbeae7d7c ASoC: rockchip: i2s_tdm: Re-add the set_sysclk callback
    01ef02ab9615 RISC-V: Mark riscv_v_init() as __init
    d562d14f1b11 tools/power turbostat: Fix PMT mmaped file size rounding
    cd89d5745a18 tools/power turbostat: Allow using cpu device in perf counters on hybrid platforms
    9bbb93a9e8d0 hostfs: fix string handling in __dentry_name()
    52f0a28e17f7 genksyms: fix memory leak when the same symbol is read from *.symref file
    a23834b78277 genksyms: fix memory leak when the same symbol is added from source
    a7a84a880afb net: hsr: fix fill_frame_info() regression vs VLAN packets
    13c9e38509e1 net: sh_eth: Fix missing rtnl lock in suspend/resume path
    0296981941cf net: ravb: Fix missing rtnl lock in suspend/resume path
    557707906dd3 net: xdp: Disallow attaching device-bound programs in generic mode
    1dd823a46e25 tcp: correct handling of extreme memory squeeze
    5a1bfd530f34 bgmac: reduce max frame size to support just MTU 1500
    a06bb37d6541 vsock: Allow retrying on connect() failure
    377d47fda395 Bluetooth: btnxpuart: Fix glitches seen in dual A2DP streaming
    930e1790b99e Bluetooth: btusb: mediatek: Add locks for usb_driver_claim_interface()
    dcb4937a7d2c perf test: Skip syscall enum test if no landlock syscall
    161348aea66f perf trace: Fix runtime error of index out of bounds
    59f60af34a9e s390/sclp: Initialize sclp subsystem via arch_cpu_finalize_init()
    b92942e6a457 net: stmmac: Limit FIFO size by hardware capability
    56380f4a0f54 net: stmmac: Limit the number of MTL queues to hardware capability
    a68d7a9fb830 ethtool: Fix set RXNFC command with symmetric RSS hash
    ad1ec19b0bb9 net: ethtool: only allow set_rxnfc with rss + ring_cookie if driver opts in
    3e44707da8db ptp: Properly handle compat ioctls
    5a54367a7c23 net: davicom: fix UAF in dm9000_drv_remove
    f554bce48860 vxlan: Fix uninit-value in vxlan_vnifilter_dump()
    10ba5a3d57af rxrpc, afs: Fix peer hash locking vs RCU callback
    47f7a18e3a13 selftests: net/{lib,openvswitch}: extend CFLAGS to keep options from environment
    ed2c4ea53f2f selftests: mptcp: extend CFLAGS to keep options from environment
    0f893f526698 tools: ynl: c: correct reverse decode of empty attrs
    f6620669ad6f net: netdevsim: try to close UDP port harness races
    1992fb261c90 net: rose: fix timer races against user threads
    85496955355c net/ncsi: use dev_set_mac_address() for Get MC MAC Address handling
    43f9177be438 s390/mm: Allow large pages for KASAN shadow mapping
    29c1fd9fddd2 iavf: allow changing VLAN state without calling PF
    5c9b22519d14 ice: remove invalid parameter of equalizer
    8191df8ec88c ice: extend dump serdes equalizer values feature
    877eed2b01cb ice: rework of dump serdes equalizer values feature
    93fcd499330d ice: fix ice_parser_rt::bst_key array size
    66bf9b3d9e16 idpf: convert workqueues to unbound
    f71daa29bceb idpf: Acquire the lock before accessing the xn->salt
    431759c23b27 idpf: fix transaction timeouts on reset
    7f42a905db2e idpf: add read memory barrier when checking descriptor done bit
    e468aace4074 xfrm: Don't disable preemption while looking up cache state.
    6c9b7d48bf46 perf trace: Fix BPF loading failure (-E2BIG)
    3b732c60a00c PM: hibernate: Add error handling for syscore_suspend()
    a099834a51cc ipmr: do not call mr_mfc_uses_dev() for unres entries
    b3c4360329bf net: fec: implement TSO descriptor cleanup
    bbd4c81ff61e net: phy: marvell-88q2xxx: Fix temperature measurement with reset-gpios
    48cf1415e207 gpio: mxc: remove dead code after switch to DT-only
    82736bb83fb0 net: hns3: fix oops when unload drivers paralleling
    fed2385309f6 net: airoha: Fix wrong GDM4 register definition
    24ac5b75243d regulator: core: Add missing newline character
    77e5266e3d3f ubifs: skip dumping tnc tree when zroot is null
    589444be701d rtc: loongson: clear TOY_MATCH0_REG in loongson_rtc_isr()
    e5e06455760f rtc: pcf85063: fix potential OOB write in PCF85063 NVMEM read
    5127f3cbfc78 rtc: tps6594: Fix integer overflow on 32bit systems
    6945701ca157 xfrm: delete intermediate secpath entry in packet offload mode
    839064a02295 dmaengine: ti: edma: fix OF node reference leaks in edma_driver
    a16871c7832e xfrm: state: fix out-of-bounds read during lookup
    5e4334dc3944 xfrm: Add an inbound percpu state cache.
    aa48a18fdb09 xfrm: Cache used outbound xfrm states at the policy.
    2a64cff2aabe xfrm: Add support for per cpu xfrm state handling.
    87fdd4c4478f xfrm: replay: Fix the update of replay_esn->oseq_hi for GSO
    e69a9ca0c93e tools/bootconfig: Fix the wrong format specifier
    194d26a5a43c LoongArch: Fix warnings during S3 suspend
    265c3dfe976b NFSv4.2: mark OFFLOAD_CANCEL MOVEABLE
    6de31904ebc7 NFSv4.2: fix COPY_NOTIFY xdr buf size calculation
    f4265cd6ddc5 nfs: fix incorrect error handling in LOCALIO
    b35a3edc7c71 serial: 8250: Adjust the timeout for FIFO mode
    f709f3ca1feb tty: mips_ejtag_fdc: fix one more u8 warning
    1614e75d1a1b driver core: class: Fix wild pointer dereferences in API class_dev_iter_next()
    fd41b2e9aaf4 module: Don't fail module loading when setting ro_after_init section RO failed
    565611d10170 module: Extend the preempt disabled section in dereference_symbol_descriptor().
    eddd3176b8c4 nilfs2: handle errors that nilfs_prepare_chunk() may return
    4b08d23d7d19 nilfs2: protect access to buffers with no active references
    1098bb8d5241 nilfs2: do not force clear folio if buffer is referenced
    8b40f17ddfd0 ocfs2: mark dquot as inactive if failed to start trans while releasing dquot
    48964027809b erofs: fix potential return value overflow of z_erofs_shrink_scan()
    9621a0a5e338 erofs: sunset `struct erofs_workgroup`
    f66ba30be7be erofs: move erofs_workgroup operations into zdata.c
    e6d1529c79e9 erofs: get rid of erofs_{find,insert}_workgroup
    c6896bf4c611 firewire: test: Fix potential null dereference in firewire kunit test
    19b248069d1b scsi: mpi3mr: Fix possible crash when setting up bsg fails
    0e0ac81d51f1 scsi: ufs: bsg: Delete bsg_dev when setting up bsg fails
    a183cac63301 scsi: mpt3sas: Set ioc->manu_pg11.EEDPTagMode directly to 1
    c8c65adfd21b PCI: microchip: Set inbound address translation for coherent or non-coherent mode
    90985dc7629f PCI: microchip: Add support for using either Root Port 1 or 2
    538308191b54 PCI: endpoint: pci-epf-test: Fix check for DMA MEMCPY test
    1d12b389ef23 PCI: endpoint: pci-epf-test: Set dma_chan_rx pointer to NULL on error
    a665fab63d06 PCI: dwc: Always stop link in the dw_pcie_suspend_noirq
    a2c80a188166 PCI: qcom: Update ICC and OPP values after Link Up event
    828bd4f4c863 PCI: imx6: Add missing reference clock disable logic
    56bfb833480b PCI: imx6: Deassert apps_reset in imx_pcie_deassert_core_reset()
    d0f8c566464d PCI: imx6: Skip controller_id generation logic for i.MX7D
    7fb8d5a34026 PCI: imx6: Configure PHY based on Root Complex or Endpoint mode
    9ff46b0bfeb6 PCI: rcar-ep: Fix incorrect variable used when calling devm_request_mem_region()
    f86b2180c26c media: dvb-usb-v2: af9035: fix ISO C90 compilation error on af9035_i2c_master_xfer
    5dd040e75f3e staging: media: imx: fix OF node leak in imx_media_add_of_subdevs()
    9cef839d3bb1 watchdog: rti_wdt: Fix an OF node leak in rti_wdt_probe()
    a44591a0ea3c media: nxp: imx8-isi: fix v4l2-compliance test errors
    c538df69c39c mtd: hyperbus: hbmc-am654: fix an OF node reference leak
    aeeec3de85e6 mtd: rawnand: brcmnand: fix status read of brcmnand_waitfunc
    58465dfc429c media: uvcvideo: Propagate buf->error to userspace
    b0b51f4c5636 media: camif-core: Add check for clk_enable()
    406e62371d09 media: mipi-csis: Add check for clk_enable()
    c227d973812b media: i2c: ov9282: Correct the exposure offset
    98be204dc93c media: i2c: imx412: Add missing newline to prints
    85659ca38385 media: i2c: imx290: Register 0x3011 varies between imx327 and imx290
    c3e18562b65c media: marvell: Add check for clk_enable()
    26d8d3d57ce3 remoteproc: mtk_scp: Only populate devices for SCP cores
    45e1246e5c61 PCI: endpoint: Destroy the EPC device in devm_pci_epc_destroy()
    1c49fb86be6e media: lmedm04: Handle errors for lme2510_int_read
    265ecadbe54f media: rc: iguanair: handle timeouts
    e61977c71494 of/fdt: Restore possibility to use both ACPI and FDT from bootloader
    9a0fe62f93ed of: reserved_mem: Restructure how the reserved memory regions are processed
    4c22e09c6566 spi: omap2-mcspi: Correctly handle devm_clk_get_optional() errors
    d5d33f01b86a iommufd/iova_bitmap: Fix shift-out-of-bounds in iova_bitmap_offset_to_index()
    5d679086873f iommu: iommufd: fix WARNING in iommufd_device_unbind
    7a2de8126ed3 RDMA/rxe: Fix the warning "__rxe_cleanup+0x12c/0x170 [rdma_rxe]"
    6531c17e0b3d RDMA/cxgb4: Notify rdma stack for IB_EVENT_QP_LAST_WQE_REACHED event
    02b69afbd545 efi: sysfb_efi: fix W=1 warnings when EFI is not set
    92ed1efb6ac0 of: reserved-memory: Do not make kmemleak ignore freed address
    6cffdf48386c of: property: Avoiding using uninitialized variable @imaplen in parse_interrupt_map()
    823ad923afa1 RDMA/mlx5: Fix indirect mkey ODP page count
    9b0063098fcd i3c: dw: Fix use-after-free in dw_i3c_master driver due to race condition
    7cda16e0fcc5 arm64: dts: qcom: x1e80100-romulus: Update firmware nodes
    72dcd1bec429 arm64: tegra: Fix DMA ID for SPI2
    873f6bdf23b8 fbdev: omapfb: Fix an OF node leak in dss_of_port_get_parent_device()
    e2cd277d7155 arm64: dts: ti: k3-am642-hummingboard-t: Convert overlay to board dts
    a61cac5a6167 arm64: dts: rockchip: fix num-channels property of wolfvision pf5 mic
    ba021d9c40a7 ARM: dts: mediatek: mt7623: fix IR nodename
    c2c7cae5abaf arm64: dts: marvell: cn9131-cf-solidwan: fix cp1 comphy links
    903e0a56c145 arm64: dts: qcom: sm8250: Fix interrupt types of camss interrupts
    0df5fc0ff6fc arm64: dts: qcom: sdm845: Fix interrupt types of camss interrupts
    de18221e411e arm64: dts: qcom: sc8280xp: Fix interrupt type of camss interrupts
    df2b841369d2 arm64: dts: mediatek: add per-SoC compatibles for keypad nodes
    c811521a05df dts: arm64: mediatek: mt8195: Remove MT8183 compatible for OVL
    98d68c9d140b arm64: dts: mediatek: mt7988: Add missing clock-div property for i2c
    390d3baeba51 firmware: qcom: scm: Cleanup global '__scm' on probe failures
    22c805533ce7 arm64: dts: qcom: sc8280xp: Fix up remoteproc register space sizes
    b75d17a66497 arm64: dts: qcom: sm8150-microsoft-surface-duo: fix typos in da7280 properties
    729be2681802 arm64: dts: qcom: sc7180: fix psci power domain node names
    d9b220293850 arm64: dts: qcom: sc7180: change labels to lower-case
    5756723770e8 arm64: dts: qcom: sc7180-trogdor-pompom: rename 5v-choke thermal zone
    7a9b13f7e2a4 arm64: dts: qcom: sc7180-trogdor-quackingstick: add missing avee-supply
    2c778443e0e8 arm64: dts: qcom: sdm845-db845c-navigation-mezzanine: remove disabled ov7251 camera
    e3aef4becef5 arm64: dts: qcom: sdm845-db845c-navigation-mezzanine: Convert mezzanine riser to dtso
    4ead95198f48 arm64: dts: qcom: qcm6490-shift-otter: remove invalid orientation-switch
    e51f7dd6d94d ARM: omap1: Fix up the Retu IRQ on Nokia 770
    ab3de8c252e1 RDMA/hns: Clean up the legacy CONFIG_INFINIBAND_HNS
    5a79cc9bc961 RDMA/rtrs: Add missing deinit() call
    14ef8b5ec726 RDMA/bnxt_re: Fix to drop reference to the mmap entry in case of error
    8f2356864982 arm64: dts: allwinner: a64: explicitly assign clock parent for TCON0
    8810a8368b60 arm64: dts: rockchip: Fix sdmmc access on rk3308-rock-s0 v1.1 boards
    770bc57fcca7 arm64: dts: ti: k3-am62a: Remove duplicate GICR reg
    70f974e78f5e arm64: dts: ti: k3-am62: Remove duplicate GICR reg
    0ac272cf7aa2 ARM: dts: microchip: sama5d27_wlsom1_ek: Add no-1-8-v property to sdmmc0 node
    1b2ab35ff782 ARM: dts: microchip: sama5d29_curiosity: Add no-1-8-v property to sdmmc0 node
    03d9d88fd341 arm64: dts: qcom: sm8650: Fix CDSP context banks unit addresses
    04fbd92f2006 arm64: dts: qcom: x1e80100: correct sleep clock frequency
    e1fb7b18f95c arm64: dts: qcom: sm8650: correct sleep clock frequency
    1f1eb092ad8d arm64: dts: qcom: sm8550: correct sleep clock frequency
    7f937e5791fe arm64: dts: qcom: sm8450: correct sleep clock frequency
    b98c1e0602ee arm64: dts: qcom: sm8350: correct sleep clock frequency
    bcea9460c1f2 arm64: dts: qcom: sm8250: correct sleep clock frequency
    c1bcabbc98fe arm64: dts: qcom: sm6375: correct sleep clock frequency
    d2e117be0e8c arm64: dts: qcom: sm6125: correct sleep clock frequency
    8be30ff7bac7 arm64: dts: qcom: sm4450: correct sleep clock frequency
    3f78fff04803 arm64: dts: qcom: sdx75: correct sleep clock frequency
    301ff6f2185d arm64: dts: qcom: sc7280: correct sleep clock frequency
    e20fd641b1b1 arm64: dts: qcom: qrb4210-rb2: correct sleep clock frequency
    cdb697459763 arm64: dts: qcom: q[dr]u1000: correct sleep clock frequency
    b697e33ab4de arm64: dts: qcom: qcs404: correct sleep clock frequency
    514dc233e4e1 arm64: dts: qcom: msm8994: correct sleep clock frequency
    7461e33fd205 arm64: dts: qcom: msm8939: correct sleep clock frequency
    4b209a5f7350 arm64: dts: qcom: msm8916: correct sleep clock frequency
    f6b361ab18be arm64: dts: qcom: sm7225-fairphone-fp4: Drop extra qcom,msm-id value
    5ed403074341 arm64: dts: qcom: msm8994: Describe USB interrupts
    6f2316306c48 arm64: dts: qcom: msm8996: Fix up USB3 interrupts
    eea829201a2a arm64: defconfig: remove obsolete CONFIG_SM_DISPCC_8650
    b7b0c071d0a0 arm64: dts: qcom: sa8775p: Update sleep_clk frequency
    ae73995df9ab arm64: dts: qcom: msm8996-xiaomi-gemini: Fix LP5562 LED1 reg property
    0edca0b18d8e arm64: dts: mediatek: mt8183-kukui-jacuzzi: Drop pp3300_panel voltage settings
    3b02273446e2 memory: tegra20-emc: fix an OF node reference bug in tegra_emc_find_node_by_ram_code()
    ed6244294b44 ARM: dts: stm32: Swap USART3 and UART8 alias on STM32MP15xx DHCOM SoM
    5b48e03583f3 ARM: dts: stm32: Deduplicate serial aliases and chosen node for STM32MP15xx DHCOM SoM
    aa0e632b55e8 arm64: dts: mediatek: mt8195: Remove suspend-breaking reset from pcie1
    f502835b42d3 RDMA/srp: Fix error handling in srp_add_port
    932dbae0f803 arm64: dts: mediatek: mt8183: willow: Support second source touchscreen
    925c44d08424 arm64: dts: mediatek: mt8183: kenzo: Support second source touchscreen
    27a54c0ce1d9 RDMA/rxe: Fix mismatched max_msg_sz
    fb855cca17f2 arm: dts: socfpga: use reset-name "stmmaceth-ocp" instead of "ahb"
    854abd4217b4 ARM: dts: aspeed: yosemite4: correct the compatible string for max31790
    baf491720430 ARM: dts: aspeed: yosemite4: Add required properties for IOE on fan boards
    6cd70c80e717 ARM: dts: aspeed: yosemite4: correct the compatible string of adm1272
    e9d981ee7c12 arm64: dts: mediatek: mt8173-evb: Fix MT6397 PMIC sub-node names
    35a4758e11e9 arm64: dts: mediatek: mt8173-elm: Fix MT6397 PMIC sub-node names
    32840ea43be1 arm64: dts: mediatek: mt8395-genio-1200-evk: Drop regulator-compatible property
    458b389e58b5 arm64: dts: medaitek: mt8395-nio-12l: Drop regulator-compatible property
    e6fda48f49b9 arm64: dts: mediatek: mt8195-demo: Drop regulator-compatible property
    ae6abbcf61f3 arm64: dts: mediatek: mt8195-cherry: Drop regulator-compatible property
    ca967fe61fe0 arm64: dts: mediatek: mt8192-asurada: Drop regulator-compatible property
    3e8842e93f20 arm64: dts: mediatek: mt8173-elm: Drop regulator-compatible property
    ae7421a84e9f arm64: dts: mediatek: mt8173-evb: Drop regulator-compatible property
    dd352107f22b rdma/cxgb4: Prevent potential integer overflow on 32bit
    f1ff9fea7f87 arm64: dts: renesas: rzg3s-smarc: Fix the debug serial alias
    df6851bda8c2 RDMA/mlx4: Avoid false error about access to uninitialized gids array
    69b04ea4e288 ARM: dts: stm32: Fix IPCC EXTI declaration on stm32mp151
    42b5491a18f1 ARM: dts: stm32: Increase CPU core voltage on STM32MP13xx DHCOR SoM
    2e72386c102b arm64: dts: mediatek: mt8516: reserve 192 KiB for TF-A
    60b0c5a9d235 arm64: dts: mediatek: mt8516: add i2c clock-div property
    e37212e54565 arm64: dts: mediatek: mt8516: fix wdt irq type
    cf2059254ec8 arm64: dts: mediatek: mt8516: fix GICv2 range
    c7e34fb570cb arm64: dts: mt8183: set DMIC one-wire mode on Damu
    8e497c5ba700 arm64: dts: mediatek: mt8186: Move wakeup to MTU3 to get working suspend
    cb7e900f7ccb ARM: dts: imx7-tqma7: add missing vs-supply for LM75A (rev. 01xxx)
    3aadad527102 ARM: at91: pm: change BU Power Switch to automatic mode
    252e2209471c soc: atmel: fix device_node release in atmel_soc_device_init()
    33e47d957307 bpf: Cancel the running bpf_timer through kworker for PREEMPT_RT
    0ef5b75641f0 cifs: Use cifs_autodisable_serverino() for disabling CIFS_MOUNT_SERVER_INUM in readdir.c
    699179dfc8d7 smb: client: fix oops due to unset link speed
    f939008a52c5 rhashtable: Fix rhashtable_try_insert test
    8ca38d0ca8c3 padata: avoid UAF for reorder_work
    c629808304e8 padata: add pd get/put refcnt helper
    573ac9c70bf7 padata: fix UAF in padata_reorder
    122fb9d2dfb9 perf lock: Fix parse_lock_type which only retrieve one lock flag
    aab5d33fb6a5 tools: Sync if_xdp.h uapi tooling header
    e8f5f2c0a74c ALSA: hda/realtek - Fixed headphone distorted sound on Acer Aspire A115-31 laptop
    6e1e451456e1 iommu/amd: Remove unused amd_iommu_domain_update()
    0e272fe6a02c bpf: tcp: Mark bpf_load_hdr_opt() arg2 as read-write
    77e2f5d481d0 libbpf: Fix incorrect traversal end type ID when marking BTF_IS_EMBEDDED
    beadb92ea609 libbpf: Fix return zero when elf_begin failed
    20c84906e2da selftests/bpf: Fix btf leak on new btf alloc failure in btf_distill test
    78b97783496b bpf: Send signals asynchronously if !preemptible
    ee46db2c8f99 ASoC: Intel: sof_sdw: Fix DMI match for Lenovo 83JX, 83MC and 83NM
    310743bfc8ce ASoC: Intel: sof_sdw: Fix DMI match for Lenovo 83LC
    c560e8405098 perf inject: Fix use without initialization of local variables
    8f4abee94a51 pinctrl: amd: Take suspend type into consideration which pins are non-wake
    cac84246365b pinctrl: stm32: Add check for clk_enable()
    fd0e32fe09af perf report: Fix misleading help message about --demangle
    8f6c2ed42e87 ALSA: hda: Fix compilation of snd_hdac_adsp_xxx() helpers
    11ba17769eb5 perf MANIFEST: Add arch/*/include/uapi/asm/bpf_perf_event.h to the perf tarball
    b2477676dbcb ASoC: Intel: avs: Fix init-config parsing
    deca59b8a485 ASoC: Intel: avs: Fix theoretical infinite loop
    74147a5e097f ASoC: Intel: avs: Fix the minimum firmware version numbers
    27daf3954e6a ASoC: Intel: avs: Do not readq() u32 registers
    d2992b838e81 perf namespaces: Fixup the nsinfo__in_pidns() return type, its bool
    968d6aff5631 perf namespaces: Introduce nsinfo__set_in_pidns()
    3289f79a8103 perf machine: Don't ignore _etext when not a text symbol
    6eed2771d8a7 perf maps: Fix display of kernel symbols
    f156a74cfc4b perf top: Don't complain about lack of vmlinux when not resolving some kernel samples
    7e8e2fefa612 selftests/bpf: Avoid generating untracked files when running bpf selftests
    818a43355825 padata: fix sysfs store callback check
    b777b14c2a4a bpf: Reject struct_ops registration that uses module ptr and the module btf_id is missing
    7c174d312e3b ALSA: seq: Make dependency on UMP clearer
    8e7d29b69821 bpf: Use refcount_t instead of atomic_t for mmap_count
    e665c1f29474 crypto: iaa - Fix IAA disabling that occurs when sync_mode is set to 'async'
    396d44367579 crypto: ixp4xx - fix OF node reference leaks in init_ixp_crypto()
    07cb3e0ab922 crypto: hisilicon/sec2 - fix for aead invalid authsize
    1c2f57cb03e2 crypto: hisilicon/sec2 - fix for aead icv error
    eb2e58484b83 rhashtable: Fix potential deadlock by moving schedule_work outside lock
    b0027500000d bpf: bpf_local_storage: Always use bpf_mem_alloc in PREEMPT_RT
    f5a9be718fae ktest.pl: Remove unused declarations in run_bisect_test function
    888829e54ea4 pinctrl: nomadik: Add check for clk_enable()
    58ad9c26238f perf expr: Initialize is_test value in expr__ctx_new()
    2ac66e67678a ASoC: renesas: rz-ssi: Use only the proper amount of dividers
    e63deda2a51b perf bpf: Fix two memory leakages when calling perf_env__insert_bpf_prog_info()
    0db155d08b9f perf header: Fix one memory leakage in process_bpf_prog_info()
    22ae75ad6ed7 perf header: Fix one memory leakage in process_bpf_btf()
    651959fae5fb crypto: caam - use JobR's space to access page 0 regs
    b7de862bda9d crypto: api - Fix boot-up self-test race
    1dbc270f9df7 crypto: tegra - do not transfer req when tegra init fails
    2122e8553cb4 iommu/arm-smmuv3: Update comments about ATS and bypass
    08b6ffea8158 selftests/bpf: Fix fill_link_info selftest on powerpc
    829b0400e5c9 ASoC: sun4i-spdif: Add clock multiplier settings
    6a6e2beb2af8 ASoC: Intel: sof_sdw: correct mach_params->dmic_num
    a230cd305198 libbpf: Fix segfault due to libelf functions not setting errno
    65f1b9773080 tools/testing/selftests/bpf/test_tc_tunnel.sh: Fix wait for server bind
    950c0d172d3d ASoC: wcd937x: Use *-y for Makefile
    3487c4c0b860 ASoC: mediatek: mt8365: Use *-y for Makefile
    ae2205cdc469 ASoC: cs40l50: Use *-y for Makefile
    a29129e2364c libbpf: don't adjust USDT semaphore address if .stapsdt.base addr is missing
    2bf01c4600a1 pinctrl: samsung: Fix irq handling if an error occurs in exynos_irq_demux_eint16_31()
    d3269ace1058 platform/x86: x86-android-tablets: make platform data be static
    da0735df99db platform/mellanox: mlxbf-pmc: incorrect type in assignment
    d08f4074f9c6 net/rose: prevent integer overflows in rose_setsockopt()
    a0753466f01c tcp_cubic: fix incorrect HyStart round start detection
    8448c87b3af6 net: ethernet: ti: am65-cpsw: fix freeing IRQ in am65_cpsw_nuss_remove_tx_chns()
    5213efec9085 net: sched: refine software bypass handling in tc_run
    bedfabb4e7c9 netfilter: nft_flow_offload: update tcp state flags under lock
    d7fe7e1bbe95 netfilter: nf_tables: fix set size with rbtree backend
    73c7e1d6898c net: sched: Disallow replacing of child qdisc from one parent to another
    b382ab9b885c net: avoid race between device unregistration and ethnl ops
    695359e2ffc8 octeon_ep_vf: remove firmware stats fetch in ndo_get_stats64
    15cc4388d293 octeon_ep: remove firmware stats fetch in ndo_get_stats64
    f7b74f3d0302 net/mlxfw: Drop hard coded max FW flash image size
    33e2168788f8 net: let net.core.dev_weight always be non-zero
    f161d3c9e576 selftests/landlock: Fix error message
    e9d01de8951f selftests/landlock: Fix build with non-default pthread linking
    e730500506e7 pwm: stm32: Add check for clk_enable()
    f98ccd7d7721 dev: Acquire netdev_rename_lock before restoring dev->name in dev_change_name().
    eb5516343daf clk: analogbits: Fix incorrect calculation of vco rate delta
    3d7263512770 inet: ipmr: fix data-races
    1158ad8e8abb Bluetooth: btrtl: check for NULL in btrtl_setup_realtek()
    df2f2d9199e6 Bluetooth: btbcm: Fix NULL deref in btbcm_get_board_name()
    2e857fc25f42 wifi: cfg80211: adjust allocation of colocated AP data
    9f6b2d4a0bca selftests: harness: fix printing of mismatch values in __EXPECT()
    09d28675a834 selftests: timers: clocksource-switch: Adapt progress to kselftest framework
    1f3c13e32984 cpufreq: ACPI: Fix max-frequency computation
    1ed46901bb7c i2c: designware: Actually make use of the I2C_DW_COMMON and I2C_DW symbol namespaces
    776fb8be525f wifi: mt76: mt7996: fix ldpc setting
    2b7e4a8eeff5 wifi: mt76: mt7996: fix definition of tx descriptor
    0e9f49b97f1e wifi: mt76: mt7996: fix incorrect indexing of MIB FW event
    9afda07be035 wifi: mt76: mt7996: fix HE Phy capability
    2c77d8e7881b wifi: mt76: mt7996: fix the capability of reception of EHT MU PPDU
    e6d5e6bdf0ae wifi: mt76: mt7996: add max mpdu len capability
    aa9b8600e558 wifi: mt76: mt7996: fix register mapping
    f1879d80bee3 wifi: mt76: mt7915: fix register mapping
    f1f0bc58d94e wifi: mt76: mt7915: fix omac index assignment after hardware reset
    bb79a37d12bb wifi: mt76: mt7915: firmware restart on devices with a second pcie link
    c8f27e369550 wifi: mt76: only enable tx worker after setting the channel
    fdef354b0542 wifi: mt76: mt7996: fix rx filter setting for bfee functionality
    80bce8956615 wifi: mt76: mt7925: Properly handle responses for commands with events
    4c58e49dd98d wifi: mt76: mt7925: Cleanup MLO settings post-disconnection
    bc59dd02af37 wifi: mt76: mt7925: Update mt7925_mcu_uni_[tx,rx]_ba for MLO
    d786a67a2854 wifi: mt76: mt7925: Init secondary link PM state
    24ff9b82f8d4 wifi: mt76: mt7925: Update secondary link PS flow
    12f1394600c8 wifi: mt76: mt7925: Update mt7925_unassign_vif_chanctx for per-link BSS
    3fe7acc6f4b4 wifi: mt76: mt7925: Update mt792x_rx_get_wcid for per-link STA
    848276d8b3fb wifi: mt76: mt7925: Update mt7925_mcu_sta_update for BC in ASSOC state
    0443ed06cfb2 wifi: mt76: Enhance mt7925_mac_link_sta_add to support MLO
    89355c2a060e wifi: mt76: mt7925: Enhance mt7925_mac_link_bss_add to support MLO
    7ebe75994843 wifi: mt76: mt7925: Fix CNM Timeout with Single Active Link in MLO
    09f30c9ba539 wifi: mt76: mt7925: fix wrong parameter for related cmd of chan info
    4cc0cfe2fe7e wifi: mt76: mt7925: Fix incorrect WCID phy_idx assignment
    c9389e3f9453 wifi: mt76: mt7925: Fix incorrect WCID assignment for MLO
    7d354bda12bb wifi: mt76: mt7925: Fix incorrect MLD address in bss_mld_tlv for MLO support
    e29e4f883edb wifi: mt76: connac: Extend mt76_connac_mcu_uni_add_dev for MLO
    7e49a6b5e060 wifi: mt76: mt7915: fix overflows seen when writing limit attributes
    bd1170aaf70d wifi: mt76: mt7996: fix overflows seen when writing limit attributes
    c993abb4d0a6 wifi: mt76: mt7925: fix the invalid ip address for arp offload
    f157600d7f4b wifi: mt76: mt7925: fix get wrong chip cap from incorrect pointer
    e3d02ea71121 wifi: mt76: mt7925: fix wrong band_idx setting when enable sniffer mode
    5872530c2862 wifi: mt76: mt7925: fix NULL deref check in mt7925_change_vif_links
    62265c270f17 wifi: mt76: mt7915: Fix an error handling path in mt7915_add_interface()
    5f8535ab79df wifi: mt76: mt7921: fix using incorrect group cipher after disconnection.
    b2c3d926fd5b wifi: mt76: mt76u_vendor_request: Do not print error messages when -EPROTO
    2569e65d2eb6 landlock: Handle weird files
    979204ce6902 net/smc: fix data error when recvmsg with MSG_PEEK flag
    5f8738915b9c clk: thead: Fix cpu2vp_clk for TH1520 AP_SUBSYS clocks
    d592d6635264 clk: thead: Add CLK_IGNORE_UNUSED to fix TH1520 boot
    51232f911441 clk: thead: Fix clk gate registration to pass flags
    d9d1fb1f1708 clk: ralink: mtmips: remove duplicated 'xtal' clock for Ralink SoC RT3883
    cd10b7fcb95a wifi: mac80211: don't flush non-uploaded STAs
    984e7d2aa0de wifi: mac80211: Fix common size calculation for ML element
    10d8f4748111 wifi: mac80211: fix tid removal during mesh forwarding
    8ec6762a8eb8 wifi: cfg80211: Move cfg80211_scan_req_add_chan() n_channels increment earlier
    270ad6776e7c wifi: mac80211: prohibit deactivating all links
    7848626d0e49 wifi: iwlwifi: mvm: don't count mgmt frames as MPDU
    fbb563ad5032 wifi: iwlwifi: mvm: avoid NULL pointer dereference
    72c0f0cbbb43 wifi: iwlwifi: fw: read STEP table from correct UEFI var
    76fe201fd5b2 wifi: mt76: mt7915: Fix mesh scan on MT7916 DBDC
    d03b8fe1b518 wifi: mt76: mt7925: fix off by one in mt7925_load_clc()
    86250b9de90e hwmon: Fix help text for aspeed-g6-pwm-tach
    2403cb3c235d wifi: rtw89: fix race between cancel_hw_scan and hw_scan completion
    c115f7bcbbff wifi: rtw89: mcc: consider time limits not divisible by 1024
    7fc295fdd399 wifi: rtw89: avoid to init mgnt_entry list twice when WoWLAN failed
    223ba95fdcd3 wifi: rtw89: chan: fix soft lockup in rtw89_entity_recalc_mgnt_roles()
    1918a7c6bfcf wifi: rtw89: fix proceeding MCC with wrong scanning state after sequence changes
    61ad3210255b wifi: rtw89: tweak setting of channel and TX power for MLO
    0007546cb406 wifi: rtw89: chan: manage active interfaces
    f8ad42c530a6 wifi: rtw89: handle entity active flag per PHY
    45748f68402b wifi: wlcore: fix unbalanced pm_runtime calls
    b4459381ab7a wifi: mt76: mt7996: fix invalid interface combinations
    5816a934cf1b samples/landlock: Fix possible NULL dereference in parse_path()
    a8251d3a4c0c mfd: syscon: Fix race in device_node_get_regmap()
    f827eb547026 leds: cht-wcove: Use devm_led_classdev_register() to avoid memory leak
    a3bdd1493653 HID: fix generic desktop D-Pad controls
    e5bcae4212a6 HID: hid-thrustmaster: Fix warning in thrustmaster_probe by adding endpoint check
    2a7c25a527a4 clk: qcom: gcc-sdm845: Do not use shared clk_ops for QUPs
    425f6a38173b wifi: ath12k: fix tx power, max reg power update to firmware
    6e657a5515fe ipmi: ssif_bmc: Fix new request loss when bmc ready for a response
    3d62a5037f3e OPP: OF: Fix an OF node leak in _opp_add_static_v2()
    92cff996624c net/mlx5: HWS, fix definer's HWS_SET32 macro for negative offset
    8937f5e38a21 ax25: rcu protect dev->ax25_ptr
    5078123528b1 regulator: of: Implement the unwind path of of_regulator_match()
    210eb2198691 clk: sunxi-ng: a64: stop force-selecting PLL-MIPI as TCON0 parent
    fb330fb03d14 clk: sunxi-ng: a64: drop redundant CLK_PLL_VIDEO0_2X and CLK_PLL_MIPI
    0c2cde001e38 dt-bindings: clock: sunxi: Export PLL_VIDEO_2X and PLL_MIPI
    1bb06f919fa5 team: prevent adding a device which is already a team device lower
    2e65257e315b clk: qcom: camcc-x1e80100: Set titan_top_gdsc as the parent GDSC of subordinate GDSCs
    c197d8c24b78 clk: imx: Apply some clks only for i.MX93
    6a1c64d92948 arm64: dts: imx93: Use IMX93_CLK_SPDIF_IPG as SPDIF IPG clock
    61e74f4be83e clk: imx93: Add IMX93_CLK_SPDIF_IPG clock
    de5cfdcc4664 clk: imx: add i.MX91 clk
    505b041882a5 clk: imx93: Move IMX93_CLK_END macro to clk driver
    036f2f51098d dt-bindings: clock: imx93: Add SPDIF IPG clk
    46b7a2d86b5c dt-bindings: clock: Add i.MX91 clock support
    a7175e363abe dt-bindings: clock: imx93: Drop IMX93_CLK_END macro definition
    a553c563f9e7 clk: imx8mp: Fix clkout1/2 support
    4f8344fce91c udp: Deal with race between UDP socket address change and rehash
    60fbc6b52639 cpufreq: qcom: Implement clk_ops::determine_rate() for qcom_cpufreq* clocks
    a3ad17201d98 cpufreq: qcom: Fix qcom_cpufreq_hw_recalc_rate() to query LUT if LMh IRQ is not available
    7c86e802c6bc gpio: pca953x: log an error when failing to get the reset GPIO
    de7659f01ad1 net: airoha: Fix error path in airoha_probe()
    3257dac521d0 ptr_ring: do not block hard interrupts in ptr_ring_resize_multiple()
    07fb72fc9bc7 selftests: ktap_helpers: Fix uninitialized variable
    9096ba8b9b4e cpufreq: schedutil: Fix superfluous updates caused by need_freq_update
    c8c23a24fe58 pwm: stm32-lp: Add check for clk_enable()
    9345b588f88a inetpeer: do not get a refcount in inet_getpeer()
    4622e4509753 inetpeer: update inetpeer timestamp in inet_getpeer()
    dc4fd82dad77 inetpeer: remove create argument of inet_getpeer()
    d474a73856ae inetpeer: remove create argument of inet_getpeer_v[46]()
    d57713600916 leds: netxbig: Fix an OF node reference leak in netxbig_leds_get_of_pdata()
    2f5d37e92d1d dt-bindings: mfd: bd71815: Fix rsense and typos
    4a3b902a4aa3 cpupower: fix TSC MHz calculation
    285412c1f0e3 ACPI: fan: cleanup resources in the error path of .probe()
    f0ebb06e222b hwmon: (nct6775): Actually make use of the HWMON_NCT6775 symbol namespace
    889433a2ed5a module: Convert default symbol namespace to string literal
    fa4eada0ab48 wifi: brcmfmac: add missing header include for brcmf_dbg
    27013847229f regulator: dt-bindings: mt6315: Drop regulator-compatible property
    bd1bb30b9f59 HID: multitouch: fix support for Goodix PID 0x01e9
    437212f72374 wifi: rtlwifi: pci: wait for firmware loading before releasing memory
    32acebca0a51 wifi: rtlwifi: fix memory leaks and invalid access at probe error path
    3c8e9b792f06 wifi: rtlwifi: destroy workqueue at rtl_deinit_core
    543e3e9f2e9e wifi: rtlwifi: remove unused check_buddy_priv
    e1f3281d2732 dt-bindings: leds: class-multicolor: Fix path to color definitions
    e561d1a2ba3a clk: fix an OF node reference leak in of_clk_get_parent_name()
    712b9797e45a dt-bindings: mmc: controller: clarify the address-cells description
    5842ce7b120c rxrpc: Fix handling of received connection abort
    87662cb2e8c5 spi: zynq-qspi: Add check for clk_enable()
    7d8947f2153e net_sched: sch_sfq: don't allow 1 packet limit
    82bd38bd5467 net_sched: sch_sfq: handle bigger packets
    47c90db29e25 selftests/bpf: Actuate tx_metadata_len in xdp_hw_metadata
    886271409603 wifi: cfg80211: tests: Fix potential NULL dereference in test_cfg80211_parse_colocated_ap()
    3bd668f4b132 clk: renesas: cpg-mssr: Fix 'soc' node handling in cpg_mssr_reserved_init()
    64c4dcaeac1d wifi: wcn36xx: fix channel survey memory allocation size
    58980b9730f3 wifi: rtlwifi: usb: fix workqueue leak when probe fails
    1ed113485360 wifi: rtlwifi: fix init_sw_vars leak when probe fails
    3ea6d7502213 wifi: rtlwifi: wait for firmware loading before releasing memory
    85e67f3b89fa wifi: rtlwifi: rtl8192se: rise completion of firmware loading as last step
    35a6510800f7 wifi: rtlwifi: do not complete firmware loading needlessly
    411c77386699 wifi: rtlwifi: rtl8821ae: phy: restore removed code to fix infinite loop
    0ef5ef13d661 wifi: ath11k: Fix unexpected return buffer manager error for WCN6750/WCN6855
    e529fbcf1f35 ipmi: ipmb: Add check devm_kasprintf() returned value
    fdf0e2ec4625 genirq: Make handle_enforce_irqctx() unconditionally available
    d9cc477e77c6 drm/amdgpu: fix gpu recovery disable with per queue reset
    fd3ea4d5493f Revert "drm/amdgpu/gfx9: put queue resets behind a debug option"
    495497c6e7f7 drm/amdgpu: tear down ttm range manager for doorbell in amdgpu_ttm_fini()
    53da02eafd5a drm/bridge: it6505: Change definition of AUX_FIFO_MAX_SIZE
    37d00afa8035 drm/msm/mdp4: correct LCDC regulator name
    1ed982971d06 drm/msm: don't clean up priv->kms prematurely
    25599a16d777 drm/msm: Check return value of of_dma_configure()
    13492b477b99 drm/msm/dpu: link DSPP_2/_3 blocks on X1E80100
    84170589b50e drm/msm/dpu: link DSPP_2/_3 blocks on SM8650
    d4b2bed705ae drm/msm/dpu: link DSPP_2/_3 blocks on SM8550
    636cb9bdcb3e drm/msm/dpu: link DSPP_2/_3 blocks on SM8350
    f0258f99d209 drm/msm/dpu: link DSPP_2/_3 blocks on SM8250
    31a62075f0b8 drm/msm/dpu: link DSPP_2/_3 blocks on SC8180X
    0fa91a4911ab drm/msm/dpu: link DSPP_2/_3 blocks on SM8150
    2c017e0d0970 drm/msm/dpu: provide DSPP and correct LM config for SDM670
    ff2def251849 OPP: fix dev_pm_opp_find_bw_*() when bandwidth table not initialized
    7d68c20638e5 OPP: add index check to assert to avoid buffer overflow in _read_freq()
    833b813b7fda drm/amdgpu/vcn: reset fw_shared under SRIOV
    1831b7b2b16f drm/rockchip: vop2: include rockchip_drm_drv.h
    d76731db8923 drm/rockchip: vop2: Add check for 32 bpp format for rk3588
    c4147b0b2c1e drm/rockchip: vop2: Check linear format for Cluster windows on rk3566/8
    684a0e469140 drm/rockchip: vop2: Setup delay cycle for Esmart2/3
    933d3c6952c9 drm/rockchip: vop2: Set AXI id for rk3588
    4128fb6a69bf drm/connector: Allow clearing HDMI infoframes
    b727c2c9c3ab printk: Defer legacy printing when holding printk_cpu_sync
    a7b38cd0c10a drm/rockchip: vop2: Fix the windows switch between different layers
    36766cdebe92 drm/panthor: Preserve the result returned by panthor_fw_resume()
    dc03fc577966 drm/rockchip: vop2: Fix the mixer alpha setup for layer 0
    869e43d21e7b drm/rockchip: vop2: Fix cluster windows alpha ctrl regsiters offset
    0b97cd8a61b2 drm/amdgpu: Fix potential NULL pointer dereference in atomctrl_get_smc_sclk_range_table
    e656f04ecd52 drm/amd/pm: Fix an error handling path in vega10_enable_se_edc_force_stall_config()
    ebaeca33d32c HID: core: Fix assumption that Resolution Multipliers must be in Logical Collections
    cb52be07651b drm/etnaviv: Fix page property being used for non writecombine buffers
    ae7d4873471c drm/msm/hdmi: simplify code in pll_get_integloop_gain
    99a877d607b4 drm/msm/dp: set safe_to_exit_level before printing it
    60075d4fc2e9 drm/rockchip: vop2: fix rk3588 dp+dsi maxclk verification
    af8d1d524ba6 drm/v3d: Fix performance counter source settings on V3D 7.x
    10a7d3e73408 psi: Fix race when task wakes up before psi_sched_switch() adjusts flags
    3f1215588b26 sched: psi: pass enqueue/dequeue flags to psi callbacks directly
    fd2818c5e08f sched: Split out __schedule() deactivate task logic into a helper
    c572fb94371d x86/topology: Use x86_sched_itmt_flags for PKG domain unconditionally
    b8af5591f35f x86/cpu: Enable SD_ASYM_PACKING for PKG domain on AMD
    490ac3890e4d sched: Fix race between yield_to() and try_to_wake_up()
    5bb4039f77a6 sched/fair: Fix value reported by hot tasks pulled in /proc/schedstat
    e4b64d34a48c sched/fair: Untangle NEXT_BUDDY and pick_next_task()
    d4ac10094869 perf/core: Save raw sample data conditionally based on sample type
    404ec81d6159 afs: Fix the fallback handling for the YFS.RemoveFile2 RPC call
    1e8c151fb26a nvme: fix bogus kzalloc() return check in nvme_init_effects_log()
    68303b5d382b select: Fix unbalanced user_access_end()
    c750de306651 btrfs: subpage: fix the bitmap dump of the locked flags
    0a1e8e59cdae partitions: ldm: remove the initial kernel-doc notation
    3118b5818a8f btrfs: improve the warning and error message for btrfs_remove_qgroup()
    e8c390a9a546 nvme: Add error path for xa_store in nvme_init_effects
    c5c5114bd7cb selftests/powerpc: Fix argument order to timer_sub()
    7043d58ecd13 powerpc/pseries/iommu: IOMMU incorrectly marks MMIO range in DDW
    4621771de1f1 nvme: Add error check for xa_store in nvme_get_effects_log
    dbcc46e79659 nvme-tcp: Fix I/O queue cpu spreading for multiple controllers
    d313ff5308fd block: don't update BLK_FEAT_POLL in __blk_mq_update_nr_hw_queues
    e278c7ff7574 block: check BLK_FEAT_POLL under q_usage_count
    cc0093865ea7 pstore/blk: trivial typo fixes
    a8ee6ecde2b7 nbd: don't allow reconnect after disconnect
    20e84b406fea ps3disk: Do not use dev->bounce_size before it is set
    f83f330fc432 block: retry call probe after request_module in blk_request_module
    d5354552f1f5 block: copy back bounce buffer to user-space correctly in case of split
    784908004f92 fs: fix proc_handler for sysctl_nr_open
    966a8ea20002 afs: Fix cleanup of immediately failed async calls
    47b3d95c0605 afs: Fix directory format encoding struct
    b393be8d8e71 afs: Fix EEXIST error returned from afs_rmdir() to be ENOTEMPTY
    af7198700a31 dlm: fix srcu_read_lock() return type to int
    a78032162103 dlm: fix removal of rsb struct that is master and dir record
    52b76423a4e2 powerpc/book3s64/hugetlb: Fix disabling hugetlb when fadump is active
    4338831b831c coredump: Do not lock during 'comm' reporting
    807165b1ec1c tools/power/x86/intel-speed-select: Prefix header search path with sysroot
    e97df805b938 drm/tilcdc: Set preferred depth
    7160a4379dcc arch/arm64/configs: remove CONFIG_SM_DISPCC_8650
    6d8ac5ebe6e8 aufs6: core
    587abc1b64c4 aufs6: standalone
    1af41d30ef42 aufs6: mmap
    6ee2464d2e9d aufs6: base
    103b676505f7 aufs6: kbuild
    67281562943f qemux86: add configuration symbol to select values
    73f315ca0823 sched/isolation: really align nohz_full with rcu_nocbs
    1e4e7f8ab622 clear_warn_once: add a clear_warn_once= boot parameter
    918e7a825e8b clear_warn_once: bind a timer to written reset value
    f533f87c3758 clear_warn_once: expand debugfs to include read support
    f149ca27cba9 tools: Remove some options from CLANG_CROSS_FLAGS
    e633abe9c44e libbpf: Fix build warning on ref_ctr_off
    ec0916a4cfc1 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    03721ceb5626 perf: x86-32: explicitly include <errno.h>
    4c36c5295bb0 perf: mips64: Convert __u64 to unsigned long long
    b0200449610d perf: fix bench numa compilation
    aff0940b2212 perf: add SLANG_INC for slang.h
    ef912018d28c perf: add sgidefs.h to for mips builds
    d8860f858b87 perf: change --root to --prefix for python install
    dc38a0eee6e5 perf: add 'libperl not found' warning
    6ed51f8786da perf: force include of <stdbool.h>
    c538d4c4ac65 fat: Replace prandom_u32() with get_random_u32()
    63d94846f0c5 fat: don't use obsolete random32 call in namei_vfat
    7816667451ef FAT: Added FAT_NO_83NAME
    f81dbd60f0d5 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    771cdefba44b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    a24784fd8f88 yaffs2: update to v6.12 folio changes
    d0a48fd46db8 yaffs2: adapt to v6.10 i_time changes
    d097e4d4115a yaffs: fix mtime/itime field access
    4411e0d49fe3 yaffs2: update VFS ctime operations to 6.6+
    1b6619086e8b yaffs2: v6.5 fixups
    25b261ee3c54 yaffs2: Fix miscalculation of devname buffer length
    5c07936a5d1c yaffs2: convert user_namespace to mnt_idmap
    55986a1284b3 yaffs2: replace bdevname call with sprintf
    6f5508f8db8f yaffs2: convert read_page -> readfolio
    fd179a5df5d5 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    c9a620dacdd1 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    78588208ed17 yaffs2: v5.12+ build fixups (not runtime tested)
    8d2dddba272c yaffs: include blkdev.h
    8c1ca9ef9712 yaffs: Fix build failure by handling inode i_version with proper atomic API
    27005cbac2ed yaffs2: v5.6 build fixups
    668211c9f9b7 yaffs2: fix memory leak when /proc/yaffs is read
    285f911dcc1c yaffs: add strict check when call yaffs_internal_read_super
    ffc2ed489ccf yaffs: repair yaffs_get_mtd_device
    6dce4b70a5e3 yaffs: Fix build failure by handling inode i_version with proper atomic API
    19f283abc5d1 yaffs2: fix memory leak in mount/umount
    04e84672b571 yaffs: Avoid setting any ACL releated xattr
    4f221d6a32e2 Yaffs:check oob size before auto selecting Yaffs1
    81f36004e56b fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    26d7a3dd0054 yaffs2: adjust to proper location of MS_RDONLY
    a7016eac4540 yaffs2: import git revision b4ce1bb (jan, 2020)
    feb240bbb91e initramfs: allow an optional wrapper script around initramfs generation
    874746eaa341 drivers: gpu: drm: msm: registers: improve reproducibility
    1d42508faee8 tools: use basename to identify file in gen-mach-types
    4b055eca593d iwlwifi: select MAC80211_LEDS conditionally
    97e20e275ac0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    6dec58319165 defconfigs: drop obselete options
    a416ccb5b6c9 linux-yocto: Handle /bin/awk issues
    7efe8a1e5158 uvesafb: provide option to specify timeout for task completion
    78d10ae07eca uvesafb: print error message when task timeout occurs
    80473b7eb8ca compiler.h: Undef before redefining __attribute_const__
    ddeff2f1a9a7 vmware: include jiffies.h
    3dcdda8912b4 Resolve jiffies wrapping about arp
    3b1507db6735 nfs: Allow default io size to be configured.
    c2fedad05f77 check console device file on fs when booting
    208d6fbada3f mount_root: clarify error messages for when no rootfs found
    dbe9454c8ea0 mconf: fix output of cflags and libraries
    7c7b224f5cce menuconfig,mconf-cfg: Allow specification of ncurses location
    b6c189c81397 modpost: mask trivial warnings
    a5cc21325ba9 kbuild: exclude meta directory from distclean processing
    361ec143c23f powerpc: serialize image targets
    605e6ccb304c arm: serialize build targets
    e94b04fcb7d2 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    44cc7f69a0a0 cpu/amd: inhibit SMP check for qemux86
    a08cb65331e6 x86_64_defconfig: Fix warnings
    8ad332ef777b mips: make current_cpu_data preempt safe
    754f05ddce3f mips: vdso: fix 'jalr $t9' crash in vdso code
    325ff78ff44d mips: Kconfig: add QEMUMIPS64 option
    99ae0eadcf11 4kc cache tlb hazard: tlbp cache coherency
    c6894c66a534 malta uhci quirks: make allowance for slow 4k(e)c
    8b52c01f3294 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    16c7629f035e drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    6b60c874cbb0 arm64: defconfig: cleanup config options
    8e44673ecd89 vexpress: Pass LOADADDR to Makefile
    f34e6805aad5 arm: ARM EABI socketcall
    94dec9b88de4 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: afaf1d44f7d7d2e01008ca4b0f9606c01fd008d8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Bruce Ashfield
b8e369ef61 linux-yocto/6.12: update to v6.12.12
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    d914acc16b59 Linux 6.12.12
    01a7e3a43ee2 drm/v3d: Assign job pointer to NULL before signaling the fence
    efd96fbe23fa io_uring/rsrc: require cloned buffers to share accounting contexts
    5d114fa2b650 Input: xpad - add support for wooting two he (arm)
    41359d0d2e1b Input: xpad - add support for Nacon Evol-X Xbox One Controller
    ccc95d7e2765 Input: xpad - improve name of 8BitDo controller 2dc8:3106
    27ae0bdcb073 Input: xpad - add QH Electronics VID/PID
    a183a11cd688 Input: xpad - add unofficial Xbox 360 wireless receiver clone
    fae6f9589de3 Input: atkbd - map F23 key to support default copilot shortcut
    5c92458f72e3 Input: xpad - add support for Nacon Pro Compact
    5f5e6cbc4f5e HID: wacom: Initialize brightness of LED trigger
    5e1bde45daba wifi: rtl8xxxu: add more missing rtl8192cu USB IDs
    fad7b5641068 ALSA: usb-audio: Add delay quirk for USB Audio Device
    bb50dc2aa49d Revert "usb: gadget: u_serial: Disable ep before setting port to null to fix the crash caused by port being null"
    f371471708c7 USB: serial: quatech2: fix null-ptr-deref in qt2_process_read_urb()
    01d1ebdab9cc scsi: storvsc: Ratelimit warning logs to prevent VM denial of service
    a20fcaa230f7 vfio/platform: check the bounds of read/write syscalls
    780ab8329672 cachestat: fix page cache statistics permission checking
    276df5deb88c Revert "HID: multitouch: Add support for lenovo Y9000P Touchpad"
    997f6ec4208b net: sched: fix ets qdisc OOB Indexing
    efe8db3ecaa4 smb: client: handle lack of EA support in smb2_query_path_info()
    639b40424d17 libfs: Use d_children list to iterate simple_offset directories
    e73e46c96b9b libfs: Replace simple_offset end-of-directory detection
    9e9e710f68ba Revert "libfs: fix infinite directory reads for offset dir"
    bfb98a55cf5e Revert "libfs: Add simple_offset_empty()"
    1c3cf02db810 libfs: Return ENOSPC when the directory offset range is exhausted
    4516febe3253 gfs2: Truncate address space when flipping GFS2_DIF_JDATA flag
    556ee8e94410 mm: zswap: move allocations during CPU init outside the lock
    8d29ff5d5030 mm: zswap: properly synchronize freeing resources during CPU hotunplug
    f5712784c988 ASoC: samsung: Add missing depends on I2C
    d15dfc4e57cf hwmon: (drivetemp) Set scsi command timeout to 10s
    418bd70d1aca irqchip/sunxi-nmi: Add missing SKIP_WAKE flag
    0485a718f3df drm/connector: hdmi: Validate supported_formats matches ycbcr_420_allowed
    d756b869bf47 ALSA: hda/realtek: Fix volume adjustment issue on Lenovo ThinkBook 16P Gen5
    52502780b235 of/unittest: Add test that of_address_to_resource() fails on non-translatable address
    c9d6afb4f9c3 drm/amd/display: Initialize denominator defaults to 1
    4b46fc30b37e drm/amd/display: Use HW lock mgr for PSR1
    a743dc255b9f scsi: iscsi: Fix redundant response for ISCSI_UEVENT_GET_HOST_STATS request
    91e698058e91 ASoC: cs42l43: Add codec force suspend/resume ops
    81aa72e17cca seccomp: Stub for !CONFIG_SECCOMP
    678c6e80babb ASoC: samsung: Add missing selects for MFD_WM8994
    5da8a2c5f369 ASoC: codecs: es8316: Fix HW rate calculation for 48Mhz MCLK
    153ac259c27f ASoC: wm8994: Add depends on MFD core
    807165b1ec1c tools/power/x86/intel-speed-select: Prefix header search path with sysroot
    e97df805b938 drm/tilcdc: Set preferred depth
    7160a4379dcc arch/arm64/configs: remove CONFIG_SM_DISPCC_8650
    6d8ac5ebe6e8 aufs6: core
    587abc1b64c4 aufs6: standalone
    1af41d30ef42 aufs6: mmap
    6ee2464d2e9d aufs6: base
    103b676505f7 aufs6: kbuild
    67281562943f qemux86: add configuration symbol to select values
    73f315ca0823 sched/isolation: really align nohz_full with rcu_nocbs
    1e4e7f8ab622 clear_warn_once: add a clear_warn_once= boot parameter
    918e7a825e8b clear_warn_once: bind a timer to written reset value
    f533f87c3758 clear_warn_once: expand debugfs to include read support
    f149ca27cba9 tools: Remove some options from CLANG_CROSS_FLAGS
    e633abe9c44e libbpf: Fix build warning on ref_ctr_off
    ec0916a4cfc1 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    03721ceb5626 perf: x86-32: explicitly include <errno.h>
    4c36c5295bb0 perf: mips64: Convert __u64 to unsigned long long
    b0200449610d perf: fix bench numa compilation
    aff0940b2212 perf: add SLANG_INC for slang.h
    ef912018d28c perf: add sgidefs.h to for mips builds
    d8860f858b87 perf: change --root to --prefix for python install
    dc38a0eee6e5 perf: add 'libperl not found' warning
    6ed51f8786da perf: force include of <stdbool.h>
    c538d4c4ac65 fat: Replace prandom_u32() with get_random_u32()
    63d94846f0c5 fat: don't use obsolete random32 call in namei_vfat
    7816667451ef FAT: Added FAT_NO_83NAME
    f81dbd60f0d5 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    771cdefba44b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    a24784fd8f88 yaffs2: update to v6.12 folio changes
    d0a48fd46db8 yaffs2: adapt to v6.10 i_time changes
    d097e4d4115a yaffs: fix mtime/itime field access
    4411e0d49fe3 yaffs2: update VFS ctime operations to 6.6+
    1b6619086e8b yaffs2: v6.5 fixups
    25b261ee3c54 yaffs2: Fix miscalculation of devname buffer length
    5c07936a5d1c yaffs2: convert user_namespace to mnt_idmap
    55986a1284b3 yaffs2: replace bdevname call with sprintf
    6f5508f8db8f yaffs2: convert read_page -> readfolio
    fd179a5df5d5 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    c9a620dacdd1 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    78588208ed17 yaffs2: v5.12+ build fixups (not runtime tested)
    8d2dddba272c yaffs: include blkdev.h
    8c1ca9ef9712 yaffs: Fix build failure by handling inode i_version with proper atomic API
    27005cbac2ed yaffs2: v5.6 build fixups
    668211c9f9b7 yaffs2: fix memory leak when /proc/yaffs is read
    285f911dcc1c yaffs: add strict check when call yaffs_internal_read_super
    ffc2ed489ccf yaffs: repair yaffs_get_mtd_device
    6dce4b70a5e3 yaffs: Fix build failure by handling inode i_version with proper atomic API
    19f283abc5d1 yaffs2: fix memory leak in mount/umount
    04e84672b571 yaffs: Avoid setting any ACL releated xattr
    4f221d6a32e2 Yaffs:check oob size before auto selecting Yaffs1
    81f36004e56b fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    26d7a3dd0054 yaffs2: adjust to proper location of MS_RDONLY
    a7016eac4540 yaffs2: import git revision b4ce1bb (jan, 2020)
    feb240bbb91e initramfs: allow an optional wrapper script around initramfs generation
    874746eaa341 drivers: gpu: drm: msm: registers: improve reproducibility
    1d42508faee8 tools: use basename to identify file in gen-mach-types
    4b055eca593d iwlwifi: select MAC80211_LEDS conditionally
    97e20e275ac0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    6dec58319165 defconfigs: drop obselete options
    a416ccb5b6c9 linux-yocto: Handle /bin/awk issues
    7efe8a1e5158 uvesafb: provide option to specify timeout for task completion
    78d10ae07eca uvesafb: print error message when task timeout occurs
    80473b7eb8ca compiler.h: Undef before redefining __attribute_const__
    ddeff2f1a9a7 vmware: include jiffies.h
    3dcdda8912b4 Resolve jiffies wrapping about arp
    3b1507db6735 nfs: Allow default io size to be configured.
    c2fedad05f77 check console device file on fs when booting
    208d6fbada3f mount_root: clarify error messages for when no rootfs found
    dbe9454c8ea0 mconf: fix output of cflags and libraries
    7c7b224f5cce menuconfig,mconf-cfg: Allow specification of ncurses location
    b6c189c81397 modpost: mask trivial warnings
    a5cc21325ba9 kbuild: exclude meta directory from distclean processing
    361ec143c23f powerpc: serialize image targets
    605e6ccb304c arm: serialize build targets
    e94b04fcb7d2 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    44cc7f69a0a0 cpu/amd: inhibit SMP check for qemux86
    a08cb65331e6 x86_64_defconfig: Fix warnings
    8ad332ef777b mips: make current_cpu_data preempt safe
    754f05ddce3f mips: vdso: fix 'jalr $t9' crash in vdso code
    325ff78ff44d mips: Kconfig: add QEMUMIPS64 option
    99ae0eadcf11 4kc cache tlb hazard: tlbp cache coherency
    c6894c66a534 malta uhci quirks: make allowance for slow 4k(e)c
    8b52c01f3294 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    16c7629f035e drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    6b60c874cbb0 arm64: defconfig: cleanup config options
    8e44673ecd89 vexpress: Pass LOADADDR to Makefile
    f34e6805aad5 arm: ARM EABI socketcall
    94dec9b88de4 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 769f450ad451f101ec571014cd123b01c9fd53ad)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Bruce Ashfield
c8983084b3 kernel: remove unused 6.10 CVE exclusion file
When 6.10 was removed, this file was missed.

(From OE-Core rev: 4b7f4f4423d060feb713825830caaf4cb55ba6a3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Bruce Ashfield
5346f1fecb kernel: drop 6.6 reference kernels
Dropping the 6.6 reference kernel as the upcoming LTS will use
6.12 as the main reference with 6.13+ as the -dev kernel.

6.6 will not be supported upstream for the duration of the
LTS release, so droping it now to avoid uncessary mid-release
churn.

(From OE-Core rev: 6c445a6995f810e48a25cc0c13f37271836cba00)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Peter Marko
7013a9ed06 python3: upgrade 3.13.1 -> 3.13.2
Release notes:
https://docs.python.org/release/3.13.2/whatsnew/changelog.html#python-3-13-2

Solves CVE-2025-0938, CVE-2024-12254 and 3 other vulnerabilities without
CVE number assigment.

Remove patch which is included in new release.

(From OE-Core rev: 4b91478d47db319af847a45b7d57bb7223da55f8)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Khem Raj
0bf496f24b python3-cffi: Fix failing ptests with clang
Clang finds additional warnings with cffi generated code

_CFFI_test_verify_anonymous_struct_with_star_typedef.cpp:587:10: error: non-constant-expression cannot be narrowed from type 'long' to 'size_t' (ak│a 'unsigned long') in initializer list [-Wc++11-narrowing]

(From OE-Core rev: 470edc62b1821bcbb679bd3822acd98e9996c9e7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Quentin Schulz
31a537d124 b4-wrapper-poky.py: send changes to .b4-config to the poky mailing list
Both OE-Core and poky git repos have a .b4-config, both at the same
location and both different.

Therefore, changes made to .b4-config for OE-Core need to be sent to the
OE-Core mailing list and changes made to .b4-config for poky sent to the
poky mailing list.

Changes made to OE-Core's .b4-config can only be made from a vanilla
OE-Core git repo, not from poky git repo. With the current content of
OE-Core's .b4-config, b4-wrapper-poky.py script is NOT called to figure
out where to send patches, b4 gets it from the hardcoded value in
send-series-to.

Thus, we can say that if b4-wrapper-poky.py detects changes for
.b4-config, those changes are for poky since this script wouldn't be run
by b4 outside of poky git repo.

(From OE-Core rev: 1006712027812326fdeade2ab539b42bdf5b10e6)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 13:03:58 +00:00
Yi Zhao
a886f0a8cd liburcu: add missing header file in uatomic/generic.h
We encountered the following error when building multipath-tools on
qemuppc64 platform:

| In file included from /build/tmp/work/ppc64p9le-wrs-linux/multipath-tools/0.10.0/recipe-sysroot/usr/include/urcu/uatomic/ppc.h:228,
|                  from /build/tmp/work/ppc64p9le-wrs-linux/multipath-tools/0.10.0/recipe-sysroot/usr/include/urcu/uatomic.h:73,
|                  from lock.h:5,
|                  from lock.c:1:
| /build/tmp/work/ppc64p9le-wrs-linux/multipath-tools/0.10.0/recipe-sysroot/usr/include/urcu/uatomic/generic.h: In function '_uatomic_and':
| /build/tmp/work/ppc64p9le-wrs-linux/multipath-tools/0.10.0/recipe-sysroot/usr/include/urcu/uatomic/generic.h:422:24: error: implicit declaration of function 'abort' [-Wimplicit-function-declaration]
|   422 |                 oldt = uatomic_read((uint32_t *) addr);
|       |                        ^~~~~~~~~~~~
| /build/tmp/work/ppc64p9le-wrs-linux/multipath-tools/0.10.0/recipe-sysroot/usr/include/urcu/uatomic/generic.h:1:1: note: include '<stdlib.h>' or provide a declaration of 'abort'
|   +++ |+#include <stdlib.h>
|     1 | // SPDX-FileCopyrightText: 1991-1994 by Xerox Corporation.  All rights reserved.
| make[1]: *** [../Makefile.inc:155: lock.o] Error 1
| make[1]: Leaving directory '/build/tmp/work/ppc64p9le-wrs-linux/multipath-tools/0.10.0/git/libmultipath'

Add stdlib.h header file for abort() in uatomic/generic.h.

(From OE-Core rev: 6dd6da04485152971346ee3fc09402c72aacbf22)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 13:03:58 +00:00
Trevor Gamblin
fe5eb41c4c python3-typogrify: upgrade 2.0.7 -> 2.1.0
License-Update: Update copyright year, attribution bounds

The project has changed to using a pyproject.toml with hatchling as the
build backend, so change the recipe to match.

Changelog (https://github.com/justinmayer/typogrify/releases/tag/2.1.0):

- Add ability to select which filters are applied (#1 by davidlesieur & barrysteyn)
- jinja_filters: Update import for Jinja 3.1 (by jyelloz)
- Ensure all available tests are run (by mcepl)
- Package via pyproject instead of Setuptools (by justinmayer)
- Improve testing, linting, and CI tooling
- Drop support for Python < 3.9

(From OE-Core rev: 037f04b08c76caee6bda176e18c1e0b824f3bcf6)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 13:03:58 +00:00
Peter Marko
f7174e591f curl: upgrade 8.11.1 -> 8.12.0
Solves CVE-2025-0167, CVE-2025-0665 and CVE-2025-0725.

Initialize WATT_ROOT variable to avoid looking in host dirs
when autotools are checking available features.

License-Update: copyright year refreshed

(From OE-Core rev: dd642c786e9c9eee06a90562e69e70cb37e704df)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 13:03:58 +00:00
Igor Opaniuk
10870db533 wic: bootimg-efi: Support + symbol in filenames
Allow the '+' symbol as a valid character in filenames listed in the
IMAGE_EFI_BOOT_FILES variable.

The '+' symbol might be used to support boot counting for boot entries,
as described in the UAPI Boot Loader Specification [1]:

The boot counting data is stored in the name of the boot loader entry.
A boot loader entry file name may contain a plus (+) followed by a
number. This may optionally be followed by a minus (-)
followed by a second number. The dot (.) and file name suffix
(conf or efi) must immediately follow.
Boot counting is enabled for entries which match this pattern.

Example:
IMAGE_EFI_BOOT_FILES:append = " entry.conf;loader/entries/entry+3.conf"

[1] https://uapi-group.org/specifications/specs/boot_loader_specification/#boot-counting
(From OE-Core rev: 3f25822281eb9423ff86105eaebb0bed48663648)

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 13:03:58 +00:00
Peter Marko
2f816f756b cmake: apply parallel build settings to ptest tasks
ptest compile and install tasks do not have parallel build settings for
cmake. On powerful build machines this can cause overload situations
and oomkills.
Observed when building qtgrpc with ptest generally enabled in distro.

Having this in ptest class is suboptimal, but creating ptest-cmake class
just for these two variables is probably overkill.

(From OE-Core rev: 3c311fbf0c2090268e9b83123d762b05b61b4074)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 13:03:58 +00:00
Khem Raj
73b287b434 mpfr: Fix build with glibc 2.41
(From OE-Core rev: 7c4aa234e9c159f381ccccae0ea906f38790afba)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 13:03:58 +00:00
Ross Burton
78d0ba12ef dbus: explictly set the path to systemctl
The dbus.socket user unit file calls systemctl, and the meson.build uses
find_program() to find the path, falling back to a hardcoded value if it
cannot be found.

On the initial build the sysroot doesn't contain systemctl (as it is not
in the target systemd sysroot), however after the do_package_write_*
tasks have completed there is a systemd-systemctl-native recipe in the
sysroot which will be found and result in host paths being in the target
packages, specifically in /usr/lib/systemd/user/dbus.socket:

  ExecStartPost=-/work/ross/build/tmp/work/core2-64-poky-linux/dbus/1.16.0/recipe-sysroot-native/usr/bin/systemctl

This can be replicated by forcing a rebuild after a forced packaging:

$ bitbake dbus -C do_package_write_ipk
$ bitbake dbus -C configure
ERROR: dbus-1.16.0-r0 do_package_qa: QA Issue: File
/usr/lib/systemd/user/dbus.socket in package dbus-common contains
reference to TMPDIR [buildpaths]

We could do the unit mask manually instead of using systemctl (as it's
just a symlink) but the hardcoded path is still wrong, so write a small
Meson cross file to specify where the binary is.

(From OE-Core rev: 2ebfe3d8df809f6cf057ac7b56cdbc265f05b37a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 13:03:58 +00:00
Koen Kooi
f555c53c1e uki.bbclass: remove duplicate d.getVar('DEPLOY_DIR_IMAGE')
This class calls d.getVar('DEPLOY_DIR_IMAGE') twice within the same
method, but DEPLOY_DIR_IMAGE variable won't change during the run of
this class, so only retrieve it once.

(From OE-Core rev: 6866da9f3a273ed7217e9edfca299fc2e68b2f75)

Signed-off-by: Koen Kooi <koen.kooi@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 13:03:58 +00:00
Mikko Rapeli
3582905ff9 systemd-boot-native: fix kernel signature for secureboot
systemd update from 256 to 257 broke kernel secureboot signatures
inside signed UKI files with u-boot based UEFI firmware, e.g.
meta-arm and qemuarm64-secureboot machine config and secureboot:

$ cd meta-arm
$ kas build ci/poky.yml:ci/qemuarm64-secureboot.yml:ci/uefi-secureboot.yml:ci/testimage.yml

systemd-boot itself is secureboot signed and verified by firmware.
Same for the UKI file which combines kernel, initramfs etc.
Then kernel from UKI is additionally executed using UEFI firmware calls
which check signatures so the kernel binary inside signed UKI
needs to be signed with same keys too. PE file padding added
to systemd ukify in 257 release broke kernel signature validation
for u-boot and sbsign/sbverify tools. EDK2 based firmware like
OVMF may not be affected because systemd-boot is able to disable
signature checking after a signed UKI has been loaded. This feature
is not supported by u-boot.

Upstream systemd bug report:

https://github.com/systemd/systemd/issues/35851

Backport of:

38801c9129

Cc: Jon Mason <jdmason@kudzu.us>
Cc: meta-arm@lists.yoctoproject.org
(From OE-Core rev: 979d8b16a5238ea368b2ee39d436b6e13d94b076)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 13:03:58 +00:00
Mikko Rapeli
a47637f7c0 uki.bbclass: capture ukify command stdout and stderr
ukify tool can show important warnings and even errors
if it fails so capture the logs.

(From OE-Core rev: 6ac326a4f9d19fa154c9ce172a264f55ebe5b1ef)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 13:03:58 +00:00
Mikko Rapeli
29bccf5ae1 systemd-boot-native: move do_install() to after do_patch()
The tasks were deleted and do_patch() was run after do_install()
which means that patches applied in SRC_URI were not in the
ukify.py binary installed. Moving do_install() to after do_patch()
fixes this.

(From OE-Core rev: 0218a7a7dbf12ef817608881a3a17d9670c0778a)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 13:03:58 +00:00
Tom Hochstein
371ecef318 uboot-config: Fix devtool modify
Fix a problem with `devtool modify` as suggested by Marcus Flyckt on
the mailing list:
```
    I encountered an issue with `do_config` when using `devtool modify`
    on `u-boot-imx`.

    ```
    [...]
    | cp: cannot stat '[...]/u-boot-imx/2024.04/build/imx8mp_wl400s_defconfig/.config': No such file or directory
    | WARNING: exit code 1 from a shell command.
    ERROR: Task ([...]/sources/poky/../meta-freescale/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_configure) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 963 tasks of which 962 didn't need to be rerun and 1 failed.
    Summary: 1 task failed:
      [...]/sources/poky/../meta-freescale/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_configure
    Summary: There was 1 ERROR message, returning a non-zero exit code
    ```

    The issue seems to originate from the following lines in
    `workspace/appends/u-boot-imx_2024.04.bbappend`:

    ```
    do_configure:append() {
        if [ ${@oe.types.boolean(d.getVar("KCONFIG_CONFIG_ENABLE_MENUCONFIG"))} = True ]; then
            cp ${KCONFIG_CONFIG_ROOTDIR}/.config ${S}/.config.baseline
            ln -sfT ${KCONFIG_CONFIG_ROOTDIR}/.config ${S}/.config.new
        fi
    }
    ```

    For some reason `KCONFIG_CONFIG_ROOTDIR` does not point to the
    correct directory. It gets its value in `uboot-config.bbclass`:

    ```
    if len(ubootconfig) == 1:
                    d.setVar('KCONFIG_CONFIG_ROOTDIR', os.path.join(d.getVar("B"), d.getVar("UBOOT_MACHINE").strip()))
    ```

    So the main issue is that B gets expanded in this expression, and
    then later B gets changed by `externalsrc.bbclass`.
    `d.getVar("B", False)` does not solve the issue, however the
    proposed change does.
```
- https://lists.yoctoproject.org/g/yocto/topic/109254298#msg64152]

Fixes [YOCTO #15603]

Suggested-by: Marcus Flyckt <marcus.flyckt@gmail.com>
(From OE-Core rev: 57b21065a25100c31515b32fd7c77bde3355d684)

Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 13:03:58 +00:00
Weisser, Pascal.ext
5a2a263929 documentation.conf: Add description for IMAGE_ROOTFS_MAXSIZE variable
(From OE-Core rev: 8c4281b66ad87f8f951314252eb6ab8fc711212b)

Signed-off-by: Weisser, Pascal <pascal.weisser.ext@karlstorz.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 13:03:57 +00:00
Peter Marko
39cbbd1a87 classes: switch p7zip to 7zip
meta-oe has switched from p7zip to 7zip.
p7zip recipe does not exist anymore and p7zip is provided and rprovided
by 7zip recipe.
Use real provider instead of replaced one.

(From OE-Core rev: 5aa516bfa295d5be919459dfe45f452cdec45e81)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 13:03:57 +00:00
Daniel McGregor
f82bac5b5a rpm: add PACKAGECONFIG dependencies
The cap and acl configs were missing dependency specifications. They
could get satisfied transitively if archive was also used, but alone
get missed.

(From OE-Core rev: 7e89209fd52b1b1652c65013eb3bcc40cb24cda5)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 13:03:57 +00:00
Ross Burton
c4a4cc8b6a libslirp: set the PV in the filename
As this recipe builds the tagged releases we can put the PV in the
filename.

(From OE-Core rev: 2c7c9eb6ff996639a632059102de4d1168958eb6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 13:03:57 +00:00
Ross Burton
fca4f4f712 openssl: fix register trampling on aarch64
Backport a patch from upstream to fix register tramping on aarch64.

(From OE-Core rev: 9005321e37030d916f4f26e7201e2f86c85ebdbd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 13:03:57 +00:00
Ross Burton
a9f345c9ae nfs-utils: remove python hashbang rewrites
These were replaced with python3 in 2.5.2 (commit d1683f).

(From OE-Core rev: 85ae456a12bccabc62cb0906b92d6705f88c932f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 13:03:57 +00:00
Richard Purdie
89ce67d8e4 recipes: Drop ld-is-gold support
Gold hasn't seen development in some time and is being dropped from binutils
releases. Drop the small number of special cases for it we were carrying.

This patch also turns off gold in the binutils recipe.

(From OE-Core rev: a4addb9ab63011e7c604fc5daff95559e7d214e7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 13:03:57 +00:00
Peter Marko
6d0cf6477c go: upgrade 1.22.11 -> 1.22.12
Upgrade to latest 1.22.x release [1]:

$ git --no-pager log --oneline go1.22.11..go1.22.12
5817e65094 (tag: go1.22.12) [release-branch.go1.22] go1.22.12
0cc45e7ca6 [release-branch.go1.22] crypto/internal/fips140/nistec: make p256NegCond constant time on ppc64le
c3c6a50095 [release-branch.go1.22] cmd/go/internal/modfetch: do not trust server to send all tags in shallow fetch
e0a01acd04 [release-branch.go1.22] cmd/compile: fix write barrier coalescing

Fixes CVE-2025-22866

[1] https://github.com/golang/go/compare/go1.22.11...go1.22.12

(From OE-Core rev: 423ad5a67768738dac454b1e2aa27746f74511c5)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 13:03:57 +00:00
Richard Purdie
f91a2072c9 go: Fix to work without gold on aarch64
If we remove gold from binutils, go-runtime fails to build. There was a
workaround in go to use gold as the bfd linker had a bug. The issue was
fixed so backport dropping the workaround fmr upstream.

(From OE-Core rev: 4636b7206b2e4247835d60956e62f5a2efea9e81)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 13:03:57 +00:00
Ninette Adhikari
9f31270600 scripts/buildperf: Add chart tabs for commit count/time
We triggered a test of an older revision to narrow down when performance
changed. The issue is that git's timestamps are granular to 1s. We'll
usually merge a set of commits at the same time so they will all have
the same timestamp for a block of them. This means that even if we use
the commit date, all the points can't be distinguished on the graph.
The author date doesn't work either as the commits are not merged in
author date order.

To solve this this patch adds the commit_count chart as a separate tab
next to the start_time chart

(From OE-Core rev: b263edd33f6c895238d81ef148c0445fcd0aa268)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-09 22:23:30 +00:00
Richard Purdie
e0a7a6eb09 lib/oeqa/metadata: Add commit_time to branch metadata being saved
As well as commit counts, it is helpful to know when metadata dates from. Store
the unix timestamp for commits in a commit_time field alongside the commit count.

This is useful for performance graph analysis and saves having to recompute the
data.

(From OE-Core rev: 56d1bc3f8f45d2f9c8ca0319c429cec562a16384)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-09 22:23:30 +00:00
Antonin Godard
cf616cbae7 migration-5.2: add virtual provider change
The commit 4ccc3bc8266c ("classes/recipes: Switch virtual/XXX-gcc to
virtual/cross-cc (and c++/binutils)") in OE-Core changes the
virtual/XXX-gcc to virtual/cross-cc (and c++/binutils) syntax. Add it to
the migration manual.

(From yocto-docs rev: 6eda443c7fcfeecebd6b44b96a1587c4bb093a34)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>
2025-02-07 17:52:48 +00:00
Antonin Godard
8c49710b8d migration-5.2: document BB_CURRENT_MC default value change
After commit 0fa0d8d764bb ("cooker/cache: Drop mc 'default' string
value") in Bitbake, the default value of BB_CURRENT_MC was changed from
"default" to an empty string. Document it.

(From yocto-docs rev: efbd8fa30a5cc42d5243aa87e00e2d92cb265adb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>
2025-02-07 17:52:48 +00:00
Lee Chee Yang
4e4996855f migration-guides: add release notes for 5.1.2
(From yocto-docs rev: ba80f0cdeea9e2e3bbfecfeae8c3be9a2cb36297)

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>
2025-02-07 17:52:48 +00:00
Lee Chee Yang
a65594c2b5 migration-guides: add release notes for 4.0.24
(From yocto-docs rev: 57f92aebc14c45bd73bb0b730bdbf6526e7e5546)

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>
2025-02-07 17:52:48 +00:00
Simon A. Eugster
42957c5c25 ref-manual: Describe grub-efi-cfg overrides and GRUB_TITLE
This patch describes how to use overrides for grub-efi-cfg because that
is otherwise only clear after reading the .bbclass file. It also adds
a description for GRUB_TITLE.

(From yocto-docs rev: b9ec7d124c9cbaf6c05415277fa028a39ce9e02f)

Signed-off-by: "Simon A. Eugster" <simon.eu@gmail.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-07 17:52:48 +00:00
Antonin Godard
0eb974d972 ref-manual/faq: add q&a on systemd as default
Originally written by Richard Purdie, but formatted in rst syntax and
slight rephrasing.

Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 568922014e5c00ecf0c3d19b8c7fefa0e3801183)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-07 17:52:48 +00:00
Antonin Godard
6fd46f2e87 dev-manual/devtool: remove reference to the extensible SDK
There were leftover references to the extensible SDK after moving the
devtool documentation from the Extensible SDK document to its own
devtool document.

This patch follows the bulk move to make it clear what was modified in
the document.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 032d2f3297ff4b5ee4e000b3dd0748a58b5f32e0)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-07 17:52:48 +00:00
Antonin Godard
cfe5da1f75 Move devtool doc from extensible to dev manual
[YOCTO #13417]

devtool is not directly tied to the Extensible SDK anymore, and
instructions in there can be split and added to the development manual.

This patch is a simple bulk move, except for the following:

- Intro added to the devtool.rst document (mostly copy-pasted from the
  devtool quick reference in the ref-manual).
- Figures renamed to remove "sdk-" from filenames.
- References to sdk-manual/extensible replaced by dev-manual/devtool.

Reported-By: Paul Eggleton <bluelightning@bluelightning.org>
(From yocto-docs rev: 044d3185b858fce1febcfe3a6834b883f9a598fa)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-07 17:52:48 +00:00
Zoltán Böszörményi
21521c6218 dev-manual/packages: add information about signing changes
(From yocto-docs rev: 6c1a77e5db7ae9910d24deb023619b9391c8b4ad)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-07 17:52:48 +00:00
Zoltán Böszörményi
d554399bf8 release-notes-5.2: add information about rpm and sequoia
(From yocto-docs rev: 074592afcba03e932778471c44019623943814fc)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-07 17:52:48 +00:00
Simon A. Eugster
afb9ac9181 documentation: Fix typo in standards.md
(From yocto-docs rev: 9007d7eb63b296aae832028924d89f83dc159992)

Signed-off-by: "Simon A. Eugster" <simon.eu@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-07 17:52:48 +00:00
Richard Purdie
cfb975c62e Revert "selftest/sstatetests: run CDN mirror check only once"
This reverts commit 0d3901b768.

We've still having CDN issues so go back to the double attempt to
see if this improves things.

(From OE-Core rev: 136f0edb75d9601a0ae56e025419d3cddfb90219)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-06 21:44:47 +00:00
Quentin Schulz
65e773f88b b4-config: Add basic support for b4 contribution workflow
b4[1] is a very nice tool for mail-based contribution. A config[2] file
exists to set up a few defaults. We can use it to provide the Cc and To
recipient list for the series.

This uses the b4-wrapper-poky.py script for checking that each patch in
the series is only for one project. Indeed, poky is actually a
"collection" of multiple repositories, namely BitBake, OpenEmbedded-Core
and the Yocto Docs. One patch should therefore not make changes in
multiple of those projects otherwise it cannot be merged.

Additionally, a check is added to make sure that a series only touches
files from one project to avoid having to figure out which patch is to
be merged by which maintainer in which project repo.

Moreover, it is not uncommon to have people develop patches for those
projects from within poky. This wrapper figures out which mailing lists
to send patches to based on the files that are modified in the series.
Considering that patches to the bitbake/doc/ directory need to be sent
to both the bitbake and yocto-docs mailing list (To recipient for the
former, Cc recipient for the latter) this wrapper handles that.
A limitation of the script (lsdiff actually) is that it doesn't know how
to handle empty files, but those should be of rather rare occurrences.

Note that this script requires hardcoding of paths that are handled by
different projects to map files to projects. Anything not mapped is
assumed part of OE-Core.

[1] https://pypi.org/project/b4/
[2] https://b4.docs.kernel.org/en/latest/config.html

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-06 10:40:55 +00:00
Quentin Schulz
0698d606be scripts: add b4-wrapper for poky
poky is a combo-layer containing BitBake, OpenEmbedded-Core and Yocto
Documentation source code into one big repo. It is not uncommon to have
people develop patches for either of those projects from a poky git
repo.
However, it is unlikely those patches are to be sent to the poky mailing
list as very few files contained in the poky git repo actually are
poky-specific. So we need a way to identify to which mailing list a
patch is destined to be sent.
Additionally, because the source code in openembedded-core is
merged/imported at the root of the git repo of poky, its .b4-config
introduced in the previous commit will be used if not overridden (which
will be done in a separate commit specific to the poky git repo). We
need to provide a different .b4-config in poky.

Therefore, this wrapper is used to identify automatically which mailing
list a patch series needs to be sent to (via b4 prep --auto-to-cc) and
does some additional checks (via b4 prep --check) such as making sure a
patch doesn't modify two different projects at the same time or that
multiple projects are modified by different patches in the same patch
series.

This wrapper script is meant to be used by poky's .b4-config. Ideally
the b4 prep --check part could be offloaded to `patchtest` once it
supports running on source different from OE-Core.

Note that b4 makes sure that an address doesn't appear twice in the
recipient list. There's also no priority in the type of recipient list,
so if the address appears first in Cc and then in To, only the Cc will
be added. The opposite is true as well.

(From OE-Core rev: a1d629a0823cf724bda607ef8d88ee4f722c3a08)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-06 10:40:10 +00:00
Quentin Schulz
64ef07f6c4 bitbake: b4-config: Add basic support for b4 contribution workflow
b4[1] is a very nice tool for mail-based contribution. A config[2] file
exists to set up a few defaults. We can use it to set the To recipients
to always add, in our case the mailing list.

This also adds a wrapper script that is called by b4 to figure out which
addresses to put as Cc recipients. Considering that patches to the doc/
directory also need to be sent to the yocto-docs mailing list, this
wrapper handles that. A limitation of the script (lsdiff actually) is
that it doesn't know how to handle empty files, but those should be
of rather rare occurrences.

Because we currently do not have anything to check for patch validity,
remove requirement for b4 prep --check to be run before sending a patch
series, via disable-needs-checking in prep-pre-flight-checks.

[1] https://pypi.org/project/b4/
[2] https://b4.docs.kernel.org/en/latest/config.html

(Bitbake rev: 8843860010c97cc10ff69205d209634639b6c5cd)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-06 10:40:10 +00:00
hongxu
069a346036 perl: fix do_install failed for nativesdk-perl
While set 'baselib = "lib64"' for nativesdk, perl do_install failed:
| rm: cannot remove 'tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-perl/
5.40.0/image//usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/
usr/lib64/perl5/5.40.0/*/CORE/libperl.so': No such file or directory

Refer perl class-target do_configure, explicitly pass option '--libdir=${libdir}'
to nativesdk do_configure

(From OE-Core rev: 68b368c77198c8f6e5f59e7b8a568645240ae426)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-06 07:40:53 +00:00
Omri Sarig
1141e202e7 python3: Fix typo in create_manifest3.py
Fixed a misspelled "posible" to "possible".

(From OE-Core rev: 7e2d743e4809d6cbaa8e441dc42624eb65daad63)

Signed-off-by: Omri Sarig <omri.sarig13@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 13:00:45 +00:00
Omri Sarig
4f60c1d029 python3: Fix typo in python3-manifest.json
Fix a wrong "the" to be the intended "that".

(From OE-Core rev: fe55f05a7068ba7b277a253058fdcc8964222bc1)

Signed-off-by: Omri Sarig <omri.sarig13@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 13:00:45 +00:00
Moritz Haase
10dce263f0 meta: Enable '-o pipefail' for the SDK installer
When testing a Yocto SDK installer on Alpine 3.21, we recently ended up with a
broken SDK. One of the commands the relocation script calls in a piped
multi-command chain failed (see [0]), but the installer did not realize that -
since it doesn't use 'set -o pipefail'. Thus, the error was never reported to
the user and the installer claimed to have set up the SDK correctly - which
wasn't the case.

Given that the SDK installer is a POSIX-compliant shell script and that the
'pipefail' option used to be missing from the standard, it's not surprising that
it isn't used. Thankfully however, in June of 2024, a new version of POSIX
(POSIX.1-2024) was released - and that one finally includes the 'pipefail'
option (see [1]). A number of shells already support it, so let's enable it if
available to make the SDK installer more robust.

The change has been tested locally using SDK installers for internal projects,
based on both Kirkstone and Scarthgap.

[0]: https://gitlab.alpinelinux.org/alpine/aports/-/issues/16797
[1]: https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/utilities/V3_chap02.html#set

(From OE-Core rev: 1cb4b41c7faf77fcc347b1276d86d4288968c926)

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 13:00:45 +00:00
Simone Weiß
7e55fd135f libseccomp: Upgrade 2.5.5 -> 2.6
Changelog:
- Update the syscall table for Linux v6.13
- Add support for new arches: SuperH little and big endian, LoongArch, and
  32-bit Motorola 68000
- Add multiplexed syscall support for more arches: MIPS, SuperH, and PPC
- Consolidate and simplify handling of multiplexed syscalls
- Add support for the SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV flag
- Add support for transactions with the seccomp_transaction_start(),
  seccomp_transaction_commit(), and seccomp_transaction_reject() APIs
- Add a seccomp_precompute() API to generate the seccomp BPF filter prior to
  seccomp_load() or seccomp_export_bpf_mem()
- Add support for binary tree filters without syscalls
- Add support for the kernel’s implementation change of
  SECCOMP_IOCTL_NOTIF_ID_VALID
- Add Python binding support for retrieving the notification file descriptor
- Improved tooling to help track syscall table updates in the Linux kernel
- Handle EINVAL error from the kernel when the WAIT_KILLABLE_RECV flag is
  erroneously provided to the kernel
- Fix a seccomp userspace notification issue where the file descriptor was
  being requested more than once
- Fix a bug where the internal filter state could be corrupted when a filter
  rule addition fails
- Fix potential memory leak in the internal management of filter snapshots
- Utilize Cython rather than distutils in the Python bindings, due to
  distutils’ deprecation
- Many test and CI improvements and fixes
- Many documentation improvements and updates

(From OE-Core rev: 549a477660bd6ccda842b4ed34814b53470d08d8)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 13:00:45 +00:00
Alexander Kanavin
ce5428f48a rust: restore parallel builds, disable lto only for rustdoc
The original reproducibility fix was problematic for a couple reasons:

- disabling both lto and parallel builds had an unfortunate effect of nearly
doubling rust-native and rust build times (which are slow to begin with).
Disabling lto hurts runtime performance too.

- both of these things were done for the *entire build*, while the only
problematic item is the librustdoc crate.

- lto=off option in config.toml has an effect only on building rustc
(the compiler itself), and doesn't help with rustdoc reproducibility.
Actual fix is the codegen-units setting, which indirectly disables
lto via giving llvm only one unit to work with at a time.

After some digging, here's a more targeted fix for the problem.

Why librustdoc is non-reproducible, but not anything else
remains a mystery, hidden deep in rust-llvm's lto optimization code.

(From OE-Core rev: a1977407a88a2004c3a6d2dba1d5bfe1aa1664b2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Igor Opaniuk
fe0669477e rust/README-rust.md: fix markdown style issues
Fix markdown style issues using markdownlint tool [1]:

$ cat ./meta/recipes-devtools/rust/README-rust.md | mdl
(stdin):1: MD002 First header should be a top level header
(stdin):25: MD006 Consider starting bulleted lists at the beginning of the line
(stdin):3: MD009 Trailing spaces
(stdin):11: MD009 Trailing spaces
(stdin):26: MD009 Trailing spaces
(stdin):39: MD012 Multiple consecutive blank lines
(stdin):32: MD032 Lists should be surrounded by blank lines
(stdin):36: MD032 Lists should be surrounded by blank lines

[1] https://github.com/markdownlint/markdownlint
(From OE-Core rev: 62bade83dd6e021f11e9599a2699a1b202324f0f)

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Igor Opaniuk
e8d4c8a153 patchtest/README.md: fix markdown style issues
Fix markdown style issues using markdownlint tool [1]:

$ cat ./meta/lib/patchtest/README.md | mdl
(stdin):4: MD034 Bare URL used
(stdin):8: MD034 Bare URL used
(stdin):9: MD034 Bare URL used
(stdin):20: MD034 Bare URL used

[1] https://github.com/markdownlint/markdownlint
(From OE-Core rev: 623cd2ffa8815a60ef630974393b17a1489ebf41)

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Igor Opaniuk
bc175290e6 SECURITY.md: fix markdown style issues
Fix markdown style issues using markdownlint tool [1]:

$ cat SECURITY.md | mdl
(stdin):16: MD013 Line length
(stdin):19: MD013 Line length
(stdin):20: MD013 Line length
(stdin):1: MD026 Trailing punctuation in header
(stdin):6: MD034 Bare URL used
(stdin):16: MD034 Bare URL used
(stdin):19: MD034 Bare URL used

[1] https://github.com/markdownlint/markdownlint
(From OE-Core rev: 5339f5988afce79e9ff56788f715671579fd7cd1)

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Igor Opaniuk
f263e0f5e2 README.qemu.md: fix markdown style issues
Fix markdown style issues using markdownlint tool [1]:

$ cat README.qemu.md | mdl
(stdin):8: MD006 Consider starting bulleted lists at the beginning of the line

[1] https://github.com/markdownlint/markdownlint
(From OE-Core rev: cf5f8f9ae809f3cc6a0d53bdfb28e6d913f2fecc)

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Igor Opaniuk
7c3b3019ea MAINTAINERS.md: fix markdown style issues
Fix markdown style issues using markdownlint tool [1]:
$ cat MAINTAINERS.md | mdl
(stdin):71: MD012 Multiple consecutive blank lines
(stdin):72: MD012 Multiple consecutive blank lines

[1] https://github.com/markdownlint/markdownlint
(From OE-Core rev: 7338fb12cfa0491b451f74fd640919501a71ed4e)

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Igor Opaniuk
de55387976 README.OE-Core.md: fix markdown style issues
Fix markdown style issues using markdownlint tool [1]:

$ cat README.OE-Core.md | mdl
(stdin):15: MD012 Multiple consecutive blank lines
(stdin):9: MD034 Bare URL used
(stdin):13: MD034 Bare URL used
(stdin):19: MD034 Bare URL used
(stdin):25: MD046 Code block style
(stdin):29: MD046 Code block style
(stdin):33: MD046 Code block style

[1] https://github.com/markdownlint/markdownlint
(From OE-Core rev: 64281b59e8bbae75a1706052ff6fba191d86d0d7)

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Yoann Congal
50a609576e selftest/reproducible: Add a method to test a single recipe
Introduce a new variable "OEQA_REPRODUCIBLE_TEST_LEAF_TARGETS".
It can be used like OEQA_REPRODUCIBLE_TEST_TARGET but will try to use
sstate for the dependencies.

This can be used to "quickly" test the reproducibility of a single recipe.

[YOCTO #15701]

(From OE-Core rev: e2440618bd12d7288a7f3f7cfb92d377ae61a3b4)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Yoann Congal
41aab515a7 selftest/reproducible: Move a comment to follow the line it concerns
The code line was moved in
commit 5a9a5ad6a7 ("reproducibility: continue testing in case of build failure")

(From OE-Core rev: b4b60941153ebeb5019b26eeed593d0a1cdb4012)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Khem Raj
123f8e78f3 glibc: Upgrade to 2.41 release
License-Update: Added license for e_gammaf_r.c [1]
                added url of CORE-MATH project [2]

* Testing support with different compilers (series)
* Remove XXX math functions from installed math.h (patch)
* Remove "%n" from assert (commit)
* Improve executable stack handling
* Compile glibc tests with Clang (series 1, series 2)
* asprintf should write NULL on failure
* Revert TCB layout changes
* Fix ld.so crashes with golang test suite
* Fixes after GET_ADDR_ARGS removal
* Extend Rseq Support, plus x32 fixup
* sh4: ensure FPSCR.PR==0 when executing FRCHG [BZ #27543]
* affinity-inheritance test: overallocate CPU sets
* rseq-related aarch64 test failures
* arc4random test failure under load
* benchtests: Add dummy in put files cospi, cospif, sinpi, sinpif, tanpi, tanpif
* pthread condvar missing signal, bug 25847
* aarch64: Add support for Guarded Control Stack extension
* testsuite: Make stdio-common/tst-printf-format-*-mem UNSUPPORTED if the mtrace output does not exist

Further Release Notes [3] [4]

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=2843e78b30da0aa743fdfb0ac61435c925182c04
[2] https://sourceware.org/git/?p=glibc.git;a=commit;h=d421d36582281a62e05f96a1bfb085db9d85f40b
[3] https://sourceware.org/glibc/wiki/Release/2.41

[4] https://sourceware.org/pipermail/libc-announce/2025/000045.html

(From OE-Core rev: 73b34ff50c8e5b05eca8f9a236bd1b155bd14324)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Randy MacLeod
2673221ea5 ptest-packagelists: remove valgrind
The valgrind-3.24 and glibc-2.41 update result in lots of valgrind ptests
failing. Remove all valgrind ptests until that can be fixed.

(From OE-Core rev: 98d5a6a68e9e7df671e40480faed48ab2114dd7f)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Randy MacLeod
2b62eb2c58 valgrind: disable ptests
The valgrind test runner, vg_regtest, changed in the 3.24 update and
there are some additional valgrind ptest regressions happening with glibc-2.41.
Disable the ptests for now. Some of the remaining patches can likely
be dropped but I'd rather carry them so that re-enabling the ptests
is simpler. Also the patch series have some dependencies and unwinding
that would block the glibc-2.41 unnecessarily.

This builds for glibc, musl for qemux86-64, runs:
-> valgrind [--leak-check=full] /bin/ls /tmp

(From OE-Core rev: 8fc31fb235af12530475ec5055f6c00ccfafadfa)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Alexander Kanavin
619c5c1185 valgrind: update 3.23.0 -> 3.24.0 (ptest fails, vg_regtest needs rebase)
(From OE-Core rev: 6bf1cd3353c36e12000159e67f3d9212b0cbaf1f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Yash Shinde
882eb41e17 qemuriscv: Enable Sv39 memory address scheme by default
Currently, GCC Asan supports only Sv39 on RISC-V 64 due to custom allocator configurations optimized for large allocations.
These configurations are incompatible with larger address spaces like Sv48/Sv57.
This fix enables RISC-V 64 configuration for RVA22S64 profile(which has sv39 mode and other extensions) by default when running `runqemu nographic`,
eliminating the need for manual configuration via command line flags (`qemuparams="-cpu rv64, sv39=true"`).

Fixes [YOCTO #15691]
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15691

Reference:

af651969eb
https://git.openembedded.org/openembedded-core/commit/?id=4b4450ff695ef73bf7a2437e142d2e0730d6a547

(From OE-Core rev: 5e749a2576698e390392b5d522a2dc5fdc9556cd)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Khem Raj
69b2211f58 gdb: Upgrade to 16.2 relese
GDB 16.2 brings the following fixes and enhancements over GDB 16.1:

 * PR build/32578 (cannot build GDB 16.1 out of tree when calling the configure
script with a relative path)

 * PR tui/32592 ([gdb/tui] internal error in tui-winsource.c:340:refresh_window)

 * PR remote/32593 (Incompatibilities between GDB's and LLDB's 'x' packet
implementation)

 * PR build/32610 (Missing #include file in darwin_nat.c)

(From OE-Core rev: 11362b3ae521a0fba85c034de5ba8d4271574be3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Khem Raj
7c65f1da17 binutils: Upgrade to 2.44 release
* Drop the CVE-2024-53589 patch, its included in 2.44
* Package newly rename gp-* to gprofng-* binaries and remove old gp-*
  symlinks

* Gold linker is now deprecated and will be removed in future release
  its already deleted in tarball releases

* Support for the Nios II target has been removed.

* Assembler:
    - Support for new architecture extensions for AArch64, Risc-V and
      x86.

* Linker:
      The default maximum page size was changed from 16KiB to 64KiB for
      LoongArch.

      This now supports mixed LTO and non-LTO object files in
      relocatable output.

      The ELF forms of the linker support a --image-base=<ADDR> option
      for compatibility with LLD.

      The --build-id= option now accepts an argument of "xx" which
      enables the use of the xxhash library.  This produces a 128-bit
      hash and is 2-4x faster than md5 or sha1.

      The ELF linker option --package-metadata supports percent-encoded
      and %[string] encoded JSON payloads.

* Disassembler:
      The RISC-V disassembler now supports -M,max option like QEMU to
      dump instruction without checking architecture support as usual.

* GprofNG:
      Support added for hardware event counters for Neoverse-N1,
      Ampere-1, and Appliedmicro processors.

Detailed release notes [1]

[1] https://lists.gnu.org/archive/html/info-gnu/2025-02/msg00001.html

(From OE-Core rev: df3c43e69542939a4bec3893f1e927edf2ad7179)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Markus Volk
d1f0bbb962 xorg-minimal-fonts: dont try to install builddir
With current master branch I see an error in do_install:
| DEBUG: Executing shell function do_install
| install: omitting directory '/home/flk/poky/build/tmp/work/all-poky-linux/xorg-minimal-fonts/1.0/misc/xorg-minimal-fonts-1.0-build'
| WARNING: /home/flk/poky/build/tmp/work/all-poky-linux/xorg-minimal-fonts/1.0/temp/run.do_install.112196:151 exit 1 from 'install -m 0644 /home/flk/poky/build/tmp/work/all-poky-linux/xorg-minimal-fonts/1.0/misc/* /home/flk/poky/build/tmp/work/all-poky-linux/xorg-minimal-fonts/1.0/image//usr/share/fonts/X11/misc/'
| WARNING: Backtrace (BB generated script):
| 	#1: do_install, /home/flk/poky/build/tmp/work/all-poky-linux/xorg-minimal-fonts/1.0/temp/run.do_install.112196, line 151
| 	#2: main, /home/flk/poky/build/tmp/work/all-poky-linux/xorg-minimal-fonts/1.0/temp/run.do_install.112196, line 159
ERROR: Task (/home/flk/poky/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb:do_install) failed with exit code '1'

Fix the problem by specifying more precisely what is to be installed

(From OE-Core rev: a8c8731caca14bb7a71e6468877857e0e85f4ce7)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Mikko Rapeli
908be6fd24 testimage.bbclass: fix logDetails() call on error path
This happens when testimage task runs and bitbake is interupted
twice with ctrl-c/SIGINT:

QMP Available for connection at /home/builder/src/base/repo/meta-arm/build/tmp/.xjik9srq
QMP connected to QEMU at 01/31/25 10:36:19 and took 0.55 seconds
QMP released QEMU at 01/31/25 10:36:19 and took 0.07 seconds from connect

Keyboard Interrupt, closing down...

Second Keyboard Interrupt, stopping...

WARNING: Exiting due to interrupt.
NOTE: Sending SIGTERM to remaining 1 tasks
ERROR: core-image-base-1.0-r0 do_testimage: testimage interrupted, shutting down...
Output from runqemu:
runqemu - INFO - Received signal: 15
runqemu - INFO - Cleaning up
runqemu - INFO - Host uptime: 6230788.40

tput: No value for $TERM and no -T specified

ERROR: core-image-base-1.0-r0 do_testimage: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:do_testimage(d)
     0003:
File: '/home/builder/src/base/repo/meta-arm/build/../poky/meta/classes-recipe/testimage.bbclass', lineno: 122, function: do_testimage
     0118:    dump-guest-memory {"paging":false,"protocol":"file:%s.img"}
     0119:}
     0120:
     0121:python do_testimage() {
 *** 0122:    testimage_main(d)
     0123:}
     0124:
     0125:addtask testimage
     0126:do_testimage[nostamp] = "1"
File: '/home/builder/src/base/repo/meta-arm/build/../poky/meta/classes-recipe/testimage.bbclass', lineno: 389, function: testimage_main
     0385:
     0386:    # Show results (if we have them)
     0387:    if results:
     0388:        configuration = get_testimage_configuration(d, 'runtime', machine)
 *** 0389:        results.logDetails(get_json_result_dir(d),
     0390:                        configuration,
     0391:                        get_testimage_result_id(configuration),
     0392:                        dump_streams=d.getVar('TESTREPORT_FULLLOGS'))
     0393:        results.logSummary(pn)
Exception: AttributeError: 'TestResult' object has no attribute 'logDetails'

ERROR: Logfile of failure stored in: /home/builder/src/base/repo/meta-arm/build/tmp/work/qemuarm64_secureboot-poky-linux/core-image-base/1.0/temp/log.do_testimage.2771735

Summary: 1 task failed:
  /home/builder/src/base/repo/meta-arm/build/../poky/meta/recipes-core/images/core-image-base.bb:do_testimage

(From OE-Core rev: c0d864a7007adbdf332da62e89c73630b3e01639)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Richard Purdie
d16b82e7ca python3-rdflib: upgrade 7.1.1 -> 7.1.3
License-Update: copyright years updated.

(From OE-Core rev: b90837274d236bf6bf7f79cbd63dd251cab7c453)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Richard Purdie
fedeaf1b53 lzip: upgrade 1.24.1 -> 1.25
License-Update: FSF web address added and postal address removed.

(From OE-Core rev: 4270e8a6f07b9323f125da6795073f9b2fb18dd7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Richard Purdie
60611f996e libpng: upgrade 1.6.44 -> 1.6.45
License-Update: copyright years updated.

(From OE-Core rev: 847b2d90a1be94ee85b5b606139d702dad014317)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Richard Purdie
4e18df274c ed: upgrade 1.20.2 -> 1.21
License-Update: Copyright years updated, FSF web address added
and postal address removed.

(From OE-Core rev: 41c4f5563308a7349c5fb4b6a2ee35523c922280)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Richard Purdie
7741a3aa07 llvm: upgrade 19.1.6 -> 19.1.7
(From OE-Core rev: fef54c0109b8abbaaa45c8dc5a022111309f0bd3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Richard Purdie
64dd41cbc2 cmake: upgrade 3.31.4 -> 3.31.5
(From OE-Core rev: d7db46a126bc7c7460c99bae512eb435868e27b7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Richard Purdie
f710bb8df2 wayland-protocols: upgrade 1.39 -> 1.40
(From OE-Core rev: fa06e4932783bb38c266e9e106c0754862f37654)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Richard Purdie
dc0ded89ea sysklogd: upgrade 2.6.2 -> 2.7.0
(From OE-Core rev: 92a4a33ffc254b747f36691b969e97ebd5cd3461)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Richard Purdie
6e9e3997ab stress-ng: upgrade 0.18.08 -> 0.18.09
(From OE-Core rev: 94bdad007121ee9d50cb895012da51ddb6c2e46f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Richard Purdie
8d41a98324 repo: upgrade 2.50.1 -> 2.51
(From OE-Core rev: 70fdf1f415e7cfe6e66a9b0d8b6e9bc5f34ca0f4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Richard Purdie
ba6d1c6ba2 python3-websockets: upgrade 14.1 -> 14.2
(From OE-Core rev: d609b99f71eb8b3dff186f2dc832918a223a5c16)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Richard Purdie
dd0bea4a96 python3-trove-classifiers: upgrade 2024.10.21.16 -> 2025.1.15.22
(From OE-Core rev: 6062b9326d3ff4168a0e5c5932c67c0a9f48f1e4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Richard Purdie
2eab360fb2 python3-setuptools: upgrade 75.6.0 -> 75.8.0
(From OE-Core rev: 2f30a782ae5500d9b7dcc37e2cfc43312a470605)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Richard Purdie
7e927835e8 python3-ruamel-yaml: upgrade 0.18.9 -> 0.18.10
(From OE-Core rev: 0f46b4fd10e6be1c48738e64c24a977a02768c9b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
Richard Purdie
0b102f6cbe python3-referencing: upgrade 0.35.1 -> 0.36.2
(From OE-Core rev: c996952787b26cd3f508db00e82d0bbefdf2675d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
8ded6b9257 python3-pytz: upgrade 2024.2 -> 2025.1
(From OE-Core rev: c8445cf5d8e3a47f7ae38d400c7d4edf7d32d3cc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
1c88bc1fe3 python3-pyopenssl: upgrade 24.3.0 -> 25.0.0
(From OE-Core rev: 98db2721ca2b1edde25cd855f102d1cb7faaa203)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
50b8dead36 python3-pygments: upgrade 2.19.0 -> 2.19.1
(From OE-Core rev: 2a5d9af401ff4e8802340eba6382ecd9ce204c7e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
f6b35ad25e python3-poetry-core: upgrade 2.0.0 -> 2.0.1
(From OE-Core rev: 911edf7506d6a9eae8ecdbe3ae586b5559f9b6a1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
2f8c7500d7 python3-pip: upgrade 24.3.1 -> 25.0
(From OE-Core rev: 787b69e38a02c14c8851f110c61366de963bee05)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
4811f1fa48 python3-more-itertools: upgrade 10.5.0 -> 10.6.0
(From OE-Core rev: 05a7a6dc6c40f5682b4de71f5872e842f4d51441)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
9b692120a3 python3-license-expression: upgrade 30.4.0 -> 30.4.1
(From OE-Core rev: 125af6707480408a2e32ba042ed7bfb4de5f6182)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
da838310f8 python3-hypothesis: upgrade 6.123.2 -> 6.124.7
(From OE-Core rev: b86720bc7f7d59a9855218cd43ce9850c6e21724)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
ec6c0697eb python3-certifi: upgrade 2024.12.14 -> 2025.1.31
(From OE-Core rev: 7bfeecb1321171521cb73060f6367467b6084562)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
56a04d1346 python3-attrs: upgrade 24.3.0 -> 25.1.0
(From OE-Core rev: 2a4370f0e2c60ff628e548313228655a73a5c878)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
57b034e0c2 piglit: upgrade to latest revision
(From OE-Core rev: 1352d7d09bb967c3c38d34eea6013943fd59ad71)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
02c58603d9 mtools: upgrade 4.0.46 -> 4.0.47
(From OE-Core rev: 14ef270cc003646e6ca97ff3405507f2b9e92736)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
fb9a52f9de msmtp: upgrade 1.8.27 -> 1.8.28
(From OE-Core rev: f81a730b9af532c30b3638d9d0eee8f3872805b9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
101c74bd92 mmc-utils: upgrade to latest revision
(From OE-Core rev: fc51335605cb2bac4fd9ae293857c71d1b71e3df)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
c6e9b288f4 mc: upgrade 4.8.32 -> 4.8.33
(From OE-Core rev: 372ffb6072a724343411b2ae36a28138a4b0df0b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
211e3774e7 lzlib: upgrade 1.14 -> 1.15
(From OE-Core rev: a7d90be90cbcd6d75d88b55a821395cd272ac757)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
90b7b65664 lighttpd: upgrade 1.4.76 -> 1.4.77
(From OE-Core rev: 64ddf2d833a6a4c17044f3665e28ad9546c3a424)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
f2a5ac6775 libwpe: upgrade 1.16.0 -> 1.16.1
(From OE-Core rev: 3f73eeef6e12349eb925b3930762de3a0ce5c5a7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
b38f168bf3 libsoup: upgrade 3.6.1 -> 3.6.4
(From OE-Core rev: c9f4a0ab15b4a8879c9447907e19df6f48efaba7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
7297d3ac6a libslirp: upgrade 4.8.0 -> 4.9.0
(From OE-Core rev: e768efe68dd0b6a624fa4b2fed8e5ff5ed58df26)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
59ec0e13e7 libinput: upgrade 1.27.0 -> 1.27.1
(From OE-Core rev: d41b06f49d10422a056330d15b55eaabd708caef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
1e7ead38a0 libexif: upgrade 0.6.24 -> 0.6.25
(From OE-Core rev: 3914200a88c1139ad84390fb1b1a9682a01babf3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
9677c7464d iproute2: upgrade 6.12.0 -> 6.13.0
(From OE-Core rev: dcac3219770e38e9f072723e918a761a3ee99fe6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
a89745e1ba harfbuzz: upgrade 10.1.0 -> 10.2.0
(From OE-Core rev: 50e29d135bd6615c8672892218717428ac7828c1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
1648db00b9 gstreamer1.0-vaapi: upgrade 1.24.10 -> 1.24.12
(From OE-Core rev: c6c06bde51727d083015eaa0b60658b299d6f96e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
925d5f1c72 gstreamer1.0: upgrade 1.24.10 -> 1.24.12
(From OE-Core rev: 81bad3fceca6bab66f1a0ea02db66c660d1c2095)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
c231417610 gstreamer1.0-python: upgrade 1.24.10 -> 1.24.12
(From OE-Core rev: 4b8e0543c30f0693d4c8b1a5109178f77d932aed)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
e009e332d2 gstreamer1.0-plugins-{bad,ugly,base,good,rtsp-server}: upgrade 1.24.10 -> 1.24.12
(From OE-Core rev: 66d040f1d9bd586b6caa24259ef6dcb198a37578)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
0a84589db9 gstreamer1.0-libav: upgrade 1.24.10 -> 1.24.12
(From OE-Core rev: c6bde1adce6e61cad0d20c6fa292d973ad5445b6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
6a1655d270 gst-devtools: upgrade 1.24.10 -> 1.24.12
(From OE-Core rev: 548251232247f1cf8c22ede1652806ca231e5652)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
64afd472d2 gnupg: upgrade 2.5.2 -> 2.5.3
(From OE-Core rev: 58c6af60d95c8527b4ac7f80192dd9e14186fc85)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
30fcae3329 git: upgrade 2.47.1 -> 2.48.1
(From OE-Core rev: 0d6d7d63a5e04eaff3db4d6aa552b2bfb3138c9c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
e6eb0cebbc epiphany: upgrade 47.2 -> 47.3.1
(From OE-Core rev: 6719a031ee1ae200fe18112ec1d9d88ae4400333)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
d0dc1499a9 diffoscope: upgrade 284 -> 287
(From OE-Core rev: 07619aaa4f749d4add5c8514c9a95c1f23fcb5b5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
e96c282f47 bind: upgrade 9.20.4 -> 9.20.5
(From OE-Core rev: 615807f9a7162847ce0f727b075bc746da241ba5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Richard Purdie
1fb9f1684f at-spi2-core: upgrade 2.54.0 -> 2.54.1
(From OE-Core rev: b7ff37bebfaf756491790062148a1902ec6f873c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Ross Burton
a86627cffa systemd-serialgetty: add comments explaining use
Add some comments to clarify exactly what this recipe is for.

(From OE-Core rev: bbaafe11189b4b14ab84576e5eddd709b7f0ef1b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Alex Kiernan
ff1303ed46 linux-firmware: Add RTL8723DS blobs into ${PN}-rtl8723
The Realtek 8723DS WiFi blobs are under rtw88 and the BT blobs are under
rtl_bt, add both those into the rtl8723 package.

(From OE-Core rev: deaaf43b8f6c905f04f3d0c56693c027ceac3e3a)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Joshua Watt
9600cd875b spdx30: Include files in rootfs
Adds a "contains" relationship that relates the root file system package
to the files contained in it. If a package provides a file with a
matching hash and path, it will be linked, otherwise a new File element
will be created

(From OE-Core rev: e6fe754aef93e834e5226c8b13fdf75e03080ba2)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Joshua Watt
c8dda4c735 lib/oe/sbom30: Fix SHA256 hash dictionary
Fixes a bug in the code that created the hash dictionary that was
accidentally excluding items with a SHA256 hash instead of including
them

(From OE-Core rev: 90765467e42241d8b572d035389d7062a0316a9f)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Alex Kiernan
f16992eb56 avahi: Switch RRECOMMENDS to avahi-libnss-mdns
Rather than using the RPROVIDES on libnss-mdns which comes from
avahi-libnss-mdns, RRECOMMENDS avahi-libnss-mdns directly to avoid
picking any other version.

(From OE-Core rev: 61f44f8b817738c0e220b3d461952816ef7f1449)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Alex Kiernan
7a42e31654 nss-mdns: Rename recipe to avahi-libnss-mdns
meta-networking has Apple's mDNSResponder which also delivers libnss-mdns
nsswitch plugin. Rename this recipe to avahi-libss-mdns and add an RPROVIDE so
that either than be chosen.

(From OE-Core rev: f9d10d6ac4b2a081d110ab58e7137aedddd960cb)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Dmitry Baryshkov
e4e77b1f37 linux-firmware: split the qca6390 firmware
The HCI firmware for the QCA6390 BT/WiFi chips doesn't logically belong
to the USB-only linux-firmware-qca-qca61x4 package. Split it to the
separate package in order to simplify firmware management. This follows
the pending WHENCE change in the linux-firmware upstream, where the
QCA6390 firmware is split to a separate section.

(From OE-Core rev: 4a846d72e9e53dfdaf4d5dd66c94b9323c1a580e)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Artur Kowalski
aab0fdf3b7 systemd-systemctl: fix handling of instance unit files
This fixes handling of units with instance name in theirs filenames such
as `gnome-shell@wayland.service` or `gnome-shell@x11.service`. Such
files cause template file to be ignored (for the specific instance).

Thanks to Markus Volk <f_l_k@t-online.de> for noticing the breakage when
building images with gnome-shell:

| Error: Systemctl preset_all issue in org.gnome.Shell@wayland.service
| WARNING: /home/flk/poky/build/tmp/work/intel_corei7_64-poky-linux/gnome-image/1.0/temp/run.systemd_preset_all.2011511:158 exit 1 from 'systemctl --root="/home/flk/poky/build/tmp/work/intel_corei7_64-poky-linux/gnome-image/1.0/rootfs" --global --preset-mode=enable-only preset-all'

The problem manifested after cdc3b3028f6d71788b5fdd99436f69fbf18f613e
because we enabled preset-all for user units -
org.gnome.Shell@wayland.service is a user service, so prior to that
change the file wasn't processed at all.

The error was triggered because there is no org.gnome.Shell@.service
file. With this patch applied systemctl script looks for instance unit
file and falls back to template unit in case of lack thereof, keeping
the same behavior upstream systemctl does.

(From OE-Core rev: 7eaad7c2a118b3d9db8b694730535afcd3ca985e)

Signed-off-by: Artur Kowalski <arturkow2000@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Bastian Germann
1f96cd3d17 unfs3: Use SPDX identifier
The unfs3 license matches the SPDX template for BSD-3-Clause.
There is no reason why this should be referenced as unfs3,
which is not a registered SPDX identifier.

License-Update: use SPDX identifier

(From OE-Core rev: e608747d6fba47d2bfc8637adb39ff3593559fca)

Signed-off-by: Bastian Germann <bage@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Bastian Germann
0b76413891 tcf-agent: Use SPDX identifier
The EDL-1.0 license matches the SPDX template for BSD-3-Clause.
There is no reason why this should be referenced as EDL-1.0, which is
not a registered SPDX identifier for exactly this reason.

License-Update: use SPDX identifier

(From OE-Core rev: 9745740bbab58365f86ef579e1ad1e86b90594a6)

Signed-off-by: Bastian Germann <bage@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Bastian Germann
bdcc24a44f licenses: Map SGIv1 to SGI-OpenGL
SGI-1 is not a SPDX license identifier. However, the SGI-1 license has
the same license text as SGI-OpenGL. Map the old SGIv1 name to SGI-OpenGL.

(From OE-Core rev: e97a9c3c86a8fe27a26ad69174ba50e5228846e5)

Signed-off-by: Bastian Germann <bage@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Bastian Germann
bf76c0aa98 hwdata: Use SPDX identifier
The XFree86-1.0 (non-SPDX) license and the X11 (SPDX) license are the
same. Reference the X11 license in hwdata.

License-Update: use SPDX identifier

(From OE-Core rev: 891dfdf294e4ac88239dba70d6a5958cc42cbc92)

Signed-off-by: Bastian Germann <bage@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Bastian Germann
7b59d11d01 docbook-xsl-stylesheets: Use SPDX identifier
The XSL license was standardized by SPDX as DocBook-XML.
Copy the license file to the new name and use it in
docbook-xsl-stylesheets.

License-Update: use new DocBook-XML SPDX ID, copy text from existing XSL

(From OE-Core rev: e172e27e19fc09160cfee2a29af8e8c5c2426c9c)

Signed-off-by: Bastian Germann <bage@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Alex Kiernan
d06ed53435 alsa-utils: Backport fix for alsa_restore_go/std
Fix the label mismatch which was introduced in the transition from the
temporary test rules:

  udevd[120]: GOTO 'alsa_restore_std' has no matching label in: '/lib/udev/rules.d/90-alsa-restore.rules'

(From OE-Core rev: d676569a617fdfbf41baed9068b102d9eb151b9b)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00
Nikolai Merinov
b65452bda3 bitbake: parse: Forbid ambiguous assignments to ${.}, ${+}, and ${:} variables
Old code that parse variable names in assignment commands behave differently for
variables that ends with special symbol for single-character variable names and
multi-character variable names. For example:

  A+="1"   # Change variable ${A}, '+' glued to '='
  A+ = "1" # Change variable ${A+}

  +="1"    # Change variable ${+}, the '+' symbol not part of assignment operator
  + = "1"  # Change variable ${+}

New code would always assume that '.=', '+=', and ':=' is assignment operator.
As result code like the following would raise parsing error

  +="value"

While code with extra spaces would work as before

  + = "value" # Change variable ${+}

This change allow to catch issues in code that generate bitbake configuration
files in a manner like "echo ${VARNAME}+=${VALUE} >> conf/local.conf"

(Bitbake rev: 93059aad13a12cd69d86368795c88e5349197d5d)

Signed-off-by: Nikolai Merinov <n.merinov@inango-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:11:01 +00:00
Richard Purdie
c2da016918 meta/meta-selftest: Fix variable assignment whitespace
Recipes are much more readable with whitespace around the assignment operators.
Fix various assignments in OE-Core to show this is definitely the preferred
formatting.

(From OE-Core rev: 30ea609d3357fb3de911f2f6a5e6856c151b976a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-01 13:42:34 +00:00
Khem Raj
c690181cd1 gawk: Enable high precision arithmetic support
This is now required [1] for running glibc tests with
2.41+ release

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=0feb6da94c435a81699bfeacdc84150098f64025
(From OE-Core rev: 7a08c7274f93fc6cbdcca740f38c2aa800df9b39)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-01 13:22:59 +00:00
Bruce Ashfield
6d5419dc81 linux-yocto/6.12: bsp/genericarm64: enable PowerVR DRM and Intel HDA sound drivers
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Ross Burton
    Email: ross.burton@arm.com
    Subject: bsp/genericarm64: enable PowerVR DRM and Intel HDA sound drivers
    Date: Thu, 23 Jan 2025 17:56:16 +0000

    As seen on the BeaglePlay, this allows basic (non-accelerated) output
    on HDMI.

    Signed-off-by: Ross Burton <ross.burton@arm.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 9dac093778660b02d5ca42bee3c84515f70e0e6e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-01 13:22:59 +00:00
Bruce Ashfield
008f27cde5 linux-yocto/6.6: update to v6.6.74
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    0372f43ab704 Linux 6.6.74
    3f51f8c9d289 net: fix data-races around sk->sk_forward_alloc
    7d082fb20aa2 x86/xen: fix SLS mitigation in xen_hypercall_iret()
    80d39b50bdc0 nfsd: add list_head nf_gc to struct nfsd_file
    0b7b07cb5990 Revert "drm/amdgpu: rework resume handling for display (v2)"
    f47c834a9131 fs: relax assertions on failure to encode file handles
    f0c0ac84de17 ovl: support encoding fid from inode with no alias
    955a355e179f ovl: pass realinode to ovl_encode_real_fh() instead of realdentry
    ec3e32de2d8a ocfs2: fix deadlock in ocfs2_get_system_file_inode
    1364a29b71c7 block: fix uaf for flush rq while iterating tags
    08ac5fdb9c6d drm/amd/display: Fix out-of-bounds access in 'dcn21_link_encoder_create'
    c39d275efbe9 iio: imu: inv_icm42600: fix spi burst write not supported
    bcb9678b1c4f Revert "PCI: Use preserve_config in place of pci_flags"
    0cc84b6636be drm/amdgpu: always sync the GFX pipe on ctx switch
    65622de7c440 drm/i915/fb: Relax clear color alignment to 64 bytes
    a5cbbea145b4 hrtimers: Handle CPU state correctly on hotplug
    6c84ff2e788f irqchip/gic-v3-its: Don't enable interrupts in its_irq_set_vcpu_affinity()
    61c684dbfeb0 irqchip/gic-v3: Handle CPU_PM_ENTER_FAILED correctly
    61ecbceae2ee irqchip: Plug a OF node reference leak in platform_irqchip_probe()
    926ad31b76b8 pmdomain: imx8mp-blk-ctrl: add missing loop break condition
    b0111650ee59 gpio: xilinx: Convert gpio_lock to raw spinlock
    a5a2ee8144c3 fs/proc: fix softlockup in __read_vmcore (part 2)
    09528bb1a412 filemap: avoid truncating 64-bit offset to 32 bits
    c5418187b977 nouveau/fence: handle cross device fences properly
    bc9c49341f97 vsock: prevent null-ptr-deref in vsock_*[has_data|has_space]
    8a15c81063b9 vsock: reset socket state when de-assigning the transport
    dd93823fdd0e vsock/virtio: cancel close work in the destructor
    d88b249e14bd vsock/virtio: discard packets if the transport changes
    58e586c30d0b vsock/bpf: return early if transport is not assigned
    a3a3c1aa5126 net: ethernet: xgbe: re-add aneg to supported features in PHY quirks
    75deec40a774 selftests: mptcp: avoid spurious errors on disconnect
    d09d17c104a9 mptcp: fix spurious wake-up on under memory pressure
    890507bc19b9 mptcp: be sure to send ack when mptcp-level window re-opens
    5cfe4b1d0cfb i2c: atr: Fix client detach
    571d3f6045cd zram: fix potential UAF of zram table
    4c8b783c9d16 ALSA: hda/realtek: Add support for Ayaneo System using CS35L41 HDA
    ee37f3a538fc x86/asm: Make serialize() always_inline
    002b2efb1130 nvmet: propagate npwg topology
    8c9c1a2b48bb RDMA/bnxt_re: Fix to export port num to ib_query_qp
    bd6a4b4aed75 poll_wait: add mb() to fix theoretical race between waitqueue_active() and .poll()
    91371922704c iomap: avoid avoid truncating 64-bit offset to 32 bits
    4aaa1003a3f4 ACPI: resource: acpi_dev_irq_override(): Check DMI match last
    8cc32fc86e47 selftests: tc-testing: reduce rshift value
    8df41b7fb46d scsi: ufs: core: Honor runtime/system PM levels if set by host controller drivers
    933689000dff cachefiles: Parse the "secctx" immediately
    3f81514078fc kheaders: Ignore silly-rename files
    62861a5d4dd6 fs: fix missing declaration of init_files
    c598398815ee hfs: Sanity check the root record
    2e41e98c4e79 mac802154: check local interfaces before deleting sdata list
    1ea680703385 smb: client: fix double free of TCP_Server_Info::hostname
    6152c2c612a7 i2c: rcar: fix NACK handling when being a target
    573f036ba219 i2c: mux: demux-pinctrl: check initial mux selection, too
    f3311576789e Revert "mtd: spi-nor: core: replace dummy buswidth from addr to data"
    b9b63c9cc1e0 hwmon: (tmp513) Fix division of negative numbers
    3c8fe0931d9b soc: ti: pruss: Fix pruss APIs
    63195bae1cbf drm/v3d: Ensure job pointer is set to NULL after job completion
    5faf45beb701 drm/vmwgfx: Add new keep_resv BO param
    ff5b9e9be645 net/mlx5e: Always start IPsec sequence number from 1
    cdb3f2b62e2d net/mlx5e: Rely on reqid in IPsec tunnel mode
    87c4417a9021 net/mlx5e: Fix inversion dependency warning while enabling IPsec tunnel
    473bc285378f net/mlx5: Clear port select structure when fail to create
    ba8fdf7cff09 net/mlx5: Fix RDMA TX steering prio
    8a0097db0544 net: fec: handle page_pool_dev_alloc_pages error
    e8438cb84d0b net: xilinx: axienet: Fix IRQ coalescing packet count overflow
    325f2762fac7 nfp: bpf: prevent integer overflow in nfp_bpf_event_output()
    bb11f992f5a4 gtp: Destroy device along with udp socket's netns dismantle.
    d756c8ac3029 gtp: Use for_each_netdev_rcu() in gtp_genl_dump_pdp().
    3d1c0c5500f5 gtp: use exit_batch_rtnl() method
    1e222169f718 net: add exit_batch_rtnl() method
    7cde21f52042 pktgen: Avoid out-of-bounds access in get_imix_entries
    ea966b669878 openvswitch: fix lockup on tx to unregistering netdev with carrier
    b02e70be498b bpf: Fix bpf_sk_select_reuseport() memory leak
    c5af09473110 net: ethernet: ti: cpsw_ale: Fix cpsw_ale_get_field()
    3b4299ff7a25 Linux 6.6.73
    1795ca657119 Revert "ovl: do not encode lower fh with upper sb_writers held"
    d1c53de4463b Revert "ovl: pass realinode to ovl_encode_real_fh() instead of realdentry"
    950b604384fd Revert "ovl: support encoding fid from inode with no alias"
    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: c183f5ee9f6748e202e311ed6a6a6b3c2f27269c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-01 13:22:59 +00:00
Bruce Ashfield
c267304d20 linux-yocto/6.12: update to v6.12.11
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    62b2447ec6cf Linux 6.12.11
    4c3f731b253b apparmor: allocate xmatch for nullpdb inside aa_alloc_null
    35c2f2a46ae5 drm/amd/display: Validate mdoe under MST LCT=1 case as well
    ec744819bdd4 Revert "drm/amd/display: Enable urgent latency adjustments for DCN35"
    f6be6248d649 drm/amd/display: Do not wait for PSR disable on vbl enable
    0f0c5ca1863e drm/amd/display: Disable replay and psr while VRR is enabled
    583d3a42b2bf drm/amd/display: Fix PSR-SU not support but still call the amdgpu_dm_psr_enable
    1366b0e9dd57 drm/amdgpu: always sync the GFX pipe on ctx switch
    ffb0308bd6ec drm/amdgpu: disable gfxoff with the compute workload on gfx12
    0c2196bb020d drm/amdgpu: fix fw attestation for MP0_14_0_{2/3}
    6f8e1a35cc12 drm/amdgpu/smu13: update powersave optimizations
    b7da3df91042 drm/xe/oa: Add missing VISACTL mux registers
    95af4bfd6702 drm/xe: Mark ComputeCS read mode as UC on iGPU
    def3ddf10be4 drm/i915/fb: Relax clear color alignment to 64 bytes
    a737a81d5255 x86/fred: Fix the FRED RSP0 MSR out of sync with its per-CPU cache
    6e641d499bb1 timers/migration: Enforce group initialization visibility to tree walkers
    12ead225b799 timers/migration: Fix another race between hotplug and idle entry/exit
    38492f6ee883 hrtimers: Handle CPU state correctly on hotplug
    93955a778812 irqchip/gic-v3-its: Don't enable interrupts in its_irq_set_vcpu_affinity()
    44feb7612989 irqchip/gic-v3: Handle CPU_PM_ENTER_FAILED correctly
    115719a95385 irqchip: Plug a OF node reference leak in platform_irqchip_probe()
    e96a2838d8b1 tracing: gfp: Fix the GFP enum values shown for user space tracing tools
    c78b04977d19 mm: vmscan : pgdemote vmstat is not getting updated when MGLRU is enabled.
    310ac886d68d mm: clear uffd-wp PTE/PMD state on mremap()
    4e4ab0748cd8 drm/amd/display: Do not elevate mem_type change to full update
    6f8a91d9aeb5 selftests/mm: set allocated memory to non-zero content in cow test
    391da9c6a69d mm/kmemleak: fix percpu memory leak detection failure
    488a68c948bc pmdomain: imx8mp-blk-ctrl: add missing loop break condition
    2e3194dc1197 tools: fix atomic_set() definition to set the value correctly
    9c035105c553 gpio: xilinx: Convert gpio_lock to raw spinlock
    80828540dad0 fs/proc: fix softlockup in __read_vmcore (part 2)
    280f1fb89afc filemap: avoid truncating 64-bit offset to 32 bits
    20a1b9a4ef55 net/ncsi: fix locking in Get MAC Address handling
    ce67e0e54ab8 drm/nouveau/disp: Fix missing backlight control on Macbook 5,1
    de440945811d nouveau/fence: handle cross device fences properly
    c23d1d4f8efe vsock: prevent null-ptr-deref in vsock_*[has_data|has_space]
    01c178d6902c vsock: reset socket state when de-assigning the transport
    450aa12993a1 vsock/virtio: cancel close work in the destructor
    677579b641af vsock/virtio: discard packets if the transport changes
    6771e1279dad vsock/bpf: return early if transport is not assigned
    97564250d43c net: ethernet: xgbe: re-add aneg to supported features in PHY quirks
    84a2db01f500 selftests: mptcp: avoid spurious errors on disconnect
    470f313603df mptcp: fix spurious wake-up on under memory pressure
    34e8ad3f2326 mptcp: be sure to send ack when mptcp-level window re-opens
    4143ae9faf75 i2c: atr: Fix client detach
    902ef8f16d5c zram: fix potential UAF of zram table
    07c956f7904b ALSA: hda/realtek: fixup ASUS H7606W
    843a1ab9ceee ALSA: hda/realtek: fixup ASUS GA605W
    4711481c8032 ALSA: hda/realtek: Add support for Ayaneo System using CS35L41 HDA
    85f1e093b831 x86/asm: Make serialize() always_inline
    e98394f7bc91 sched/fair: Fix update_cfs_group() vs DELAY_DEQUEUE
    d01a7e05ea38 nvmet: propagate npwg topology
    6ffdf037dd7a sched_ext: Fix dsq_local_on selftest
    d94bb9a6f936 RDMA/bnxt_re: Fix to export port num to ib_query_qp
    21900bfd332a scx: Fix maximal BPF selftest prog
    fc20e87419e5 selftests/sched_ext: fix build after renames in sched_ext API
    621f95fa0b93 poll_wait: add mb() to fix theoretical race between waitqueue_active() and .poll()
    22be1d90a621 afs: Fix merge preference rule failure condition
    402ce1642147 iomap: avoid avoid truncating 64-bit offset to 32 bits
    fdb13258ad86 sched_ext: keep running prev when prev->scx.slice != 0
    d9157d15ded5 ACPI: resource: acpi_dev_irq_override(): Check DMI match last
    0af195b20c9f platform/x86: ISST: Add Clearwater Forest to support list
    b9497f168256 platform/x86/intel: power-domains: Add Clearwater Forest support
    634e989f58d6 selftests: tc-testing: reduce rshift value
    e559ee6bb587 gpio: sim: lock up configfs that an instantiated device depends on
    61cc1df086d4 gpio: virtuser: lock up configfs that an instantiated device depends on
    ac216ffa697c scsi: ufs: core: Honor runtime/system PM levels if set by host controller drivers
    04c3c7acb5ec cachefiles: Parse the "secctx" immediately
    3d460376254e netfs: Fix non-contiguous donation between completed reads
    3aabe0106475 kheaders: Ignore silly-rename files
    7c37879b76c8 fs: fix missing declaration of init_files
    465fb8680c88 fs/qnx6: Fix building with GCC 15
    709dfdd7e5ca hfs: Sanity check the root record
    b856d2c1384b mac802154: check local interfaces before deleting sdata list
    a2be5f2ba34d smb: client: fix double free of TCP_Server_Info::hostname
    eed792d9894c hwmon: (ltc2991) Fix mixed signed/unsigned in DIV_ROUND_CLOSEST
    9e2d61c4dcd8 i2c: testunit: on errors, repeat NACK until STOP
    d1e4aff10c6b i2c: rcar: fix NACK handling when being a target
    894076b78a7e i2c: mux: demux-pinctrl: check initial mux selection, too
    ec7329647fbf Revert "mtd: spi-nor: core: replace dummy buswidth from addr to data"
    e208535991f1 hwmon: (tmp513) Fix division of negative numbers
    3f67e07873df platform/x86: lenovo-yoga-tab2-pro-1380-fastcharger: fix serdev race
    d3a24d923333 platform/x86: dell-uart-backlight: fix serdev race
    e19f31169f85 i2c: core: fix reference leak in i2c_register_adapter()
    999fe486cb5d soc: ti: pruss: Fix pruss APIs
    40c28d1a0ac4 reset: rzg2l-usbphy-ctrl: Assign proper of node to the allocated device
    b22467b1ae10 drm/v3d: Ensure job pointer is set to NULL after job completion
    bf5105dd6d6c drm/vmwgfx: Add new keep_resv BO param
    5ee247046e13 drm/vmwgfx: Unreserve BO on error
    17f0e22bcba0 drm/tests: helpers: Fix compiler warning
    2b78cab481a6 netdev: avoid CFI problems with sock priv helpers
    d823355f9238 net/mlx5e: Always start IPsec sequence number from 1
    9e9c667ffd15 net/mlx5e: Rely on reqid in IPsec tunnel mode
    6d3d69c070d9 net/mlx5e: Fix inversion dependency warning while enabling IPsec tunnel
    1f6e619ef2a4 net/mlx5: Clear port select structure when fail to create
    df0e2cddc169 net/mlx5: SF, Fix add port error handling
    6210f069dcb9 net/mlx5: Fix a lockdep warning as part of the write combining test
    6a3085458d2e net/mlx5: Fix RDMA TX steering prio
    7a4fd3df85b3 net: make page_pool_ref_netmem work with net iovs
    1425cb829556 net: fec: handle page_pool_dev_alloc_pages error
    17b678858959 net: xilinx: axienet: Fix IRQ coalescing packet count overflow
    4fc02808ebd7 nfp: bpf: prevent integer overflow in nfp_bpf_event_output()
    5a3096ba2b46 cpufreq: Move endif to the end of Kconfig file
    1c35a66e2bfe pfcp: Destroy device along with udp socket's netns dismantle.
    86f73d4ab2f2 gtp: Destroy device along with udp socket's netns dismantle.
    e6225173b502 gtp: Use for_each_netdev_rcu() in gtp_genl_dump_pdp().
    d0fb5741932b btrfs: add the missing error handling inside get_canonical_dev_path
    1654578a3b1d cpuidle: teo: Update documentation after previous changes
    11a642ad58a2 ice: Add correct PHY lane assignment
    2f59743be4d9 ice: Use ice_adapter for PTP shared data instead of auxdev
    499db66f690b ice: Add ice_get_ctrl_ptp() wrapper to simplify the code
    922af90ffb77 ice: Introduce ice_get_phy_model() wrapper
    2e166786d088 ice: Fix ETH56G FC-FEC Rx offset value
    0e5a802fcf5f ice: Fix quad registers read on E825
    605c7381b5d8 ice: Fix E825 initialization
    1a9b65c672ca pktgen: Avoid out-of-bounds access in get_imix_entries
    82f433e8dd06 openvswitch: fix lockup on tx to unregistering netdev with carrier
    8c1a1fda1726 net: ravb: Fix max TX frame size for RZ/V2M
    08831a894d18 eth: bnxt: always recalculate features after XDP clearing, fix null-deref
    cccd51dd2257 bpf: Fix bpf_sk_select_reuseport() memory leak
    9e08229256e5 net: ethernet: ti: cpsw_ale: Fix cpsw_ale_get_field()
    a8edd5e1f8e6 efi/zboot: Limit compression options to GZIP and ZSTD
    e97df805b938 drm/tilcdc: Set preferred depth
    7160a4379dcc arch/arm64/configs: remove CONFIG_SM_DISPCC_8650
    6d8ac5ebe6e8 aufs6: core
    587abc1b64c4 aufs6: standalone
    1af41d30ef42 aufs6: mmap
    6ee2464d2e9d aufs6: base
    103b676505f7 aufs6: kbuild
    67281562943f qemux86: add configuration symbol to select values
    73f315ca0823 sched/isolation: really align nohz_full with rcu_nocbs
    1e4e7f8ab622 clear_warn_once: add a clear_warn_once= boot parameter
    918e7a825e8b clear_warn_once: bind a timer to written reset value
    f533f87c3758 clear_warn_once: expand debugfs to include read support
    f149ca27cba9 tools: Remove some options from CLANG_CROSS_FLAGS
    e633abe9c44e libbpf: Fix build warning on ref_ctr_off
    ec0916a4cfc1 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    03721ceb5626 perf: x86-32: explicitly include <errno.h>
    4c36c5295bb0 perf: mips64: Convert __u64 to unsigned long long
    b0200449610d perf: fix bench numa compilation
    aff0940b2212 perf: add SLANG_INC for slang.h
    ef912018d28c perf: add sgidefs.h to for mips builds
    d8860f858b87 perf: change --root to --prefix for python install
    dc38a0eee6e5 perf: add 'libperl not found' warning
    6ed51f8786da perf: force include of <stdbool.h>
    c538d4c4ac65 fat: Replace prandom_u32() with get_random_u32()
    63d94846f0c5 fat: don't use obsolete random32 call in namei_vfat
    7816667451ef FAT: Added FAT_NO_83NAME
    f81dbd60f0d5 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    771cdefba44b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    a24784fd8f88 yaffs2: update to v6.12 folio changes
    d0a48fd46db8 yaffs2: adapt to v6.10 i_time changes
    d097e4d4115a yaffs: fix mtime/itime field access
    4411e0d49fe3 yaffs2: update VFS ctime operations to 6.6+
    1b6619086e8b yaffs2: v6.5 fixups
    25b261ee3c54 yaffs2: Fix miscalculation of devname buffer length
    5c07936a5d1c yaffs2: convert user_namespace to mnt_idmap
    55986a1284b3 yaffs2: replace bdevname call with sprintf
    6f5508f8db8f yaffs2: convert read_page -> readfolio
    fd179a5df5d5 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    c9a620dacdd1 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    78588208ed17 yaffs2: v5.12+ build fixups (not runtime tested)
    8d2dddba272c yaffs: include blkdev.h
    8c1ca9ef9712 yaffs: Fix build failure by handling inode i_version with proper atomic API
    27005cbac2ed yaffs2: v5.6 build fixups
    668211c9f9b7 yaffs2: fix memory leak when /proc/yaffs is read
    285f911dcc1c yaffs: add strict check when call yaffs_internal_read_super
    ffc2ed489ccf yaffs: repair yaffs_get_mtd_device
    6dce4b70a5e3 yaffs: Fix build failure by handling inode i_version with proper atomic API
    19f283abc5d1 yaffs2: fix memory leak in mount/umount
    04e84672b571 yaffs: Avoid setting any ACL releated xattr
    4f221d6a32e2 Yaffs:check oob size before auto selecting Yaffs1
    81f36004e56b fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    26d7a3dd0054 yaffs2: adjust to proper location of MS_RDONLY
    a7016eac4540 yaffs2: import git revision b4ce1bb (jan, 2020)
    feb240bbb91e initramfs: allow an optional wrapper script around initramfs generation
    874746eaa341 drivers: gpu: drm: msm: registers: improve reproducibility
    1d42508faee8 tools: use basename to identify file in gen-mach-types
    4b055eca593d iwlwifi: select MAC80211_LEDS conditionally
    97e20e275ac0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    6dec58319165 defconfigs: drop obselete options
    a416ccb5b6c9 linux-yocto: Handle /bin/awk issues
    7efe8a1e5158 uvesafb: provide option to specify timeout for task completion
    78d10ae07eca uvesafb: print error message when task timeout occurs
    80473b7eb8ca compiler.h: Undef before redefining __attribute_const__
    ddeff2f1a9a7 vmware: include jiffies.h
    3dcdda8912b4 Resolve jiffies wrapping about arp
    3b1507db6735 nfs: Allow default io size to be configured.
    c2fedad05f77 check console device file on fs when booting
    208d6fbada3f mount_root: clarify error messages for when no rootfs found
    dbe9454c8ea0 mconf: fix output of cflags and libraries
    7c7b224f5cce menuconfig,mconf-cfg: Allow specification of ncurses location
    b6c189c81397 modpost: mask trivial warnings
    a5cc21325ba9 kbuild: exclude meta directory from distclean processing
    361ec143c23f powerpc: serialize image targets
    605e6ccb304c arm: serialize build targets
    e94b04fcb7d2 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    44cc7f69a0a0 cpu/amd: inhibit SMP check for qemux86
    a08cb65331e6 x86_64_defconfig: Fix warnings
    8ad332ef777b mips: make current_cpu_data preempt safe
    754f05ddce3f mips: vdso: fix 'jalr $t9' crash in vdso code
    325ff78ff44d mips: Kconfig: add QEMUMIPS64 option
    99ae0eadcf11 4kc cache tlb hazard: tlbp cache coherency
    c6894c66a534 malta uhci quirks: make allowance for slow 4k(e)c
    8b52c01f3294 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    16c7629f035e drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    6b60c874cbb0 arm64: defconfig: cleanup config options
    8e44673ecd89 vexpress: Pass LOADADDR to Makefile
    f34e6805aad5 arm: ARM EABI socketcall
    94dec9b88de4 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: b438b44956e40e24902ba5bc06f72b2fc75625e3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-01 13:22:59 +00:00
Bruce Ashfield
9e84fe52ba linux-yocto/6.6: update to v6.6.72
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    c2e420511612 Linux 6.6.72
    ac7f5641e988 drm/mediatek: Only touch DISP_REG_OVL_PITCH_MSB if AFBC is supported
    08a2117e83e5 riscv: Fix text patching when IPI are used
    56b274473d6e mm: hugetlb: independent PMD page table shared count
    ec500230d39a mm/hugetlb: enforce that PMD PT sharing has split PMD PT locks
    5cfaddaa4bdb fs/Kconfig: make hugetlbfs a menuconfig
    1abe0a34aea6 pgtable: fix s390 ptdesc field comments
    1fd2a57dcb4d workqueue: Do not warn when cancelling WQ_MEM_RECLAIM work from !WQ_MEM_RECLAIM worker
    6dc676743a7a workqueue: Update lock debugging code
    2717b5e55a9f workqueue: Add rcu lock check at the end of work item execution
    66e533f0b250 pmdomain: imx: gpcv2: fix an OF node reference leak in imx_gpcv2_probe()
    b1e6351c16b4 pmdomain: imx: gpcv2: Simplify with scoped for each OF child loop
    b613a038fdd7 arm64: dts: rockchip: add hevc power domain clock to rk3328
    be3eed59ac01 block, bfq: fix waker_bfqq UAF after bfq_split_bfqq()
    53e25b10a28e hwmon: (drivetemp) Fix driver producing garbage data when SCSI errors occur
    a4b01371512e ARM: dts: imxrt1050: Fix clocks for mmc
    8efff2aa2d95 io_uring/eventfd: ensure io_eventfd_signal() defers another RCU period
    03753bfacbc6 riscv: kprobes: Fix incorrect address calculation
    6a96af5f309d iio: adc: ad7124: Disable all channels at probe time
    91dd568e3ff9 iio: inkern: call iio_device_put() only on mapped devices
    09e067e3c83e iio: adc: at91: call input_free_device() on allocated iio_dev
    f110a6d71bd8 iio: adc: ti-ads124s08: Use gpiod_set_value_cansleep()
    2df664d7b4f2 iio: gyro: fxas21002c: Fix missing data update in trigger handler
    455df95eb8f2 iio: adc: ti-ads8688: fix information leak in triggered buffer
    5a95fbbecec7 iio: adc: rockchip_saradc: fix information leak in triggered buffer
    cde312e257b5 iio: imu: kmx61: fix information leak in triggered buffer
    a15ea87d4337 iio: light: vcnl4035: fix information leak in triggered buffer
    74058395b2c6 iio: dummy: iio_simply_dummy_buffer: fix information leak in triggered buffer
    fefb88a4da96 iio: pressure: zpa2326: fix information leak in triggered buffer
    ea57f0bbe225 usb: gadget: configfs: Ignore trailing LF for user strings to cdev
    ea6a14987424 usb: gadget: f_fs: Remove WARN_ON in functionfs_bind
    88cdfe9f15d5 usb: typec: tcpm/tcpci_maxim: fix error code in max_contaminant_read_resistance_kohm()
    c1e7ced99da9 usb: gadget: f_uac2: Fix incorrect setting of bNumEndpoints
    dcd4de31bd01 usb: chipidea: ci_hdrc_imx: decrement device's refcount in .remove() and in the error path of .probe()
    43c204b22dd8 usb: gadget: midi2: Reverse-select at the right place
    953dea074bc5 usb: fix reference leak in usb_new_device()
    730016e0b963 USB: core: Disable LPM only for non-suspended ports
    77af0434807b USB: usblp: return error when setting unsupported protocol
    7c3f7c3caa35 usb: dwc3-am62: Disable autosuspend during remove
    0a3a87221418 x86/fpu: Ensure shadow stack is active before "getting" registers
    0c50f00cc299 usb: gadget: u_serial: Disable ep before setting port to null to fix the crash caused by port being null
    0231ecfb1f7a tty: serial: 8250: Fix another runtime PM usage counter underflow
    12f950a6a1c1 misc: microchip: pci1xxxx: Resolve return code mismatch during GPIO set config
    25692750c025 misc: microchip: pci1xxxx: Resolve kernel panic during GPIO IRQ handling
    b02cf1d27e46 topology: Keep the cpumask unchanged when printing cpumap
    c995c81b2a30 usb: dwc3: gadget: fix writing NYET threshold
    05da04bbf3b9 USB: serial: cp210x: add Phoenix Contact UPS Device
    138655dd9ebe usb-storage: Add max sectors quirk for Nokia 208
    e5c87f33b514 staging: iio: ad9832: Correct phase range check
    4c04529c77d5 staging: iio: ad9834: Correct phase range check
    8166f38c8099 USB: serial: option: add Neoway N723-EA support
    2dcb6368adf5 USB: serial: option: add MeiG Smart SRM815
    12caa73a28f0 dm-verity FEC: Fix RS FEC repair for roots unaligned to block size (take 2)
    8dddc12d0324 f2fs: fix null-ptr-deref in f2fs_submit_page_bio()
    e3ed5a14aac7 io_uring/timeout: fix multishot updates
    3ce08bab0105 drm/amd/display: increase MAX_SURFACES to the value supported by hw
    fa6bc7263061 drm/amdkfd: fixed page fault when enable MES shader debugger
    55ee64816bd5 ACPI: resource: Add Asus Vivobook X1504VAP to irq1_level_low_skip_override[]
    b239a3867d58 ACPI: resource: Add TongFang GM5HG0A to irq1_edge_low_force_override[]
    f48f060a4b36 riscv: Fix sleeping in invalid context in die()
    5fe671caedc2 smb: client: sync the root session and superblock context passwords before automounting
    d2512434f4cf thermal: of: fix OF node leak in of_thermal_zone_find()
    ae9ab63a268b drm/amd/display: Add check for granularity in dml ceil/floor helpers
    59d28c133e71 ksmbd: Implement new SMB3 POSIX type
    284a221f8fa5 sctp: sysctl: plpmtud_probe_interval: avoid using current->nsproxy
    55627918febd sctp: sysctl: udp_port: avoid using current->nsproxy
    7ec30c54f339 sctp: sysctl: auth_enable: avoid using current->nsproxy
    dc9d0e3cfd16 sctp: sysctl: rto_min/max: avoid using current->nsproxy
    ad673e514b27 sctp: sysctl: cookie_hmac_alg: avoid using current->nsproxy
    c0e394fd6b88 mptcp: sysctl: sched: avoid using current->nsproxy
    a57ce97c1978 dm-ebs: don't set the flag DM_TARGET_PASSES_INTEGRITY
    086136ad70c5 scsi: ufs: qcom: Power off the PHY if it was already powered on in ufs_qcom_power_up_sequence()
    6b305e98de0d dm thin: make get_first_thin use rcu-safe list first function
    a4a7ac3d2660 riscv: mm: Fix the out of bound issue of vmemmap address
    387f5b8ad3ff cpuidle: riscv-sbi: fix device node release in early exit of for_each_possible_cpu
    65b31b9d992c ksmbd: fix unexpectedly changed path in ksmbd_vfs_kern_path_locked
    5cc621085e2b platform/x86/amd/pmc: Only disable IRQ1 wakeup where i8042 actually enabled it
    7673030efe0f afs: Fix the maximum cell name length
    271ae0edbfc9 ksmbd: fix a missing return value check bug
    5b195e6f8bde drm/mediatek: Add return value check when reading DPCD
    5352901f0bf1 drm/mediatek: Fix mode valid issue for dp
    9db527726634 drm/mediatek: Fix YCbCr422 color format issue for DP
    acefaa6993eb drm/mediatek: stop selecting foreign drivers
    7083b93e9755 drm/mediatek: Set private->all_drm_private[i]->drm to NULL if mtk_drm_bind returns err
    229cc1028437 net/mlx5: Fix variable not being completed when function returns
    235419f0956e net: stmmac: dwmac-tegra: Read iommu stream id from device tree
    27202e2e8721 sched: sch_cake: add bounds checks to host bulk flow fairness counts
    d5807dd1328b netfilter: conntrack: clamp maximum hashtable size to INT_MAX
    1e3f5638c96b netfilter: nf_tables: imbalance in flowtable binding
    281855205a7c iio: imu: inv_icm42600: fix timestamps after suspend if sensor is on
    e026530e20e7 x86/mm/numa: Use NUMA_NO_NODE when calling memblock_set_node()
    85e4923bcbcd memblock tests: fix implicit declaration of function 'numa_valid_node'
    b0b415f1a29d riscv: Fix early ftrace nop patching
    52a6d4f16e5b tcp: Annotate data-race around sk->sk_mark in tcp_v4_send_reset
    b455f050709a Bluetooth: btnxpuart: Fix driver sending truncated data
    327bd191bb44 Bluetooth: MGMT: Fix Add Device to responding before completing
    9ba06f078f33 Bluetooth: hci_sync: Fix not setting Random Address when required
    eff2cd6f53a5 eth: gve: use appropriate helper to set xdp_features
    ba9f7c16ec87 ipvlan: Fix use-after-free in ipvlan_get_iflink().
    7397fa36d676 tls: Fix tls_sw_sendmsg error handling
    a78e04e0236b igc: return early when failing to read EECD register
    30254c85b814 igc: field get conversion
    0677b13dd9b0 ice: fix incorrect PHY settings for 100 GB/s
    9d3884f303b0 cxgb4: Avoid removal of uninserted tid
    70163207b57b bnxt_en: Fix possible memory leak when hwrm_req_replace fails
    b7e540c52137 pds_core: limit loop over fw name list
    24b85a8b0310 btrfs: avoid NULL pointer dereference if no valid extent tree
    a8fbf80c4ff5 net: libwx: fix firmware mailbox abnormal return
    e54beb9aed2a net_sched: cls_flow: validate TCA_FLOW_RSHIFT attribute
    91f89fe177a4 tcp/dccp: allow a connection when sk_max_ack_backlog is zero
    b2c9204e21b5 tcp/dccp: complete lockless accesses to sk->sk_max_ack_backlog
    41d2e3be0f28 net: 802: LLC+SNAP OID:PID lookup on start of skb data
    45ae076dac49 ieee802154: ca8210: Add missing check for kfifo_alloc() in ca8210_probe()
    6c37547a6eeb selftests/alsa: Fix circular dependency involving global-timer
    3d736856e245 ASoC: mediatek: disable buffer pre-allocation
    6754f5473dab ASoC: rt722: add delay time to wait for the calibration procedure
    14f030a807dd erofs: fix PSI memstall accounting
    1bf7e414cac3 erofs: handle overlapped pclusters out of crafted images properly
    a1a541fbfa7e ovl: support encoding fid from inode with no alias
    a3f8a2b13a27 ovl: pass realinode to ovl_encode_real_fh() instead of realdentry
    26423e18cd6f ovl: do not encode lower fh with upper sb_writers held
    1e92afe80197 exfat: fix the infinite loop in __exfat_free_cluster()
    dc1d7afceb98 exfat: fix the infinite loop in exfat_readdir()
    71f4123cf2c7 dm array: fix cursor index when skipping across block boundaries
    14f0e64c2f11 dm array: fix unreleased btree blocks on closing a faulty array cursor
    6002bec5354f dm array: fix releasing a faulty array block twice in dm_array_cursor_end
    a71e465f69be jbd2: flush filesystem device before updating tail sequence
    6b32ff20d16a jbd2: increase IO priority for writing revoke records
    fdebee5c5c2b memblock: use numa_valid_node() helper to check for invalid node ID
    4ddb7f966f3d memblock: make memblock_set_node() also warn about use of MAX_NUMNODES
    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: e12821ea911bcf1e708fa9be0ecd8b7d987542d5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-01 13:22:59 +00:00
Bruce Ashfield
dac5fc0fff linux-yocto/6.12: update to v6.12.10
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    a6ad5510dbb5 Linux 6.12.10
    b683ba0df11f netdev: prevent accessing NAPI instances from another namespace
    c08d7fcce7cc iio: imu: inv_icm42600: fix spi burst write not supported
    476e4c4a1a85 io_uring: don't touch sqd->thread off tw add
    ca80f62f0ab5 drm/mediatek: Only touch DISP_REG_OVL_PITCH_MSB if AFBC is supported
    810aad1d7fdd firewall: remove misplaced semicolon from stm32_firewall_get_firewall
    f838da8f3a96 arm64: dts: rockchip: add hevc power domain clock to rk3328
    bc2aeb35ff16 block, bfq: fix waker_bfqq UAF after bfq_split_bfqq()
    42268d885e44 hwmon: (drivetemp) Fix driver producing garbage data when SCSI errors occur
    0587f10fd294 arm64: dts: qcom: sa8775p: fix the secure device bootup issue
    0743189035a8 ARM: dts: imxrt1050: Fix clocks for mmc
    3a4b75c29cce arm64: dts: imx95: correct the address length of netcmix_blk_ctrl
    a7085c3ae43b io_uring/eventfd: ensure io_eventfd_signal() defers another RCU period
    cbb64f5d757f iio: adc: ad7124: Disable all channels at probe time
    24b89b747b1c iio: adc: ad7173: fix using shared static info struct
    b44c99621ddb iio: inkern: call iio_device_put() only on mapped devices
    d115b7f3ddc0 iio: adc: at91: call input_free_device() on allocated iio_dev
    726218231b84 iio: adc: ti-ads124s08: Use gpiod_set_value_cansleep()
    9ccfd0097e76 iio: imu: inv_icm42600: fix timestamps after suspend if sensor is on
    69b680bbac9b iio: adc: ti-ads1298: Add NULL check in ads1298_init
    07e07fbc7726 iio: gyro: fxas21002c: Fix missing data update in trigger handler
    04bbf1227da6 iio: adc: ti-ads1119: fix sample size in scan struct for triggered buffer
    2f1687cca911 iio: adc: ti-ads1119: fix information leak in triggered buffer
    485570ed82b7 iio: adc: ti-ads8688: fix information leak in triggered buffer
    8193941bc4fe iio: adc: rockchip_saradc: fix information leak in triggered buffer
    565814cbbaa6 iio: imu: kmx61: fix information leak in triggered buffer
    1cca2a666e09 iio: light: bh1745: fix information leak in triggered buffer
    f6fb1c59776b iio: light: vcnl4035: fix information leak in triggered buffer
    ea703cda36da iio: dummy: iio_simply_dummy_buffer: fix information leak in triggered buffer
    979a0db76ced iio: pressure: zpa2326: fix information leak in triggered buffer
    976544bdb40a usb: typec: fix pm usage counter imbalance in ucsi_ccg_sync_control()
    a25f1e6f60a2 usb: host: xhci-plat: set skip_phy_initialization if software node has XHCI_SKIP_PHY_INIT property
    62aa896683b0 usb: gadget: configfs: Ignore trailing LF for user strings to cdev
    a8b6a18b9b66 usb: gadget: f_fs: Remove WARN_ON in functionfs_bind
    7dd07d9cd28f usb: typec: tcpm/tcpci_maxim: fix error code in max_contaminant_read_resistance_kohm()
    4bb6450bfdd0 usb: gadget: f_uac2: Fix incorrect setting of bNumEndpoints
    8586d6ea623e usb: typec: tcpci: fix NULL pointer issue on shared irq case
    57797497a696 usb: chipidea: ci_hdrc_imx: decrement device's refcount in .remove() and in the error path of .probe()
    5b41c695a181 usb: gadget: midi2: Reverse-select at the right place
    4fb62dea06cd usb: fix reference leak in usb_new_device()
    e982fcb440bc USB: core: Disable LPM only for non-suspended ports
    61e0a97342e7 USB: usblp: return error when setting unsupported protocol
    eaeaaf04db0c usb: dwc3-am62: Disable autosuspend during remove
    6bfe1fc22f46 x86/fpu: Ensure shadow stack is active before "getting" registers
    8e122d780a0f usb: gadget: u_serial: Disable ep before setting port to null to fix the crash caused by port being null
    5a592b94b542 serial: stm32: use port lock wrappers for break control
    07f09383b192 tty: serial: 8250: Fix another runtime PM usage counter underflow
    5e8f68a4139e misc: microchip: pci1xxxx: Resolve return code mismatch during GPIO set config
    47d3749ec0cb misc: microchip: pci1xxxx: Resolve kernel panic during GPIO IRQ handling
    360596e7fe31 topology: Keep the cpumask unchanged when printing cpumap
    6d86c1b463f7 usb: dwc3: gadget: fix writing NYET threshold
    98f2bd6de318 USB: serial: cp210x: add Phoenix Contact UPS Device
    c67441c93b33 usb-storage: Add max sectors quirk for Nokia 208
    5492dbecbf0e staging: iio: ad9832: Correct phase range check
    26cc3a026d3e staging: iio: ad9834: Correct phase range check
    2eaf2500e2cd USB: serial: option: add Neoway N723-EA support
    2ff1e6b03691 USB: serial: option: add MeiG Smart SRM815
    aa7496d668c3 io_uring/sqpoll: zero sqd->thread on tctx errors
    2b30bffd9a77 io_uring/timeout: fix multishot updates
    5c331df9a5ef drm/amd/display: increase MAX_SURFACES to the value supported by hw
    37b8de96ae48 drm/amd/display: fix page fault due to max surface definition mismatch
    c2eaa73bd542 drm/amd/display: fix divide error in DM plane scale calcs
    c8243def2997 drm/amdkfd: wq_release signals dma_fence only when available
    3e279ecb4233 drm/amdkfd: fixed page fault when enable MES shader debugger
    cde7a70bbbf9 drm/amd/pm: fix BUG: scheduling while atomic
    758e3c3054b6 drm/amdgpu: Add a lock when accessing the buddy trim function
    df8d1c8e6720 ACPI: resource: Add Asus Vivobook X1504VAP to irq1_level_low_skip_override[]
    be1e47be9eb4 ACPI: resource: Add TongFang GM5HG0A to irq1_edge_low_force_override[]
    dbbc17735a67 gpio: loongson: Fix Loongson-2K2000 ACPI GPIO register offset
    7f5a0124dc54 riscv: kprobes: Fix incorrect address calculation
    76ab0afcdbe8 riscv: Fix sleeping in invalid context in die()
    1ca9de8867a9 fs: kill MNT_ONRB
    569e203d364a smb: client: sync the root session and superblock context passwords before automounting
    bc1a711c28c6 arm64: dts: qcom: sa8775p: Fix the size of 'addr_space' regions
    6c3ed8bc34b4 arm64: dts: qcom: x1e80100: Fix up BAR space size for PCIe6a
    cfe32daafd6c sched_ext: idle: Refresh idle masks during idle-to-idle transitions
    11cb1d643a74 cgroup/cpuset: remove kernfs active break
    e7960da6f2f4 sched_ext: switch class when preempted by higher priority scheduler
    d9e446dd63ce sched_ext: Replace rq_lock() to raw_spin_rq_lock() in scx_ops_bypass()
    5b80f2fe8a34 thermal: of: fix OF node leak in of_thermal_zone_find()
    dc63fd2e473d cgroup/cpuset: Prevent leakage of isolated CPUs into sched domains
    4f0dd09ed300 drm/amd/display: Add check for granularity in dml ceil/floor helpers
    23af4d2c49d8 drm/amd/display: Remove unnecessary amdgpu_irq_get/put
    42ef932bad9b Revert "drm/mediatek: dsi: Correct calculation formula of PHY Timing"
    25adbb08aead btrfs: zlib: fix avail_in bytes for s390 zlib HW compression path
    38c229455b8b ksmbd: Implement new SMB3 POSIX type
    de8d6de0ee27 rds: sysctl: rds_tcp_{rcv,snd}buf: avoid using current->nsproxy
    bcf8c60074e8 sctp: sysctl: plpmtud_probe_interval: avoid using current->nsproxy
    5b77d73f3be5 sctp: sysctl: udp_port: avoid using current->nsproxy
    c184bc621e3c sctp: sysctl: auth_enable: avoid using current->nsproxy
    c87f1f6ade56 sctp: sysctl: rto_min/max: avoid using current->nsproxy
    f0bb39354706 sctp: sysctl: cookie_hmac_alg: avoid using current->nsproxy
    4c74fbdc5ab9 mptcp: sysctl: blackhole timeout: avoid using current->nsproxy
    6035702381c3 mptcp: sysctl: sched: avoid using current->nsproxy
    8d242069660a mptcp: sysctl: avail sched: remove write access
    fc8943886629 dm-verity FEC: Fix RS FEC repair for roots unaligned to block size (take 2)
    7ecee316f63e dm-ebs: don't set the flag DM_TARGET_PASSES_INTEGRITY
    8790d511d4ac fs: fix is_mnt_ns_file()
    adcde2872f8f fs: relax assertions on failure to encode file handles
    f3e8a16c23b2 vfio/pci: Fallback huge faults for unaligned pfn
    b1a38fe4789c scsi: ufs: qcom: Power off the PHY if it was already powered on in ufs_qcom_power_up_sequence()
    cbd0d5ecfa39 dm thin: make get_first_thin use rcu-safe list first function
    7ce916f4e975 drivers/perf: riscv: Return error for default case
    6191b1a474e1 drivers/perf: riscv: Fix Platform firmware event data
    3f545392e971 netfs: Fix read-retry for fs with no ->prepare_read()
    9f3a26583684 netfs: Fix kernel async DIO
    09b94ddc58c6 drm/xe: Fix tlb invalidation when wedging
    53a56817755e riscv: use local label names instead of global ones in assembly
    607b8740c6d7 riscv: stacktrace: fix backtracing through exceptions
    d2bd51954ac8 riscv: mm: Fix the out of bound issue of vmemmap address
    0ea7a3e44255 cpuidle: riscv-sbi: fix device node release in early exit of for_each_possible_cpu
    3825569af306 riscv: module: remove relocation_head rel_entry member allocation
    51669f4af5f7 ksmbd: fix unexpectedly changed path in ksmbd_vfs_kern_path_locked
    a8d99ce66b76 platform/x86: intel/pmc: Fix ioremap() of bad address
    b25778c87a6b platform/x86/amd/pmc: Only disable IRQ1 wakeup where i8042 actually enabled it
    7922b1f058fe afs: Fix the maximum cell name length
    2976e91a3e56 ksmbd: fix a missing return value check bug
    818bc75973ca drm/mediatek: Add return value check when reading DPCD
    10cf9bf247c5 gpio: virtuser: fix handling of multiple conn_ids in lookup table
    d72d0126b1f6 gpio: virtuser: fix missing lookup table cleanups
    c63bb54ece43 drm/mediatek: mtk_dsi: Add registers to pdata to fix MT8186/MT8188
    4efc06dbd668 drm/mediatek: Fix mode valid issue for dp
    c06dda11c517 drm/mediatek: Fix YCbCr422 color format issue for DP
    cc4bd3288832 drm/mediatek: stop selecting foreign drivers
    7a0300d3ee74 drm/mediatek: Add support for 180-degree rotation in the display driver
    411ba3c2203c drm/mediatek: Move mtk_crtc_finish_page_flip() to ddp_cmdq_cb()
    078b2ff7da20 drm/mediatek: Set private->all_drm_private[i]->drm to NULL if mtk_drm_bind returns err
    36124081f6ff net/mlx5: Fix variable not being completed when function returns
    5c0be5e688a8 rtase: Fix a check for error in rtase_alloc_msix()
    b04d33cdbc95 net: stmmac: dwmac-tegra: Read iommu stream id from device tree
    91bb18950b88 sched: sch_cake: add bounds checks to host bulk flow fairness counts
    f559357d0358 netfilter: conntrack: clamp maximum hashtable size to INT_MAX
    2e87c203b72f netfilter: nf_tables: imbalance in flowtable binding
    7475a3e353bc mctp i3c: fix MCTP I3C driver multi-thread issue
    f19ab3ef96d9 net: hns3: fix kernel crash when 1588 is sent on HIP08 devices
    0575baa733fc net: hns3: fixed hclge_fetch_pf_reg accesses bar space out of bounds issue
    13c11ca317f5 net: hns3: initialize reset_timer before hclgevf_misc_irq_init()
    bcf430d3bb55 net: hns3: don't auto enable misc vector
    864c1df2e379 net: hns3: Resolved the issue that the debugfs query result is inconsistent.
    713b9b0a0fc8 net: hns3: fix missing features due to dev->features configuration too early
    8b30ec384623 net: hns3: fixed reset failure issues caused by the incorrect reset type
    8b800ea3f380 tcp: Annotate data-race around sk->sk_mark in tcp_v4_send_reset
    cd4522bd3632 Bluetooth: btmtk: Fix failed to send func ctrl for MediaTek devices.
    49cd0ccacc7d Bluetooth: btnxpuart: Fix driver sending truncated data
    1f88b5313566 Bluetooth: MGMT: Fix Add Device to responding before completing
    ccc1ef188455 Bluetooth: hci_sync: Fix not setting Random Address when required
    e7e21d9c9fc8 eth: gve: use appropriate helper to set xdp_features
    52a24538d569 ipvlan: Fix use-after-free in ipvlan_get_iflink().
    9ea32dd90711 tls: Fix tls_sw_sendmsg error handling
    4cff50a8222b igc: return early when failing to read EECD register
    19dbf59fe190 ice: fix incorrect PHY settings for 100 GB/s
    6bda291e21f7 ice: fix max values for dpll pin phase adjust
    61b437faf2a7 net: don't dump Tx and uninitialized NAPIs
    17516b69d79d cxgb4: Avoid removal of uninserted tid
    f697217f980f bnxt_en: Fix DIM shutdown
    47360e567cc3 bnxt_en: Fix possible memory leak when hwrm_req_replace fails
    ce1e0f1c331d pds_core: limit loop over fw name list
    aee5f69f3e6c btrfs: avoid NULL pointer dereference if no valid extent tree
    db3cd503093e net: libwx: fix firmware mailbox abnormal return
    6fde663f7321 net_sched: cls_flow: validate TCA_FLOW_RSHIFT attribute
    e4a92f0d51c6 tcp/dccp: allow a connection when sk_max_ack_backlog is zero
    a3a9630d4d29 net: 802: LLC+SNAP OID:PID lookup on start of skb data
    1689f48b0a3b ieee802154: ca8210: Add missing check for kfifo_alloc() in ca8210_probe()
    0eec6abe74db selftests/alsa: Fix circular dependency involving global-timer
    7db7597f7b05 ASoC: mediatek: disable buffer pre-allocation
    13f3053c3154 ASoC: rt722: add delay time to wait for the calibration procedure
    3c7c90274ae3 ovl: support encoding fid from inode with no alias
    668d8dea2cee ovl: pass realinode to ovl_encode_real_fh() instead of realdentry
    c0f613f2148c fuse: respect FOPEN_KEEP_CACHE on opendir
    0bebeb6672cf exfat: fix the infinite loop in __exfat_free_cluster()
    942c6f91ab8d exfat: fix the new buffer was not zeroed before writing
    d9ea94f5cd11 exfat: fix the infinite loop in exfat_readdir()
    6f153055ba05 netfs: Fix is-caching check in read-retry
    ba37bdfe59fb netfs: Fix the (non-)cancellation of copy when cache is temporarily disabled
    43b8d3249b0b netfs: Fix ceph copy to cache on write-begin
    2c3348864ab7 netfs: Fix missing barriers by using clear_and_wake_up_bit()
    13a07cc81e2d nfs: Fix oops in nfs_netfs_init_request() when copying to cache
    88ecdfea1b33 netfs: Fix enomem handling in buffered reads
    30341be4a6d1 dm array: fix cursor index when skipping across block boundaries
    22443df885bf dm array: fix unreleased btree blocks on closing a faulty array cursor
    017c4470bff5 dm array: fix releasing a faulty array block twice in dm_array_cursor_end
    82c59a86a247 iomap: fix zero padding data issue in concurrent append writes
    7adf7df4bbc0 iomap: pass byte granular end position to iomap_add_to_ioend
    f40881bde8f6 fs/writeback: convert wbc_account_cgroup_owner to take a folio
    a5bc86861020 jbd2: flush filesystem device before updating tail sequence
    56c4353ce4b5 jbd2: increase IO priority for writing revoke records
    e97df805b938 drm/tilcdc: Set preferred depth
    7160a4379dcc arch/arm64/configs: remove CONFIG_SM_DISPCC_8650
    6d8ac5ebe6e8 aufs6: core
    587abc1b64c4 aufs6: standalone
    1af41d30ef42 aufs6: mmap
    6ee2464d2e9d aufs6: base
    103b676505f7 aufs6: kbuild
    67281562943f qemux86: add configuration symbol to select values
    73f315ca0823 sched/isolation: really align nohz_full with rcu_nocbs
    1e4e7f8ab622 clear_warn_once: add a clear_warn_once= boot parameter
    918e7a825e8b clear_warn_once: bind a timer to written reset value
    f533f87c3758 clear_warn_once: expand debugfs to include read support
    f149ca27cba9 tools: Remove some options from CLANG_CROSS_FLAGS
    e633abe9c44e libbpf: Fix build warning on ref_ctr_off
    ec0916a4cfc1 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    03721ceb5626 perf: x86-32: explicitly include <errno.h>
    4c36c5295bb0 perf: mips64: Convert __u64 to unsigned long long
    b0200449610d perf: fix bench numa compilation
    aff0940b2212 perf: add SLANG_INC for slang.h
    ef912018d28c perf: add sgidefs.h to for mips builds
    d8860f858b87 perf: change --root to --prefix for python install
    dc38a0eee6e5 perf: add 'libperl not found' warning
    6ed51f8786da perf: force include of <stdbool.h>
    c538d4c4ac65 fat: Replace prandom_u32() with get_random_u32()
    63d94846f0c5 fat: don't use obsolete random32 call in namei_vfat
    7816667451ef FAT: Added FAT_NO_83NAME
    f81dbd60f0d5 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    771cdefba44b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    a24784fd8f88 yaffs2: update to v6.12 folio changes
    d0a48fd46db8 yaffs2: adapt to v6.10 i_time changes
    d097e4d4115a yaffs: fix mtime/itime field access
    4411e0d49fe3 yaffs2: update VFS ctime operations to 6.6+
    1b6619086e8b yaffs2: v6.5 fixups
    25b261ee3c54 yaffs2: Fix miscalculation of devname buffer length
    5c07936a5d1c yaffs2: convert user_namespace to mnt_idmap
    55986a1284b3 yaffs2: replace bdevname call with sprintf
    6f5508f8db8f yaffs2: convert read_page -> readfolio
    fd179a5df5d5 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    c9a620dacdd1 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    78588208ed17 yaffs2: v5.12+ build fixups (not runtime tested)
    8d2dddba272c yaffs: include blkdev.h
    8c1ca9ef9712 yaffs: Fix build failure by handling inode i_version with proper atomic API
    27005cbac2ed yaffs2: v5.6 build fixups
    668211c9f9b7 yaffs2: fix memory leak when /proc/yaffs is read
    285f911dcc1c yaffs: add strict check when call yaffs_internal_read_super
    ffc2ed489ccf yaffs: repair yaffs_get_mtd_device
    6dce4b70a5e3 yaffs: Fix build failure by handling inode i_version with proper atomic API
    19f283abc5d1 yaffs2: fix memory leak in mount/umount
    04e84672b571 yaffs: Avoid setting any ACL releated xattr
    4f221d6a32e2 Yaffs:check oob size before auto selecting Yaffs1
    81f36004e56b fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    26d7a3dd0054 yaffs2: adjust to proper location of MS_RDONLY
    a7016eac4540 yaffs2: import git revision b4ce1bb (jan, 2020)
    feb240bbb91e initramfs: allow an optional wrapper script around initramfs generation
    874746eaa341 drivers: gpu: drm: msm: registers: improve reproducibility
    1d42508faee8 tools: use basename to identify file in gen-mach-types
    4b055eca593d iwlwifi: select MAC80211_LEDS conditionally
    97e20e275ac0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    6dec58319165 defconfigs: drop obselete options
    a416ccb5b6c9 linux-yocto: Handle /bin/awk issues
    7efe8a1e5158 uvesafb: provide option to specify timeout for task completion
    78d10ae07eca uvesafb: print error message when task timeout occurs
    80473b7eb8ca compiler.h: Undef before redefining __attribute_const__
    ddeff2f1a9a7 vmware: include jiffies.h
    3dcdda8912b4 Resolve jiffies wrapping about arp
    3b1507db6735 nfs: Allow default io size to be configured.
    c2fedad05f77 check console device file on fs when booting
    208d6fbada3f mount_root: clarify error messages for when no rootfs found
    dbe9454c8ea0 mconf: fix output of cflags and libraries
    7c7b224f5cce menuconfig,mconf-cfg: Allow specification of ncurses location
    b6c189c81397 modpost: mask trivial warnings
    a5cc21325ba9 kbuild: exclude meta directory from distclean processing
    361ec143c23f powerpc: serialize image targets
    605e6ccb304c arm: serialize build targets
    e94b04fcb7d2 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    44cc7f69a0a0 cpu/amd: inhibit SMP check for qemux86
    a08cb65331e6 x86_64_defconfig: Fix warnings
    8ad332ef777b mips: make current_cpu_data preempt safe
    754f05ddce3f mips: vdso: fix 'jalr $t9' crash in vdso code
    325ff78ff44d mips: Kconfig: add QEMUMIPS64 option
    99ae0eadcf11 4kc cache tlb hazard: tlbp cache coherency
    c6894c66a534 malta uhci quirks: make allowance for slow 4k(e)c
    8b52c01f3294 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    16c7629f035e drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    6b60c874cbb0 arm64: defconfig: cleanup config options
    8e44673ecd89 vexpress: Pass LOADADDR to Makefile
    f34e6805aad5 arm: ARM EABI socketcall
    94dec9b88de4 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 46450b646bf81024af977fa564732589fa8db58f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-01 13:22:59 +00:00
Bruce Ashfield
23a4b69ebb linux-yoto/6.12: skylake drop CONFIG_SND_SOC_INTEL_SKL_RT286_MACH
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Yogesh Tyagi
    Email: yogesh.tyagi@intel.com
    Subject: features/soc/skylake: drop CONFIG_SND_SOC_INTEL_SKL_RT286_MACH
    Date: Fri, 17 Jan 2025 23:54:27 +0530

    skl_rt286 board driver has been removed[1], if turn on this config, kernel would report a warning.

    [INFO]: the following symbols were not found in the active configuration:
         - CONFIG_SND_SOC_INTEL_SKL_RT286_MACH

    [1] https://git.yoctoproject.org/linux-yocto/commit/?id=51d8e9b2

    Kernel's 6.12+ needs this change.

    Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 5d8adbc3afe3fd34a3c219c35c9d81b6ab36952c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-01 13:22:59 +00:00
Bruce Ashfield
182ea8dc03 linux-yocto/6.6: update to v6.6.71
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    843e64492a7e Linux 6.6.71
    a6923798e471 x86/hyperv: Fix hv tsc page based sched_clock for hibernation
    b34e805539da Revert "x86, crash: wrap crash dumping code into crash related ifdefs"
    c8bc44c5f961 Revert "x86/hyperv: Fix hv tsc page based sched_clock for hibernation"
    1acb10106df3 Linux 6.6.70
    9722973ad038 scsi: hisi_sas: Remove redundant checks for automatic debugfs dump
    3de1b50f055d RDMA/bnxt_re: Fix max SGEs for the Work Request
    f61e663d78ff mptcp: don't always assume copied data in mptcp_cleanup_rbuf()
    27c843e76447 mptcp: fix recvbuffer adjust on sleeping rcvmsg
    53fe947f67c9 mptcp: fix TCP options overflow.
    1ff2302e8aea mm: vmscan: account for free pages to prevent infinite Loop in throttle_direct_reclaim()
    86d946f3f999 mm/kmemleak: fix sleeping function called from invalid context at print message
    424abdec35ec mm/readahead: fix large folio support in async readahead
    cbe9eb2c39d0 gve: guard XDP xmit NDO on existence of xdp queues
    771d66f2bd8c gve: guard XSK operations on the existence of queues
    9b071576f891 fs/proc/task_mmu: fix pagemap flags with PMD THP entries on 32bit
    1f49aaf55652 drm: adv7511: Fix use-after-free in adv7533_attach_dsi()
    79fcfc900abe dt-bindings: display: adi,adv7533: Drop single lane support
    7b977f8c26b6 drm: adv7511: Drop dsi single lane support
    271f031f4c31 net/sctp: Prevent autoclose integer overflow in sctp_association_init()
    b32c3b748d29 sky2: Add device ID 11ab:4373 for Marvell 88E8075
    8c6fd5803b98 pinctrl: mcp23s08: Fix sleeping in atomic context due to regmap locking
    b92667f75574 RDMA/uverbs: Prevent integer overflow issue
    c9818b61d0a8 scripts/sorttable: fix orc_sort_cmp() to maintain symmetry and transitivity
    edc8ece96c11 kcov: mark in_softirq_really() as __always_inline
    2e3d203b1ade ocfs2: fix slab-use-after-free due to dangling pointer dqi_priv
    d2392b79d8af ALSA: seq: oss: Fix races at processing SysEx messages
    7d1f59defa9e ALSA hda/realtek: Add quirk for Framework F111:000C
    396964d45ca5 ALSA: seq: Check UMP support for midi_version change
    199f04528737 Revert "bpf: support non-r10 register spill/fill to/from stack in precision tracking"
    bc6962f2dbaf modpost: fix the missed iteration for the max bit in do_input()
    f93e9ae0ba5e modpost: fix input MODULE_DEVICE_TABLE() built for 64-bit on 32-bit host
    36e1b6890f22 RDMA/bnxt_re: Fix the max WQE size for static WQE support
    c3b5a7d6a13b seq_buf: Make DECLARE_SEQ_BUF() usable
    f2b94ee08ec6 ARC: build: Try to guess GCC variant of cross compiler
    d8f3f7d30f65 irqchip/gic: Correct declaration of *percpu_base pointer in union gic_base
    bef333418368 Bluetooth: hci_core: Fix sleeping function called from invalid context
    d8ecb248c199 net: usb: qmi_wwan: add Telit FE910C04 compositions
    c6b1d01e7a9c smb: client: destroy cfid_put_wq on module exit
    1d7ee876b8b9 ksmbd: set ATTR_CTIME flags when setting mtime
    2f75da8294bf ksmbd: retry iterate_dir in smb2_query_dir
    f53b37313ab6 bpf: fix potential error return
    73a30cb3e980 sound: usb: format: don't warn that raw DSD is unsupported
    325370be0676 sound: usb: enable DSD output for ddHiFi TC44C
    7523dd63ab22 ALSA: hda/realtek: Add new alc2xx-fixup-headset-mic model
    0d5e2d476000 ALSA: hda/ca0132: Use standard HD-audio quirk matching helpers
    35916b2f9650 btrfs: flush delalloc workers queue before stopping cleaner kthread during unmount
    d0fafe701c6a drm/amdkfd: Correct the migration DMA map direction
    037ea0f28f9a wifi: mac80211: wake the queues in case of failure in resume
    86772872f9f5 wifi: mac80211: fix mbss changed flags corruption on 32 bit systems
    d6b130fabfe1 net: ti: icssg-prueth: Fix clearing of IEP_CMP_CFG registers during iep_init
    17e8fa894345 ila: serialize calls to nf_register_net_hooks()
    a693b87692b4 af_packet: fix vlan_get_protocol_dgram() vs MSG_PEEK
    7aa78d0d8546 af_packet: fix vlan_get_tci() vs MSG_PEEK
    23f2e7a13fa4 net: wwan: iosm: Properly check for valid exec stage in ipc_mmio_init()
    ad91a2dacbf8 net: restrict SO_REUSEPORT to inet sockets
    95ccf006bbc8 net: reenable NETIF_F_IPV6_CSUM offload for BIG TCP packets
    9eea3703c882 net: sfc: Correct key_len for efx_tc_ct_zone_ht_params
    b238f61cc394 RDMA/rtrs: Ensure 'ib_sge list' is accessible
    0cd3bde081cd net: wwan: t7xx: Fix FSM command timeout issue
    313474b10897 net: mv643xx_eth: fix an OF node reference leak
    d5ea3a4d02d8 eth: bcmsysport: fix call balance of priv->clk handling routines
    930f2f96734e ALSA: usb-audio: US16x08: Initialize array before use
    0c896816aa19 net: llc: reset skb->transport_header
    4f49349c1963 netfilter: nft_set_hash: unaligned atomic read on struct nft_set_ext
    c9b344ada5fd drm/i915/dg1: Fix power gate sequence.
    3e45dd1622a2 net/mlx5e: Skip restore TC rules for vport rep without loaded flag
    e66a99b9177b net/mlx5e: macsec: Maintain TX SA from encoding_sa
    43e589ab372f net/mlx5: DR, select MSIX vector 0 for completion queue creation
    f647d72245aa netrom: check buffer length before accessing it
    36eff8669b74 net: Fix netns for ip_tunnel_init_flow()
    7e9aa1a065dc ipv4: ip_tunnel: Unmask upper DSCP bits in ip_tunnel_xmit()
    3b1a7fb74ab1 ipv4: ip_tunnel: Unmask upper DSCP bits in ip_md_tunnel_xmit()
    ae0710c5cc74 ipv4: ip_tunnel: Unmask upper DSCP bits in ip_tunnel_bind_dev()
    77b1e00fe97e ip_tunnel: annotate data-races around t->parms.link
    2af69905180b net: fix memory leak in tcp_conn_request()
    c6870f86bde6 net: stmmac: restructure the error path of stmmac_probe_config_dt()
    6d01d9f66ae1 net: stmmac: don't create a MDIO bus if unnecessary
    48f63e4e64a5 RDMA/hns: Fix missing flush CQE for DWQE
    be4293e108e2 RDMA/hns: Fix warning storm caused by invalid input in IO path
    2746888be48c RDMA/hns: Fix mapping error of zero-hop WQE buffer
    2049fb6c8bd7 RDMA/hns: Remove unused parameters and variables
    363f502cbfc0 RDMA/hns: Refactor mtr find
    ca2a2cad4efb net: dsa: microchip: Fix LAN937X set_ageing_time function
    7583dd5928b6 net: dsa: microchip: Fix KSZ9477 set_ageing_time function
    fa7f96589f17 drm/bridge: adv7511_audio: Update Audio InfoFrame properly
    f28fa7625536 RDMA/bnxt_re: Fix the locking while accessing the QP table
    cd1547b49b2c RDMA/bnxt_re: Fix MSN table size for variable wqe mode
    2e719d89b9fa RDMA/bnxt_re: Add send queue size check for variable wqe
    3ae9ee7ff3b2 RDMA/bnxt_re: Disable use of reserved wqes
    bb46a484a0c6 RDMA/bnxt_re: Add support for Variable WQE in Genp7 adapters
    9fcfe972758b RDMA/bnxt_re: Fix max_qp_wrs reported
    38b49312da2d RDMA/bnxt_re: Fix reporting hw_ver in query_device
    14f66ac898c9 RDMA/bnxt_re: Add check for path mtu in modify_qp
    183a96174cab RDMA/bnxt_re: Fix the check for 9060 condition
    347654387bb1 nvme-pci: 512 byte aligned dma pool segment quirk
    a0ceed736c88 RDMA/bnxt_re: Avoid sending the modify QP workaround for latest adapters
    a5092b138e1c RDMA/bnxt_re: Avoid initializing the software queue for user queues
    25e6e9da6926 RDMA/mlx5: Enforce same type port association for multiport RoCE
    5d1d7522cf82 RDMA/bnxt_re: Remove always true dattr validity check
    c91ae7c12d6f RDMA/bnxt_re: Allow MSN table capability check
    f452f397f9a6 tracing: Check "%s" dereference via the field and not the TP_printk format
    55841e8820b9 tracing: Fix trace_check_vprintf() when tp_printk is used
    680c07fabc2b tracing: Handle old buffer mappings for event strings and functions
    6920e362bc08 seq_buf: Introduce DECLARE_SEQ_BUF and seq_buf_str()
    cd27bbe89810 powerpc: Remove initialisation of readpos
    c46547b4686e tracing: Move readpos from seq_buf to trace_seq
    1ec141d8f51b net: mctp: handle skb cleanup on sock_queue failures
    c47ed91156da ceph: give up on paths longer than PATH_MAX
    a64e5295ebc4 tracing: Have process_string() also allow arrays
    de2a10e19226 mmc: sdhci-msm: fix crypto key eviction
    6228f13f1996 btrfs: fix use-after-free in btrfs_encoded_read_endio()
    c1dbd28a0795 selinux: ignore unknown extended permissions
    c2a7fc514637 f2fs: fix to wait dio completion
    23ea763880d6 platform/x86: mlx-platform: call pci_dev_put() to balance the refcount
    d4eb5b3c115d ALSA: ump: Shut up truncated string warning
    8b2e38f2a9b7 usb: xhci: Avoid queuing redundant Stop Endpoint commands
    8a2273e5c1be usb: typec: ucsi: glink: fix off-by-one in connector_status
    a47f0b03149a scsi: hisi_sas: Fix a deadlock issue related to automatic dump
    8c5ad189e90f cleanup: Remove address space of returned pointer
    55779f26eab9 crypto: ecc - Prevent ecc_digits_from_bytes from reading too many bytes
    9457d783fb94 Bluetooth: btusb: mediatek: add callback function in btusb_disconnect
    3aab20eb1989 Bluetooth: btusb: add callback function in btusb suspend/resume
    9a466b8693b9 btrfs: fix use-after-free when COWing tree bock and tracing is enabled
    0d2cc60b44d0 btrfs: rename and export __btrfs_cow_block()
    151447859d6f x86/fred: Clear WFE in missing-ENDBRANCH #CPs
    9c268be377e7 x86/ptrace: Add FRED additional information to the pt_regs structure
    498bdedca58a x86/ptrace: Cleanup the definition of the pt_regs structure
    48417c3426cf ACPI/IORT: Add PMCG platform information for HiSilicon HIP09A
    4252d023bae7 ACPI/IORT: Add PMCG platform information for HiSilicon HIP10/11
    f5a20424084f scsi: mpi3mr: Start controller indexing from 0
    d424303d8d18 scsi: mpi3mr: Use ida to manage mrioc ID
    8d891c866cf7 ALSA: ump: Update legacy substream names upon FB info update
    9617001adfc9 ALSA: ump: Indicate the inactive group in legacy substream names
    cf29cbf61cf2 ALSA: ump: Don't open legacy substream for an inactive group
    b5e175e18a39 ALSA: ump: Use guard() for locking
    b41d73055284 udf: Verify inode link counts before performing rename
    17b312c5d869 udf_rename(): only access the child content on cross-directory rename
    d33523b0beb5 watchdog: rzg2l_wdt: Power on the watchdog domain in the restart handler
    e145b77fb5c1 watchdog: rzg2l_wdt: Rely on the reset driver for doing proper reset
    7ea100fb50bb watchdog: rzg2l_wdt: Remove reset de-assert from probe
    b222816f9c43 of: address: Preserve the flags portion on 1:1 dma-ranges mapping
    443f803b332b of: address: Store number of bus flag cells rather than bool
    7a40a884f597 of: address: Remove duplicated functions
    6681113633dc x86/hyperv: Fix hv tsc page based sched_clock for hibernation
    e5b1574a8ca2 x86, crash: wrap crash dumping code into crash related ifdefs
    5422f4321640 thunderbolt: Don't display nvm_version unless upgrade supported
    5a23e3e9e245 thunderbolt: Add support for Intel Panther Lake-M/P
    888c554d3dfd thunderbolt: Add support for Intel Lunar Lake
    6cd8e621a689 xhci: Turn NEC specific quirk for handling Stop Endpoint errors generic
    f1ece345ad2c usb: xhci: Limit Stop Endpoint retries
    61329b25dc1d xhci: retry Stop Endpoint on buggy NEC controllers
    43e3aa2f44d6 net: renesas: rswitch: fix possible early skb release
    3dd65ffa2df6 softirq: Allow raising SCHED_SOFTIRQ from SMP-call-function on RT kernel
    d6616dcd8721 net/mlx5: unique names for per device caches
    ddcc7d71be31 Revert "nvme: make keep-alive synchronous operation"
    801acf741c87 nvme: use helper nvme_ctrl_state in nvme_keep_alive_finish function
    2c276bef8273 usb: typec: ucsi: glink: be more precise on orientation-aware ports
    7723988b0127 usb: typec: ucsi: glink: set orientation aware if supported
    01059e0b5cc0 usb: typec: ucsi: add update_connector callback
    fd662c37a108 usb: typec: ucsi: glink: move GPIO reading into connector_status callback
    8dd7fc5e409b usb: typec: ucsi: add callback for connector status updates
    c47940e84398 iio: adc: ad7192: properly check spi_get_device_match_data()
    843b5d1602d6 iio: adc: ad7192: Convert from of specific to fwnode property handling
    f7d548a62f08 usb: chipidea: udc: limit usb request length to max 16KB
    7a2020e83b6a usb: chipidea: add CI_HDRC_HAS_SHORT_PKT_LIMIT flag
    c39df6d3af2d usb: chipidea: add CI_HDRC_FORCE_VBUS_ACTIVE_ALWAYS flag
    c2556801583c fs/ntfs3: Fix warning in ni_fiemap
    48ebb93f933d fs/ntfs3: Implement fallocate for compressed files
    171c40531b04 remoteproc: qcom: pas: enable SAR2130P audio DSP support
    b506a0c41411 remoteproc: qcom: pas: Add support for SA8775p ADSP, CDSP and GPDSP
    25804f9b492b remoteproc: qcom: pas: Add sc7180 adsp
    3c9d3157f3cc mailbox: pcc: Check before sending MCTP PCC response ACK
    d8c0f38208a4 ACPI: PCC: Add PCC shared memory region command and status bitfields
    4460b5236818 i2c: xgene-slimpro: Migrate to use generic PCC shmem related macros
    dcc02c9ebfe8 mailbox: pcc: Support shared interrupt for multiple subspaces
    605018764e21 mailbox: pcc: Add support for platform notification handling
    82461d89c849 clk: qcom: clk-alpha-pll: Add NSS HUAYRA ALPHA PLL support for ipq9574
    deff81f56dff clk: qcom: clk-alpha-pll: Add support for zonda ole pll configure
    7c8c50c9855a scsi: hisi_sas: Create all dump files during debugfs initialization
    044928679823 scsi: hisi_sas: Allocate DFX memory during dump trigger
    91e035e98fa1 scsi: hisi_sas: Directly call register snapshot instead of using workqueue
    4f4fe3db92bb Bluetooth: btusb: Add new VID/PID 0489/e111 for MT7925
    f8a67ffb96c9 Bluetooth: btusb: Add USB HW IDs for MT7921/MT7922/MT7925
    1e7b1a8e7b6e Bluetooth: btusb: Add new VID/PID 13d3/3602 for MT7925
    e612c16ed0b7 Bluetooth: Add support ITTIM PE50-M75C
    ca4e69826d67 Bluetooth: hci_conn: Reduce hci_conn_drop() calls in two functions
    6e6a3479986a i2c: i801: Add support for Intel Panther Lake
    f38ca98b0721 i2c: i801: Add support for Intel Arrow Lake-H
    b35de9e01fc7 wifi: ath10k: avoid NULL pointer error during sdio remove
    358c36eae58d wifi: ath10k: Update Qualcomm Innovation Center, Inc. copyrights
    3ed6b2daa4e9 wifi: ath12k: fix atomic calls in ath12k_mac_op_set_bitrate_mask()
    dc6094108573 wifi: mac80211: Add non-atomic station iterator
    4eceef729c84 wifi: ath12k: Optimize the mac80211 hw data access
    3d94c4b21966 wifi: rtw88: use ieee80211_purge_tx_queue() to purge TX skb
    24b5898a8c73 wifi: mac80211: export ieee80211_purge_tx_queue() for drivers
    ed01e57a8169 media: uvcvideo: Force UVC version to 1.0a for 0408:4033
    9471b8f80526 media: uvcvideo: Force UVC version to 1.0a for 0408:4035
    8fa6f680b5aa cleanup: Adjust scoped_guard() macros to avoid potential warning
    873df38bdf42 cleanup: Add conditional guard support
    4b6beff3c073 crypto: ecdsa - Avoid signed integer overflow on signature decoding
    ec6488917941 crypto: ecdsa - Use ecc_digits_from_bytes to convert signature
    1afc7acbedb8 crypto: ecdsa - Rename keylen to bufsize where necessary
    e7fcd5d696c4 crypto: ecdsa - Convert byte arrays with key coordinates to digits
    93011887013d ext4: partial zero eof block on unaligned inode size extension
    fa42d5f1327f ext4: convert to new timestamp accessors
    1864d4712c4b memblock: allow zero threshold in validate_numa_converage()
    6fdc770506eb NUMA: optimize detection of memory with no node id assigned by firmware
    3adf89f17dbd sched: Initialize idle tasks only once
    106740e978c7 usb: dwc3: gadget: Add missing check for single port RAM in TxFIFO resizing logic
    39619c65ab4b smb: client: fix use-after-free of signing key
    d7cb986425ce smb: client: stop flooding dmesg in smb2_calc_signature()
    5f36890d650c fs/smb/client: implement chmod() for SMB3 POSIX Extensions
    d64429042fef smb/client: rename cifs_ace to smb_ace
    298e73ac323a smb/client: rename cifs_acl to smb_acl
    46c22d37f691 smb/client: rename cifs_sid to smb_sid
    386660bd303e smb/client: rename cifs_ntsd to smb_ntsd
    8322a66f9369 x86/mm: Carve out INVLPG inline asm for use by others
    bffaf4cb2810 docs: media: update location of the media patches
    e8b8c1ecbd2c drm/amd/display: Fix incorrect DSC recompute trigger
    3f9f631f9b91 drm/amd/display: Fix DSC-re-computing
    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: 4a8d310df068791686d797eb3c2e6737c23ee747)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-01 13:22:59 +00:00
Richard Purdie
36f2627b13 oeqa/sdk/context: Improve multilib handling
Rather than hiding the multilib logic in the package tests, move the
multilib setting to the init function of the class so the logic is
clearer.

(From OE-Core rev: 7699867c3ce979ab615eb677a417bb5b82faecb7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-01 13:20:45 +00:00
Chris Laplante
4a7b6f254d oeqa/selftest: also copy local changes from the 'scripts/' dir
The 'devtool' cases make a copy of 'poky', but before this patch, that
only included modifications to the 'meta/' subdirectory.

It's very frustrating to make changes to scripts/ and have them be
silently ignored by oe-selftest.

(From OE-Core rev: 35de7080c53808ade526b3b97cb54f528357deca)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-01 13:20:45 +00:00
Chris Laplante
e85a3c8f2c devtool: standard: simplify get_staging_kver
The goal is to make this more Pythonic, as it was a little cryptic the
first time I looked at it.

(From OE-Core rev: 80285b0f9b716ebad87a2feb08f12f87d70c27e3)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-01 13:20:45 +00:00
Chris Laplante
b7327c7c28 devtool: standard: fix unbound variable usage
(From OE-Core rev: 90efa31f36eaea910b979c128da719e1ae61e00d)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-01 13:20:45 +00:00
Chris Laplante
d37380004c devtool: standard: fix typo in variable
(From OE-Core rev: 9b24dae60573c5e798f1a2f49338f3e4ecbe8859)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-01 13:20:45 +00:00
Chris Laplante
1923c62fee devtool: standard: cleanup imports; stop relying on transitive bb imports
(From OE-Core rev: 8457e24f60a9a84e0f1cfc4a28a39989534fa7de)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-01 13:20:45 +00:00
Daniel McGregor
49f9970c75 util-linux-libuuid: use util-linux's CVE_PRODUCT value
util-linux and util-linux-libuuid should use the same CVE_PRODUCT
since they're the same product. They're just split off for package
dependency reasons.  Prior to this patch the libuuid recipe gave the
wrong CVE_PRODUCT value, causing some CVE check tools to fail on it.

(From OE-Core rev: 5c6abb099d579b9451fc2cb38c5d8860cfa6d52f)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-01 13:20:45 +00:00
Pedro Ferreira
1e11836287 rust-common.bbclass: soft assignment for RUSTLIB path
As a user i want to override `RUSTLIB` path on a bbclass, lets
call it `XYZ.bbclass`.

If a certain recipe inherits `cargo.bbclass` and `XYZ.bbclass` the
value of `RUSTLIB` is dependent on the order of the inherit.

If `cargo.bbclass` is inherit before `XYZ.bbclass` this will reflect
the desired value of `RUSTLIB`, on the oposite, if the `XYZ.bbclass`
is inherit before `cargo.bbclass` then the `RUSTLIB` defined on
`rust-common.bbclass` will prevail.

Changed definition of `RUSTLIB` to soft assignment to make it overridable.

(From OE-Core rev: 6eeb832f73ffb48f5f05dc47191f60e4599e640f)

Signed-off-by: Pedro Silva Ferreira <Pedro.Silva.Ferreira@criticaltechworks.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-01 13:20:45 +00:00
Alexander van Gessel
0a3a771c23 busybox: Change symlink locations to match alternative
Change the symlink locations of start-stop-daemon and base32 to from
BASE_S?BINDIR to S?BINDIR, to match dpkg and coreutils, respectively.

Related to bug #14804 [1].

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=14804

(From OE-Core rev: 9998d91f982cd323fa5da20edda8b1828bd4fb5d)

Signed-off-by: Alexander van Gessel <ai0867@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-01 13:20:45 +00:00
Jermain Horsman
f78cd863d9 webp: update SRC_URI to use https
As the certificate is for *.storage.googleapis.com, update the
URL to reflect this.

(From OE-Core rev: ff30c1232d296cb144bf8320bf36ee02d489b011)

Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-01 13:20:45 +00:00
Jermain Horsman
e02f48f7b9 openssh: update SRC_URI to use https
(From OE-Core rev: c1a9546a8c9b00f21ca86cdc5c810d4ea7c1225e)

Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-01 13:20:45 +00:00
Sean Nyekjaer
8545e5b458 oeqa/sdk/rust: Add a crate that needs the target and SDK host toolchain
Expand the QA tests, to test that the target and SDK host toolchains works.

(From OE-Core rev: ed915e40d24a0a8b9d78374b297a9cd8090c6f9c)

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-01 13:20:45 +00:00
Sean Nyekjaer
62e4c1e1df rust-cross-canadian: set CC_<triple> for nativesdk
This fixes build errors when building rust bindings for C dependencies
for the sdk host.
This will allow us to build and run rust programs on the sdk host.

Before:
% cargo build --target x86_64-oesdk-linux-gnu -vv
[...]
   Compiling zstd-sys v2.0.13+zstd.1.5.6 (zstd-rs/zstd-safe/zstd-sys)
[zstd-sys 2.0.13+zstd.1.5.6] CC_x86_64-oesdk-linux-gnu = None
[zstd-sys 2.0.13+zstd.1.5.6] CC = Some(arm-oe-linux-gnueabi-gcc  -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=/usr/local/sdk/sysroots/cortexa7t2hf-neon-oe-linux-gnueabi)
[zstd-sys 2.0.13+zstd.1.5.6] cargo:warning=ToolExecError: Command LC_ALL="C" "arm-oe-linux-gnueabi-gcc" "-mthumb" "-mfpu=neon" "-mfloat-abi=hard" "-mcpu=cortex-a7" "-D_TIME_BITS=64" "-D_FILE_OFFSET_BITS=64" "--sysroot=/usr/local/cc-sdk/sysroots/cortexa7t2hf-neon-oe-linux-gnueabi" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-O2" "-pipe" "-g" "-feliminate-unused-debug-types" "-flto" "-ffat-lto-objects" "-fuse-linker-plugin" "-fvisibility=hidden" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "zstd-rs/target/x86_64-oesdk-linux-gnu/debug/build/zstd-sys-b2560022e172eec3/out/44ff4c55aa9e5133-debug.o" "-c" "zstd/lib/common/debug.c" with args arm-oe-linux-gnueabi-gcc did not execute successfully (status code exit status: 1).cargo:warning=arm-oe-linux-gnueabi-gcc: error: unrecognized command-line option '-m64'

After:
% cargo build --target x86_64-oesdk-linux-gnu -vv
[...]
   Compiling zstd-sys v2.0.13+zstd.1.5.6 (zstd-rs/zstd-safe/zstd-sys)
[zstd-sys 2.0.13+zstd.1.5.6] CC_x86_64_oesdk_linux_gnu = Some(x86_64-oesdk-linux-gcc)
[...]
   Compiling zstd v0.13.2 (zstd-rs)
    Finished dev [unoptimized + debuginfo] target(s) in 14.67s

(From OE-Core rev: 3c8fedd6e5a3251b7a7a73cc92b153d8e68cb8e5)

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-01 13:20:45 +00:00
Harish Sadineni
27d7a7540f oeqa/sdk/context: fix for gtk3 test failure during do_testsdk
The do_testsdk for lib32-core-image-sato aborts with below error:
configure: error: Package requirements (gtk+-3.0) were not met:
No package 'gtk+-3.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

This causes due to an absolute path name in 'sdk_env', which is now stripped to have only the environment name.

(From OE-Core rev: 386e4132a9ced75599d92610cf5c0e8fe907c3b6)

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>
2025-02-01 13:20:45 +00:00
Harish Sadineni
37fea972a6 rust: remove redundant cargo config file
YOCTO [#15061]
The rust target and linker are getting setting from the sdk environment and
so the config file is not needed. The redundant config file geneartion is removed.

(From OE-Core rev: d5f78816d2ad0f3e43ce883eef199d1683cfcbb4)

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>
2025-02-01 13:20:45 +00:00
Harish Sadineni
166c3299b9 rust: fix for rust multilib sdk configuration
YOCTO [#15061]
The rust sdk installs both 'rust.sh' and 'cargo.sh' for lib32 and lib64 in the same location.
This causes below error while installing the lib32 & lib64 binaries:

Error: Transaction test error:
  file /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/environment-setup.d/cargo.sh
conflicts between attempted installs of rust-cross-canadian-arm-1.67.1-r0.x86_64_nativesdk and
 rust-cross-canadian-aarch64-1.67.1-r0.x86_64_nativesdk
  file /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/environment-setup.d/rust.sh
conflicts between attempted installs of rust-cross-canadian-arm-1.67.1-r0.x86_64_nativesdk and
rust-cross-canadian-aarch64-1.67.1-r0.x86_64_nativesdk
ERROR: Task (virtual:multilib:lib32:/media/build/poky/meta/recipes-sato/images/core-image-sato.bb:do_populate_sdk)
failed with exit code '1'

The change includes:
- Prepending '${RUST_TARGET_SYS}' to 'rust.sh' to differentiate between target systems.
- Moving the non-target-specific environment variables to 'nativesdk-cargo' and 'nativesdk-rust',
instead of being managed by the cross-canadian recipe.

(From OE-Core rev: 40eb4bfe2f100ba5301046ca25110fcc55a640bb)

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>
2025-02-01 13:20:45 +00:00
Alessio Cascone
2e2b3f69f2 tzcode-native: Fix compiler setting from 2023d version
Starting from 2023d version, tzcode makefile does not use anymore "cc"
variable for C compiler, due to Makefile refactoring.
Replacing "cc" with "CC" fixes the issue.

(From OE-Core rev: b3cdfca5ef84ed2054faef9abddef3aeed930e17)

Signed-off-by: Alessio Cascone <alessio.cascone@vimar.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-29 16:16:52 +00:00
Khem Raj
20bd7eece8 rt-tests: Fix build with glibc 2.41+
(From OE-Core rev: e22a231d94f83fd6fec8380e4449e8b5bf149e98)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-29 16:16:52 +00:00
Marc Ferland
e25c5db4d0 linux-firmware: split qca firmwares in separate packages
This patch introduces the following packages for firmwares under qca/:

- linux-firmware-qca-qca61x4
- linux-firmware-qca-wcn3988
- linux-firmware-qca-wcn399x
- linux-firmware-qca-wcn6750
- linux-firmware-qca-qca2066
- linux-firmware-qca-wcn7850
- linux-firmware-qca-misc: catches all firmwares that are not already
  included in the other -qca- packages (currently empty).

linux-firmware-qca is now a meta package that depends on all of the
split-out qca packages.

Note: Content of the FILES:${PN}-qca* variables taken from WHENCE.

(From OE-Core rev: 7e7a6579a49962907560b5a1bc71e1a17879415f)

Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-29 16:16:52 +00:00
Marc Ferland
484e004eb2 linux-firmware: split ath12k firmwares in separate packages
This patch introduces the following packages for ath12k based chips:

- linux-firmware-ath12k-qcn9274
- linux-firmware-ath12k-wcn7850
- linux-firmware-ath12k-misc: catches all firmwares that are not
  already included in the other -ath12k- packages (currently empty).

linux-firmware-ath12k is now a meta package that depends on all of the
split-out ath11k packages.

(From OE-Core rev: c35c99c60f1aad5757de0cd754c0d15aa622122a)

Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-29 16:16:52 +00:00
Igor Opaniuk
f186e405c5 lib/spdx30_tasks: support directories deployed by image recipes
create_image_spdx() implementation assumes that image is indeed a file.
If image recipe deploys a directory (for example, which contains an
hierarchy of flash artifacts, that is used by SoC vendor-specific
flashing tool) which follows ${IMAGE_NAME}.${IMAGE_TYPE} naming scheme,
create_image_spdx() function will fail after trying to hash a directory:

*** 0002:do_create_image_spdx(d)
     0003:
File: '.../meta/classes-recipe/create-spdx-image-3.0.bbclass', lineno: 48, function: do_create_image_spdx
     0044:addtask do_create_rootfs_spdx_setscene
     0045:
     0046:python do_create_image_spdx() {
     0047:    import oe.spdx30_tasks
 *** 0048:    oe.spdx30_tasks.create_image_spdx(d)
     0049:}
     0050:addtask do_create_image_spdx after do_image_complete do_create_rootfs_spdx before do_build
     0051:SSTATETASKS += "do_create_image_spdx"
...
File: '.../bitbake/lib/bb/utils.py', lineno: 536, function: _hasher
     0532:
     0533:def _hasher(method, filename):
     0534:    import mmap
     0535:
 *** 0536:    with open(filename, "rb") as f:
     0537:        try:
     0538:            with mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ) as mm:
     0539:                for chunk in iter(lambda: mm.read(8192), b''):
     0540:                    method.update(chunk)
Exception: IsADirectoryError: [Errno 21] Is a directory: '...'

(From OE-Core rev: a0d63082a4db375a55586c7864e280cd8f45ff7b)

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-29 15:52:58 +00:00
Omri Sarig
08680a5b54 python3: Update stringold summary
The string package in python currently contains common string
operations. This package is still in full use.
However, the old summary line of the package marked it as deprecated. As
this is not the case, this commit updates the summary line to better
represent this Python package.
The new summary line was taken from Python's documentation for the
package (https://docs.python.org/3.13/library/string.html).

In the past, the string library used to contain functionality that later
was moved to the str object in Python. The assumption is that during
this change, this library was marked as deprecated here. However, as
this package contains more functionality, which is still relevant and
used by python, the package itself should not be marked as deprecated.

This commit changes the description of the package, but does not change
the name of the package. The proper name for this package should be
"string" (instead of "stringold"). However, changing the package's name
will break compatibility with anyone using the string package in their
project. As this is a big change, it is decided not to be done yet.
The change in description, as well as this commit message, should be
enough to let users understand that the string package in python is
still valid, and should not be treated as deprecated.

(From OE-Core rev: 7602a9013d6c61959ec293ee29285c90257b5fbb)

Signed-off-by: Omri Sarig <omri.sarig13@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-29 13:15:31 +00:00
Priyal Doshi
af6ebd4da6 tzdata/tzcode-native: upgrade 2024b -> 2025a
(From OE-Core rev: a15c4e6793c55c8084a61298ef3695e1db2f60cd)

Signed-off-by: Priyal Doshi <pdoshi@mvista.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-29 13:15:31 +00:00
Antonin Godard
edd3b0224f dev-manual/building: document the initramfs-framework recipe
[ YOCTO #14747 ]

Adding a initramfs is a common task, and the way oe-core offers to do so
is by using the initramfs-framework recipe and companion modules. There
was already documentation on adding an initramfs but the documentation
was lacking details on this framework. Add it before the multiconfig
section because it is a bit more important IMO.

Reported-by: Alejandro <alejandro@enedino.org>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: caedbca4eced4cf5bc74aaae64e4ad2887c2fc65)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-29 10:41:59 +00:00
Antonin Godard
56e048e7b1 test-manual/ptest: link to common framework ptest classes
We document how to add ptest support for a recipe by inheriting the
ptest class. We may as well tell the user to inherit a ptest class for a
common framework which does most of the job for you.

Suggested-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 411b18e489a97ea4cde05613cdd4c86deb0cb8cb)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-29 10:41:59 +00:00
Quentin Schulz
fc3e3399c5 ref-manual: variables: fix spurious parenthesis
There's no opening parenthesis, so let's remove the spurious closing
parenthesis.

Fixes: ea638e85316d ("ref-manual/variables: document the KERNEL_CONSOLE variable")
(From yocto-docs rev: 6f0e150179db2a2a8e9ad879167e0d84137190dc)

Signed-off-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>
2025-01-29 10:41:59 +00:00
Enrico Jörns
dfab86d2f4 ref-manual: add documentation for the barebox class
This adds the initial documentation for the newly added barebox.bbclass
to the Reference Manual's class list.
It also adds the two most notable variables to the variable list.

(From yocto-docs rev: cc8179122441cdc26ff62511dcd97f7bf9bf7e3d)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-29 10:41:59 +00:00
Adrian Freihofer
5a38f96a33 sdk-manual: extensible.rst: devtool ide-sdk improve
The devtool ide-sdk section is reformulated to be independent of the
eSDK installer. In fact, ide-sdk does not even support the execution
of an installer-based setup.
This reformulation is also a preparation for moving the devtool
documentation to a dedicated devtool section which is independent from
the eSDK documentation.
It should be clarified that devtool ide-sdk starts the SDK directly
from the bitbake environment. It is therefore an alternative to
bitbake -c populate_sdk_ext and installing an SDK installer.

A warning is added that explains some workarounds for some nasty
behavior of VSCode when running it in a bitbake environment.

(From yocto-docs rev: 287817f33688d61f7a71c056bfa5c645edb4fc4e)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-29 10:41:59 +00:00
Hongxu Jia
2a8ea9790c classes/spdx-common: Fix patch error for recipes that inherit dos2unix.
While SPDX_INCLUDE_SOURCES = "1", do_create_spdx error happens for
these recipes inherit dos2unix

Refer [1] to fix the issue

[1] https://git.openembedded.org/openembedded-core/commit/?id=2ceda7c90c0087f52693c54d5ccab143b27f4d21

(From OE-Core rev: 7051bfb8ff67a6f0c394ce0f559eb53a05cde472)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-29 10:40:41 +00:00
Ross Burton
ac359593f1 meson: upgrade to 1.7.0
Summary of changes:
- New custom dependency for atomic
- --cap-lints allow used for Cargo subprojects
- Cargo features are resolved globally
- Meson can run "clippy" on Rust projects
- Devenv support in external project module
- Fixed sizeof and find_library methods for Fortran compilers
- format command now accept stdin argument
- "machine" entry in target introspection data
- Add new language Linear Asm
- Control the number of child processes with an environment variable
- Support for Rust 2024
- Support TASKING VX-Toolset
- Test targets no longer built by default
- Install vcs_tag() output

(From OE-Core rev: 37d4a5b2653b94d5030b5026b1ecf979420cfb20)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-29 10:40:41 +00:00
Ricardo Salveti
4aa2da651e efivar: enable support for riscv64
Release 39 includes support for riscv64.

(From OE-Core rev: 2644e59b0973ddb4039c8b4184842ecf310bd8d8)

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-29 10:40:41 +00:00
Savvas Etairidis
934828e963 bitbake: tests/parse: Add test for unclosed functions
This test covers the handling of unclosed functions.
It tests that both whitespace and tabs generate the
correct exception if added before a closing bracket.
Additionally that a residue blocks generates a error
is tested as well.

[YOCTO #15470]

(Bitbake rev: 29e67acb87ae76879efe9688a69c961a96df10f1)

Signed-off-by: Savvas Etairidis <falital@hotmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-28 14:34:36 +00:00
Slawomir Stepien
2960300ba0 kernel-yocto: move the cp of ${KBUILD_DEFCONFIG} file outside if body
In both true/false cases, we will cp the file, so move the invocation
after the if body.

In addition, misleading comment has been removed.

(From OE-Core rev: fdd7fec29314b3cd07a98943bbbf6996877e90f4)

Signed-off-by: Slawomir Stepien <sst@poczta.fm>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-27 15:47:11 +00:00
Christos Gavros
0ddac246e1 sanity: Add test for functional c++ toolchain
Users reported issues caused by missing the right libstdc++-version-dev.
A new function 'check_cpp_toolchain' added in sanity.bbclass to test linking libstdc++

[YOCTO #15712]

(From OE-Core rev: 611c1a26212dfbfe8d0640d9fefe5df49f7b69b8)

Signed-off-by: Christos Gavros <gavrosc@yahoo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-27 15:47:11 +00:00
Guðni Már Gilbert
174e7c8229 gnupg: remove obsolete patch
Remove a patch which is already merged in v2.5.1

See for reference:
1d5cfa9b7f
https://dev.gnupg.org/T7193

(From OE-Core rev: 79c10b2ad17bacec024427693eb025659f455a20)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-27 15:47:10 +00:00
Bastian Germann
e8304fa3f5 busybox: Correct SPDX license reference
Commit 6238ee3ecd (recipes-core/busybox: fixup licensing information)
claims that there is no applicable license identifier in SPDX, so a
bzip2-1.0.4 is made up.

There is no bzip2-1.0.4 license defined in SPDX. However, bzip2-1.0.6 is
the same license.

License-Update: wrong SPDX identifier

(From OE-Core rev: 1b51a0cbfbb64d85756ef231c81aeff02b74bd52)

Signed-off-by: Bastian Germann <bage@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-27 15:47:10 +00:00
Marek Vasut
bc5d66e793 base-files: Drop /bin/sh dependency
Remove /bin/sh from bash RPROVIDES as this has a side-effect which
confuses rpm package manager when also busybox provides /bin/sh and
base-files depend on /bin/sh . The problem is broken down below.

First, bash depends on base-files and bash pkg_postinst must run
after base-files was installed, because it requires /etc/shells
provided by base-files to be in place.

Second, base-files depends on /bin/sh, which is provided by either
bash or busybox in this case. This is the actual problem here, if
bash is selected as /bin/sh provider, then there is cyclic dependency
between bash and base-files, and that confuses dnf which may install
the packages in the wrong order, bash first and base-files second .

To make this worse, if busybox is also /bin/sh provider, it can and
does happen that some systems pick busybox as the /bin/sh provider,
while others pick bash as the /bin/sh provider, and that cyclic
dependency does not always appear.

Attempt to break this dependency, remove pre-inst script from the
base-files recipe, which removes its dependency on /bin/sh and
allows it to be installed very early, and always before bash.

(From OE-Core rev: e71b64a9b22c7db316e92e78a4bce8b9f994a4ae)

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-27 15:47:09 +00:00
Bastian Germann
d456553ca3 util-linux: Document more specific BSD-4-Clause-UC
LIC_FILES_CHKSUM in the util-linux recipe already contains the more
specific license reference BSD-4-Clause-UC that takes a copyright
addendum by University of California into account.

License-Update: reference can be more specific

(From OE-Core rev: 7cc73cb77e6e783a903978221cb502bb359412f6)

Signed-off-by: Bastian Germann <bage@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-27 15:47:09 +00:00
Bastian Germann
ea360d3b5b man-pages: Document more specific BSD-4-Clause-UC
LIC_FILES_CHKSUM in the man-pages recipe already contains the more
specific license reference BSD-4-Clause-UC that takes a copyright
addendum by University of California into account.

License-Update: reference can be more specific

(From OE-Core rev: af9c90ea01ad7272d7dc50888ff7723f1a7816b6)

Signed-off-by: Bastian Germann <bage@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-27 15:47:09 +00:00
Bastian Germann
5ede0c16ee libxfont2: Document more specific BSD-4-Clause-UC
COPYING in libxfont2 upstream contains only one BSD-4-Clause text variant,
which is explicitly covered by the copyright addendum by University of
California. Change the SPDX license reference to BSD-4-Clause-UC.

License-Update: reference can be more specific

(From OE-Core rev: d40647566d6c4b39a657942cabcba17df0ed0c84)

Signed-off-by: Bastian Germann <bage@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-27 15:47:09 +00:00
Bastian Germann
821f31417f libbsd: Drop licenses that were removed upstream
The libbsd project has gotten rid of BSD-4-Clause licensed material.
Version 0.11.8 is the first not to contain any such material anymore.

License-Update: removed upstream

(From OE-Core rev: 362435b0aec5c2610690fe2f39eb5bdb28a36e14)

Signed-off-by: Bastian Germann <bage@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-27 15:47:09 +00:00
Bastian Germann
4a2ae35dae font-util: Correct SPDX expression
The BSD-4-Clause license is not contained in version 1.4.1.
But MIT and X11 are listed in the COPYING file.

License-Update: upstream has changed

(From OE-Core rev: a367bf2fb704695078753bae3c129d2ad050bf83)

Signed-off-by: Bastian Germann <bage@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-27 15:47:09 +00:00
Yash Shinde
241458c8dc gdb: Upgrade 15.2 -> 16.1
* Drop 0001-Fix-Wenum-constexpr-conversion-in-enum-flags.h.patch, its already applied to gdb 16.1

Detailed release notes:

https://sourceware.org/pipermail/gdb-announce/2025/000143.html
https://sourceware.org/gdb/news/
https://lwn.net/Articles/1005562/
https://www.sourceware.org/gdb/download/ANNOUNCEMENT

(From OE-Core rev: 31a536ed8c4d03db250766fe701126dd14d084c0)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-27 15:47:09 +00:00
Peter Marko
fbf227f257 go: upgrade 1.22.10 -> 1.22.11
Upgrade to latest 1.22.x release [1]:

$ git --no-pager log --oneline go1.22.10..go1.22.11
f072884354 (tag: go1.22.11) [release-branch.go1.22] go1.22.11
b72d56f98d [release-branch.go1.22] net/http: persist header stripping across repeated redirects
19d2103415 [release-branch.go1.22] crypto/x509: properly check for IPv6 hosts in URIs
ae9996f965 [release-branch.go1.22] runtime: hold traceAcquire across casgstatus in injectglist
223260bc63 [release-branch.go1.22] crypto/tls: fix Config.Time in tests using expired certificates

Fixes CVE-2024-45336 and CVE-2024-45341

[1] https://github.com/golang/go/compare/go1.22.10...go1.22.11

(From OE-Core rev: 4589986602319f9ed61e381b333bb53b731eb8d8)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-27 15:47:09 +00:00
Peter Marko
8b0540d290 go: upgrade 1.22.9 -> 1.22.10
Upgrade to latest 1.22.x release [1]:

$ git --no-pager log --oneline go1.22.9..go1.22.10
8f3f22eef8 (tag: go1.22.10) [release-branch.go1.22] go1.22.10
6d7a95abca [release-branch.go1.22] runtime: reserve 4kB for system stack on windows-386
6f05fa7a4f [release-branch.go1.22] syscall: mark SyscallN as noescape
3355db9690 [release-branch.go1.22] time: accept "+01" in TestLoadFixed on OpenBSD

[1] https://github.com/golang/go/compare/go1.22.9...go1.22.10

(From OE-Core rev: e357c93b39df938dc36195dbd779a58b2951b8e6)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-27 15:47:09 +00:00
Peter Marko
2cc162f565 go: upgrade 1.22.8 -> 1.22.9
Upgrade to latest 1.22.x release [1]:

$ git --no-pager log --oneline go1.22.8..go1.22.9
8af39d30a4 (tag: go1.22.9) [release-branch.go1.22] go1.22.9
c19e5887f4 [release-branch.go1.22] cmd/cgo/internal/testcarchive: remove 1-minute timeout
e3fd4ba7f9 [release-branch.go1.22] cmd/link: generate Mach-O UUID when -B flag is specified
29252e4c5a [release-branch.go1.22] runtime: fix TestGdbAutotmpTypes on gdb version 15

[1] https://github.com/golang/go/compare/go1.22.8...go1.22.9

(From OE-Core rev: 4f2f202506bcefb4d6c46a11738e159e261a4a4b)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-27 15:47:09 +00:00
Alexander Yurkov
cf221090ed classes: go-vendor: Change symlink creation.
Create missing directories required to create the symlink.

Use relative symlinks to stay in the build directory scope (to avoid sstate issue with absolute paths).

(From OE-Core rev: 6c4e3206b6537f714416688cf8c921dd21cdfc20)

Signed-off-by: Alexander Yurkov <alexander.v.yurkov@gmail.com>
Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-27 15:47:09 +00:00
Alexander Yurkov
dc9fe7aa01 oeqa/selftest/recipetool: Update create_go test.
Adjust test_recipetool_go_create test to a smaller repository.
Combine test_recipetool_go_create and test_recipetool_go_replace_modules
tests into test_recipetool_go_create, the new test performs both tests.

(From OE-Core rev: d1256f8ff4a94d4f32b2b9ca855359dd2d691beb)

Signed-off-by: Alexander Yurkov <alexander.v.yurkov@gmail.com>
Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-27 15:47:09 +00:00
Haseeb Ashraf
6573c70f8b llvm: set LLVM_HOST_TRIPLE for cross-compilation
The correct way to configure cmake for cross-compilation includes
setting the LLVM_HOST_TRIPLE as well.

Documentation Ref:
https://github.com/llvm/llvm-project/blob/llvmorg-19.1.6/llvm/docs/HowToCrossCompileLLVM.rst#configuring-cmake

This fixes bug when LLVM is cross-compiled for AAarch64 but it
was getting built with the triple of native build system instead of
the TARGET_SYS (aarch64-oe-linux) in my case.

`No available targets are compatible with triple "x86_64-unknown-linux-gnu"`

(From OE-Core rev: 19f649f47352f7e12508abd88a862e95979d152d)

Signed-off-by: Haseeb Ashraf <haseeb.ashraf@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-27 15:47:09 +00:00
Richard Purdie
e72d641a99 bitbake: cooker/cache: Drop mc 'default' string value
The string value "default" for the default multiconfig is confusing since an
empty string is used pretty much everywhere in the code. Remove the few
remaining references to that to standarise.

This affects the default value of BB_CURRENT_MC and does have an impact
on metadata, particulalry bitbake.conf in openembedded-core. That said, the
number of bugs we'll avoid by trying to make "default" back to "" within
bitbake's code make fixing those extremely worthwhile.

(Bitbake rev: 0fa0d8d764bbeb8a44c47f79d7b849068d565199)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-25 11:30:51 +00:00
Richard Purdie
faa05c8781 bitbake.conf: Handle empty BB_CURRENT_MC
Bitbake is about to change the default value of this from "default" to "". The
original reason for this was to make this kind of include file usage easier.
Instead we were going to complicate bitbake code having to map one value into
the other.

Instead, stop using "default" and put a slightly horrible bit of code in bitbake.conf
as an alternative.

This means a "default.conf" in the multiconfig directory will stop working but this
was never something anyone was expected to use.

The eSDK code also needs updating for this change.

(From OE-Core rev: ff469ab2e865063bbc529031bbfd76cba5040073)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-25 11:30:31 +00:00
Richard Purdie
bdecbe35d8 oeqa/sshcontrol: Handle empty reads
Looking at some of the autobuilder failures, it seems that somehow empty
reads might be possible despite not being EOF. Tweak the code to be a little
more robust in handling this.

In theory this shouldn't be possible but python does handle signals a bit
differently (e.g. transparrently retrying syscalls for EINTR) so adding this
check and a bit of code safety at least rules out this problem.

(From OE-Core rev: 9d91a5674c515a43ae76d8615f72e5e2dc16c961)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-25 11:30:31 +00:00
Ross Burton
59db27de56 build-appliance-image: Update to master head revision
(From OE-Core rev: 3ca9192cf16e15e95ba1c3db4ba28fc6130de8e0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-01-23 12:19:50 +00:00
Enrico Scholz
df026a95e3 rust-common: add LDFLAGS to 'build-rust-cc' wrapper
Although rust differs between compiling (--> 'rust-cc' wrapper) and
linking (--> 'rust-ccld' wrapper), some core crates are using only the
'rust-cc' wrapper to check for available compiler options [1] and
libraries [2].

Not having LDFLAGS can break the build in subtle ways.  E.g. 'cargo-native'
can fail to build with

|   = note: .../hosttools/ld: .../liblibz_sys-....rlib(deflate.o):
|     relocation R_X86_64_32S against hidden symbol `_length_code' can not be used when making a PIE object

because it does not find '-lz' (added by "DEPENDS = zlib") and builds
a static libz.a with missing PIC flags.

Add LDFLAGS to the 'build-rust-cc' wrapper as it is done already for
the target one.

[1] https://github.com/rust-lang/cc-rs/pull/1322

[2] 12a32798c6/build.rs (L228-L234)

(From OE-Core rev: 49b37575b548f0ab082c700f91fdd856740dc829)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-01-23 12:14:29 +00:00
Trevor Gamblin
921b464965 cmake: upgrade 3.31.3 -> 3.31.4
Release notes: https://cmake.org/cmake/help/latest/release/3.31.html#id17

commit log:

|tgamblin@megalith ~/workspace/git/cmake (master)$ git log --oneline v3.31.3..v3.31.4
|569b821a13 (tag: v3.31.4) CMake 3.31.4
|92b260387d Merge topic 'duplicate-source-behavior' into release-3.31
|3df8890638 Merge topic 'lfortran-generate-object-code' into release-3.31
|8f45140baf Merge topic 'revert-genex-tco-subgraph' into release-3.31
|3e15419bd4 target_sources: Restore toleration of duplicate CXX_MODULES sources
|5cfb8ae790 Tests/CXXModules: add a test with duplicate sources
|daf6cc89ee LFortran: Remove hard-coded --generate-object-code flag
|a6b84a438f GenEx: Revert "Limit TARGET_PROPERTY transitive closure optimization"
|627d710570 Merge topic 'FindBoost-1.87' into release-3.31
|d29855f985 Merge topic 'codegen-help' into release-3.31
|f485f94d1a FindBoost: Add support for Boost 1.87
|45726d93a8 Makefile: List codegen target in help
|e7153c29ac Merge topic 'Help-FindPython-Fix-typo' into release-3.31
|e7ea2998fb Help: FindPython: fix typo

Reproducibility OK:

|2025-01-20 13:52:30,296 - oe-selftest - INFO - Ran 1 test in 1949.827s
|2025-01-20 13:52:30,296 - oe-selftest - INFO - OK
|2025-01-20 13:52:34,885 - oe-selftest - INFO - RESULTS:
|2025-01-20 13:52:34,886 - oe-selftest - INFO - RESULTS - reproducible.ReproducibleTests.test_reproducible_builds: PASSED (1874.21s)
|2025-01-20 13:52:34,886 - oe-selftest - INFO - SUMMARY:
|2025-01-20 13:52:34,886 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 1949.827s
|2025-01-20 13:52:34,886 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0)

(From OE-Core rev: 729611f8284a4b408b8c65a6407daf667571c415)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-01-23 12:14:29 +00:00
Peter Kjellerstedt
73a7cb2701 systemd: Remove /var/log/README using a patch
Commit f82d9c997ba (systemd: enable create-log-dirs) removed the
creation of the /var/log/README symbolic link by using sed. However, the
update to 257 changed the target line and the sed expression no longer
matches. Rather than correcting the sed expression, use a patch to
remove /var/log/README so that any future changes do not go unnoticed.

(From OE-Core rev: 76cf5994262f9fd76cf27e111eb67ad1645541f1)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-01-23 12:14:29 +00:00
Marc Ferland
bf35e82d38 linux-firmware: split amdgpu firmwares in separate packages
This patch introduces the following packages for AMD gpu chips:

- linux-firmware-amdgpu-aldebaran
- linux-firmware-amdgpu-carrizo
- linux-firmware-amdgpu-cezanne
- linux-firmware-amdgpu-fiji
- linux-firmware-amdgpu-hawaii
- linux-firmware-amdgpu-navi10
- linux-firmware-amdgpu-navi14
- linux-firmware-amdgpu-navi21
- linux-firmware-amdgpu-navi22
- linux-firmware-amdgpu-navi23
- linux-firmware-amdgpu-navi24
- linux-firmware-amdgpu-navi31
- linux-firmware-amdgpu-navi32
- linux-firmware-amdgpu-oland
- linux-firmware-amdgpu-polaris10
- linux-firmware-amdgpu-polaris11
- linux-firmware-amdgpu-polaris12
- linux-firmware-amdgpu-raven
- linux-firmware-amdgpu-rembrandt
- linux-firmware-amdgpu-renoir
- linux-firmware-amdgpu-stoney
- linux-firmware-amdgpu-tonga
- linux-firmware-amdgpu-topaz
- linux-firmware-amdgpu-vega10
- linux-firmware-amdgpu-vega12
- linux-firmware-amdgpu-misc: catches all firmwares that are not
  already included in the other -amdgpu- packages.

This list was partly inspired from:

https://wiki.gentoo.org/wiki/AMDGPU#Known_firmware_blobs

Many other firmware packages could be created out of what is in
-misc. Looking at the different commits in the linux-firmware
repository gives a very good idea of which firmware goes with each
chip.

Note: Altough this patch might break some installations that assumed
that _all_ firmwares where installed by the linux-firmware-amdgpu
package, I think it is a step in the right direction as the number of
firmwares under amdgpu is constantly increasing (currently ~103MB).

Tested with a renoir gpu.

(From OE-Core rev: 4bcb1cd5803d7b664140f177730af3c0e0b60968)

Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-01-23 12:14:29 +00:00
Marc Ferland
86b2a17985 linux-firmware: split ath11k firmwares in separate packages
This patch introduces the following packages for ath11k based chips:

- linux-firmware-ath11k-ipq5018
- linux-firmware-ath11k-ipq6018
- linux-firmware-ath11k-ipq8074
- linux-firmware-ath11k-qca2066
- linux-firmware-ath11k-qca6390
- linux-firmware-ath11k-qcn9074
- linux-firmware-ath11k-wcn6750
- linux-firmware-ath11k-wcn6855
- linux-firmware-ath11k-misc: catches all firmwares that are not
  already included in the other -ath11k- packages (currently empty).

linux-firmware-ath11k is now a meta package that depends on all of the
split-out ath11k packages.

(From OE-Core rev: 635f0cc49f91b79b1cee40e2825514d7ce474d32)

Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-01-23 12:14:29 +00:00
Marc Ferland
82cc1808a3 linux-firmware: split ath10k firmwares in separate packages
This patch introduces the following packages for ath10k based chips:

- linux-firmware-ath10k-qca4019
- linux-firmware-ath10k-qca6174
- linux-firmware-ath10k-qca9377
- linux-firmware-ath10k-qca9887
- linux-firmware-ath10k-qca9888
- linux-firmware-ath10k-qca988x
- linux-firmware-ath10k-qca9984
- linux-firmware-ath10k-qca99x0
- linux-firmware-ath10k-misc: catches all firmwares that are not
  already included in the other -ath10k- packages (currently empty).

linux-firmware-ath10k is now a meta package that depends on all of the
split-out ath10k packages.

(From OE-Core rev: 18b0b076e749bf8684958acf1a97504a69f73edd)

Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-01-23 12:14:29 +00:00
Denis OSTERLAND-HEIM
f0c5b10901 create-spdx: support line numbers
LIC_FILES_CHKSUM supports begin-/endline for licenses included in
for instance header files. This patch adds support for line numbers
to NO_GENERIC_LICENSE, too.

(From OE-Core rev: 8e7ee19fc9e74cf042880f4bc317782482ba6f66)

Signed-off-by: Denis Osterland-Heim <denis.osterland@diehl.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-01-23 12:14:29 +00:00
Peter Marko
9e54ce7eac ofono: patch CVE-2024-7540, CVE-2024-7541, CVE-2024-7542
Cherry-pick commit
https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=29ff6334b492504ace101be748b256e6953d2c2f

(From OE-Core rev: 2513c7504a270c7a079f4e942252f92d0e48bd32)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-01-23 12:14:29 +00:00
Esben Haabendal
1537ceb1c3 files: overlayfs-create-dirs: Improve mount unit dependency
The RequiresMountsFor configuration option of systemd.unit (added in
systemd version 201) not only adds the Requires and After options for
the required mount unit, but it adds them for all mount units required
to access the specified path.

So this change is both a simplification, and an improvement.

Not only will all needed mount units be added to Requires and After, but
the overlay path does not have to be a mountpoint, but can be at any
directory level beneath a mountpoint.

(From OE-Core rev: fa2422232a143b21aeea3728abca82100946dbc4)

Signed-off-by: Esben Haabendal <esben@geanix.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-01-23 12:14:29 +00:00
Ross Burton
839531ac1c man-db: fix broken requirement for flex
Normally flex-native in the sysroot via the toolchain, but different
toolchains may not depend on flex-native (eg, external-arm-toolchain).

This results in a configure error:

  checking for flex... no
  configure: error: flex is required when building from revision control

Now we're not building from revision control, but the configure script
is broken with out-of-tree builds and checks the (empty) build tree for
pre-generated sources.  Apply a fix to look in the source tree instead.

(From OE-Core rev: 544d8ee19b5ac74a841722a3e000019d2e6ab4f8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-01-23 11:56:47 +00:00
Trevor Gamblin
e0e5dd1e43 python3-numpy: upgrade 2.2.1 -> 2.2.2
Changelog: https://github.com/numpy/numpy/releases/tag/v2.2.2

Reproducibility looks OK:

|2025-01-20 16:40:52,428 - oe-selftest - INFO - Ran 1 test in 2125.833s
|2025-01-20 16:40:52,428 - oe-selftest - INFO - OK
|2025-01-20 16:40:57,146 - oe-selftest - INFO - RESULTS:
|2025-01-20 16:40:57,146 - oe-selftest - INFO - RESULTS - reproducible.ReproducibleTests.test_reproducible_builds: PASSED (2065.94s)
|2025-01-20 16:40:57,147 - oe-selftest - INFO - SUMMARY:
|2025-01-20 16:40:57,147 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 2125.834s
|2025-01-20 16:40:57,147 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0)

(From OE-Core rev: 8ba751635a333ba0ccdeaff7b135131de99292a9)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-01-23 11:56:47 +00:00
Thomas Roos
a58f8a087b gcc-sanitizers.inc: Workaround for aarch64
When using the -fsanitize=address  CXX_FLAG for a program compiled for
aarch64 / arm64

This is happing:
MemorySanitizer: CHECK failed: sanitizer_allocator_primary64.h:133 "((kSpaceBeg))
 == ((address_range.Init(TotalSpaceSize, PrimaryAllocatorName, kSpaceBeg)))"
 (0xe00000000000, 0xfffffffffffffff4) (tid=51745)

With -DSANITIZER_CAN_USE_ALLOCATOR64=0 this is not happening and
potenial bugs are detected.

ARM32 does not require this patch.

More info about the issue in this thread:
https://github.com/llvm/llvm-project/issues/65144

(From OE-Core rev: 12442b9b6df06317174066854935b1d6a4f1865d)

Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-01-23 11:56:47 +00:00
Alexander Kanavin
a58e99ce3a selftest/virgl: add a link to RHEL merge request to address the missing vgem module
(From OE-Core rev: ee674a0494a667a9fd2a3691618f736f6a58fb76)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-01-23 11:56:47 +00:00
Alexander Kanavin
fc1a20c707 tcl8: add a patch to address Y2038 issues (tcl 9.x doesn't need it)
(From OE-Core rev: 50731c5233f1531b1a7a9ac94c08235e06be8c2d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-01-23 11:56:47 +00:00
Alexander Kanavin
b89a5dbebd tcl: disable 'zipfs' feature
zipfs is a new facility in tcl 9.x where various data files are bundled
into a zip archive, rather being separately installed.

Then that zip is embedded into libtcl.so from Makefile, thusly:

cat ${TCL_ZIP_FILE} >> ${LIB_FILE}

This is a major case of face meeting palm: any binary object
processing on the resulting .so file discards the extra data
at the end, and that's exactly what happens in do_package(),
resulting in a tcl installation without any language libraries.
This is not caught by ptest because it runs against a private
copy of the source tree.

Additionally, it helps to have data files on target systems
as files that can be viewed and edited.

(From OE-Core rev: 05e31be56498123b177f363c700c96b20958585c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-01-23 11:56:47 +00:00
Richard Purdie
c996cfea52 bitbake: tests/fetch: Fix git shallow test failure with git >= 2.48
From git 2.48 release notes:

"""
When "git fetch $remote" notices that refs/remotes/$remote/HEAD is
missing and discovers what branch the other side points with its
HEAD, refs/remotes/$remote/HEAD is updated to point to it.
"""

This means with git 2.48 onwards, there is a mystery "HEAD" revision
appearing in some of our shallow clone tests. We can avoid this by
using the same canonicalization as used for the reference revisions.

This resolves autobuilder failures on the Fedora 40 workers.

(Bitbake rev: c83444d1210740e27b1744d3aa7c5cad4e28db2f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-23 00:03:06 +00:00
Marek Vasut
3fb215a3af u-boot: kernel-fitimage: Fix dependency loop if UBOOT_SIGN_ENABLE and UBOOT_ENV enabled
In case both UBOOT_SIGN_ENABLE and UBOOT_ENV are enabled and
kernel-fitimage.bbclass is in use to generate signed kernel
fitImage, there is a circular dependency between uboot-sign
and kernel-fitimage bbclasses . The loop looks like this:

kernel-fitimage.bbclass:
- do_populate_sysroot depends on do_assemble_fitimage
  - do_assemble_fitimage depends on virtual/bootloader:do_populate_sysroot
    - virtual/bootloader:do_populate_sysroot depends on virtual/bootloader:do_install
      => The virtual/bootloader:do_install installs and the
         virtual/bootloader:do_populate_sysroot places into
         sysroot an U-Boot environment script embedded into
         kernel fitImage during do_assemble_fitimage run .

uboot-sign.bbclass:
- DEPENDS on KERNEL_PN, which is really virtual/kernel. More accurately
  - do_deploy depends on do_uboot_assemble_fitimage
  - do_install depends on do_uboot_assemble_fitimage
  - do_uboot_assemble_fitimage depends on virtual/kernel:do_populate_sysroot
    => do_install depends on virtual/kernel:do_populate_sysroot

=> virtual/bootloader:do_install depends on virtual/kernel:do_populate_sysroot
   virtual/kernel:do_populate_sysroot depends on virtual/bootloader:do_install

Attempt to resolve the loop. Pull fitimage configuration options into separate
new configuration file image-fitimage.conf so these configuration options can
be shared by both uboot-sign.bbclass and kernel-fitimage.bbclass, and make use
of mkimage -f auto-conf / mkimage -f auto option to insert /signature node key-*
subnode into U-Boot control DT without depending on the layout of kernel fitImage
itself. This is perfectly valid to do, because the U-Boot /signature node key-*
subnodes 'required' property can contain either of two values, 'conf' or 'image'
to authenticate either selected configuration or all of images when booting the
fitImage.

For details of the U-Boot fitImage signing process, see:
https://docs.u-boot.org/en/latest/usage/fit/signature.html
For details of mkimage -f auto-conf and -f auto, see:
https://manpages.debian.org/experimental/u-boot-tools/mkimage.1.en.html#EXAMPLES

Fixes: 5e12dc911d0c ("u-boot: Rework signing to remove interdependencies")
Reviewed-by: Adrian Freihofer <adrian.freihofer@siemens.com>
(From OE-Core rev: 259bfa86f384206f0d0a96a5b84887186c5f689e)

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-22 13:20:29 +00:00
Ross Burton
310f9cd967 gcc: make include poisoning fatal again in gcc/g++
We have a patch to allow us to 'poison' system include directories,
which are warnings by default but we make them fatal in cross builds.

However, in the 13.1 upgrade[1] the patch to make the warnings fatal was
dropped in the compiler invocation, so it only took effect for pure
preprocessor calls. This was not noticed at the time as the test case
was flawed, but this has now been fixed.

Add back the fatal poisoning, and restructure the patch slightly so it
is less invasive.

[1] oe-core bea46612fd9106cc5b46eb1d81623b6492563c13

[RP: Tweak to fix gcc/gcc-cross-canadian failure]
(From OE-Core rev: 56f21a02c009cb74072ee79467a5bcab3c4643a5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-22 13:20:29 +00:00
Ross Burton
1c5a2c8bcc oeqa/poisoning: fix gcc include poisoning test
The test code in poison was flawed: as long as one CPP/CC/CXX has fatal
poisoning enabled then the test passes.  However, at the moment due to
a bad rebase only CPP has fatal poisoning and CC/CXX do not.

Rewrite the do_compile() task to more carefully check the output so the
test harness itself just has to bitbake the recipe.

Note that this results in the test failing:

  ERROR: poison-1.0-r0 do_compile: C Compiler is not poisoned.
  Exit status 0, output:  cc1: warning: include location "/usr/include" is unsafe for cross-compilation [-Wpoison-system-directories]
  ERROR: poison-1.0-r0 do_compile: C++ Compiler is not poisoned.
  Exit status 0, output:  cc1plus: warning: include location "/usr/include" is unsafe for cross-compilation [-Wpoison-system-directories]

(From OE-Core rev: 5b413d1fdb4bdbaec86d630bb52c3ccf68aae789)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-22 13:20:29 +00:00
Richard Purdie
364880dcb3 python3-cffi: Add missing pkgconfig dependency
With gcc posioning fixed, this recipe showed errors, using an incorrect include
path looking at the host system. If pkgconfig is present, the correct include
paths are used. Therefore add the missing dependency.

(From OE-Core rev: 6cf0aaa3af276694709369b6007f629862e21559)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-22 13:20:29 +00:00
Richard Purdie
6b1e65b7d6 base: Switch virtual/cross-XXX to be under recipe specific providers
Currently, providers are set on a global config basis. This change allows
for a select set of providers to be configured using BB_RECIPE_VIRTUAL_PROVIDERS
on a per recipe basis. This would allow for the selection of virtual/cross-cc
as gcc or clang for example.

The PROVIDERS are removed from the recipes so that if a version of the
dependency accidentally slips through, the build will fail and the user
can correct the issue.

(From OE-Core rev: 6eeab1a5d7f23917b94c130e417d59afb757b546)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-21 23:09:34 +00:00
Richard Purdie
90e0a0f7f4 classes/recipes: Switch virtual/XXX-gcc to virtual/cross-cc (and c++/binutils)
The idea of the base class dependency is to say "yes, I need a C cross compiler"
and this was never meant to be gcc specific. Looking at the codebase, whilst we
code triplets into this, it does overcomplicate things as there are only ever
limited, "target", "sdk" and the class extended versions like mutlilib.

After much thought, we can simplify this to virtual/cross-cc and virtual/nativesdk-cross-cc.

This lets us remove the "gcc" specific element as well as removing the over
complicated triplet usage.

At the same time, change the much less widely used "g++" variant to "c++" for
similar reasons and remove the triplet from virtual/XXX-binutils too.

Backwards compatibility mappings could be left but are just going to confuse
things in future so we'll just require users to update.

This simplification, whilst disruptive for any toolchain focused layers, will
make improved toolchain selection in the future much easier.

Since we no longer have overlapping variables, some code for that can just
be removed. The class extension code does need to start remapping some variables
but not the crosssdk target recipe names.

This patch is in two pieces, this one handles the renaming with the functional
changes separate in a second for easier review even if this breaks bisection.

(From OE-Core rev: 4ccc3bc8266c327bcc18c9a3faf7536210dfb9f0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-21 23:09:33 +00:00
Richard Purdie
01c3354325 bitbake: parse/ast: Add support for BB_RECIPE_VIRTUAL_PROVIDERS
Currently, providers are set on a global config basis. This change allows
for a select set of providers configured in BB_RECIPE_VIRTUAL_PROVIDERS to
be selected on a per recipe basis. This would allow for the selection of
virtual/cross-cc as gcc or clang for example in OE-Core.

DEPENDS and task flag [depends] values are processed.

(Bitbake rev: fb119c7888ae8a749aa824f8c51780176af077f9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-21 23:09:33 +00:00
Enrico Jörns
2d2d17e136 kernel-yocto: make kernel commits reproducible
The git commit hashes for the kernel checkout are not reproducible under
certain conditions:

- If the git repository is initialized on an archive (rather than a
  git), the initial git commit not only has the current user name set,
  it also uses the current system time as committer and author date.
  This will affect the initial git hash and thus all subsequent ones.

- The patches applied by the kern-tools have a valid author and date.
  However, their committer again depends on the user building the BSP.

This is an issue, for example, if one compiles a kernel with
CONFIG_LOCALVERSION_AUTO enabled where the commit hash lands into the
kernel and thus the package version. This not only makes the package
version non-reproducible, but also leads to version mismatches between
kernel modules built against a fresh kernel checkout and the kernel
retrieved from the sstate cache.

The class uses 'check_git_config' from utils.bbclass, but this only sets
the git user and only if none existed before. Thus it doesn't really
help here.

Since in Git the committer information can be set only from the
environment variables GIT_COMMITTER_NAME, GIT_COMMITTER_EMAIL, and
GIT_COMMITTER_DATE, we introduce a helper function to set those and
apply the author settings in the same way.
As values simply use PATCH_GIT_USER_NAME, PATCH_GIT_USER_EMAIL (from
patch.bbclass) and SOURCE_DATE_EPOCH.
For convenience, put the new helper 'reproducible_git_committer_author'
into utils.bbclass next to 'check_git_config' so others can use it, too.

Using this helper in kernel-yocto.bbclass makes the committer and author
date/name/email for the initial commit reproducible, as well as the
committer name/email for the patches applied with kern-tools.

For debugging purpose, allow disabling the reproducibility features by
setting KERNEL_DEBUG_TIMESTAMPS to "1".

Suggested-by: Felix Klöckner <F.Kloeckner@weinmann-emt.de>
(From OE-Core rev: aab4517b4649917abd519ea85a20fd9d51bf3d99)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-21 13:26:07 +00:00
Ross Burton
a6554377a0 fmt: fix build with GCC 9.4
fmt-native is needed to build ccache-native, and the compile fails on
hosts with GCC 9.4 (such as Ubuntu 20.04).  Backport a patch to fix this
issue.

(From OE-Core rev: 7dbb984f86d04e79d2311411cd8b775e2674b5f3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-21 13:26:07 +00:00
Dmitry Baryshkov
e977e38862 linux-firmware: upgrade 20241210 -> 20250109
The linux-firmware now requires GNU Parallel in order to run parallel
builds. As the GNU Parallel is not a part of oe-core (the recipe is
present in meta-oe) disable parallel builds.

License-Update: additional files

(From OE-Core rev: 16e86b63696177a6f8b8f73b41e55dd6389f9e1c)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-21 13:26:07 +00:00
Artur Kowalski
2d70424d66 image.bbclass: enable systemd user services
Run systemctl preset-all with --global flag so user unit's are enabled
the same way system units are.

(From OE-Core rev: cdc3b3028f6d71788b5fdd99436f69fbf18f613e)

Signed-off-by: Artur Kowalski <arturkow2000@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-21 12:07:56 +00:00
Artur Kowalski
2ff2277ba3 systemd.bbclass: support user units in postinst and prerm hooks
Handle user units in a manner similar to system units where possible.
Not everything is supported by systemd, but systemd limitations only
affect runtime package management - during update user services are not
reloaded/restart and each user must re-login or manually restart
services.

(From OE-Core rev: ce62b88d8f71368e356b6409ada46a34a6017ddf)

Signed-off-by: Artur Kowalski <arturkow2000@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-21 12:07:56 +00:00
Artur Kowalski
db86156875 systemd.bbclass: update postinst and prerm hooks
Since SYSTEMD_SERVICE_ESCAPED may contain both system and user services
we need to filter out user services in call to systemctl. Introduce
helper systemd_filter_services() which takes space-separated list of
services and returns services of requested type.

(From OE-Core rev: ec548b274d56b2c7a2663b70200df95a49e7452c)

Signed-off-by: Artur Kowalski <arturkow2000@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-21 12:07:56 +00:00
Artur Kowalski
284450ed97 systemd.bbclass: properly handle user units in systemd_create_presets
Previously user units were handled the same way as system units, that
is all preset files were created in system-preset directory, but user
presets should be in user-preset directory.

(From OE-Core rev: 0218542d80723ec314a648af8e9649806c3a51aa)

Signed-off-by: Artur Kowalski <arturkow2000@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-21 12:07:56 +00:00
Artur Kowalski
a3302b8216 systemd.bbclass: introduce systemd_service_searchpaths()
systemd_service_searchpaths accepts boolean value indicating whether we
are dealing with system or user units and returns search paths
accordingly.

Previously search path list was created in systemd_check_services() but
following commits will introduce additional places. The
systemd_service_searchpaths helper function is meant to reduce code
duplication.

(From OE-Core rev: 9a89d36932dda306b3c2cf10771647eabc267769)

Signed-off-by: Artur Kowalski <arturkow2000@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-21 12:07:56 +00:00
Artur Kowalski
8c5a6ca6f9 systemd.bbclass: factor out service lookup logic into separate function
Factor out the logic into systemd_service_path(). This will be needed by
following commits to avoid code duplication.

(From OE-Core rev: d383e18138050490f3dcb95377f63a2a31c3149f)

Signed-off-by: Artur Kowalski <arturkow2000@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-21 12:07:56 +00:00
Artur Kowalski
7ed8900926 systemd.bbclass: add ${sysconfdir}/systemd/user to search path
We already search for system units ${sysconfdir}/systemd/system but we
don't search for user units in corresponding directory under ${sysconfdir}.
Keep the behaviour consistent so that both unit types are searched in
${systemd_{system,user}_unitdir} and ${sysconfdir}/systemd/{system,user}.

(From OE-Core rev: df1cdf1bf4cd7d9f17c6a02538057ccfc2efba64)

Signed-off-by: Artur Kowalski <arturkow2000@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-21 12:07:56 +00:00
Artur Kowalski
1bb9a3caf3 systemd-systemctl: add support for --global flag
The flag is similar to --user flag as it causes systemctl to operate on
user units, but it performs operations globally for all users. This is
required for user presets support.

(From OE-Core rev: ab6476d28485598ae842472a7b15ca7bf244c776)

Signed-off-by: Artur Kowalski <arturkow2000@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-21 12:07:56 +00:00
Hiago De Franco
e330214c2c eudev: backport patch to fix udevd hanging while trying to access /dev/urandom
Linux kernel commit 48bff1053c17 ("random: opportunistically initialize
on /dev/urandom reads") introduced a change where /dev/urandom blocks if
the random pool is insufficiently initialized during hardware boot. This
behavior causes /dev/urandom reads to hang for approximately 5 seconds,
delaying the boot process with eudev init script (when it calls udevd).

This issue has already been solved upstream, therefore backport the
upstream patch to fix this.

(From OE-Core rev: cd5f630581f3e38645a92ad75b496bce92b679cb)

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-21 12:07:56 +00:00
Antonin Godard
15d005ccbf test-manual/reproducible-builds: fix reproducible links
We don't run reproducible-builds on specific distros anymore, but on a
distro at random depending on what is available on the Autobuilder. Fix
the link to this builder and remove distro specific ones.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 8bd2bc3c00ca80f4c000a2a8d618a9f8ea3aa54b)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:45:06 +00:00
Antonin Godard
43647390ad Update autobuilder URLs to valkyrie
We have moved to Valkyrie which is hosted on
https://autobuilder.yoctoproject.org/valkyrie. Update the URL in the
documentation.

Also, the YOCTO_AB_URL macro was used in a single location in the
documentation so replace it by the :yocto_ab: custom extlink and remove
the macro.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 0b0ed55d909dd11cdc9b29b105473271627c025e)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:45:06 +00:00
Lee Chee Yang
5817571370 migration-guides: add release notes for 5.0.6
(From yocto-docs rev: a4e242463fee5b4e0194e32ba2ca3c1747af2b60)

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>
2025-01-20 13:45:06 +00:00
Adrian Freihofer
f68e85f49f release-notes-5.2: cover devtool modify --debug-build
(From yocto-docs rev: ef5f35e6da2dcdfad6290ab4d5bfa3010a600caf)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
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>
2025-01-20 13:45:06 +00:00
Adrian Freihofer
65a838b42c sdk-manual: extensible.rst: remove confusing post-install-logging
This is a fix for 22dc5b3be3b1fbdb9447999b71f79db055271826, which has
completely replaced debug-tweaks. But in the context of devtool ide-sdk
and the comment in the example, the post-install-logging-image feature
doesn't really make much sense. Therefore, remove it.

(From yocto-docs rev: 148191460627241cbd0c42583140f114c78cc94c)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:45:06 +00:00
Adrian Freihofer
53fcbe1da9 sdk-manual: extensible.rst: update devtool ide-sdk
Replace
  devtool ide-sdk --debug-build-config
by
  devtool modify --debug-build

This change was introduced with commit
https://git.yoctoproject.org/poky/commit/?id=1f7eb26c947dde14698ae6e2ab88f0637027f4cb

(From yocto-docs rev: e2b6a4c6c633e79d0e4975ba2e1a27a8c1b8c1c5)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:45:06 +00:00
Adrian Freihofer
9c2268e92b migration-guides: systemd.bbclass do not add Also services for 5.2
Covers the changes introduced by commit
https://git.yoctoproject.org/poky/commit/?id=efa5f65c2214239ed7aaf7bd8998683e755c5660

(From yocto-docs rev: 71acf03e02d1e21a4dbe081e75d1e4383ac2f3ac)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:45:06 +00:00
Quentin Schulz
51ffd381e3 uboot-extlinux-config.bbclass: invalidate do_create_extlinux_config on changes to UBOOT_EXTLINUX_FDTOVERLAYS:x
do_create_extlinux_config is using a bit of an odd mechanism which
doesn't work well with sstate cache invalidation.

BitBake will detect changes to UBOOT_EXTLINUX_FDTOVERLAYS because it's
explicitly mentioned in the task, but it'll miss changes to
UBOOT_EXTLINUX_FDTOVERLAYS:label because this OVERRIDES is set within
the task, so the value of UBOOT_EXTLINUX_FDTOVERLAYS for the label
OVERRIDES will only ever change from within the task, while it is
running, much later than during parsing.

For that to work properly, we need to add the entire variable (including
the OVERRIDES part) to the vardeps varflag of the task so that its value
is monitored. This is already done for all possible label variables but
FDTOVERLAYS was forgotten.

Fixes: 3ac21b32b5f5 ("uboot-extlinux-config.bbclass: add support for DTBOs")
(From OE-Core rev: a41fd633786a2404b5eee399ed0602e229c4be77)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:39:00 +00:00
Archana Polampalli
4415c5e23e rsync: upgrade 3.3.0 -> 3.4.1
CVEs addressed in this release:
CVE-2024-12084
CVE-2024-12085
CVE-2024-12086
CVE-2024-12087
CVE-2024-12088
CVE-2024-12747

Refreshed below patches:
makefile-no-rebuild.patch
determism.patch
0001-Add-missing-prototypes-to-function-declarations.patch

Changelog:
https://github.com/RsyncProject/rsync/blob/v3.4.1/NEWS.md
https://github.com/RsyncProject/rsync/blob/v3.4.0/NEWS.md

(From OE-Core rev: 25e139d8b2a52c85cf1353c8da246aedaedb40d1)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Simon A. Eugster
11098a9725 grub-efi-cfg: Add GRUB_TITLE for custom GRUB titles
Until now, the default title of a boot entry is its label. The label is
a variable which determines the script to run during an early boot stage
and is not necessarily human readable.

This patch allows to provide a human-readable title for each boot entry.

(From OE-Core rev: a5a7f6ada786b7f2c1a317f20b7e642f1e978de9)

Signed-off-by: Simon A. Eugster <simon.eu@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Alexander Kanavin
5b6c0bfbf5 dbus: update 1.14.10 -> 1.16.0
Convert from autotools to meson.

Drop tmpdir.patch (replaced by -Dtest_socket_dir=/tmp --Dsession_socket_dir=/tmp).

License-Update: license texts split into separate files, SPDX ids added.

(From OE-Core rev: b0241aa9b1ecc38be1ca016f36075552a2eba48a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Fabio Estevam
ad002798cc piglit: Upgrade to latest revision
Upgrade to latest revision.

(From OE-Core rev: 60ecbf95835ca8af21d089d8f273b0f375830b1f)

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Ross Burton
9902db8e99 autoconf: rename autotools_aclocals and only run in do_configure
Despite the name, autotools_aclocals() doesn't actually do anything with
aclocal. Instead it reads all of the available autoconf site default
files[1] and sets CONFIG_SITE appropriately. Rename the function to
autotools_sitefiles to make this clear.

Also there's no need to do this before do_configure or do_install, as
the variable is only checked when configure runs.

[1] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Site-Defaults.html

(From OE-Core rev: 05080b48a9607e19a251c7396c1b06f08d98ed3b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Ross Burton
ee6e5105f7 libtool: remove obsolete ACLOCALEXTRAPATH
This variable no longer exists, and would have had the effect of not
letting the target libtool see the contents of the native aclocal
directory.

I don't understand why this was needed but autotools has improved
dramatically in the last eight years, so it's most likely obsolete now.

(From OE-Core rev: 8ae468b6726392c681a3a35ff37c4401ec45b9d2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Ross Burton
3bb1ccd945 autotools: clean up aclocal/ search path assignments
We need aclocal to look in two different $datadir/aclocal/ directories:
the native (eg, for pkg.m4 from pkgconfig) and the target (eg, for
alsa.m4 from alsa-lib).

aclocal doesn't directly support this pattern, currently we use
--system-acdir to specify the target directory and then add the native
directory to the user include list.

However, since automake 1.17 there is also an --aclocal-path option to
augument the search list.  As the relocated aclocal from automake-native
already knows the correct path for the native aclocal directory we can
use --aclocal-path to add the correct target aclocal directory.

For simplicity I don't bother only doing this in non-native builds as
this just adds the same path to the search twice.

This removes ACLOCALDIR and ACLOCALEXTRAPATH. Recipes using these to
add search paths should instead use EXTRA_AUTORECONF += "-I path".

(From OE-Core rev: 878e1517d4890b31332a506ce903d57e1d7dff87)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Markus Volk
41bec49c54 libsecret: update patch Upstream-Status
Upstream does not want the pam tests to be skipped

(From OE-Core rev: 7c5baaf8b95422ad0192ba3dc93efadf5eb70476)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Adrian Freihofer
096dbb7992 devtool: ide-sdk remove the plugin from eSDK installer
The ide-sdk command bootstraps the SDK from the bitbake environment
before the IDE configuration is generated. In the case of the eSDK
installer, the bootstrapping is performed during the installation of
the eSDK installer. Running the ide-sdk plugin from an eSDK installer
based setup would require skipping the bootstrapping and probably taking
some other differences into account when generating the IDE
configurations.

This would be possible. But it will probably never be implemented, as
running devtool ide-sdk directly from the bitbake environment is much
more flexible.
Also, some of the recent improvements that have made it into the core
have the potential to make the eSDK installer obsolete at some point in
the future:
- bitbake-layers create-layers-setup replicates the layers
- bitbake-config-build replicates the build configuration
- The new sstate mirror features replicate the sstate
- bblock locks the sstate more flexible than the eSDK installer
- devtool ide-sdk bootstraps the SDK directly from the bitbake
  environment. The same environment-setup... file is provided with
  --mode=shared.
  The devtool modify based workflow is supported since always by devtool
  and also the default --mode of devtool ide-sdk.
These functions essentially cover what the eSDK installer does without
a need for the current implementation of the eSDK installer and the
populate_sdk_ext, which is hard to maintain and takes a lot of time to
build.
This means that instead of making the ide-sdk plugin compatible with the
eSDK installer, we should rather replace the current implementation of
the eSDK installer and populate_sdk_ext with an implementation that can
replicate a normal bitbake environment in a convenient way where the
ide-sdk plugin also just works without additional complexity.

(From OE-Core rev: 177aa72b37f2061ff3311ec5dbb33aa56a5ba006)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Adrian Freihofer
9059981930 devtool: build-sdk remove unused imports
These imports are not needed.

(From OE-Core rev: c0e9e35843004aaac5bdcc12fa1f6bf8d2da0abb)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Hiago De Franco
8ab00f5647 libxkbcommon: replace locale dependecy from RDEPENDS to RRECOMMENDS
The error described does not occur in all cases where libxkbcommon is
used. As example, a Qt application that depends on libxkbcommon might
not require any locales to be installed.

Add it to RRECOMMENDS, as libxkbcommon does not seen to have any hard
dependency on libx11-compose-data or libx11-locale. This change can help
users decide to disable it and save some space on the rootfs.

(From OE-Core rev: 58f92b66243a4f6aec9d3890b4d6c3d0ae0dc4d0)

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Ross Burton
141e4cffd7 lttng-tools: disable patching our libtool.m4
Twelve years ago, libtool on Debian had a patch that meant it failed to
cross-compile lttng-tools correctly. The solution at the time was to
sed libtool.m4 whilst configure was being ran[1], which (assuming it
patches the correct file) results in a re-execution of configure during
do_compile.

This behaviour is undesired as we don't patch libtool in the way that
this fixup is needed (the sed only changes Haiku OS codepaths), so
disable it.

[1] 6bd5984c2b

(From OE-Core rev: 87c1c7aa306759183e1f0b67a813b58eed8fb8ad)

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>
2025-01-20 13:38:59 +00:00
Bastien JAUNY
16c44defcd classes/logging: Added the bbverbnote command to the logging set
Fixes [YOCTO #15688]

Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
(From OE-Core rev: 48e4b8c06e503868404b99bf45a46a52794baa5a)

Signed-off-by: Bastien JAUNY <bastien.jauny@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Joshua Watt
d1947c5364 lib: spdx: Upgrade to final 3.0.1 release
The 3.0.1 release of SPDX has been officially released with a few minor
modifications. Regenerate the bindings to use this version.

(From OE-Core rev: 54233a7d6fe414d22449fb02fac26b66a820b17a)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Adrian Freihofer
bace2e4776 rust: increase test timeout again
Fixes [YOCTO #15625]

The first attempt to get around the timeout was to double it from 5000
to 10000, which doesn't seem to be enough. Let's try to fix this by
extending the timeout by a factor of 10.

(From OE-Core rev: fb19e038582a2bfc414465ef396c30197f67128f)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Yogita Urade
49863645a0 ofono: fix CVE-2024-7539
oFono CUSD Stack-based Buffer Overflow Code Execution Vulnerability.
This vulnerability allows local attackers to execute arbitrary code
on affected installations of oFono. An attacker must first obtain
the ability to execute code on the target modem in order to exploit
this vulnerability.

The specific flaw exists within the parsing of responses from AT+CUSD
commands. The issue results from the lack of proper validation of the
length of user-supplied data prior to copying it to a stack-based buffer.
An attacker can leverage this vulnerability to execute code in the
context of root. Was ZDI-CAN-23195.

Reference:
https://security-tracker.debian.org/tracker/CVE-2024-7539

Upstream patch:
https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=389e2344f86319265fb72ae590b470716e038fdc

(From OE-Core rev: 55aea716ca4665cf45579247dd5feec5668dd94f)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Peter Marko
23e695407e openssl: remove obsolete CVE version suffix
Since 3.0.0 openssl no longer uses characters in version suffix.

(From OE-Core rev: 80151340b0b20610030f3026e9fc71ef5970c2c5)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Sunil Dora
4aea3a5773 gcc: poison-system-directories patch updated for missing paths
Modified logic in gcc/incpath.cc to ensure that non-existing host system paths are
not deleted during cross-compilation. If the build system attempts to search a host
path, gcc will now issue a warning instead of silently ignoring it.

Fixes [YOCTO #15672]
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15672

(From OE-Core rev: 32e2f9a73a653a00e555e50f9197b605f2f70f89)

Signed-off-by: Sunil Dora <sunilkumar.dora@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Chris Laplante
8ce537f158 devtool: remove unused 'config' param from '_create_workspace' method
(From OE-Core rev: cc64a0c645338b5b2a5955951570e47c014f66ea)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Chris Laplante
b44cfce570 devtool: misc cleanups
1. Bad None comparison
2. Reliance on transitive includes in bb
3. Unbound 'ret' variable

(From OE-Core rev: 0966d04c740f11da41c342a2a2d160d9ec5f5d70)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Chris Laplante
8a46267032 devtool: un-globalize 'plugins' variable
It never had to be a global anyway

(From OE-Core rev: 2d5557f4f5d228e94bc7a55ae5fd72b70b5c93e4)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Chris Laplante
58e9a21c91 devtool: un-globalize 'config' variable
'read_workspace' can now access it via the 'context' that's passed in

(From OE-Core rev: bfc525f6fdc8990b312123ac22d93118322b4e34)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Chris Laplante
d466af6e92 devtool: un-globalize 'context' variable and convert it to a dataclass
Please excuse the usage of 'typing' slipping in here - it's just how
dataclasses work :/.

(From OE-Core rev: 207cdead039383780bd39adbaf2a17b679889c63)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Chris Laplante
bc2403dcdb devtool: un-globalize 'workspace' variable
(From OE-Core rev: 3d32e507588fc292bf0f656b26817aee407f2d7c)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Chris Laplante
e6503a7f38 devtool: un-globalize the 'basepath' variable
(From OE-Core rev: 8a73a384e9cbd7ecf3b6f05bfc28574784725801)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Alexander Kanavin
e59da05be4 procps: update 4.0.4 -> 4.0.5
Drop pidfd.patch (upstream significantly refactored the code; the patch can be tested
only with very old kernels; upstream submission has not been followed up since initial
MR creation).

Add a patch to igt-gpu-tools to address a build failure with the new procps.

(From OE-Core rev: ba492417cf8712ca8009154cfadeb494c1a6064f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-14 13:03:38 +00:00
Lei YU
47d5dcef90 systemd: PACKAGECONFIG mountfsd and nsresourced
systemd v256 introduces `mountfsd` and `nsresourced` as meson options,
make them PACKAGECONFIG so recipes could enable or disable the feature
by selecting PACKAGECONFIGs.

(From OE-Core rev: b091917424ac31fc9c188a16e653501d3a8b0afd)

Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-14 11:57:52 +00:00
Esben Haabendal
63ff4ebafd pulseaudio: fix webrtc audio depdency
Since pulseaudio v16.99.1, the library needed is webrtc-audio-processing-1.
This fixes

Run-time dependency webrtc-audio-processing-1 found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency webrtc-audio-processing-1

../pulseaudio-17.0/meson.build:730:15: ERROR: Automatic wrap-based subproject downloading is disabled

The library is available in meta-openembedded/meta-multimedia.

(From OE-Core rev: 4661c49eb4f0ed89a3d027d9a003c40744baaf38)

Signed-off-by: Esben Haabendal <esben@geanix.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-14 11:57:52 +00:00
Alexander Kanavin
46fb35a2a2 sysvinit: update 3.11 -> 3.13
Remove patches:
install.patch
(merged upstream)

realpath.patch
0001-include-sys-sysmacros.h-for-major-minor-defines-in-g.patch
(musl fixes, no longer needed)

pidof-add-m-option.patch
(not a backport, not used in core, and isn't carried by either debian or fedora)

(From OE-Core rev: 228e1fb5632061fccf58bec93b843e6d7a0827dd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-14 11:57:52 +00:00
Joshua Watt
58bbcc3de4 udev-extraconf: Allow FAT mount group to be specified
Adds a variable that allows the group given permissions to access FAT
mounted file systems to be specified, instead of being hardcoded to
'disk'.

As a note, the usage of 'disk' as the mount group is not a very secure
default, since the disk user usually has read/write access to all block
devices in /dev/, meaning that adding a user to this group for the
purpose of accessing FAT file systems effectively gives the write access
to all block devices.

(From OE-Core rev: c723dbc329d4cf2a75022f8dd1cfa304383bb4f5)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-14 11:57:52 +00:00
Yoann Congal
15ebdb6fcc selftest/reproducible: Print error context on failure
Printed logs during the reproducible test look like this in case of
failure:
2025-01-12 00:39:00,807 - oe-selftest - INFO - Building reproducibleA (sstate allowed)...
2025-01-12 00:40:08,323 - oe-selftest - ERROR - Bitbake failed! but keep going... Log:
2025-01-12 00:40:08,323 - oe-selftest - INFO - Found ERROR (line 126):
2025-01-12 00:40:08,323 - oe-selftest - INFO -       NOTE: recipe opkg-utils-native-0.7.0-r0: task do_populate_sysroot_setscene: Succeeded
2025-01-12 00:40:08,323 - oe-selftest - INFO -       NOTE: Running setscene task 74 of 333 (virtual:native:.../poky/meta/recipes-devtools/opkg-utils/opkg-utils_0.7.0.bb:do_recipe_qa_setscene)
2025-01-12 00:40:08,323 - oe-selftest - INFO -       NOTE: recipe bash-5.2.37-r0: task do_populate_sysroot_setscene: Succeeded
2025-01-12 00:40:08,323 - oe-selftest - INFO -       NOTE: recipe cve-update-nvd2-native-1.0-r0: task do_unpack: Succeeded
2025-01-12 00:40:08,323 - oe-selftest - INFO -       NOTE: Running task 4 of 974 (.../poky/meta/recipes-core/hello-single/hello-fail_1.0.bb:do_cve_check)
2025-01-12 00:40:08,323 - oe-selftest - INFO -       NOTE: recipe bash-5.2.37-r0: task do_packagedata_setscene: Succeeded
2025-01-12 00:40:08,323 - oe-selftest - INFO -       NOTE: recipe hello-fail-1.0-r0: task do_packagedata_setscene: Started
2025-01-12 00:40:08,323 - oe-selftest - INFO -       NOTE: Running setscene task 77 of 333 (.../poky/meta/recipes-extended/bash/bash_5.2.37.bb:do_recipe_qa_setscene)
2025-01-12 00:40:08,323 - oe-selftest - INFO -       NOTE: Running setscene task 78 of 333 (.../poky/meta/recipes-core/ncurses/ncurses_6.5.bb:do_populate_sysroot_setscene)
2025-01-12 00:40:08,324 - oe-selftest - INFO -       NOTE: recipe hello-fail-1.0-r0: task do_populate_sysroot_setscene: Started
2025-01-12 00:40:08,324 - oe-selftest - INFO -       ERROR: hello-fail-1.0-r0 do_populate_sysroot_setscene: this is an error
2025-01-12 00:40:08,324 - oe-selftest - INFO -       ERROR: hello-fail-1.0-r0 do_populate_sysroot_setscene: Error executing a python function in exec_func_python() autogenerated:
2025-01-12 00:40:08,324 - oe-selftest - INFO -
2025-01-12 00:40:08,324 - oe-selftest - INFO -       The stack trace of python calls that resulted in this exception/failure was:
2025-01-12 00:40:08,324 - oe-selftest - INFO -       File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
2025-01-12 00:40:08,324 - oe-selftest - INFO -            0001:
2025-01-12 00:40:08,324 - oe-selftest - INFO -        *** 0002:do_populate_sysroot_setscene(d)
2025-01-12 00:40:08,324 - oe-selftest - INFO -            0003:
2025-01-12 00:40:08,324 - oe-selftest - INFO -       File: '.../poky/meta/recipes-core/hello-single/hello-fail_1.0.bb', lineno: 17, function: do_populate_sysroot_setscene
2025-01-12 00:40:08,324 - oe-selftest - INFO -            0013:}
2025-01-12 00:40:08,324 - oe-selftest - INFO - Found ERROR (line 127):
2025-01-12 00:40:08,324 - oe-selftest - INFO -       NOTE: Running setscene task 74 of 333 (virtual:native:.../poky/meta/recipes-devtools/opkg-utils/opkg-utils_0.7.0.bb:do_recipe_qa_setscene)
2025-01-12 00:40:08,324 - oe-selftest - INFO -       NOTE: recipe bash-5.2.37-r0: task do_populate_sysroot_setscene: Succeeded
2025-01-12 00:40:08,324 - oe-selftest - INFO -       NOTE: recipe cve-update-nvd2-native-1.0-r0: task do_unpack: Succeeded
2025-01-12 00:40:08,324 - oe-selftest - INFO -       NOTE: Running task 4 of 974 (.../poky/meta/recipes-core/hello-single/hello-fail_1.0.bb:do_cve_check)
2025-01-12 00:40:08,324 - oe-selftest - INFO -       NOTE: recipe bash-5.2.37-r0: task do_packagedata_setscene: Succeeded
2025-01-12 00:40:08,324 - oe-selftest - INFO -       NOTE: recipe hello-fail-1.0-r0: task do_packagedata_setscene: Started
2025-01-12 00:40:08,324 - oe-selftest - INFO -       NOTE: Running setscene task 77 of 333 (.../poky/meta/recipes-extended/bash/bash_5.2.37.bb:do_recipe_qa_setscene)
2025-01-12 00:40:08,324 - oe-selftest - INFO -       NOTE: Running setscene task 78 of 333 (.../poky/meta/recipes-core/ncurses/ncurses_6.5.bb:do_populate_sysroot_setscene)
2025-01-12 00:40:08,324 - oe-selftest - INFO -       NOTE: recipe hello-fail-1.0-r0: task do_populate_sysroot_setscene: Started
2025-01-12 00:40:08,324 - oe-selftest - INFO -       ERROR: hello-fail-1.0-r0 do_populate_sysroot_setscene: this is an error
2025-01-12 00:40:08,324 - oe-selftest - INFO -       ERROR: hello-fail-1.0-r0 do_populate_sysroot_setscene: Error executing a python function in exec_func_python() autogenerated:
2025-01-12 00:40:08,325 - oe-selftest - INFO -
2025-01-12 00:40:08,325 - oe-selftest - INFO -       The stack trace of python calls that resulted in this exception/failure was:
2025-01-12 00:40:08,325 - oe-selftest - INFO -       File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
2025-01-12 00:40:08,325 - oe-selftest - INFO -            0001:
2025-01-12 00:40:08,325 - oe-selftest - INFO -        *** 0002:do_populate_sysroot_setscene(d)
2025-01-12 00:40:08,325 - oe-selftest - INFO -            0003:
2025-01-12 00:40:08,325 - oe-selftest - INFO -       File: '.../poky/meta/recipes-core/hello-single/hello-fail_1.0.bb', lineno: 17, function: do_populate_sysroot_setscene
2025-01-12 00:40:08,325 - oe-selftest - INFO -            0013:}
2025-01-12 00:40:08,325 - oe-selftest - INFO -            0014:
2025-01-12 00:40:08,325 - oe-selftest - INFO - End of log:
2025-01-12 00:40:08,325 - oe-selftest - INFO -       NOTE: Running task 955 of 974 (.../poky/meta/recipes-core/hello-single/hello-fail_1.0.bb:do_populate_sysroot)
2025-01-12 00:40:08,325 - oe-selftest - INFO -       NOTE: recipe hello-fail-1.0-r0: task do_populate_sysroot: Started
2025-01-12 00:40:08,325 - oe-selftest - INFO -       NOTE: recipe hello-fail-1.0-r0: task do_populate_sysroot: Succeeded
2025-01-12 00:40:08,325 - oe-selftest - INFO -       NOTE: Running noexec task 973 of 974 (.../poky/meta/recipes-core/hello-single/hello-fail_1.0.bb:do_build)
2025-01-12 00:40:08,325 - oe-selftest - INFO -       NOTE: Running noexec task 974 of 974 (.../poky/meta/recipes-core/hello-single/hello-norepro_1.0.bb:do_build)
2025-01-12 00:40:08,325 - oe-selftest - INFO -       NOTE: Tasks Summary: Attempted 974 tasks of which 958 didn't need to be rerun and all succeeded.
2025-01-12 00:40:08,325 - oe-selftest - INFO -       NOTE: Generating JSON CVE summary
2025-01-12 00:40:08,325 - oe-selftest - INFO -       Complete CVE JSON report summary created at: .../poky/build-master-st/reproducibleA/tmp/log/cve/cve-summary.json
2025-01-12 00:40:08,325 - oe-selftest - INFO -
2025-01-12 00:40:08,325 - oe-selftest - INFO -       Summary: There were 2 ERROR messages, returning a non-zero exit code.
2025-01-12 00:40:08,326 - oe-selftest - ERROR - reproducibleA build failed. Trying to compute built packages differences but the test will fail.

Fixes [YOCTO #15655] (second half).

(From OE-Core rev: b3bc820e58b65a976e0abce85fcdffd067697ecf)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-14 11:57:52 +00:00
Yoann Congal
94d88ed23a selftest/reproducible: Print full log path on failure
Printed message looks like this:
2025-01-12 00:40:08,326 - oe-selftest - ERROR - reproducibleA build failed. Trying to compute built packages differences but the test will fail.
2025-01-12 00:40:08,326 - oe-selftest - INFO - Failure log for reproducibleA will be copied to <snip>/oe-reproducible-20250112-mza9w940/bitbake-reproducibleA.log

Fixes [YOCTO #15655] (first half).

(From OE-Core rev: 1c2287849a2742445d80c81d6a1c6c3e3668765e)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-14 11:57:52 +00:00
Derek Straka
30af2f18b9 classes/ptest-python-pytest: simplify python ptest file overriding
The complexity of overriding files from the bbclass made the behavior at
times hard to follow and predict. This change replaces the default file with a
heredoc equivalent that creates a default file if the user does not provide their
own version of run-ptest in the SRC_URI.

(From OE-Core rev: be3db5f4f1b857b93d08211019d9ff796ec389b6)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-14 11:57:52 +00:00
Richard Purdie
e634211f20 oeqa/selftest/sstatetests: Cover aarch64 SDKMACHINE in tests
We want to ensure ARM nativesdk signatures match those for the 32 and 64 bit
x86 versions. Add a test to ensure this is the case.

(From OE-Core rev: dced735e2cc9663527ff8b386bf20a5e1fb9ab07)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-14 11:57:52 +00:00
Deepesh Varatharajan
e51f98d5ff rust: Upgrade 1.80.1->1.81.0
https://blog.rust-lang.org/2024/09/05/Rust-1.81.0.html

Drop the following backported patches which is addressed
with rust v1.81.0 upgrade.

0001-cargo-do-not-write-host-information-into-compilation.patch
2db0bab161

hardcodepaths.patch
28503d69ac

(From OE-Core rev: 611ec9ffbac974f472a828277ba7f3e344e99ca3)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-14 11:57:52 +00:00
Deepesh Varatharajan
3805214ecf rust: Fix for duplicate libstd.so
During the Rust build process, multiple copies of libstd-*.so are generated, as Rust copies the
required files from the stage2 build artifacts to the target image directory. When these build
binaries are copied to the image, Yocto's do_package step encounters an error. To resolve this,
the redundant libstd-*.so files are removed during the do_install step.

-----------------------------------------------------------------------------------------------
ERROR: rust-1.81.0-r0 do_package: rust: Multiple shlib providers for libstd-20c3de2d9292cd03.so:..
....
-----------------------------------------------------------------------------------------------

Multiple copies of libstd-*.so are generated during the Rust build process.
The redundant files are removed during the do_install step.

(From OE-Core rev: effd4ba4c23cbf53b01116b5cc81d6a29ca3b1a6)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-14 11:57:52 +00:00
Deepesh Varatharajan
1652df1273 rust-target-config: Update the data layout for x86 , ppc , riscv64 , aarch64 and loongaarch64 targets.
-----------------------------------------------------------------------------------------
error: data-layout for target `x86-linux`, `e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128`,
differs from LLVM target's `i686-unknown-linux-gnu` default layout,
`e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-i128:128-f64:32:64-f80:32-n8:16:32-S128`

error: data-layout for target `powerpc-linux`, `E-m:e-p:32:32-i64:64-n32`,
differs from LLVM target's `powerpc-unknown-linux-gnu` default layout,
`E-m:e-p:32:32-Fn32-i64:64-n32`

error: data-layout for target `x86_64-poky-linux-gnux32`,
`e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128`,
differs from LLVM target's `x86_64-poky-linux-gnux32` default layout,
`e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128`
-------------------------------------------------------------------------------------------
Rust commits for updating the data layouts:

x86: dbff90c2a7
x86_64-x32: ec55a05374
aarch64: 4d397d33da
ppc: ad7ea8b7e6
riscv64gc: f414715ebf
loongaarch64: 4a06a5bc7a

(From OE-Core rev: 5136176198d4d150afa39b50dc4e879f5b206909)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-14 11:57:52 +00:00
Yoann Congal
052746da9a bitbake: data_smart: fix ??= operator for variable flags
??= operator works for variable value by defining a "_defaultval" flag.

Use something similar for flags: For the default value of the flag
"flag_name", define a flag "_defaultval_flag_flagname" that is used when
reading flag_name but no other value has been set.

Fixes [YOCTO #15685]

(Bitbake rev: 0329a7e3ac694737f2d2c1861f65492551360663)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Ghislain Mangé <ghislain.mange@smile.fr>
Suggested-by: Ola Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-14 09:51:45 +00:00
Yoann Congal
a68fb2be37 bitbake: tests/parse: add test for ?= and ??= operators for variable flags
Run the test with:
 $ bitbake-selftest bb.tests.parse.ParseTest.test_parse_defaulttest
.
----------------------------------------------------------------------
Ran 1 test in 0.001s

OK

This is a test case for [YOCTO #15685]

(Bitbake rev: d12c80125d810df54379cc4f019a95ab9064ad2c)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Ghislain Mangé <ghislain.mange@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-14 09:51:45 +00:00
Bin Lan
33271912bf bitbake: bb/fetch2/__init__.py: remove a DeprecationWarning in uri_replace()
There is the following warning when executing to bitbake linux-yocto:
  bitbake/lib/bb/fetch2/__init__.py:464: DeprecationWarning: 'count' is passed as positional argument

This is because the 4th parameter of re.sub(pattern, repl, string, count=0, flags=0)
is a keyword parameter. We use keyword arguments for parameters that are not positional.

(Bitbake rev: 4bd62639f7023eec9f55ad7909fa9250538de936)

Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-14 09:51:45 +00:00
hongxu
2abb0028ba meta/lib/oe/cve_check.py: fix patched_cves not updated
Due to commit [cve-check: Rework patch parsing] applied, it missed to
update patched_cves dictionary if cve_id not in patched_cves

(From OE-Core rev: 08796a8153666d93bb622c6a7497a85cef4def42)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-12 13:15:29 +00:00
Benjamin Bara
8813e91efa multilib-example.conf: explicitly overwrite the BASELIB
Currently, meta/conf/machine/include/x86/arch-x86.inc sets the BASE_LIB
for tune-x86 to "lib". Instead, explicitly overwrite the BASELIB to
better showcase what is happening inside.

(From OE-Core rev: 585fae415bd1161f5ac5fd17e4d3fedf4c91bf36)

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-11 18:37:14 +00:00
Benjamin Bara
61faf62853 glibc: set ld.so.conf as conf file
This enables simple overwriting when multilib is in use.

(From OE-Core rev: 52e57a13f874cf4093682c9d9463e9b964f6de17)

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-11 18:37:14 +00:00
Benjamin Bara
be4c2a0e0e multilib.conf: overwrite conf files for debs
Similar to OPKG, overwrite conf files for APT (deb files).

(From OE-Core rev: b1d29b8b05ea7ebdb04f53afc0003bc04d8e71ec)

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-11 18:37:14 +00:00
Stefan Herbrechtsmeier
e223f6635a bitbake: tests: utils: add test for Go mod h1 checksum
Add a basic test for the goh1_file function.

(Bitbake rev: 3dc4d28a9eed962876c148dbe69d9f521bf42287)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-11 18:35:01 +00:00
Stefan Herbrechtsmeier
f00e8e1233 bitbake: utils: add Go mod h1 checksum support
Add support for the Go mod h1 hash. The hash is based on the Go dirhash
package. The package defines hashes over directory trees and is uses for
Go mod files and zip archives.

(Bitbake rev: deefb01592f717efba68e3997fefd04dc7611d88)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-11 18:35:01 +00:00
Philip Lorenz
d60c48153d bitbake: asyncrpc: Handle websockets exceptions
The websockets library throws a number of exceptions which are currently
not caught leading to unhandled exceptions in the idle loop.

Fix this by catching them and reexposing them as a `ConnectionError`
which is the exception expected by users of `asyncrpc`.

(Bitbake rev: 41d62911a480283287265fe063696d2acd5904aa)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-11 18:35:01 +00:00
Bruce Ashfield
f003bd9bda yocto-bsp: drop genericarm64 SRCREV
The OEcore SRCREVs now contain the fixes this machine specific
SRCREV was added to incorporate.

Dropping it to ensure that all reference boards are at the same
source and configuration level.

(From meta-yocto rev: 11d690061d67ab0f84265d609e129d8717e88bcb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-11 18:34:30 +00:00
Bruce Ashfield
475dbf58da linux-yocto/6.12: update to v6.12.9
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    5996393469d9 Linux 6.12.9
    10a641cad465 mptcp: don't always assume copied data in mptcp_cleanup_rbuf()
    8353226fe3ca mptcp: fix recvbuffer adjust on sleeping rcvmsg
    fb08e6b0ba28 mptcp: fix TCP options overflow.
    2e31443a0d18 mm: hugetlb: independent PMD page table shared count
    464770df4609 mm: reinstate ability to map write-sealed memfd mappings read-only
    58d0d02dbc67 mm: vmscan: account for free pages to prevent infinite Loop in throttle_direct_reclaim()
    64b2d32f2259 mm/kmemleak: fix sleeping function called from invalid context at print message
    5802fe9cfc05 mm/readahead: fix large folio support in async readahead
    86c9fd14aa7f gve: trigger RX NAPI instead of TX NAPI in gve_xsk_wakeup
    35f44eed5828 gve: guard XDP xmit NDO on existence of xdp queues
    e2ff6dd63159 gve: fix XDP allocation path in edge cases
    8e8d7037c894 gve: guard XSK operations on the existence of queues
    c8a8334fbedb gve: clean XDP queues in gve_tx_stop_ring_gqi
    077ef69099f4 gve: process XSK TX descriptors as part of RX NAPI
    d066ab595cdf fs/proc/task_mmu: fix pagemap flags with PMD THP entries on 32bit
    9e4c11d4cc05 mm: shmem: fix incorrect index alignment for within_size policy
    cabacb18a42d mm: shmem: fix the update of 'shmem_falloc->nr_unswapped'
    3647932d0b3e mm/damon/core: fix new damon_target objects leaks on damon_commit_targets()
    69bbaa0fdddc mm/damon/core: fix ignored quota goals and filters of newly committed schemes
    e55273aa2a55 net: ethernet: ti: am65-cpsw: default to round-robin for host port receive
    b68b2a3fbacc fgraph: Add READ_ONCE() when accessing fgraph_array[]
    19d8a4424168 wifi: iwlwifi: mvm: Fix __counted_by usage in cfg80211_wowlan_nd_*
    ca9d077350fa drm: adv7511: Fix use-after-free in adv7533_attach_dsi()
    9f12616222ce dt-bindings: display: adi,adv7533: Drop single lane support
    6c87986664ab drm: adv7511: Drop dsi single lane support
    41ce61328e0f io_uring/rw: fix downgraded mshot read
    2297890b778b net/sctp: Prevent autoclose integer overflow in sctp_association_init()
    41db022612b6 sched_ext: initialize kit->cursor.flags
    a921eb655809 sky2: Add device ID 11ab:4373 for Marvell 88E8075
    ffb231471a40 workqueue: Do not warn when cancelling WQ_MEM_RECLAIM work from !WQ_MEM_RECLAIM worker
    830f83858952 pinctrl: mcp23s08: Fix sleeping in atomic context due to regmap locking
    b3ef4ae71336 RDMA/uverbs: Prevent integer overflow issue
    786362ce60d7 sched_ext: Fix invalid irq restore in scx_ops_bypass()
    65802da747ac scripts/sorttable: fix orc_sort_cmp() to maintain symmetry and transitivity
    dc05ee603128 clk: clk-imx8mp-audiomix: fix function signature
    90daa2f83585 maple_tree: reload mas before the second call for mas_empty_area
    0e1779478f0c kcov: mark in_softirq_really() as __always_inline
    ba950a02d8d2 ocfs2: fix slab-use-after-free due to dangling pointer dqi_priv
    9d382112b363 ALSA: seq: oss: Fix races at processing SysEx messages
    a369c9b4ad5a ALSA hda/realtek: Add quirk for Framework F111:000C
    c8f05dc8a9ce drm/xe: Wait for migration job before unmapping pages
    7f13d8273e8c drm/xe: Use non-interruptible wait when moving BO to system
    5a45b3497280 ftrace: Fix function profiler's filtering functionality
    ac3ee577c347 ALSA: seq: Check UMP support for midi_version change
    c7e9cb3db798 io_uring/kbuf: use pre-committed buffer address for non-pollable file
    abf81fd09b62 RDMA/mlx5: Enable multiplane mode only when it is supported
    56432f684513 Revert "ALSA: ump: Don't enumeration invalid groups for legacy rawmidi"
    a93c6cf0868f kbuild: pacman-pkg: provide versioned linux-api-headers package
    2a44d48d323a modpost: fix the missed iteration for the max bit in do_input()
    f133ad12fe86 scripts/mksysmap: Fix escape chars '$'
    5ce6fb470eb1 clk: thead: Fix TH1520 emmc and shdci clock rate
    1c2244437f9a bpf: consider that tail calls invalidate packet pointers
    28bcc8024033 bpf: refactor bpf_helper_changes_pkt_data to use helper number
    07bb0775bacc ARC: build: Try to guess GCC variant of cross compiler
    c88e3ecb9468 irqchip/gic: Correct declaration of *percpu_base pointer in union gic_base
    4a31c018bfe4 Bluetooth: hci_core: Fix sleeping function called from invalid context
    87e93faa370d net: usb: qmi_wwan: add Telit FE910C04 compositions
    1d23d5537103 smb: client: destroy cfid_put_wq on module exit
    52cefcff6a4a ksmbd: set ATTR_CTIME flags when setting mtime
    7023866f161b ksmbd: retry iterate_dir in smb2_query_dir
    1da4ebd8691b bpf: fix potential error return
    83d32ae6895a ARC: bpf: Correct conditional check in 'check_jmp_32'
    4be7ad1f9cc2 ARC: build: Use __force to suppress per-CPU cmpxchg warnings
    600340ed717c ARC: build: disallow invalid PAE40 + 4K page config
    5fae14431614 ASoC: audio-graph-card: Call of_node_put() on correct node
    4b1ccdfe589e spi: spi-cadence-qspi: Disable STIG mode for Altera SoCFPGA.
    d49362b059f2 sound: usb: format: don't warn that raw DSD is unsupported
    03c446634f3f sound: usb: enable DSD output for ddHiFi TC44C
    1c643c600407 ALSA: hda/realtek: Add new alc2xx-fixup-headset-mic model
    45f502192bfc ALSA: hda/ca0132: Use standard HD-audio quirk matching helpers
    d77a3a99b53d btrfs: flush delalloc workers queue before stopping cleaner kthread during unmount
    bd51e0d7a255 btrfs: handle bio_split() errors
    d867cee0f30a ALSA: hda/realtek - Add support for ASUS Zen AIO 27 Z272SD_A272SD audio
    5b67d909ac5e ALSA: hda: cs35l56: Remove calls to cs35l56_force_sync_asp1_registers_from_cache()
    de39f7295395 drm/amdkfd: Correct the migration DMA map direction
    4e9ad557e52d drm/amdgpu: use sjt mec fw on gfx943 for sriov
    6ec6025cc666 wifi: mac80211: wake the queues in case of failure in resume
    ae07daf440d3 wifi: cfg80211: clear link ID from bitmap during link delete after clean up
    36b739637d70 wifi: mac80211: fix mbss changed flags corruption on 32 bit systems
    65e282457704 perf/x86/intel: Add Arrow Lake U support
    93d7d212c6ea btrfs: allow swap activation to be interruptible
    4ac8e8bf70b4 net: ti: icssg-prueth: Fix clearing of IEP_CMP_CFG registers during iep_init
    771ab379e87d net: ti: icssg-prueth: Fix firmware load sequence.
    3d1b63cf468e ila: serialize calls to nf_register_net_hooks()
    cd8488fdc711 af_packet: fix vlan_get_protocol_dgram() vs MSG_PEEK
    b65292a548d8 af_packet: fix vlan_get_tci() vs MSG_PEEK
    a0c12973edf7 net: wwan: iosm: Properly check for valid exec stage in ipc_mmio_init()
    3257813a3ae7 net: restrict SO_REUSEPORT to inet sockets
    d3b7a9c7597b net: reenable NETIF_F_IPV6_CSUM offload for BIG TCP packets
    05670a893565 net: sfc: Correct key_len for efx_tc_ct_zone_ht_params
    127c28006716 io_uring/net: always initialize kmsg->msg.msg_inq upfront
    64798d02430b RDMA/bnxt_re: Fix error recovery sequence
    6ffb5c188519 RDMA/rtrs: Ensure 'ib_sge list' is accessible
    e6e6882a1590 net: wwan: t7xx: Fix FSM command timeout issue
    6dfa451b5302 net: mv643xx_eth: fix an OF node reference leak
    5abb84101c0e eth: bcmsysport: fix call balance of priv->clk handling routines
    b48a058db398 ALSA: usb-audio: US16x08: Initialize array before use
    86645d8d062a nvmet: Don't overflow subsysnqn
    1ee54d58d58b net: llc: reset skb->transport_header
    d24cbc43cc7b netfilter: nft_set_hash: unaligned atomic read on struct nft_set_ext
    0e394dd11e95 workqueue: add printf attribute to __alloc_workqueue()
    a0360b9b5f32 drm/i915/dg1: Fix power gate sequence.
    6bf65f39701e drm/i915/cx0_phy: Fix C10 pll programming sequence
    9f6f54e6a686 RDMA/rxe: Remove the direct link to net_device
    de85624c623d net/mlx5e: Keep netdev when leave switchdev for devlink set legacy only
    47c78d3fc26e net/mlx5e: Skip restore TC rules for vport rep without loaded flag
    fa9d8c2e77c4 net/mlx5e: macsec: Maintain TX SA from encoding_sa
    dc59321c0b38 net/mlx5: DR, select MSIX vector 0 for completion queue creation
    b710f18252ef net: pse-pd: tps23881: Fix power on/off issue
    3ba7f80d98d4 netrom: check buffer length before accessing it
    965a34d93b0b net: Fix netns for ip_tunnel_init_flow()
    b0b190218c78 net: fix memory leak in tcp_conn_request()
    b8a888f236ec net: stmmac: restructure the error path of stmmac_probe_config_dt()
    924d43bd10a1 drm/xe: Fix fault on fd close after unbind
    fb1543f3ba43 drm/xe/pf: Use correct function to check LMEM provisioning
    3ff51effd1cc drm/xe: Revert some changes that break a mesa debug tool
    77a807ae2ba5 RDMA/hns: Fix missing flush CQE for DWQE
    ed9466d707fa RDMA/hns: Fix warning storm caused by invalid input in IO path
    a448c775f0ae RDMA/hns: Fix accessing invalid dip_ctx during destroying QP
    c1bc7a427e7c RDMA/hns: Fix mapping error of zero-hop WQE buffer
    b983a01f58fb netdev-genl: avoid empty messages in napi get
    74f9e8f2e831 selftests: net: local_termination: require mausezahn
    e5e2ba1b575a net: dsa: microchip: Fix LAN937X set_ageing_time function
    b3989de20041 net: dsa: microchip: Fix KSZ9477 set_ageing_time function
    929e70e8dbee drm/bridge: adv7511_audio: Update Audio InfoFrame properly
    45ece2a4e3f2 net: phy: micrel: Dynamically control external clock of KSZ PHY
    39480e1271da RDMA/bnxt_re: Fix the locking while accessing the QP table
    003e82749a24 RDMA/bnxt_re: Fix MSN table size for variable wqe mode
    2c73cd31f917 RDMA/bnxt_re: Add send queue size check for variable wqe
    50a85b3bd28d RDMA/bnxt_re: Disable use of reserved wqes
    9b3b83d2f7f4 RDMA/bnxt_re: Fix max_qp_wrs reported
    4eafeb4f021c RDMA/siw: Remove direct link to net_device
    a36820c88865 RDMA/nldev: Set error code in rdma_nl_notify_event
    e61d2495f781 RDMA/bnxt_re: Fix reporting hw_ver in query_device
    75c5dba99e20 RDMA/bnxt_re: Add check for path mtu in modify_qp
    4f6fd7f2dfef RDMA/bnxt_re: Fix the check for 9060 condition
    a337f7b6b2eb wifi: iwlwifi: fix CRF name for Bz
    bfe52e8019ef nvme-pci: 512 byte aligned dma pool segment quirk
    48bd8e9d78c5 RDMA/core: Fix ENODEV error for iWARP test over vlan
    1051250e51cc RDMA/bnxt_re: Avoid sending the modify QP workaround for latest adapters
    a3e0709d462e RDMA/bnxt_re: Avoid initializing the software queue for user queues
    9a479088e0c8 RDMA/bnxt_re: Fix max SGEs for the Work Request
    c1e855a9b95d RDMA/mlx5: Enforce same type port association for multiport RoCE
    00aca33249f7 sched_ext: fix application of sizeof to pointer
    cbe385d9ae48 RDMA/bnxt_re: Remove always true dattr validity check
    b4b77d9b5b0d btrfs: use bio_is_zone_append() in the completion handler
    2cf5d691f849 block: lift bio_is_zone_append to bio.h
    92bd18c74624 tracing: Have process_string() also allow arrays
    cba9d51794ec pmdomain: core: add dummy release function to genpd device
    a45ae8932789 pmdomain: imx: gpcv2: fix an OF node reference leak in imx_gpcv2_probe()
    1595afae01fa mmc: sdhci-msm: fix crypto key eviction
    efefe36c03a7 selinux: ignore unknown extended permissions
    9476e599b445 platform/x86: hp-wmi: mark 8A15 board for timed OMEN thermal profile
    7d43ab99ac60 platform/x86: thinkpad-acpi: Add support for hotkey 0x1401
    063d380ca28e drm/amdgpu: fix backport of commit 73dae652dcac
    2da437336625 platform/x86: mlx-platform: call pci_dev_put() to balance the refcount
    e97df805b938 drm/tilcdc: Set preferred depth
    7160a4379dcc arch/arm64/configs: remove CONFIG_SM_DISPCC_8650
    6d8ac5ebe6e8 aufs6: core
    587abc1b64c4 aufs6: standalone
    1af41d30ef42 aufs6: mmap
    6ee2464d2e9d aufs6: base
    103b676505f7 aufs6: kbuild
    67281562943f qemux86: add configuration symbol to select values
    73f315ca0823 sched/isolation: really align nohz_full with rcu_nocbs
    1e4e7f8ab622 clear_warn_once: add a clear_warn_once= boot parameter
    918e7a825e8b clear_warn_once: bind a timer to written reset value
    f533f87c3758 clear_warn_once: expand debugfs to include read support
    f149ca27cba9 tools: Remove some options from CLANG_CROSS_FLAGS
    e633abe9c44e libbpf: Fix build warning on ref_ctr_off
    ec0916a4cfc1 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    03721ceb5626 perf: x86-32: explicitly include <errno.h>
    4c36c5295bb0 perf: mips64: Convert __u64 to unsigned long long
    b0200449610d perf: fix bench numa compilation
    aff0940b2212 perf: add SLANG_INC for slang.h
    ef912018d28c perf: add sgidefs.h to for mips builds
    d8860f858b87 perf: change --root to --prefix for python install
    dc38a0eee6e5 perf: add 'libperl not found' warning
    6ed51f8786da perf: force include of <stdbool.h>
    c538d4c4ac65 fat: Replace prandom_u32() with get_random_u32()
    63d94846f0c5 fat: don't use obsolete random32 call in namei_vfat
    7816667451ef FAT: Added FAT_NO_83NAME
    f81dbd60f0d5 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    771cdefba44b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    a24784fd8f88 yaffs2: update to v6.12 folio changes
    d0a48fd46db8 yaffs2: adapt to v6.10 i_time changes
    d097e4d4115a yaffs: fix mtime/itime field access
    4411e0d49fe3 yaffs2: update VFS ctime operations to 6.6+
    1b6619086e8b yaffs2: v6.5 fixups
    25b261ee3c54 yaffs2: Fix miscalculation of devname buffer length
    5c07936a5d1c yaffs2: convert user_namespace to mnt_idmap
    55986a1284b3 yaffs2: replace bdevname call with sprintf
    6f5508f8db8f yaffs2: convert read_page -> readfolio
    fd179a5df5d5 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    c9a620dacdd1 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    78588208ed17 yaffs2: v5.12+ build fixups (not runtime tested)
    8d2dddba272c yaffs: include blkdev.h
    8c1ca9ef9712 yaffs: Fix build failure by handling inode i_version with proper atomic API
    27005cbac2ed yaffs2: v5.6 build fixups
    668211c9f9b7 yaffs2: fix memory leak when /proc/yaffs is read
    285f911dcc1c yaffs: add strict check when call yaffs_internal_read_super
    ffc2ed489ccf yaffs: repair yaffs_get_mtd_device
    6dce4b70a5e3 yaffs: Fix build failure by handling inode i_version with proper atomic API
    19f283abc5d1 yaffs2: fix memory leak in mount/umount
    04e84672b571 yaffs: Avoid setting any ACL releated xattr
    4f221d6a32e2 Yaffs:check oob size before auto selecting Yaffs1
    81f36004e56b fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    26d7a3dd0054 yaffs2: adjust to proper location of MS_RDONLY
    a7016eac4540 yaffs2: import git revision b4ce1bb (jan, 2020)
    feb240bbb91e initramfs: allow an optional wrapper script around initramfs generation
    874746eaa341 drivers: gpu: drm: msm: registers: improve reproducibility
    1d42508faee8 tools: use basename to identify file in gen-mach-types
    4b055eca593d iwlwifi: select MAC80211_LEDS conditionally
    97e20e275ac0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    6dec58319165 defconfigs: drop obselete options
    a416ccb5b6c9 linux-yocto: Handle /bin/awk issues
    7efe8a1e5158 uvesafb: provide option to specify timeout for task completion
    78d10ae07eca uvesafb: print error message when task timeout occurs
    80473b7eb8ca compiler.h: Undef before redefining __attribute_const__
    ddeff2f1a9a7 vmware: include jiffies.h
    3dcdda8912b4 Resolve jiffies wrapping about arp
    3b1507db6735 nfs: Allow default io size to be configured.
    c2fedad05f77 check console device file on fs when booting
    208d6fbada3f mount_root: clarify error messages for when no rootfs found
    dbe9454c8ea0 mconf: fix output of cflags and libraries
    7c7b224f5cce menuconfig,mconf-cfg: Allow specification of ncurses location
    b6c189c81397 modpost: mask trivial warnings
    a5cc21325ba9 kbuild: exclude meta directory from distclean processing
    361ec143c23f powerpc: serialize image targets
    605e6ccb304c arm: serialize build targets
    e94b04fcb7d2 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    44cc7f69a0a0 cpu/amd: inhibit SMP check for qemux86
    a08cb65331e6 x86_64_defconfig: Fix warnings
    8ad332ef777b mips: make current_cpu_data preempt safe
    754f05ddce3f mips: vdso: fix 'jalr $t9' crash in vdso code
    325ff78ff44d mips: Kconfig: add QEMUMIPS64 option
    99ae0eadcf11 4kc cache tlb hazard: tlbp cache coherency
    c6894c66a534 malta uhci quirks: make allowance for slow 4k(e)c
    8b52c01f3294 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    16c7629f035e drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    6b60c874cbb0 arm64: defconfig: cleanup config options
    8e44673ecd89 vexpress: Pass LOADADDR to Makefile
    f34e6805aad5 arm: ARM EABI socketcall
    94dec9b88de4 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 023ac26e09768300c4bdd744599c45d3556eb25a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-11 18:34:15 +00:00
Ross Burton
a1b9c06ff5 qemu/machine: rename QEMU_EXTRAOPTIONS for consistency
The per-tune qemu options variable is QEMU_EXTRAOPTIONS_${TUNE_PKGARCH},
but this doesn't follow the pattern of all of the other tune-specific
variables in the machine configuration which is VARIABLE:tune-[name].

Rename QEMU_EXTRAOPTIONS_${TUNE_PKGARCH} to
QEMU_EXTRAOPTIONS:tune-${TUNE_PKGARCH} for consistency.

Note that this will mean that BSPs need to update any assignments of
this variable.

(From OE-Core rev: 7f981d074442b901f7e64dbdb9db851ff31c3733)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-11 18:34:15 +00:00
Ross Burton
0165c71b10 classes/qemu: move QEMU_EXTRAOPTIONS for PPC to the relevant tunes
Every other architecture has the QEMU_EXTRAOPTIONS assignments in the
tune files, so move the PPC ones too.

(From OE-Core rev: ba05251c89d8cc243e861886124573c83197e949)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-11 18:34:15 +00:00
Ross Burton
1fa2f50f75 classes/qemu: use tune to select QEMU_EXTRAOPTIONS, not package architecture
Using the package architecture to select the right qemu options to pass
to qemu-user is incorrect, and fails for recipes that set PACKAGE_ARCH
to MACHINE_ARCH (as the qemuppc workarounds suggest) because there are
not typically any options set for the machine name.

Solve this by using TUNE_PKGARCH instead: for the majority of recipes
this is the same value, but for machine-specific recipes it remains the
same instead of changing to the machine name.

This means we can remove the qemuppc workarounds, as they're obsolete.

Also update the gcc-testsuite recipe which uses the same pattern to use
TUNE_PKGARCH, and generalise the else codepath to avoid needing to
update the list of architectures.

[ YOCTO #15647 ]

(From OE-Core rev: 414b754a6cbb9cc354b1180efd5c3329568a2537)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-11 18:34:15 +00:00
Ross Burton
db4c8e1d71 classes/nativesdk: also override TUNE_PKGARCH
The nativesdk class overrides PACKAGE_ARCH and unsets TUNE_FEATURES, but
as recipes might want to look at TUNE_PKGARCH too (for example, when
setting QEMU_EXTRAOPTIONS) we should also override that variable.

Otherwise, a nativesdk recipe will have the TUNE_PKGARCH of the target,
which leads to errors (eg passing mips arguments to an arm qemu).

(From OE-Core rev: 05322beb290e1db30bef49b4364f8a8e6e9f7408)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-11 18:34:15 +00:00
Ross Burton
1c8ecbf09d rsync: clean up configure/configure.sh fiddling
The upstream Makefiles tell autoconf to write the generated script to
configure.sh instead of the idiomatic configure.  We now remove all of
the Makefile rules that refer to configure.sh (makefile-no-rebuild.patch)
but the recipe configure changes remained, so remove them too and delete the
existing configure.sh to avoid confusion for anyone looking at the build treee.

Also add a comment explaining why autotools-brokensep is used.

(From OE-Core rev: 599e0fbf7d3dbbad0606143baa0ecccc510348ce)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 12:44:58 +00:00
Richard Purdie
b0f2233e18 python3-psutil: Fix native dependencies
The tests package has many dependencies which don't BBCLASSEXTEND to native
well. Remove these as we're not interested in the tests in the native case anyway.

(From OE-Core rev: 2885ab7c5b58a8f8ff183360e239d2a36270c662)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 11:28:58 +00:00
Alexander Kanavin
46e1195b6a libgit2: update 1.8.4 -> 1.9.0
Make the cmake files reproducible and rather than hardcode-installed into /usr/lib.

[RP: Tweak commit message]
(From OE-Core rev: 5d16b99ad74fe4acadfb1752b975e6eebacf9d1c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 11:26:29 +00:00
Richard Purdie
d26c72b7dc native: Improve ${PN}-XXX package name handling
If a recipe has something like:

RPROVIDES:${PN}-xxx = "yyy"

then the current code will turn this into:

RPROVIDES:${BPN}-native-xxx = "yyy-native"

which can lead to errors. Add in some handling for this special case in the class
extension code.

The corresponding entry in PACKAGES is correctly remapped, the variables aren't
remapped to match though.

Note that merging this does trigger new dependencies to be exposed, some of which
can't be met or are incorrect. These need to be fixed on a case by case basis.

There was also a problem in the existing code when handling anonymous python in
PACKAGES since it would pass bizarre package names like "d)}" to the remapping code.
This patch changes it to ignore anonymous python since in the native case, this likely
isn't wanted anyway. This also then avoids ${PN}-ptest in the native case which was a
common dependency problem.

(From OE-Core rev: e2fd81e221c25fc21d532e020ddd8aaac0c22ede)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 11:23:45 +00:00
Richard Purdie
cfabbd46f5 util-linux: Improve PACKAGES_DYNAMIC handling for util-linux-native
DEBUG: Assuming util-linux-swapon-native is a dynamic package, but it may not exist
DEBUG: Assuming util-linux-swapon-native is a dynamic package, but it may not exist
DEBUG: providers for util-linux-swapon-native are: ['util-linux', 'util-linux-native']
DEBUG: sorted runtime providers for util-linux-swapon-native are: ['recipes-core/util-linux/util-linux_2.40.2.bb', 'virtual:native:recipes-core/util-linux/util-linux_2.40.2.bb']
NOTE: Multiple providers are available for runtime util-linux-swapon-native (util-linux, util-linux-native)

The PACKAGES_DYANMIC line could match native and non-native packages so
tweak to improve -native handling and avoid the above warnings in world builds.

(From OE-Core rev: 5577bb4772a76b3e419cf1f8f2a439bc1b15a9b5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 11:23:45 +00:00
Richard Purdie
68fee9588b coreutils: Improve core-utils-native dependency handling
bash-dev-native does not exist, nor should it. Tweak the recipe so that if/as/when
we fix native ${PN}-XXX handling, this doesn't break. Use variable indirection
as the least worse solution as an override directly will get overwritten with
variable renaming, resulting in a warning.

(From OE-Core rev: 879590563bc43a303e77541cd99979a449d9bfed)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 11:23:45 +00:00
Ross Burton
a619a39d15 autotools: remove aclocal --automake-acdir, relocated so knows the right path
A relocated aclocal in the native sysroot has the right paths already:

$ cat /work/ross/build/tmp/work/cortexa57-poky-linux/expect/5.45.4/recipe-sysroot-native/usr/bin/aclocal
my @automake_includes = ('/work/ross/build/tmp/work/cortexa57-poky-linux/expect/5.45.4/recipe-sysroot-native/usr/share/aclocal-' . $APIVERSION);

Thus there is no need to tell aclocal the path explicitly.

(From OE-Core rev: 002e03132b8ba1f1b254c8a63ff70db2a5d16518)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 11:23:45 +00:00
Ross Burton
9c7c3fe0ab autotools: log when we're removing aclocal.m4
Some mysterious autotools errors are because upstream has a custom
aclocal.m4 that we're deleting it unless we know we're not even running
aclocal.  There's a case to be made for removing this deletion logic
on the grounds that aclocal should know what it is doing, but for now
make it clear that we're deleting a file by saying so in the task log.

(From OE-Core rev: d6efd938af8a8260ae464edf4388afea73293ec7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 11:23:45 +00:00
Ross Burton
5d55587344 libtheora: backport a patch to fix autoreconf
This is needed so that autoreconf works without any macro path fiddling,
which autotools may no longer be doing implicitly.

(From OE-Core rev: 967fc0403355cebdae306d3a210ba177390b541a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 11:23:45 +00:00
Alexander Kanavin
f7a3dd46ab tcl8: upgrade 8.6.15 -> 8.6.16
Adjust run-ptest to use the absolute ptest library location
(tcl 9.x already does this) to avoid clock.test failures.

(From OE-Core rev: 6161afaa3d4f6600a3598bf559576fb571968cbb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 11:10:00 +00:00
Alexander Kanavin
991cbf2336 python3-numpy: upgrade 2.1.3 -> 2.2.1
Add a svml option, disabled by default
(it's avx-512 only, and uses randomly generated
intermediate .o file names, which makes the installed
library non-reproducible).

(From OE-Core rev: a3ce94f1fa79502d8b41de93f9a27d8af2cdc787)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 11:10:00 +00:00
Alexander Kanavin
e8db9d1eae blktool: remove the recipe
It was created in 2004 as an alternative to hdparm and never updated since
(while hdparm remains in active development).

(From OE-Core rev: 54c1243a259a2f6407c0202d03414fc5272b2d90)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 11:10:00 +00:00
Alexander Kanavin
8dc89e2d3d shadow: update 4.16.0 -> 4.17.1
Remove groups entries, as that has been removed in favor of the coreutils implementation.

Add a patch to support older host compilers.

(From OE-Core rev: 8d1041c02c600229b3487bc37f929c2b57f0b3ce)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 11:10:00 +00:00
Alexander Kanavin
6aee2f029a ruby: update 3.3.6 -> 3.4.1
License-update: formatting

Exclude aclocal, as aclocal.m4 is hand-maintained
(similar to recent tweaks elsewhere in core).

Find rbconfig.rb directly in ${D}, as grepping ruby's
internal file produces bogus results now.

(From OE-Core rev: f395c84d460acc44c633a6819efac68ca7829e6c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 11:10:00 +00:00
Alexander Kanavin
defeea4c2e libxcrypt: update 4.4.36 -> 4.4.37
Drop patch merged upstream.

(From OE-Core rev: b66d046a3fe4230ba3b74c6741419f51bbfca9bd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 11:10:00 +00:00
Alexander Kanavin
5dfd5fe73d liburcu: update 0.14.1 -> 0.15.0
License-update: formatting, file rename, spdx tags.

(From OE-Core rev: a8fdac57d9fe55c3dff8d3dc24c6245c5d6af476)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 11:10:00 +00:00
Alexander Kanavin
c65340f13e boost: update 1.86.0 -> 1.87.0
Backport a kea patch to address 1.87.0 compatibility.

(From OE-Core rev: ac328183d4592ad146c41e48c2c92d1dbb53a894)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 11:10:00 +00:00
Alexander Kanavin
ce2ef75087 texinfo: update 7.1.1 -> 7.2
(From OE-Core rev: 1430bffaf210d5fd769c3c08ed4cd76733b32b07)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 11:10:00 +00:00
Alexander Kanavin
e5a2faf045 bc: update 1.07.1 -> 1.08.1
Upstream now ships pre-generated libmath.h, so we don't need to do so.

Drop 0001-dc-fix-exit-code-of-q-command.patch
(merged upstream).

License-update: copyright years.

(From OE-Core rev: ab7c33ba324af89a0f96d9eb480ce422f3b92fb5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 11:10:00 +00:00
Alexander Kanavin
bc7d32e16a tcl: update 9.0.0 -> 9.0.1
(From OE-Core rev: 8ddc1bdf45e39962338dc5ec51e4582d1f0c3d83)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 11:10:00 +00:00
Alexander Kanavin
9c80c18f82 ppp: update 2.5.1 -> 2.5.2
License-Update: BSD items clarified to be 2-clause:
d4ec06ec58
passprompt plugin removed upstream.

Add an enable a multilink option, as the build breaks without it at the linking
step (upstream presumably didn't test that it works): https://github.com/ppp-project/ppp/issues/541

(From OE-Core rev: e6ea3ade8f3977ec93c68229d2660bbc335a80a6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 11:10:00 +00:00
Richard Purdie
6ffd1a58f9 bitbake: bin/git-make-shallow: Fix syntax to work with older git versions
The transaction model was only introduced in git 2.27 whereas Ubuntu focal
(20.04) has 2.25. This causes failures. We don't need the transations here
so simply drop the commit piece, fixing on older git versions.

Credit to Nick Owens <nick.owens@eero.com> for working out how to fix it.

(Bitbake rev: 0723ec9d4cd7c9b2d46904c3a038be123feea374)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 09:10:06 +00:00
Alexander Kanavin
335889b619 python3-jinja2: upgrade 3.1.4 -> 3.1.5
(From OE-Core rev: fca4fe9282d5895cc961aef82471604d219cb3ba)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 16:59:23 +00:00
Alexander Kanavin
5ffd270c60 python3-click: update 8.1.7 -> 8.1.8
License-Update: renamed file

Convert from setuptools to flit.

(From OE-Core rev: 33dfffac6f65145b6e8671a8988a62f1f0e41f72)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 16:59:23 +00:00
Bruce Ashfield
5f2c9fc289 linux-yocto-dev: update to v6.13
Some tightly coupled packages still need updating (we are
waiting on upstream), but there's no reason to hold the dev
kernel update on those packages (core-image-minimal is working)

(From OE-Core rev: c791afb0df94cf44dcb371dcd62dee2f2533de53)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 16:59:23 +00:00
Alexander Kanavin
70a650c26a bbconfigbuild/configfragments.py: set BBPATH in standalone datastore
Otherwise fragments with 'require' statements will not parse,
as the parser will not be able to find files referred to by
those statements.

Add such a statement to the test fragment so that the scenario
is tested.

[YOCTO #15707]

(From OE-Core rev: d88e63d1a7867b3a4ebfc57d472900136b5361d8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 16:59:23 +00:00
Khem Raj
2d267c418f webkitgtk: Disable JIT on RISCV64
It does not compile anymore with 2.46+ as we dropped the patch
https://bugs.webkit.org/show_bug.cgi?id=250681

This patch it seems is still needed but has not yet been
accepted upstream yet.

(From OE-Core rev: be5dd5630a0fa53d16b661b088d6b4fb31e8e9b2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 16:59:23 +00:00
Khem Raj
ce183d4930 webkitgtk: Fix a typo OFFF -> OFF
(From OE-Core rev: 37c1a3a6c7aa09c2974f0c52bd16245153b7eb89)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 16:59:23 +00:00
Wang Mingyu
20f3482fe3 xinit: upgrade 1.4.2 -> 1.4.3
(From OE-Core rev: 90e965b53598ab7f87df7053fa348e1fdf461285)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 15:26:50 +00:00
Wang Mingyu
591b753c17 xf86-input-synaptics: upgrade 1.9.2 -> 1.10.0
(From OE-Core rev: 6c115c68a0c508446f46a68146d470fda570a964)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 15:26:50 +00:00
Wang Mingyu
13eff9f8fd stress-ng: upgrade 0.18.07 -> 0.18.08
(From OE-Core rev: ded6b0f24690c6e8ba2dd4fa5bf1acebd3661ed4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 15:26:50 +00:00
Wang Mingyu
11bc40bb4f python3-ruamel-yaml: upgrade 0.18.7 -> 0.18.9
License-Update: copyright updated to 2025

(From OE-Core rev: 98ed111650de52e6079251d1cb0c19dd6a506ded)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 15:26:50 +00:00
Wang Mingyu
499e32979e python3-pygments: upgrade 2.18.0 -> 2.19.0
(From OE-Core rev: f18bcd0b4024da048be6a1773608a4c2a4db4a38)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 15:26:50 +00:00
Wang Mingyu
f32712754b python3-poetry-core: upgrade 1.9.1 -> 2.0.0
Changelog:
 https://github.com/python-poetry/poetry-core/releases/tag/2.0.0

(From OE-Core rev: 5e2036babc8937253b60fa809fa8edcda26b0210)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 15:26:50 +00:00
Wang Mingyu
016eaa6001 python3-gitdb: upgrade 4.0.11 -> 4.0.12
Changelog:
===========
- Never add a vendored smmap directory to sys.path
- Revise and update the readme
- Set Dependabot submodule update cadence to weekly
- Add missing asserts in test_base.py
- Use contextlib.suppress instead of except: pass
- Add support for Python 3.13
- Potential Race Condition Fix - OS Rename & Chmod - PermissionError
- Bump gitdb/ext/smmap from 256c5a2 to 04dd210
- Bump actions/setup-python from 4 to 5

(From OE-Core rev: d899b50547e319cca8bea41301a4758e7635b6cf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 15:26:50 +00:00
Wang Mingyu
b7225b36e0 libtest-warnings-perl: upgrade 0.033 -> 0.037
Changelog:
===========
- remove unneeded use of Import::Into
- fix tests that invoke Test::Warnings->import directly
- avoid redefinition warnings when $^W is enabled in tests
- allow tests to pass even when Import::Into is not installed
- add backcompat shim for cases where Test::More is loaded in tests
  after Test::Warnings
- fix Test2 compability for done_testing()
- Test2::Warnings added as a simple wrapper (for now)

(From OE-Core rev: f203ec55e1fd12e4e6822839a4979b3054617d59)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 15:26:50 +00:00
Wang Mingyu
2389072799 libsdl2: upgrade 2.30.10 -> 2.30.11
License-Update: copyright updated to 2025

Changelog:
===========
- Fixed a crash if the controller product name is NULL
- Fixed the PS3 controller mapping on Windows
- Allow rendering during the modal resize loop on macOS
- Corrected CoreAudio surround sound channel layouts
- Enabled high refresh rates on iOS
- Fixed SDL_OpenURL() on iOS 18.2 and newer
- Implemented SDL_OpenURL() on tvOS
- Fixed Chinese locales on PSP

(From OE-Core rev: f59f1ef898993a09cdb243d80b1bab624472ea10)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 15:26:50 +00:00
Wang Mingyu
7643157938 libedit: upgrade 20240808-3.1 -> 20250104-3.1
(From OE-Core rev: 73ef22b3ae71f6967f09f7c10180c34e84327224)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 15:26:50 +00:00
Wang Mingyu
da499270cc hwdata: upgrade 0.390 -> 0.391
(From OE-Core rev: a7a1a393900ba4e3e6a526480c6ef44df9e6804f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 15:26:50 +00:00
Wang Mingyu
e9f8d0e547 gtk4: upgrade 4.16.7 -> 4.16.12
Changelog:
==========
* GtkFileChooser:
 - Fix a focus problem with the server entry

* GtkEmojiChooser:
 - Update to CLDR 46 / Unicode 16

* GtkAboutDialog:
 - Small improvements

* Wayland:
 - Fix some Vulkan sizing corner cases
 - Fix problems with rotated, offloaded images
 - Fix a few crashes

* Demos:
 - Don't create extra windows for D-Bus activation

(From OE-Core rev: ed161f0a0cbcef50c43820d58989e5a020763dbf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 15:26:50 +00:00
Wang Mingyu
a97a9cd74b erofs-utils: upgrade 1.8.3 -> 1.8.4
Changelog:
===========
- Fix unusual PAX header handling for tarerofs;
- Fix LIBARCHIVE.xattr decoding;
- Speed up handling of incompressible data;
- Add a '-E^fragdedupe' option to explicitly disable fragment deduplication;
- Fixes around '-Eall-fragments' and '-Ededupe';
- Use external xxhash library if possible.

(From OE-Core rev: 441abb84142eae10155fbcc3c5a99091afa5dfd9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 15:26:50 +00:00
Fabio Estevam
b98fae135c u-boot: upgrade 2024.10 -> 2025.01
Upgrade to U-Boot 2025.01.

Remove the patch as it has been upstreamed.

(From OE-Core rev: e16a24f04b56ca3fec6509a3286e2e3bb5c21c1e)

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 15:26:50 +00:00
Antonin Godard
d6ae2c0dec ref-manual: move runtime-testing section to the test-manual
In the same fashion as the previous commit ("ref-manual/packages: move
ptest section to the test-manual"), move the runtime testing section of
the development tasks manual to the test environment manual.

Add a link to it from the test-manual/intro document.

(From yocto-docs rev: 6b44257874858db3aa426d3e84a79c41cb4937a3)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 13:58:17 +00:00
Antonin Godard
d720994f02 ref-manual/packages: move ptest section to the test-manual
[ YOCTO #15106 ]

It makes more sense to document ptests in the test-manual. Since ptests
are still related to packages, keep a link to ptests from packages.rst
to the test-manual.

Reported-by: Yoann Congal <yoann.congal@smile.fr>
(From yocto-docs rev: b389c06b709e4791e1cce5e8a5b58f6b0cd03a14)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 13:58:17 +00:00
Antonin Godard
b301c74baf SSTATE_MIRRORS/SOURCE_MIRROR_URL: add instructions for mirror authentication
[ YOCTO #15218 ]

There are different ways of configuring the build host when
authentication to a mirror (SSTATE_MIRRORS or SOURCE_MIRROR_URL) is
required.

Document these methods, and begin with the preferred approach which is
to edit ~/.netrc appropriately. When that is not possible, specifying
the credentials from the URL is also possible, so document it as well.

Reported-by: peter.zsifkovits@at.bosch.com
Tested-by: Antonin Godard <antonin.godard@bootlin.com> # Debian 12 container
(From yocto-docs rev: 4c303cce0627e0f2ce52e72597541e220585aaed)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 13:58:17 +00:00
Antonin Godard
3ca1044360 ref-manual/devtool-reference: add warning note on deploy-target and shared objects
The command `devtool deploy-target` does not handle any dependency of
the application, even when properly listed in DEPENDS or RDEPENDS. While
the current documentation was clear on that, it felt needed to add a
note on the fact that build-time dependencies may also result in
runtime dependencies, especially for people new to the project.

Add a warning block below the existing deploy-target documentation.
Also, link to the Overview and Concepts page, which explains it
thoroughly.

[ YOCTO #14377 ]

Reported-By: Robert Berger <pokylinux@reliableembeddedsystems.com>
(From yocto-docs rev: 56c84004daad5f8a5db53e36852331435d57c8af)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 13:58:17 +00:00
Antonin Godard
2439445b16 contributor-guide/submit-changes.rst: suggest to remove the git signature
By default when sending patches Git adds the git version at the bottom
of the patch, which is not necessary in most cases. Suggest to remove it
when configuring Git when sending patches.

Suggested-By: Jaekyu Lee <jaekyu.lee@lge.com>
(From yocto-docs rev: d3465691231f10466703198a831a681803ffdfad)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 13:58:17 +00:00
Antonin Godard
18b9d46d31 ref-manual/qa-checks: remove patch-status-core/patch-status-noncore
These QA checks were merged as "patch-status" after commit
61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3 ("insane: Improve patch-status
layer filtering") in OE-Core.

[ YOCTO #15345 ]

Reported-By: Diego Sueiro <diego.sueiro@arm.com>
(From yocto-docs rev: 3f3a9f53fea6c7d533b9e999dc959dcc3bed7745)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 13:58:17 +00:00
Richard Purdie
65de362ce8 conf/distro/defaultsetup: Use include_all for maintainers.inc
Being able to set maintainers is really a "per layer" configuraiton item. Use
include_all so that such maintainer information would be added for all configured
layers, if the layer chooses to have such information in a
conf/distro/include/maintainers.inc file in a given layer.

(From OE-Core rev: d6b9dc4629642a4bf0d8f34a90bd8e3291c87501)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 13:25:11 +00:00
Robert Yang
22a5b58b8f fmt: 11.0.2 -> 11.1.1
Remove backported patch 0001-Get-rid-of-std-copy.patch.

(From OE-Core rev: 659d71114c3f2f12e4e3012d66580866486e14c0)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 13:25:11 +00:00
Colin McAllister
35f4253a10 cve-check: Rework patch parsing
The cve_check functionality to parse CVE IDs from the patch filename and
patch contents have been reworked to improve parsing and also utilize
tests. This ensures that the parsing works as intended.

Additionally, the new patched_cves dict has a few issues I tried to fix
as well. If multiple patch files exist for a single CVE ID, only the
last one will show up with the "resource" key. The value for the
"resource" key has been updated to hold a list and return all patch
files associated with a given CVE ID. Also, at the end of
get_patch_cves, CVE_STATUS can overwrite an existing entry in the dict.
This could cause an issue, for example, if a CVE has been addressed via
a patch, but a CVE_STATUS line also exists that ignores the given CVE
ID. A warning has been added if this ever happens.

(From OE-Core rev: 87c6da681609b4f8e048eca2a27ae8e068c724e1)

Signed-off-by: Colin McAllister <colinmca242@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 13:25:11 +00:00
Colin McAllister
db2146dbe6 cve-check: Fix errors in log lines
Two warning lines in cve_check.py reference a variable that doesn't
exist. These would cause a runtime error if the conditions they are
hidden in were to be entered. The log lines have been updated to no
longer reference an undefined variable.

(From OE-Core rev: c9d059e8a362b3c9d604f7ebe8fd1dd994f0af6b)

Signed-off-by: Colin McAllister <colinmca242@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 13:25:11 +00:00
Benjamin Szőke
7f9b94a8a2 systemd: Add WATCHDOG_RUNTIME_SEC optional variable
To make use of the hardware watchdog it is sufficient to set
the RuntimeWatchdogSec= option in /etc/systemd/system.conf.
It defaults to 0 (i.e. no hardware watchdog use). Set it to
a value like 20s and the watchdog is enabled.

ref: https://0pointer.de/blog/projects/watchdog.html
(From OE-Core rev: 1c61a1eb9c4faa9ab32b0440bbdd88c22c3cd945)

Signed-off-by: Benjamin Szőke <egyszeregy@freemail.hu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 13:25:11 +00:00
Hongxu Jia
ac546d2196 meta/lib/oe/sbom30.py: set alias for scan declared licenses
when using SPDX_INCLUDE_SOURCES, it calls scan_declared_licenses
to scan licenses from source file, set alias for the newly added
license and and license alias to hasDeclaredLicense relationship

$ echo 'MACHINE = "qemux86-64"' >> conf/local.conf
$ echo 'SPDX_INCLUDE_SOURCES = "1"' >> conf/local.conf
$ bitbake shadow
$ vim tmp/deploy/spdx/3.0.1/corei7-64/recipes/recipe-shadow.spdx.json
Before this commit
...
    {
      "type": "Relationship",
      ...
      "from": "http://spdx.org/spdxdocs/shadow-10e66933-65cf-5a2d-9a1d-99b12a405441/d0cdb0d02e54d55e52fccf8631f8290b161ad43fe31fffe09e8e25041d2280cf/sourcefile/11048",
      "relationshipType": "hasDeclaredLicense",
      "to": [
        "http://spdx.org/spdxdocs/shadow-10e66933-65cf-5a2d-9a1d-99b12a405441/d0cdb0d02e54d55e52fccf8631f8290b161ad43fe31fffe09e8e25041d2280cf/license/3_24_0/BSD-3-Clause",
      ]
    },
...

After this commit
...
    {
      "type": "Relationship",
      ...
      "from": "http://spdx.org/spdxdocs/shadow-10e66933-65cf-5a2d-9a1d-99b12a405441/d0cdb0d02e54d55e52fccf8631f8290b161ad43fe31fffe09e8e25041d2280cf/sourcefile/11048",
      "relationshipType": "hasDeclaredLicense",
      "to": [
        "http://spdxdocs.org/openembedded-alias/by-doc-hash/cc72db638e3f8e283e722af0ecc77d19f93cc6736700ee76477e3773b6b07b05/shadow/UNIHASH/license/3_24_0/BSD-3-Clause"
      ]
    },
...

(From OE-Core rev: 1f109e22dd22e6071685a8e55bdfe3069bc8fadb)

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>
2025-01-08 12:50:14 +00:00
Hongxu Jia
4d8103bfed meta/lib/oe/spdx30_tasks.py: set license alias to hasConcludedLicense relationship
Set license alias other than spdxId to hasConcludedLicense relationship

$ echo 'MACHINE = "qemux86-64"' >> conf/local.conf
$ bitbake shadow
$ In tmp/deploy/spdx/3.0.1/corei7-64/recipes/recipe-shadow.spdx.json
Before this commit
...
    {
      "type": "Relationship",
      ...
      "from": "http://spdx.org/spdxdocs/shadow-10e66933-65cf-5a2d-9a1d-99b12a405441/c34a0920c2f689375e786a80ab3176b844997d543b73dd5f99e6ffa8fcc72fee/source/8",
      "relationshipType": "hasConcludedLicense",
      "to": [
        "http://spdx.org/spdxdocs/shadow-10e66933-65cf-5a2d-9a1d-99b12a405441/c34a0920c2f689375e786a80ab3176b844997d543b73dd5f99e6ffa8fcc72fee/license/3_24_0/BSD-3-Clause"
      ]
    },
...

After this commit
...
    {
      "type": "Relationship",
      ...
      "from": "http://spdx.org/spdxdocs/shadow-10e66933-65cf-5a2d-9a1d-99b12a405441/c34a0920c2f689375e786a80ab3176b844997d543b73dd5f99e6ffa8fcc72fee/source/8",
      "relationshipType": "hasConcludedLicense",
      "to": [
        "http://spdxdocs.org/openembedded-alias/by-doc-hash/cc72db638e3f8e283e722af0ecc77d19f93cc6736700ee76477e3773b6b07b05/shadow/UNIHASH/license/3_24_0/BSD-3-Clause"
      ]
    },
...

(From OE-Core rev: 0530b45a5f27adff55251ce909ad4f077c1076d6)

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>
2025-01-08 12:50:14 +00:00
hongxu
0fee98b8e8 meta/lib/oe/sbom30.py: fix alias in simplelicensing_customIdToUri not extracted
After commit [spdx 3.0: Rework how SPDX aliases are linked] applied, it set
license_text_map with SPDX alias other than actual ID

The property of simplelicensing_customIdToUri is ListProp(ObjectProp(DictionaryEntry))),
and class DictionaryEntry has key and value, the property of value is StringProp other
than ObjectProp in which could not support to decode/extract SPDX alias with actual ID
in image jsonld file
-----------
      "simplelicensing_customIdToUri": [
        {
          "type": "DictionaryEntry",
          "key": "LicenseRef-PD",
          "value": "http://spdxdocs.org/openembedded-alias/by-doc-hash/d53e90e23b12c4ad640809a74a810e86f31c76cdbdf36487712d22a33d53362a/sqlite3-native/UNIHASH/license-text/PD"
        }
      ],
-----------

Add special code in the linking to manually go through all of the
simplelicensing_customIdToUri DictionaryEntry items and resolve
any aliases to actual objects
-----------
      "simplelicensing_customIdToUri": [
        {
          "type": "DictionaryEntry",
          "key": "LicenseRef-PD",
          "value": "http://spdx.org/spdxdocs/sqlite3-native-e5cc0672-d8dd-57e8-a2df-fe4615831fda/162c62b5b011cd3f82f413b3dae4d6d1542201552c964d5ce69fe170e0720b85/license-text/PD"
        }
      ]
-----------

Suggested-by: Joshua Watt <jpewhacker@gmail.com>

(From OE-Core rev: f16c2eae5a7e1a483e1d537d8711d83fede75691)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 12:49:00 +00:00
hongxu
446e74ccee meta/lib/oe/sbom30.py: correct alias
After commit [spdx 3.0: Rework how SPDX aliases are linked] applied,
it added extra "/" to namespace, which causing the replacement of
UNIHASH missing a "/"

  http://spdxdocs.org/openembedded-alias/by-doc-hash/0b308e4b9ad979f642d8787c61f76c31bdcad04837eeaaf8bc383f33f99bbeb8/flex-nativeUNIHASH/build/recipe

After applying this commit to remove "/" from namespace.

  http://spdxdocs.org/openembedded-alias/by-doc-hash/0b308e4b9ad979f642d8787c61f76c31bdcad04837eeaaf8bc383f33f99bbeb8/flex-native/UNIHASH/build/recipe

(From OE-Core rev: 708cbf00d46169ca05660b1f9f3e0653b499e9ef)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 12:49:00 +00:00
Robert Yang
6cccd3e112 libx11-compose-data: Use CONFLICT_DISTRO_FEATURES to skip when x11
So that PARSE_ALL_RECIPES will work.

(From OE-Core rev: c925098dc0faf2b69637de914958557b23615c7a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 12:37:20 +00:00
Tom Hochstein
77923f9269 mesa: Fix missing GLES3 headers in SDK sysroot
Building weston with core-image-weston SDK fails:
```
../libweston/renderer-gl/gl-shader-config-color-transformation.c:29:10: fatal error: GLES3/gl3.h: No such file or directory
   29 | #include <GLES3/gl3.h>
      |          ^~~~~~~~~~~~~
```

Both GLES2 and GLES3 implementations are contained in libGLESv2.so.2,
which is packaged in libgles2-mesa. However, the headers are split
between libgles2-mesa-dev and libgles3-mesa-dev, which is why the
GLES3 headers end up missing in the SDK sysroot.

Add a dependency so the GLES3 headers are properly associated with
the GLES3 implementation.

(From OE-Core rev: 7e1308ec413e69a8427ac5998431005d9e4b8033)

Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 12:37:20 +00:00
Joshua Watt
5cef6cbe2d lib/configfragements: enable/disable multiple fragements at once
Extends the 'enable-fragment' and 'disable-fragment' commands so that
they accept multiple fragments at once as a convenience for the user

(From OE-Core rev: 50c3cdb3a3b9c7daa55ff26d302d95e5f350e4d2)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 12:37:20 +00:00
Joshua Watt
9054345fb8 lib/configfragments: Restrict fragment file checking
The current implementation of the config fragments is too aggressive in
checking files; any file in the fragment directory is checked, including
hidden files or files with weird extensions. In particular, if an editor
is creating temporary backup files when editing, these will be checked
and will almost assuredly fail, which prevents the tool from running.

Add a filter so that only non-hidden files that end with .conf are
checked.

(From OE-Core rev: 93edab0e2bccacb808421f0766d587c576c1a12b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 12:37:20 +00:00
Wang Mingyu
ca3213f225 debugedit: Fix install conflict when enable multilib.
Error: Transaction test error:
  file /usr/bin/find-debuginfo conflicts between attempted installs of debugedit-5.1-r0.core2_64 and lib32-debugedit-5.1-r0.core2_32

The differences of find-debuginfo are as follows:

@@ -360,7 +360,7 @@ add_minidebug()
   # symbol and NOBITS sections so cannot use --keep-only because that is
   # too aggressive. Field $2 is the section name, $3 is the section type
   # and $8 are the section flags.
-  local remove_sections=`x86_64-poky-linux-readelf -W -S "$debuginfo" \
+  local remove_sections=`i686-pokymllib32-linux-readelf -W -S "$debuginfo" \
        | awk '{ if (index($2,".debug_") != 1 \
                     && ($3 == "PROGBITS" || $3 == "NOTE" || $3 == "NOBITS") \
                     && index($8,"A") == 0) \

(From OE-Core rev: 2bc0fcacf0d33eea59a33d28f7263c90c2bf0823)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 12:37:20 +00:00
Quentin Schulz
e77f8ca209 uboot-extlinux-config.bbclass: add support for DTBOs
Also known as FDTO, DTO or Device Tree Overlay.

This adds a new property per label in extlinux.conf for which device
tree overlays to apply on top of the base device tree (the one specified
in FDT or guessed by the bootloader if only FDTDIR is set). It is a
space-separated list of paths to the .dtbo file(s).

Note that the base FDT needs to have symbols enabled (DTC_FLAGS needs to
have -@ in it) for an overlay to be applicable.

This is only applicable for non-FIT setups.

(From OE-Core rev: 3ac21b32b5f5616cc7c0641fb3132eec9b27e5b7)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 12:37:20 +00:00
Quentin Schulz
bd88ecae63 uboot-extlinux-config.bbclass: simplify FDT/FDTDIR logic
The three blocks share the same LABEL and KERNEL content, so let's
factor that part out.

(From OE-Core rev: 544c0f72774e17d1dca4664c0bc21f8281dade5b)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 12:37:20 +00:00
Walter Schweizer
e78b72075f initrdscripts: add UBI support
Mounting the rootfs failed when it was on UBI.
This patch allows the rootfs to live on UBI.

(From OE-Core rev: 197867f854cc19493b28fcd2300179cfc407e0a6)

Signed-off-by: Walter Schweizer <walter.schweizer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 12:37:20 +00:00
Richard Purdie
6c10452955 python3-rpds-py: upgrade 0.21.0 -> 0.22.3
(From OE-Core rev: 9e53f800528248aca8fe93fb9cd2b4fdd43d9014)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 12:37:20 +00:00
Derek Straka
cf6b12e5c9 python3-*: Update recipes with pytest ptests to use the new ptest-python-pytest class
The newly added ptest-python-pytest removes duplication for:
  1. Copying pytest files to the ptest directory
  2. Adding standard pytest dependencies
  3. Adding a common run-ptest script using pytest

(From OE-Core rev: 8d84d9e19b9292b1863921611924714d77c41d21)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 12:37:20 +00:00
Derek Straka
095beae008 classes/ptest-python-pytest: add a new class to consolidate pytest ptest functionality
A large number of python packages leverage the pytest unit test
framework for their ptest functionality.  Currently, many of the tests
have duplicate code for:
    1. Installing pytest files
    2. Declaring ptest dependencies
    3. Script for executing tests (run-ptes)

To simplify adding common pytest based ptests, added a new class
enabling base functionality.  Users can also override the location of
the pytest files in addition to using their own version of run-ptest

[RP: Minor whitespace tweaks to shell function and missing prepend space]
(From OE-Core rev: d66009e608256d42b2d6573d4614a99eb13fd3f1)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 12:37:20 +00:00
Richard Purdie
5375cd0318 bitbake.conf: Drop obsolete and misleading comment
"packaged staging" is obsolete and now we have sstate. Multimachine is just
the norm now, I doubt people remember how things used to be!

Drop the comment as it is misleading and obsolete.

(From OE-Core rev: 808d2a526e3dd6d77c524d8faa0af3e78cf0bed6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 12:37:20 +00:00
Richard Purdie
1ddc4b5ea1 bitbake.conf: Add libstdc++-native to ASSUME_PROVIDED
Fixing native class extension code highlighted this was missing, we do assume
the system has a working libstdc++ compiler/runtime.

(From OE-Core rev: a9ae7001adeecf420d9a95654ce27d7e7b8f82a5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 12:37:20 +00:00
Richard Purdie
45308292e4 bitbake.conf: Add bash-completion-native to ASSUME_PROVIDED
With some native dependency handling fixes under discussion,
bash-completiion-native makes it into the dependency chain. Add this
to ASSUME_PROVIDED since we don't want to build it rather than trying
to remove all references in the native case (it comes from
glib-2.0-native).

(From OE-Core rev: 401706ed6d51917d76726098a767932970990805)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 12:37:20 +00:00
Richard Purdie
d702d9a926 sstate: Ensure errors cause task failure
(From OE-Core rev: c1491ef7afc8722927c568b0ac0ddbbc84837ca3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 12:37:20 +00:00
Richard Purdie
c323d56244 go-vendor: Fix absolute paths issue
When building with the class, avoid errors like:

"sstate found an absolute path symlink /xxx/vendor pointing at
/xxx/import/vendor. Please replace this with a relative link."

Use relative symlinks instead.

(From OE-Core rev: fc4f589cc7a8e5feba7940ccb244a74bd5f96371)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 12:37:20 +00:00
Nick Owens
ef7755749b bitbake: git-make-shallow: use stdin mode
when there are many refs to delete, using xargs to exec git can take a very long
time. make this faster by only running git update-ref with stdin mode.

for a repo with over 34000 git tags this makes git-make-shallow finish
in 2 seconds instead of 3 minutes for me.

(Bitbake rev: 2b815e42ec074a7f8667bbfaccaa69fc4a0ba788)

Signed-off-by: Nick Owens <nick.owens@eero.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 11:34:30 +00:00
Stefan Herbrechtsmeier
b242f0a007 bitbake: fetch2: read checksum from SRC_URI flag for npm
(Bitbake rev: 8d3232152e545be958f8f3b069e7477c6f310583)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 11:34:04 +00:00
Stefan Herbrechtsmeier
d7c6afc9a9 bitbake: fetch2: do not prefix embedded checksums
The fetcher support entries with an embedded checksum like 'sha256sum'
in the SRC_URI. It adds the parameter 'name' as prefix to the checksums
if the parameter is set. This behavior is unexpected and leads to hacks
in fetchers. Fallback to the checksum without the useless prefix and
set the parameter 'name' in the gomod fetcher unconditional.

(Bitbake rev: 7a86c5a20ea2586f1ae240613644e065e7b21683)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 11:34:04 +00:00
Stefan Herbrechtsmeier
e040b45ad2 bitbake: tests: fetch: replace [url] with urls for npm
Replace [url] with urls to simplify future modifications.

(Bitbake rev: 212f9406585a2a6ce6e128bb5975ea79f47c5522)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 11:34:04 +00:00
Stefan Herbrechtsmeier
eb0c87fa4c bitbake: fetch2: npmsw: remove old lockfile format support
Remove support for the old lockfile format. The old lockfile format is
required by npm 6 / Node.js 14 which is out of maintenance [2].

[1] https://docs.npmjs.com/cli/v6/configuring-npm/package-lock-json
[2] https://nodejs.org/en/about/previous-releases

(Bitbake rev: 7824e19483d9b60a259d6e3a4c7068fade94f2bf)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 11:34:04 +00:00
Stefan Herbrechtsmeier
c691d4d53f bitbake: tests: fetch: update npmsw tests to new lockfile format
Update npmsw test cases to new lockfile format. The old lockfile format
is required by npm 6 / Node.js 14 which is out of maintenance [2].

[1] https://docs.npmjs.com/cli/v6/configuring-npm/package-lock-json
[2] https://nodejs.org/en/about/previous-releases

(Bitbake rev: bb59d4fdaf8fb81aa3529e431dcdd4c3d665d742)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 11:34:04 +00:00
Bruce Ashfield
1f6cda3054 linux-yocto/6.12: update to v6.12.8
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    77f85ccd3618 Linux 6.12.8
    f3e6eaf033f4 ALSA: sh: Fix wrong argument order for copy_from_iter()
    f59b81fe8df9 ALSA: ump: Shut up truncated string warning
    f5c5661f02b5 Bluetooth: btusb: mediatek: change the conditions for ISO interface
    cc569d791ab2 Bluetooth: btusb: mediatek: add intf release flow when usb disconnect
    9da1cfc4f111 Bluetooth: btusb: mediatek: add callback function in btusb_disconnect
    b967b37cefdf Bluetooth: btusb: mediatek: move Bluetooth power off command position
    d508e5627038 btrfs: check folio mapping after unlock in relocate_one_folio()
    dd8bbfe72377 btrfs: check folio mapping after unlock in put_file_data()
    c3a403d8ce36 btrfs: fix use-after-free when COWing tree bock and tracing is enabled
    dbebb0cc5139 btrfs: sysfs: fix direct super block member reads
    b87c9b9ba05b btrfs: fix transaction atomicity bug when enabling simple quotas
    8faba508242b btrfs: fix swap file activation failure due to extents that used to be shared
    9f372e86b9bd btrfs: avoid monopolizing a core when activating a swap file
    f6174bb982a8 btrfs: fix race with memory mapped writes when activating swap file
    f6279a98db13 power: supply: gpio-charger: Fix set charge current limits
    c110095013ad power: supply: cros_charge-control: hide start threshold on v2 cmd
    5792ae1cb1b0 power: supply: cros_charge-control: allow start_threshold == end_threshold
    77e6c8adf8d6 power: supply: cros_charge-control: add mutex for driver data
    7182f93bb358 perf/x86/intel/ds: Add PEBS format 6
    2a9cbd6c9049 i2c: microchip-core: fix "ghost" detections
    bcfb9d856bd6 i2c: imx: add imx7d compatible string for applying erratum ERR007805
    5e44779d12bd perf/x86/intel: Fix bitmask of OCR and FRONTEND events for LNC
    aed157301c65 PCI/MSI: Handle lack of irqdomain gracefully
    1429ae7b7d47 virt: tdx-guest: Just leak decrypted memory on unrecoverable errors
    b939f108e86b x86/fred: Clear WFE in missing-ENDBRANCH #CPs
    a0d637675f2b i2c: microchip-core: actually use repeated sends
    8e8494c83cf7 io_uring/sqpoll: fix sqpoll error handling races
    4c0f79cbc42d rtla/timerlat: Fix histogram ALL for zero samples
    1cca920af19d tracing: Prevent bad count for tracing_cpumask_write
    a744146969a0 tracing: Constify string literal data member in struct trace_event_call
    8659da87d216 perf/x86/intel/uncore: Add Clearwater Forest support
    908dd70d5446 dmaengine: loongson2-apb: Change GENMASK to GENMASK_ULL
    79a47fd0f176 freezer, sched: Report frozen tasks as 'D' instead of 'R'
    2cae02a84b98 objtool: Add bch2_trans_unlocked_error() to bcachefs noreturns
    1d397722cf3e drm/xe: Move the coredump registration to the worker thread
    5db43dfda1f2 drm/xe: Take PM ref in delayed snapshot capture worker
    7d680f2f76a3 ublk: detach gendisk from ublk device if add_disk() fails
    ccdc8fd86fc7 wifi: iwlwifi: be less noisy if the NIC is dead in S3
    16b54ee81d8a blk-mq: register cpuhp callback after hctx is added to xarray table
    92d5139b9114 virtio-blk: don't keep queue frozen during system suspend
    ce55818b2d3a drm/dp_mst: Ensure mst_primary pointer is valid in drm_dp_mst_handle_up_req()
    0aca51715e68 spi: omap2-mcspi: Fix the IS_ERR() bug for devm_clk_get_optional_enabled()
    d00e75e4fecf ACPI/IORT: Add PMCG platform information for HiSilicon HIP09A
    1aea06f703de scsi: storvsc: Do not flag MAINTENANCE_IN return of SRB_STATUS_DATA_OVERRUN as an error
    05d44e2571d4 scsi: mpi3mr: Handling of fault code for insufficient power
    0dd139341f04 scsi: mpi3mr: Start controller indexing from 0
    869fdc6f0606 scsi: mpi3mr: Fix corrupt config pages PHY state is switched in sysfs
    b8ed09e397f8 scsi: mpi3mr: Synchronize access to ioctl data buffer
    4524a8d175f0 scsi: mpt3sas: Diag-Reset when Doorbell-In-Use bit is set during driver load time
    b34f7381cd10 spi: intel: Add Panther Lake SPI controller support
    fdaaf929432f bpf: Zero index arg error string for dynptr and iter
    a089dad6f92d platform/x86: asus-nb-wmi: Ignore unknown event 0xCF
    2d95df70e594 LoongArch: BPF: Adjust the parameter of emit_jirl()
    45d7745c89c1 LoongArch: Fix reserving screen info memory for above-4G firmware
    ca5995f805bb regmap: Use correct format specifier for logging range errors
    98575bd6e7b1 smb: server: Fix building with GCC 15
    532a29e8fa28 ALSA: sh: Use standard helper for buffer accesses
    4287eb3951ca ALSA: hda/conexant: fix Z60MR100 startup pop issue
    f0a3b2d9692d ALSA: ump: Update legacy substream names upon FB info update
    9dc4b8a8a415 ALSA: ump: Indicate the inactive group in legacy substream names
    fc98df1d7a9e ALSA: ump: Don't open legacy substream for an inactive group
    0a65d850c45d udf: Verify inode link counts before performing rename
    4d9b403474f0 udf: Skip parent dir link count update if corrupted
    466ca39dbf5d scsi: megaraid_sas: Fix for a potential deadlock
    65289f50c18d scsi: qla1280: Fix hw revision numbering for ISP1020/1040
    56216257d429 watchdog: mediatek: Add support for MT6735 TOPRGU/WDT
    a42417a8cffc Revert "watchdog: s3c2410_wdt: use exynos_get_pmu_regmap_by_phandle() for PMU regs"
    486fc631cc49 watchdog: rzg2l_wdt: Power on the watchdog domain in the restart handler
    b94011427ee3 watchdog: it87_wdt: add PWRGD enable quirk for Qotom QCML04
    68662d78afbc tracing/kprobe: Make trace_kprobe's module callback called after jump_label update
    a39ff5bf2357 stddef: make __struct_group() UAPI C++-friendly
    155829fd1e1d power: supply: bq24190: Fix BQ24296 Vbus regulator support
    6d9cd2710545 powerpc/pseries/vas: Add close() callback in vas_vm_ops struct
    16258a1d9303 ASoC: Intel: sof_sdw: Fix DMI match for Lenovo 21Q6 and 21Q7
    3b0f5d3e5ebd ASoC: dt-bindings: realtek,rt5645: Fix CPVDD voltage comment
    f4d68bdfaef6 ASoC: Intel: sof_sdw: Fix DMI match for Lenovo 21QA and 21QB
    7a51e3a5a1b8 ASoC: amd: ps: Fix for enabling DMIC on acp63 platform via _DSD entry
    d2f090ea57f8 mtd: rawnand: fix double free in atmel_pmecc_create_user()
    ba465de3022a platform/chrome: cros_ec_lpc: fix product identity for early Framework Laptops
    909ecf15cb70 ASoC: SOF: Intel: hda-dai: Do not release the link DMA on STOP
    54376d8d2659 dmaengine: at_xdmac: avoid null_prt_deref in at_xdmac_prep_dma_memset
    ed31336f8117 dmaengine: apple-admac: Avoid accessing registers in probe
    f5d231592430 dmaengine: fsl-edma: implement the cleanup path of fsl_edma3_attach_pd()
    4ecd6f505e4f dmaengine: amd: qdma: Remove using the private get and set dma_ops APIs
    d8c3d13f5519 dmaengine: tegra: Return correct DMA status when paused
    5dd888449338 dmaengine: dw: Select only supported masters for ACPI devices
    27dd33034561 dmaengine: mv_xor: fix child node refcount handling in early exit
    c180c3f42d34 ALSA: memalloc: prefer dma_mapping_error() over explicit address checking
    5cdf336412a9 phy: rockchip: naneng-combphy: fix phy reset
    7061849a4a17 phy: rockchip: samsung-hdptx: Set drvdata before enabling runtime PM
    e4e6217cf7a6 phy: usb: Toggle the PHY power during init
    7e7c8ffc017d phy: core: Fix that API devm_phy_destroy() fails to destroy the phy
    f797151e8479 phy: core: Fix that API devm_of_phy_provider_unregister() fails to unregister the phy provider
    09f17bfb3653 phy: core: Fix that API devm_phy_put() fails to release the phy
    479b6c2a5ff2 phy: core: Fix an OF node refcount leakage in of_phy_provider_lookup()
    a817e938a0c6 phy: core: Fix an OF node refcount leakage in _of_phy_get()
    d84bd63d4391 phy: qcom-qmp: Fix register name in RX Lane config of SC8280XP
    464b493ac4d8 mtd: rawnand: arasan: Fix missing de-registration of NAND
    acb13fcf7590 mtd: rawnand: arasan: Fix double assertion of chip-select
    ee33d36f4174 mtd: diskonchip: Cast an operand to prevent potential overflow
    b186b36a7c21 nfsd: restore callback functionality for NFSv4.0
    7b005cff0de4 nfsd: Revert "nfsd: release svc_expkey/svc_export with rcu_work"
    997cf2d8c206 bpf: Check negative offsets in __bpf_skb_min_len()
    4aa5dcb3891f tcp_bpf: Add sk_rmem_alloc related logic for tcp_bpf ingress redirection
    35727f450603 tcp_bpf: Charge receive socket buffer in bpf_tcp_ingress()
    987cf3869d77 smb: fix bytes written value in /proc/fs/cifs/Stats
    825aaa75f785 smb: client: Deduplicate "select NETFS_SUPPORT" in Kconfig
    f7ef892250f8 selftests/bpf: Fix compilation error in get_uprobe_offset()
    2175b66c7fc0 mm/vmstat: fix a W=1 clang compiler warning
    8cdfb0656965 fork: avoid inappropriate uprobe access to invalid mm
    f4ab7d74247b bpf: Fix bpf_get_smp_processor_id() on !CONFIG_SMP
    f0f2e5aa56e9 arm64: dts: broadcom: Fix L2 linesize for Raspberry Pi 5
    122a2f3550a8 ceph: allocate sparse_ext map only for sparse reads
    c1197c1457bb media: dvb-frontends: dib3000mb: fix uninit-value in dib3000_write_reg
    319addc2ad90 Linux 6.12.7
    2d129beb8dd4 epoll: Add synchronous wakeup support for ep_poll_callback
    a086c8d7f279 mm: convert partially_mapped set/clear operations to be atomic
    a095090b7015 mm: shmem: fix ShmemHugePages at swapout
    cb12d61361ce mm: use aligned address in copy_user_gigantic_page()
    b79b6fe0737f mm: use aligned address in clear_gigantic_page()
    eb9041837123 ceph: fix memory leak in ceph_direct_read_write()
    cbd952b2c4e6 ceph: fix memory leaks in __ceph_sync_read()
    28433d0b7b29 ceph: improve error handling and short/overflow-read logic in __ceph_sync_read()
    ddbbc04989f0 ceph: validate snapdirname option length when mounting
    99a37ab76a31 ceph: give up on paths longer than PATH_MAX
    adc4b70fb659 of: Fix refcount leakage for OF node returned by __of_get_dma_parent()
    c62318587c06 of: Fix error path in of_parse_phandle_with_args_map()
    501d68639106 of: address: Preserve the flags portion on 1:1 dma-ranges mapping
    e0d9c581ac73 of: property: fw_devlink: Do not use interrupt-parent directly
    185edda7d773 udmabuf: also check for F_SEAL_FUTURE_WRITE
    93f08e5c393f udmabuf: fix racy memfd sealing check
    ff561987ff12 nilfs2: prevent use of deleted inode
    4a650eb9482c nilfs2: fix buffer head leaks in calls to truncate_inode_pages()
    69860ca08e5c ocfs2: fix the space leak in LA when releasing LA
    e30e72844c1c of/irq: Fix using uninitialized variable @addr_len in API of_irq_parse_one()
    2976661ed4de of/irq: Fix interrupt-map cell length check in of_irq_parse_imap_parent()
    3931567bf175 KVM: SVM: Allow guest writes to set MSR_AMD64_DE_CFG bits
    16846e8e0ace NFS/pnfs: Fix a live lock between recalled layouts and layoutget
    4f95a2186b7f io_uring: check if iowq is killed before queuing
    06eb0894896b io_uring: Fix registered ring file refcount leak
    416226eb3f3a selftests/bpf: Use asm constraint "m" for LoongArch
    fcd39809bf67 selftests/memfd: run sysctl tests when PID namespace support is enabled
    d3e73fe7ca21 tracing: Check "%s" dereference via the field and not the TP_printk format
    683eccacc02d tracing: Add "%s" check in test_event_printk()
    71a613ceac1a tracing: Add missing helper functions in event pointer dereference check
    3985cd30472a tracing: Fix test_event_printk() to process entire print argument
    578874b2bb94 accel/ivpu: Fix WARN in ivpu_ipc_send_receive_internal()
    a1e597ee5920 accel/ivpu: Fix general protection fault in ivpu_bo_list()
    127e907e11cc smb: client: fix TCP timers deadlock after rmmod
    22b5c2acd65d KVM: x86: Play nice with protected guests in complete_hypercall_exit()
    bacd0498dea0 x86/hyperv: Fix hv tsc page based sched_clock for hibernation
    9015ebfe8ec5 tools: hv: Fix a complier warning in the fcopy uio daemon
    3dd7a30c6d7f Drivers: hv: util: Avoid accessing a ringbuffer not initialized yet
    52f46047031f fgraph: Still initialize idle shadow stacks when starting
    01b888b31b52 drm/amdgpu/mmhub4.1: fix IP version check
    b2f23a1c7181 drm/amdgpu/gfx12: fix IP version check
    5c923087adc7 drm/amdgpu/nbio7.0: fix IP version check
    f7d75bc2430f s390/mm: Fix DirectMap accounting
    f16eadc6fce4 btrfs: tree-checker: reject inline extent items with 0 ref count
    c85a41172efb btrfs: fix improper generation check in snapshot delete
    39f1ef13d8da btrfs: split bios to the fs sector size boundary
    9667c9146418 alloc_tag: fix set_codetag_empty() when !CONFIG_MEM_ALLOC_PROFILING_DEBUG
    ec12f30fe542 ring-buffer: Fix overflow in __rb_map_vma
    4234ca9884bc mm/page_alloc: don't call pfn_to_page() on possibly non-existent PFN in split_large_buddy()
    ad7c9f1f4322 vmalloc: fix accounting with i915
    6fb92e9a52e3 zram: fix uninitialized ZRAM not releasing backing device
    6d91e90cfc34 zram: refuse to use zero sized block device as backing device
    cbe4eef73d0e drm/amdgpu/smu14.0.2: fix IP version check
    ea72b2f21f74 drm/amdgpu/nbio7.7: fix IP version check
    d887a3b08ad9 drm/amdgpu/nbio7.11: fix IP version check
    1828714c091b trace/ring-buffer: Do not use TP_printk() formatting for boot mapped buffers
    b5792c162dcf block: avoid to reuse `hctx` not removed from cpuhp callback list
    0f289ba4e5ae hwmon: (tmp513) Fix interpretation of values of Temperature Result and Limit Registers
    62721d74829e hwmon: (tmp513) Fix Current Register value interpretation
    2a4a917cbab8 hwmon: (tmp513) Fix interpretation of values of Shunt Voltage and Limit Registers
    67291d601f2b drm/amdgpu: don't access invalid sched
    5d6f446eca40 i915/guc: Accumulate active runtime on gt reset
    4f02f0866342 i915/guc: Ensure busyness counter increases motonically
    7779088287dc i915/guc: Reset engine utilization buffer before registration
    17a915416b1f drm/panel: synaptics-r63353: Fix regulator unbalance
    e44cc317b8db drm/panel: st7701: Add prepare_prev_first flag to drm_panel
    4021a163e101 drm/panel: novatek-nt35950: fix return value check in nt35950_probe()
    747547972e64 drm/panel: himax-hx83102: Add a check to prevent NULL pointer dereference
    c8395bfcd0e3 dma-buf: Fix __dma_buf_debugfs_list_del argument for !CONFIG_DEBUG_FS
    c9fc8428d425 udmabuf: fix memory leak on last export_udmabuf() error path
    8e86e9909ad2 udmabuf: udmabuf_create pin folio codestyle cleanup
    004da42b8e57 drm/amdgpu: Handle NULL bo->tbo.resource (again) in amdgpu_vm_bo_update
    3818802ddc3d drm/amdgpu: fix amdgpu_coredump
    47c8b6cf1d08 drm/modes: Avoid divide by zero harder in drm_mode_vrefresh()
    ef1f520cf574 drm/amd: Update strapping for NBIO 2.5.0
    d9369f0c9f95 drm/display: use ERR_PTR on DP tunnel manager creation fail
    eed704d8ab67 thunderbolt: Don't display nvm_version unless upgrade supported
    9e2ff33ce003 thunderbolt: Improve redrive mode handling
    cb13e17466a0 thunderbolt: Add support for Intel Panther Lake-M/P
    7ccad1ee83c4 xhci: Turn NEC specific quirk for handling Stop Endpoint errors generic
    ced29f2149c9 USB: serial: option: add Telit FE910C04 rmnet compositions
    23e63f62c64f USB: serial: option: add MediaTek T7XX compositions
    50d84d15e338 USB: serial: option: add Netprisma LCUK54 modules for WWAN Ready
    121b84c987e2 USB: serial: option: add MeiG Smart SLM770A
    e6b2735a766a USB: serial: option: add TCL IK512 MBIM & ECM
    ebdfd6b0f297 hexagon: Disable constant extender optimization for LLVM prior to 19.1.0
    dedea26a149f efivarfs: Fix error on non-existent file
    065b3e27e45d i2c: riic: Always round-up when calculating bus period
    97701315e32e block: Revert "block: Fix potential deadlock while freezing queue and acquiring sysfs_lock"
    b2b4eddf2f18 net: mctp: handle skb cleanup on sock_queue failures
    7e1ad75dccf3 chelsio/chtls: prevent potential integer overflow on 32bit
    4f393ea1e2f9 net: tun: fix tun_napi_alloc_frags()
    b965edb0197a KVM: x86: Cache CPUID.0xD XSTATE offsets+sizes during module init
    ea78f77f7832 KVM: arm64: Do not allow ID_AA64MMFR0_EL1.ASIDbits to be overridden
    06e213205826 EDAC/amd64: Simplify ECC check on unified memory controllers
    20bf32f48288 irqchip/gic-v3: Work around insecure GIC integrations
    2f19001192cc mmc: mtk-sd: disable wakeup in .remove() and in the error path of .probe()
    b2dc310a5591 mmc: sdhci-tegra: Remove SDHCI_QUIRK_BROKEN_ADMA_ZEROLEN_DESC quirk
    aa9e573145e2 net: mdiobus: fix an OF node reference leak
    98031a6992c9 psample: adjust size if rate_as_probability is set
    57ed6505ba70 netdev-genl: avoid empty messages in queue dump
    67814ea2d1b0 net: dsa: restore dsa_software_vlan_untag() ability to operate on VLAN-untagged traffic
    cb82774ee721 selftests: openvswitch: fix tcpdump execution
    8fe8bffbb997 netfilter: ipset: Fix for recursive locking warning
    d2e6df65ecfb ipvs: Fix clamp() of ip_vs_conn_tab on small memory systems
    0f897e47e2e4 can: m_can: fix missed interrupts with m_can_pci
    3a3696ec46cf can: m_can: set init flag earlier in probe
    5c553262f063 net: netdevsim: fix nsim_pp_hold_write()
    b3b49641a99b net: ethernet: bgmac-platform: fix an OF node reference leak
    1f2eb6c32bae net: ethernet: oa_tc6: fix tx skb race condition between reference pointers
    b15b0df3967e net: ethernet: oa_tc6: fix infinite loop error when tx credits becomes 0
    9f88db1b771b net: hinic: Fix cleanup in create_rxqs/txqs()
    ed6f8d671933 team: Fix feature exposure when no ports are present
    b38e858ab0c0 netdev: fix repeated netlink messages in queue stats
    d924c8afe666 netdev: fix repeated netlink messages in queue dump
    938e7c364e29 ksmbd: fix broken transfers when exceeding max simultaneous operations
    7e2bb4108a05 ksmbd: count all requests in req_running counter
    280d1b743a3b net: renesas: rswitch: rework ts tags management
    69324efed0e2 ionic: use ee->offset when returning sprom data
    13355dd37e22 ionic: no double destroy workqueue
    ee2e931b2b46 ionic: Fix netdev notifier unregister on failure
    1c2d7999d152 tools/net/ynl: fix sub-message key lookup for nested attributes
    8e9ef6bdf71b netdevsim: prevent bad user input in nsim_dev_health_break_write()
    a8836eae3288 net: mscc: ocelot: fix incorrect IFH SRC_PORT field in ocelot_ifh_set_basic()
    df3dfe1a93c6 net/smc: check return value of sock_recvmsg when draining clc data
    48d5a8a304a6 net/smc: check smcd_v2_ext_offset when receiving proposal msg
    42f6beb2d577 net/smc: check v2_ext_offset/eid_cnt/ism_gid_cnt when receiving proposal msg
    47ce46349672 net/smc: check iparea_offset and ipv6_prefixes_cnt when receiving proposal msg
    45455e780f65 net/smc: check sndbuf_space again after NOSPACE flag is set in smc_poll
    841b1824750d net/smc: protect link down work from execute after lgr freed
    cec68375b8e1 cxl/region: Fix region creation for greater than x2 switches
    87d5a852f0bc cxl/pci: Fix potential bogus return value upon successful probing
    d72139fa2024 tools: hv: change permissions of NetworkManager configuration file
    bc1f8a86e34a xfs: fix zero byte checking in the superblock scrubber
    07f2f8083a7a xfs: fix sb_spino_align checks for large fsblock sizes
    5ca4ca38bc74 xfs: fix off-by-one error in fsmap's end_daddr usage
    5b935d8b7024 xfs: fix sparse inode limits on runt AG
    825fe7dae3b8 xfs: sb_spino_align is not verified
    30424481090d erofs: use buffered I/O for file-backed mounts by default
    f067d3f69d19 erofs: reference `struct erofs_device_info` for erofs_map_dev
    3e0d81efcb45 erofs: use `struct erofs_device_info` for the primary device
    910798ecd33d erofs: add erofs_sb_free() helper
    532d40c321fb s390/mm: Consider KMSAN modules metadata for paging levels
    baedaacee165 sched/dlserver: Fix dlserver time accounting
    bdd68033d11a sched/dlserver: Fix dlserver double enqueue
    0653fa6ee045 erofs: fix PSI memstall accounting
    97645ed2f3eb s390/ipl: Fix never less than zero warning
    9945c014cb01 i2c: pnx: Fix timeout in wait functions
    68298822cc95 p2sb: Do not scan and remove the P2SB device when it is unhidden
    5969df5eaad4 p2sb: Move P2SB hide and unhide code to p2sb_scan_and_cache()
    de96c4de9c87 p2sb: Introduce the global flag p2sb_hidden_by_bios
    e6e1555d2170 p2sb: Factor out p2sb_read_from_cache()
    ecffd162e97e sched/eevdf: More PELT vs DELAYED_DEQUEUE
    0ee98301f1f0 sched/fair: Fix sched_can_stop_tick() for fair tasks
    5dbe6816c491 sched/fair: Fix NEXT_BUDDY
    5d4380ec054e RISC-V: KVM: Fix csr_write -> csr_set for HVIEN PMU overflow bit
    891c43f4f9a8 firmware: arm_ffa: Fix the race around setting ffa_dev->properties
    e385c781a305 firmware: arm_scmi: Fix i.MX build dependency
    9d5dd7ccea1b net: stmmac: fix TSO DMA API usage causing oops
    e3e54ad9eff8 net: sched: fix ordering of qlen adjustment
    e9d65b48ce1a Linux 6.12.6
    5013bd1e23dc x86/static-call: fix 32-bit build
    f6e1c44d731a x86/xen: remove hypercall page
    42d50bb38a69 x86/xen: use new hypercall functions instead of hypercall page
    3fbfac0f3044 x86/xen: add central hypercall functions
    f7c3fdad0a47 x86/xen: don't do PV iret hypercall through hypercall page
    fa0f23a60ea5 x86/static-call: provide a way to do very early static-call updates
    c6eef3643608 objtool/x86: allow syscall instruction
    505b3523644d x86: make get_cpu_vendor() accessible from Xen code
    7728e974ffbf xen/netfront: fix crash when removing device
    1e04ca11a444 KVM: arm64: Disable MPAM visibility by default and ignore VMM writes
    5804b6a7f67c rust: kbuild: set `bindgen`'s Rust target version
    f1a494df8350 block: Fix potential deadlock while freezing queue and acquiring sysfs_lock
    c1291ea131d1 blk-mq: move cpuhp callback registering out of q->sysfs_lock
    7ccd62135403 kselftest/arm64: abi: fix SVCR detection
    eea698975153 blk-iocost: Avoid using clamp() on inuse in __propagate_weights()
    b0193a31a0ca drm/xe/reg_sr: Remove register pool
    3c73dad37c31 drm/xe: fix the ERR_PTR() returned on failure to allocate tiny pt
    0d66dd490427 net: dsa: tag_ocelot_8021q: fix broken reception
    124bedb2889b net: dsa: microchip: KSZ9896 register regmap alignment to 32 bit boundaries
    b7f75516fe11 net: renesas: rswitch: fix initial MPIC register setting
    d20ff1d3cb40 Bluetooth: btmtk: avoid UAF in btmtk_process_coredump
    cbe640d6cae5 Bluetooth: iso: Fix circular lock in iso_conn_big_sync
    c541d7b5e179 Bluetooth: iso: Fix circular lock in iso_listen_bis
    d0f4a51246e2 Bluetooth: SCO: Add support for 16 bits transparent voice setting
    827f30b1dfaf Bluetooth: iso: Fix recursive locking warning
    4ca50db1c567 Bluetooth: iso: Always release hdev at the end of iso_listen_bis
    f9ecc90b5d50 Bluetooth: hci_event: Fix using rcu_read_(un)lock while iterating
    458aa6704c00 ACPICA: events/evxfregn: don't release the ContextMutex that was never acquired
    b21a849764a4 ASoC: Intel: sof_sdw: Add space for a terminator into DAIs array
    e500152469fd team: Fix feature propagation of NETIF_F_GSO_ENCAP_ALL
    eddf3105e619 team: Fix initial vlan_feature set in __team_compute_features
    c6b9b1f67b6d bonding: Fix feature propagation of NETIF_F_GSO_ENCAP_ALL
    6069914e0f42 bonding: Fix initial {vlan,mpls}_feature set in bond_compute_features
    4b8fd0751a2a net, team, bonding: Add netdev_base_features helper
    356078a5c55e net/sched: netem: account for backlog updates from child qdisc
    62380275954e net: dsa: felix: fix stuck CPU-injected packets with short taprio windows
    9f468bfed1fb net: mana: Fix irq_contexts memory leak in mana_gd_setup_irqs
    9fda340cbfbf net: mana: Fix memory leak in mana_gd_setup_irqs
    7cf0bd232b56 netfilter: nf_tables: do not defer rule destruction via call_rcu
    45fe76573a25 netfilter: IDLETIMER: Fix for possible ABBA deadlock
    baf9d7f5a75f selftests: netfilter: Stabilize rpath.sh
    c3a2fb308678 ASoC: fsl_spdif: change IFACE_PCM to IFACE_MIXER
    1e65b0511203 ASoC: fsl_xcvr: change IFACE_PCM to IFACE_MIXER
    eef2a7d8113c libperf: evlist: Fix --cpu argument on hybrid platform
    13ba06e2601e Bluetooth: Improve setsockopt() handling of malformed user input
    e4ac72dd79e0 ASoC: tas2781: Fix calibration issue in stress test
    0e01edde2559 net: renesas: rswitch: handle stop vs interrupt race
    92007a28f954 net: renesas: rswitch: avoid use-after-put for a device tree node
    df3aa9c5600d net: renesas: rswitch: fix leaked pointer on error path
    d39c2d9577c4 net: renesas: rswitch: fix race window between tx start and complete
    f36e30822f1a net: renesas: rswitch: fix possible early skb release
    0dfcc215b4ce cifs: Fix rmdir failure due to ongoing I/O on deleted file
    3f5bf3dc6f31 Documentation: networking: Add a caveat to nexthop_compat_mode sysctl
    fe9274027697 bnxt_en: Fix aggregation ID mask to prevent oops on 5760X chips
    e7b02a0febbc block: get wp_offset by bdev_offset_from_zone_start
    0749982c51da Documentation: PM: Clarify pm_runtime_resume_and_get() return value
    f5e71ae56cb7 ASoC: amd: yc: Fix the wrong return value
    36c0764474b6 ALSA: control: Avoid WARN() for symlink errors
    586241f4160e qca_spi: Make driver probing reliable
    6df6cab9b6eb qca_spi: Fix clock speed for multiple QCA7000
    51403c89a789 cxgb4: use port number to set mac addr
    889825d9a475 ACPI: resource: Fix memory resource type union access
    53654cd4c896 net: sparx5: fix the maximum frame length register
    730ab6397a18 net: sparx5: fix FDMA performance issue
    771e7fc9f186 spi: aspeed: Fix an error handling path in aspeed_spi_[read|write]_user()
    10eb845a8719 regulator: axp20x: AXP717: set ramp_delay
    6a4c7173a645 net: mscc: ocelot: perform error cleanup in ocelot_hwstamp_set()
    266ac61e5911 net: mscc: ocelot: be resilient to loss of PTP packets during transmission
    2a80ea8b2541 net: mscc: ocelot: ocelot->ts_id_lock and ocelot_port->tx_skbs.lock are IRQ-safe
    123515f97cab net: mscc: ocelot: improve handling of TX timestamp for unknown skb
    b12cdb8f2e9c net: mscc: ocelot: fix memory leak on ocelot_port_add_txtstamp_skb()
    6610c7f8a8d4 net: defer final 'struct net' free in netns dismantle
    2b351355bbd5 net: lapb: increase LAPB_HEADER_LEN
    35fe39bc39af bnxt_en: Fix GSO type for HW GRO packets on 5750X chips
    aca99e1fa9d7 ptp: kvm: x86: Return EOPNOTSUPP instead of ENODEV from kvm_arch_ptp_init()
    04ac4bd0faf7 selftests: mlxsw: sharedbuffer: Ensure no extra packets are counted
    0e69887a8932 selftests: mlxsw: sharedbuffer: Remove duplicate test cases
    735742ef07b9 selftests: mlxsw: sharedbuffer: Remove h1 ingress test case
    c2f296183c61 wifi: cfg80211: sme: init n_channels before channels[] access
    a59c61a1869c net/mlx5: DR, prevent potential error pointer dereference
    a852c82eda49 tipc: fix NULL deref in cleanup_bearer()
    14a122007c04 batman-adv: Do not let TT changes list grows indefinitely
    b2abe3570749 batman-adv: Remove uninitialized data in full table TT response
    075704ca741a batman-adv: Do not send uninitialized TT changes
    cc9b20ddc2d2 amdgpu/uvd: get ring reference from rq scheduler
    212846fafb75 acpi: nfit: vmalloc-out-of-bounds Read in acpi_nfit_ctl
    6234eda09372 perf machine: Initialize machine->env to address a segfault
    80579c198dd2 wifi: mac80211: fix station NSS capability initialization order
    fbe94d4ab93e wifi: mac80211: fix a queue stall in certain cases of CSA
    1145c393651c wifi: mac80211: init cnt before accessing elem in ieee80211_copy_mbssid_beacon
    f850d1d9f110 wifi: nl80211: fix NL80211_ATTR_MLO_LINK_ID off-by-one
    ce1ecccd6d4e perf tools: Fix build-id event recording
    b2fc4b17fc13 bpf: Augment raw_tp arguments with PTR_MAYBE_NULL
    2bd517bafc38 bpf, sockmap: Fix update element with same
    bf2318e288f6 bpf, sockmap: Fix race between element replace and close()
    dfb15ddf3b65 bpf,perf: Fix invalid prog_array access in perf_event_detach_bpf_prog
    e6d1dec1424c bpf: Fix theoretical prog_array UAF in __uprobe_perf_func()
    2c3ca17a071a bpf: Check size for BTF-based ctx access of pointer members
    6aefe5d97ae5 xfs: unlock inodes when erroring out of xfs_trans_alloc_dir
    202f2350e6a0 xfs: only run precommits once per transaction object
    704d5733bf39 xfs: fix scrub tracepoints when inode-rooted btrees are involved
    181cb9643633 xfs: return from xfs_symlink_verify early on V4 filesystems
    3b6616ffc99b xfs: fix null bno_hint handling in xfs_rtallocate_rtg
    3e2f62d1d773 xfs: return a 64-bit block count from xfs_btree_count_blocks
    31ecfd1d4f74 xfs: don't drop errno values when we fail to ficlone the entire range
    8fb661bfcb92 xfs: update btree keys correctly when _insrec splits an inode root block
    9a741ed41242 xfs: set XFS_SICK_INO_SYMLINK_ZAPPED explicitly when zapping a symlink
    2d981e170fb2 drm/amdkfd: hard-code MALL cacheline size for gfx11, gfx12
    01bdb31fc5aa drm/amdkfd: hard-code cacheline size for gfx11
    768442d91893 drm/amdkfd: Dereference null return value
    5a6bd9350424 drm/amdgpu: fix when the cleaner shader is emitted
    bd882c3ca13e drm/amd/pm: Set SMU v13.0.7 default workload type
    6c4102522abf drm/amdgpu: fix UVD contiguous CS mapping problem
    e6ebe4f14a26 drm/i915: Fix NULL pointer dereference in capture_engine
    8ce157e38f4a drm/i915/color: Stop using non-posted DSB writes for legacy LUT
    b9dd95dc5eec drm/i915: Fix memory leak by correcting cache object name in error handler
    bfb6f5ea906b drm/amdkfd: pause autosuspend when creating pdd
    840527f4a818 drm/xe: Call invalidation_fence_fini for PT inval fences in error state
    ffd774c34774 iommu/vt-d: Fix qi_batch NULL pointer with nested parent domain
    9a0a72d3ed91 iommu/vt-d: Remove cache tags before disabling ATS
    568e3a7546f6 iommu/tegra241-cmdqv: do not use smp_processor_id in preemptible context
    9e77eb481ba6 usb: dwc3: xilinx: make sure pipe clock is deselected in usb2 only mode
    d32babf3feea usb: typec: ucsi: Fix completion notifications
    dd6b0ca6025f usb: gadget: u_serial: Fix the issue that gs_start_io crashed due to accessing null pointer
    7737279ce67c usb: typec: anx7411: fix OF node reference leaks in anx7411_typec_switch_probe()
    b089cdb7e199 usb: dwc3: imx8mp: fix software node kernel dump
    f4911ecc0034 usb: typec: anx7411: fix fwnode_handle reference leak
    0967e8e734b8 usb: ehci-hcd: fix call balance of clocks handling routines
    f73c42713523 usb: gadget: midi2: Fix interpretation of is_midi1 bits
    cab34b0c9da7 scsi: ufs: core: Update compl_time_stamp_local_clock after completing a cqe
    681cdeb6dfd1 usb: dwc2: Fix HCD port connection race
    5aae028263d9 usb: dwc2: hcd: Fix GetPortStatus & SetPortFeature
    54db591cb797 usb: dwc2: Fix HCD resume
    22671807181c ata: sata_highbank: fix OF node reference leak in highbank_initialize_phys()
    5de70cdf42c1 bpf: Revert "bpf: Mark raw_tp arguments with PTR_MAYBE_NULL"
    2588c29afdc8 usb: core: hcd: only check primary hcd skip_phy_initialization
    d7a7e501fb72 gpio: graniterapids: Check if GPIO line can be used for IRQs
    e1ae30510440 gpio: graniterapids: Determine if GPIO pad can be used by driver
    9e45c2eea3f7 gpio: graniterapids: Fix invalid RXEVCFG register bitmask
    7247fa29c7bb gpio: graniterapids: Fix invalid GPI_IS register offset
    6832fcfb44da gpio: graniterapids: Fix incorrect BAR assignment
    e631cab10c6b gpio: graniterapids: Fix vGPIO driver crash
    0eae680d03fb block: Ignore REQ_NOWAIT for zone reset and zone finish operations
    15e56cd38546 usb: host: max3421-hcd: Correctly abort a USB request.
    8f2cf4d32b15 drm/panic: remove spurious empty line to clean warning
    71c359f6a4f7 crypto: hisilicon/debugfs - fix the struct pointer incorrectly offset problem
    3abfc4130c42 riscv: Fix IPIs usage in kfence_protect_page()
    abf985f61a01 ALSA: hda/realtek: Fix headset mic on Acer Nitro 5
    3be6628c4746 ALSA: usb-audio: Add implicit feedback quirk for Yamaha THR5
    e4dbfa63612b gpio: ljca: Initialize num before accessing item in ljca_gpio_config
    e9bce603fb21 spi: rockchip: Fix PM runtime count on no-op cs
    825bccd94343 memcg: slub: fix SUnreclaim for post charged objects
    6e564f2ae924 gpio: graniterapids: Fix GPIO Ack functionality
    7fa80134cf26 block: Prevent potential deadlocks in zone write plug error recovery
    a4b656ea1b90 dm: Fix dm-zoned-reclaim zone write pointer alignment
    eea49fcea50a block: Use a zone write plug BIO work for REQ_NOWAIT BIOs
    cbd06d98087c block: Switch to using refcount_t for zone write plugs
    29d1e06560f0 blk-cgroup: Fix UAF in blkcg_unpin_online()
    7174f13ea28a riscv: Fix wrong usage of __pa() on a fixmap address
    344945806f2f riscv: mm: Do not call pmd dtor on vmemmap page table teardown
    edd776618eee virtio_net: ensure netdev_tx_reset_queue is called on tx ring resize
    098b9821fe26 virtio_ring: add a func argument 'recycle_done' to virtqueue_resize()
    b4294d4ac61f virtio_net: correct netdev_tx_reset_queue() invocation point
    9891675bba06 perf ftrace: Fix undefined behavior in cmp_profile_data()
    8aa9d1ff5b7f tcp: check space before adding MPTCP SYN options
    26702b3439f5 splice: do not checksum AF_UNIX sockets
    a39e31e22a53 ksmbd: fix racy issue from session lookup and expire
    0535f67fbafa clk: en7523: Fix wrong BUS clock for EN7581
    c0ab5e01a51a perf/x86/intel/ds: Unconditionally drain PEBS DS when changing PEBS_DATA_CFG
    a3d85c14899b sched/deadline: Fix replenish_dl_new_period dl_server condition
    9b53d2c2a38a bpf: Fix UAF via mismatching bpf_prog/attachment RCU flavors
    7415bc5198ef serial: sh-sci: Check if TX data was written to device in .tx_empty()
    1832e61d879c usb: misc: onboard_usb_dev: skip suspend/resume sequence for USB5744 SMBus support
    7160a4379dcc arch/arm64/configs: remove CONFIG_SM_DISPCC_8650
    6d8ac5ebe6e8 aufs6: core
    587abc1b64c4 aufs6: standalone
    1af41d30ef42 aufs6: mmap
    6ee2464d2e9d aufs6: base
    103b676505f7 aufs6: kbuild
    67281562943f qemux86: add configuration symbol to select values
    73f315ca0823 sched/isolation: really align nohz_full with rcu_nocbs
    1e4e7f8ab622 clear_warn_once: add a clear_warn_once= boot parameter
    918e7a825e8b clear_warn_once: bind a timer to written reset value
    f533f87c3758 clear_warn_once: expand debugfs to include read support
    f149ca27cba9 tools: Remove some options from CLANG_CROSS_FLAGS
    e633abe9c44e libbpf: Fix build warning on ref_ctr_off
    ec0916a4cfc1 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    03721ceb5626 perf: x86-32: explicitly include <errno.h>
    4c36c5295bb0 perf: mips64: Convert __u64 to unsigned long long
    b0200449610d perf: fix bench numa compilation
    aff0940b2212 perf: add SLANG_INC for slang.h
    ef912018d28c perf: add sgidefs.h to for mips builds
    d8860f858b87 perf: change --root to --prefix for python install
    dc38a0eee6e5 perf: add 'libperl not found' warning
    6ed51f8786da perf: force include of <stdbool.h>
    c538d4c4ac65 fat: Replace prandom_u32() with get_random_u32()
    63d94846f0c5 fat: don't use obsolete random32 call in namei_vfat
    7816667451ef FAT: Added FAT_NO_83NAME
    f81dbd60f0d5 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    771cdefba44b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    a24784fd8f88 yaffs2: update to v6.12 folio changes
    d0a48fd46db8 yaffs2: adapt to v6.10 i_time changes
    d097e4d4115a yaffs: fix mtime/itime field access
    4411e0d49fe3 yaffs2: update VFS ctime operations to 6.6+
    1b6619086e8b yaffs2: v6.5 fixups
    25b261ee3c54 yaffs2: Fix miscalculation of devname buffer length
    5c07936a5d1c yaffs2: convert user_namespace to mnt_idmap
    55986a1284b3 yaffs2: replace bdevname call with sprintf
    6f5508f8db8f yaffs2: convert read_page -> readfolio
    fd179a5df5d5 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    c9a620dacdd1 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    78588208ed17 yaffs2: v5.12+ build fixups (not runtime tested)
    8d2dddba272c yaffs: include blkdev.h
    8c1ca9ef9712 yaffs: Fix build failure by handling inode i_version with proper atomic API
    27005cbac2ed yaffs2: v5.6 build fixups
    668211c9f9b7 yaffs2: fix memory leak when /proc/yaffs is read
    285f911dcc1c yaffs: add strict check when call yaffs_internal_read_super
    ffc2ed489ccf yaffs: repair yaffs_get_mtd_device
    6dce4b70a5e3 yaffs: Fix build failure by handling inode i_version with proper atomic API
    19f283abc5d1 yaffs2: fix memory leak in mount/umount
    04e84672b571 yaffs: Avoid setting any ACL releated xattr
    4f221d6a32e2 Yaffs:check oob size before auto selecting Yaffs1
    81f36004e56b fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    26d7a3dd0054 yaffs2: adjust to proper location of MS_RDONLY
    a7016eac4540 yaffs2: import git revision b4ce1bb (jan, 2020)
    feb240bbb91e initramfs: allow an optional wrapper script around initramfs generation
    874746eaa341 drivers: gpu: drm: msm: registers: improve reproducibility
    1d42508faee8 tools: use basename to identify file in gen-mach-types
    4b055eca593d iwlwifi: select MAC80211_LEDS conditionally
    97e20e275ac0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    6dec58319165 defconfigs: drop obselete options
    a416ccb5b6c9 linux-yocto: Handle /bin/awk issues
    7efe8a1e5158 uvesafb: provide option to specify timeout for task completion
    78d10ae07eca uvesafb: print error message when task timeout occurs
    80473b7eb8ca compiler.h: Undef before redefining __attribute_const__
    ddeff2f1a9a7 vmware: include jiffies.h
    3dcdda8912b4 Resolve jiffies wrapping about arp
    3b1507db6735 nfs: Allow default io size to be configured.
    c2fedad05f77 check console device file on fs when booting
    208d6fbada3f mount_root: clarify error messages for when no rootfs found
    dbe9454c8ea0 mconf: fix output of cflags and libraries
    7c7b224f5cce menuconfig,mconf-cfg: Allow specification of ncurses location
    b6c189c81397 modpost: mask trivial warnings
    a5cc21325ba9 kbuild: exclude meta directory from distclean processing
    361ec143c23f powerpc: serialize image targets
    605e6ccb304c arm: serialize build targets
    e94b04fcb7d2 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    44cc7f69a0a0 cpu/amd: inhibit SMP check for qemux86
    a08cb65331e6 x86_64_defconfig: Fix warnings
    8ad332ef777b mips: make current_cpu_data preempt safe
    754f05ddce3f mips: vdso: fix 'jalr $t9' crash in vdso code
    325ff78ff44d mips: Kconfig: add QEMUMIPS64 option
    99ae0eadcf11 4kc cache tlb hazard: tlbp cache coherency
    c6894c66a534 malta uhci quirks: make allowance for slow 4k(e)c
    8b52c01f3294 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    16c7629f035e drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    6b60c874cbb0 arm64: defconfig: cleanup config options
    8e44673ecd89 vexpress: Pass LOADADDR to Makefile
    f34e6805aad5 arm: ARM EABI socketcall
    94dec9b88de4 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 06f72780010ea628ade2c3838a05c5966750cc2e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-04 12:34:04 +00:00
Bruce Ashfield
7b4f1b737f linux-yocto/6.6: update to v6.6.69
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    a30cd70ab75a Linux 6.6.69
    ee18012c8015 block: avoid to reuse `hctx` not removed from cpuhp callback list
    937fcde0e971 ALSA: hda/realtek: Fix spelling mistake "Firelfy" -> "Firefly"
    ff4dff0bbe79 x86/cpu/intel: Drop stray FAM6 check with new Intel CPU model defines
    0098f6a62ac7 ALSA: sh: Fix wrong argument order for copy_from_iter()
    1ce362065899 btrfs: sysfs: fix direct super block member reads
    6e1a82259307 btrfs: avoid monopolizing a core when activating a swap file
    13eb3cae1d8e power: supply: gpio-charger: Fix set charge current limits
    c484dbafbae9 i2c: microchip-core: fix "ghost" detections
    e1cc0e256092 i2c: imx: add imx7d compatible string for applying erratum ERR007805
    b1f7476e07b9 PCI/MSI: Handle lack of irqdomain gracefully
    3f66c65f6525 i2c: microchip-core: actually use repeated sends
    80120bb4eef7 io_uring/sqpoll: fix sqpoll error handling races
    03041e474a6a tracing: Prevent bad count for tracing_cpumask_write
    dafa7332e7c0 tracing: Constify string literal data member in struct trace_event_call
    c1a26ea77f81 freezer, sched: Report frozen tasks as 'D' instead of 'R'
    60b57dc761d3 drm/amdkfd: pause autosuspend when creating pdd
    4312b60fa7ac drm/amdkfd: Use device based logging for errors
    9f7042ffc7f3 drm/amdkfd: drop struct kfd_cu_info
    798f21e8a655 drm/amdkfd: reduce stack size in kfd_topology_add_device()
    8406848671ce x86/cpu: Add Lunar Lake to list of CPUs with a broken MONITOR implementation
    fe48d03286b2 x86/cpu/intel: Switch to new Intel CPU model defines
    d7ac1856b6ec x86/cpu/vfm: Update arch/x86/include/asm/intel-family.h
    cb3491e875f6 x86/cpu/vfm: Add/initialize x86_vfm field to struct cpuinfo_x86
    f3a3192993da x86/cpu: Add model number for another Intel Arrow Lake mobile processor
    224d693c9203 x86/cpu: Add model number for Intel Clearwater Forest processor
    14172f8e9485 drm/amdgpu/hdp6.0: do a posting read when flushing HDP
    c9ad5cbf2495 drm/amdgpu/hdp5.0: do a posting read when flushing HDP
    f60770d660dc drm/amdgpu/hdp4.0: do a posting read when flushing HDP
    a9cb2cc5b8b5 drm/amd/amdgpu: allow use kiq to do hdp flush under sriov
    36a6e8aeae4a pmdomain: core: Add missing put_device()
    13ced1c4980e ALSA: hda/realtek: fix micmute LEDs don't work on HP Laptops
    31fc2ce99308 ALSA: hda/realtek: fix mute/micmute LEDs don't work for EliteBook X G1i
    2d2b19ed4169 sched/task_stack: fix object_is_on_stack() for KASAN tagged pointers
    1258986bbd17 MIPS: mipsregs: Set proper ISA level for virt extensions
    37ee3b66eb62 MIPS: Probe toolchain support of -msym32
    58bf93580fec blk-mq: move cpuhp callback registering out of q->sysfs_lock
    079fcc926b0b blk-mq: register cpuhp callback after hctx is added to xarray table
    12c0ddd6c551 virtio-blk: don't keep queue frozen during system suspend
    9735d40f5fde drm/dp_mst: Ensure mst_primary pointer is valid in drm_dp_mst_handle_up_req()
    5edf9f786a18 spi: omap2-mcspi: Fix the IS_ERR() bug for devm_clk_get_optional_enabled()
    3556af9a68af scsi: storvsc: Do not flag MAINTENANCE_IN return of SRB_STATUS_DATA_OVERRUN as an error
    cf4bea16bb6d scsi: mpt3sas: Diag-Reset when Doorbell-In-Use bit is set during driver load time
    cecca8b42063 spi: intel: Add Panther Lake SPI controller support
    eb9b647a6834 platform/x86: asus-nb-wmi: Ignore unknown event 0xCF
    4eb54230b0ba LoongArch: BPF: Adjust the parameter of emit_jirl()
    5fc47124442d LoongArch: Fix reserving screen info memory for above-4G firmware
    5e448ea8df48 regmap: Use correct format specifier for logging range errors
    3ad1feaa0bd0 smb: server: Fix building with GCC 15
    7dbf2af85cd3 ALSA: sh: Use standard helper for buffer accesses
    39c860c96c64 ALSA: hda/conexant: fix Z60MR100 startup pop issue
    3dea3c59c4bd udf: Skip parent dir link count update if corrupted
    f50783148ec9 scsi: megaraid_sas: Fix for a potential deadlock
    fbd7deb459b2 scsi: qla1280: Fix hw revision numbering for ISP1020/1040
    ab9ae7e789ab watchdog: mediatek: Add support for MT6735 TOPRGU/WDT
    e64809e8754a watchdog: it87_wdt: add PWRGD enable quirk for Qotom QCML04
    d4d67fa7158d tracing/kprobe: Make trace_kprobe's module callback called after jump_label update
    23681bc4b59f stddef: make __struct_group() UAPI C++-friendly
    b7f60ffdfd96 powerpc/pseries/vas: Add close() callback in vas_vm_ops struct
    dd45c8778273 mtd: rawnand: fix double free in atmel_pmecc_create_user()
    e658f1c133b8 dmaengine: at_xdmac: avoid null_prt_deref in at_xdmac_prep_dma_memset
    aa2381a1ea39 dmaengine: apple-admac: Avoid accessing registers in probe
    34d2c9c6de73 dmaengine: fsl-edma: implement the cleanup path of fsl_edma3_attach_pd()
    f2705359161f dmaengine: tegra: Return correct DMA status when paused
    8cf5aa06d074 dmaengine: dw: Select only supported masters for ACPI devices
    7f92f287b0fa dmaengine: mv_xor: fix child node refcount handling in early exit
    908806a2e789 phy: rockchip: naneng-combphy: fix phy reset
    96173874d6b8 phy: usb: Toggle the PHY power during init
    94dd7d0665ec phy: core: Fix that API devm_phy_destroy() fails to destroy the phy
    216b9f8335b5 phy: core: Fix that API devm_of_phy_provider_unregister() fails to unregister the phy provider
    58068f8b7a55 phy: core: Fix that API devm_phy_put() fails to release the phy
    80a6eeb3a73a phy: core: Fix an OF node refcount leakage in of_phy_provider_lookup()
    293b3748abab phy: core: Fix an OF node refcount leakage in _of_phy_get()
    826acec1a9f9 phy: qcom-qmp: Fix register name in RX Lane config of SC8280XP
    36094da8b402 mtd: rawnand: arasan: Fix missing de-registration of NAND
    649ba9c1712b mtd: rawnand: arasan: Fix double assertion of chip-select
    3970d6b335fb mtd: diskonchip: Cast an operand to prevent potential overflow
    15c184b4e7cf nfsd: restore callback functionality for NFSv4.0
    488304065d0d nfsd: Revert "nfsd: release svc_expkey/svc_export with rcu_work"
    0326fbf69311 bpf: Check negative offsets in __bpf_skb_min_len()
    343a932a05f4 tcp_bpf: Add sk_rmem_alloc related logic for tcp_bpf ingress redirection
    9dbc7e0e5ce5 tcp_bpf: Charge receive socket buffer in bpf_tcp_ingress()
    9ef08c3fe764 mm/vmstat: fix a W=1 clang compiler warning
    d41fa58fca6f ceph: allocate sparse_ext map only for sparse reads
    44e518abbb49 ceph: fix memory leak in ceph_direct_read_write()
    fb98248fc4a2 ceph: try to allocate a smaller extent map for sparse read
    1d6de21f0029 media: dvb-frontends: dib3000mb: fix uninit-value in dib3000_write_reg
    3ee19fb278a6 Linux 6.6.68
    fd4d53318e96 dt-bindings: net: fec: add pps channel property
    c226b0f0d8b0 drm/amdgpu: Handle NULL bo->tbo.resource (again) in amdgpu_vm_bo_update
    194532af82a1 net: fec: make PPS channel configurable
    897bab2abdac net: fec: refactor PPS channel configuration
    4cba44122663 io_uring/rw: avoid punting to io-wq directly
    41928840172e io_uring/rw: treat -EOPNOTSUPP for IOCB_NOWAIT like -EAGAIN
    6c27fc6a783c io_uring/rw: split io_read() into a helper
    d9831a655e13 epoll: Add synchronous wakeup support for ep_poll_callback
    b3ab12531d0d ceph: fix memory leaks in __ceph_sync_read()
    a07c0908e368 ceph: improve error handling and short/overflow-read logic in __ceph_sync_read()
    f006f6eaea7b ceph: validate snapdirname option length when mounting
    7094f3b6df92 of: Fix refcount leakage for OF node returned by __of_get_dma_parent()
    a7e5dc8d5da1 of: Fix error path in of_parse_phandle_with_args_map()
    50c960e79921 udmabuf: also check for F_SEAL_FUTURE_WRITE
    284760b320a0 nilfs2: prevent use of deleted inode
    cfb608b4cf22 nilfs2: fix buffer head leaks in calls to truncate_inode_pages()
    fdfa42cefba4 of/irq: Fix using uninitialized variable @addr_len in API of_irq_parse_one()
    dd3412f29899 of/irq: Fix interrupt-map cell length check in of_irq_parse_imap_parent()
    96c9ff350476 NFS/pnfs: Fix a live lock between recalled layouts and layoutget
    2ca94c8de360 io_uring: check if iowq is killed before queuing
    a73f0425f44b io_uring: Fix registered ring file refcount leak
    24047899f94e selftests/bpf: Use asm constraint "m" for LoongArch
    8b7dfdf3dbd7 selftests/memfd: run sysctl tests when PID namespace support is enabled
    2f6ad0b613cd tracing: Add "%s" check in test_event_printk()
    cc2c77b35186 tracing: Add missing helper functions in event pointer dereference check
    452e89f1588d tracing: Fix test_event_printk() to process entire print argument
    906807c734ed smb: client: fix TCP timers deadlock after rmmod
    3d2634ec0d1d KVM: x86: Play nice with protected guests in complete_hypercall_exit()
    89fcec5e466b Drivers: hv: util: Avoid accessing a ringbuffer not initialized yet
    a41ee016b5df btrfs: tree-checker: reject inline extent items with 0 ref count
    90ae5b7a1c52 vmalloc: fix accounting with i915
    0b5b0b65561b zram: fix uninitialized ZRAM not releasing backing device
    aca0f94c25de zram: refuse to use zero sized block device as backing device
    da61286b6512 hwmon: (tmp513) Fix interpretation of values of Temperature Result and Limit Registers
    7e3b14abe39a hwmon: (tmp513) Fix Current Register value interpretation
    c680302c5eeb hwmon: (tmp513) Fix interpretation of values of Shunt Voltage and Limit Registers
    81a3738bed1a hwmon: (tmp513) Use SI constants from units.h
    d0823a2fe057 hwmon: (tmp513) Simplify with dev_err_probe()
    9d207df1282a hwmon: (tmp513) Don't use "proxy" headers
    da6b2c626ae7 drm/amdgpu: don't access invalid sched
    b91184b59437 i915/guc: Accumulate active runtime on gt reset
    7871b0d81a3b i915/guc: Ensure busyness counter increases motonically
    b5e8103c46aa i915/guc: Reset engine utilization buffer before registration
    5f46feefa5ef drm/panel: novatek-nt35950: fix return value check in nt35950_probe()
    b39de5a71bac drm/modes: Avoid divide by zero harder in drm_mode_vrefresh()
    d1b96495fa2a thunderbolt: Improve redrive mode handling
    cd8fb13924b3 USB: serial: option: add Telit FE910C04 rmnet compositions
    ec1ccad0c3b4 USB: serial: option: add MediaTek T7XX compositions
    996c88c81fec USB: serial: option: add Netprisma LCUK54 modules for WWAN Ready
    eb748a5a8c59 USB: serial: option: add MeiG Smart SLM770A
    27921a57efaf USB: serial: option: add TCL IK512 MBIM & ECM
    637b6e17f11d hexagon: Disable constant extender optimization for LLVM prior to 19.1.0
    b72d1e64984e efivarfs: Fix error on non-existent file
    666c7b77d581 i2c: riic: Always round-up when calculating bus period
    0eba9c56d77c chelsio/chtls: prevent potential integer overflow on 32bit
    efe74dd58a72 net: tun: fix tun_napi_alloc_frags()
    65fac86c3d73 KVM: x86: Cache CPUID.0xD XSTATE offsets+sizes during module init
    3e84704feefe EDAC/amd64: Simplify ECC check on unified memory controllers
    2956429c7a4e mmc: mtk-sd: disable wakeup in .remove() and in the error path of .probe()
    4ca7a0c83100 mmc: sdhci-tegra: Remove SDHCI_QUIRK_BROKEN_ADMA_ZEROLEN_DESC quirk
    b15b92daf67c net: mdiobus: fix an OF node reference leak
    0e78c3eb72ec selftests: openvswitch: fix tcpdump execution
    576b58f39b0f netfilter: ipset: Fix for recursive locking warning
    592fc96af827 ipvs: Fix clamp() of ip_vs_conn_tab on small memory systems
    4dfa9a924008 net: ethernet: bgmac-platform: fix an OF node reference leak
    13fcc286811c net: hinic: Fix cleanup in create_rxqs/txqs()
    55a81dcf79bc ksmbd: fix broken transfers when exceeding max simultaneous operations
    8077d33fb8c8 ksmbd: count all requests in req_running counter
    ce2fade187dd net: renesas: rswitch: rework ts tags management
    6cd7cad950d9 ionic: use ee->offset when returning sprom data
    da5736f516a6 ionic: Fix netdev notifier unregister on failure
    470c5ecbac2f netdevsim: prevent bad user input in nsim_dev_health_break_write()
    2f3c62ffe881 net: mscc: ocelot: fix incorrect IFH SRC_PORT field in ocelot_ifh_set_basic()
    7a6927814b42 net/smc: check return value of sock_recvmsg when draining clc data
    935caf324b44 net/smc: check smcd_v2_ext_offset when receiving proposal msg
    295a92e3df32 net/smc: check v2_ext_offset/eid_cnt/ism_gid_cnt when receiving proposal msg
    91a7c27c1444 net/smc: check iparea_offset and ipv6_prefixes_cnt when receiving proposal msg
    2e0786b3006e net/smc: check sndbuf_space again after NOSPACE flag is set in smc_poll
    2627c3e86469 net/smc: protect link down work from execute after lgr freed
    06518a75de0a cxl/region: Fix region creation for greater than x2 switches
    fa299bfc1e0e cxl/pci: Fix potential bogus return value upon successful probing
    9557ed4dcd8f tools: hv: change permissions of NetworkManager configuration file
    e5d1ae2d4d0b xfs: reset rootdir extent size hint after growfsrt
    29fcb5fef608 xfs: take m_growlock when running growfsrt
    35bd108619c2 xfs: use XFS_BUF_DADDR_NULL for daddrs in getfsmap code
    9fadc53d793c xfs: Fix the owner setting issue for rmap query in xfs fsmap
    4a82db7a4b73 xfs: conditionally allow FS_XFLAG_REALTIME changes if S_DAX is set
    b2dcbd8a928c xfs: attr forks require attr, not attr2
    27336a327b40 xfs: remove unused parameter in macro XFS_DQUOT_LOGRES
    1bee32f33c0a xfs: fix file_path handling in tracepoints
    cb95cb2450e3 xfs: convert comma to semicolon
    ca96d83c9307 xfs: don't walk off the end of a directory data block
    fe962ab3c4f1 xfs: Fix xfs_prepare_shift() range for RT
    2e63ed9b0175 xfs: Fix xfs_flush_unmap_range() range for RT
    c070b8802159 xfs: create a new helper to return a file's allocation unit
    7531c9ab2e55 xfs: declare xfs_file.c symbols in xfs_file.h
    ff627196ddc1 xfs: use consistent uid/gid when grabbing dquots for inodes
    c08d03996cea xfs: verify buffer, inode, and dquot items every tx commit
    85d0947db262 xfs: fix the contact address for the sysfs ABI documentation
    e4ee7050712a i2c: pnx: Fix timeout in wait functions
    76b63579a904 p2sb: Do not scan and remove the P2SB device when it is unhidden
    3c469a528e39 p2sb: Move P2SB hide and unhide code to p2sb_scan_and_cache()
    8b64ae60f3f9 p2sb: Introduce the global flag p2sb_hidden_by_bios
    f8c9788636f5 p2sb: Factor out p2sb_read_from_cache()
    9194a9214b04 platform/x86: p2sb: Make p2sb_get_devfn() return void
    db3667c9bbfb net: stmmac: fix TSO DMA API usage causing oops
    43fb5b0974eb usb: cdns3: Add quirk flag to enable suspend residency
    c7cc4152c0f4 PCI/AER: Disable AER service on suspend
    3e221877dd92 PCI: Use preserve_config in place of pci_flags
    0d1d7e0c6439 ASoC: Intel: sof_sdw: add quirk for Dell SKU 0B8C
    9a6a33eb6be3 ASoC: Intel: sof_sdw: fix jack detection on ADL-N variant RVP
    dbdee8456aa8 MIPS: Loongson64: DTS: Fix msi node for ls7a
    d10b8db9907e usb: cdns3-ti: Add workaround for Errata i2409
    25f760c9ecfd PCI: Add ACS quirk for Broadcom BCM5760X NIC
    db7d50a5d7c4 PCI: vmd: Create domain symlink before pci_bus_add_devices()
    4f3cb0f96a2a usb: dwc2: gadget: Don't write invalid mapped sg entries into dma_desc with iommu enabled
    97e13434b5da net: sched: fix ordering of qlen adjustment
    ab6cc4ef42d6 Linux 6.6.67
    e68cbbef3d6f x86/static-call: fix 32-bit build
    44a7b0419d35 ALSA: usb-audio: Fix a DMA to stack memory bug
    bcf0e2fda80c x86/xen: remove hypercall page
    bcca7e067909 x86/xen: use new hypercall functions instead of hypercall page
    31f29270c15b x86/xen: add central hypercall functions
    82c211ead1ec x86/xen: don't do PV iret hypercall through hypercall page
    cd95149561d5 x86/static-call: provide a way to do very early static-call updates
    8fb54fe2e709 objtool/x86: allow syscall instruction
    aac984c87ef8 x86: make get_cpu_vendor() accessible from Xen code
    fe9a8f5250ae xen/netfront: fix crash when removing device
    4a41bb9f2b40 net: rswitch: Avoid use-after-free in rswitch_poll()
    9f7a9f95dfb7 selftests/bpf: remove use of __xlated()
    ce444a00414a selftests/bpf: Add netlink helper library
    3a7d88f9814a tracing/kprobes: Skip symbol counting logic for module symbols in create_local_trace_kprobe()
    bfe9446ea1d9 bpf: sync_linked_regs() must preserve subreg_def
    4e76efda1f0a KVM: arm64: Disable MPAM visibility by default and ignore VMM writes
    e2ccaf2d0eb5 kselftest/arm64: abi: fix SVCR detection
    4a542118457d blk-iocost: Avoid using clamp() on inuse in __propagate_weights()
    ee11eaa15132 net: dsa: microchip: KSZ9896 register regmap alignment to 32 bit boundaries
    f5fcb1ff9f46 net: renesas: rswitch: fix initial MPIC register setting
    ecdcaea0e405 Bluetooth: btmtk: avoid UAF in btmtk_process_coredump
    3bf09c685e1b Bluetooth: SCO: Add support for 16 bits transparent voice setting
    263b390a826f Bluetooth: iso: Fix recursive locking warning
    0108132d7d76 Bluetooth: hci_event: Fix using rcu_read_(un)lock while iterating
    11dc486ed5d4 Bluetooth: ISO: Reassociate a socket with an active BIS
    81c4b9529ed8 ACPICA: events/evxfregn: don't release the ContextMutex that was never acquired
    c6c217c6e28a team: Fix feature propagation of NETIF_F_GSO_ENCAP_ALL
    679b5884e61d bonding: Fix feature propagation of NETIF_F_GSO_ENCAP_ALL
    3824c5fad18e net/sched: netem: account for backlog updates from child qdisc
    72dc88eca723 net: dsa: felix: fix stuck CPU-injected packets with short taprio windows
    27f0574253f6 netfilter: nf_tables: do not defer rule destruction via call_rcu
    8c2c8445cda8 netfilter: IDLETIMER: Fix for possible ABBA deadlock
    01b2c761503b net: renesas: rswitch: handle stop vs interrupt race
    bf8c6755f020 net: renesas: rswitch: avoid use-after-put for a device tree node
    78aa0aabb093 net: renesas: rswitch: fix leaked pointer on error path
    0c316b6e0aef net: renesas: rswitch: fix race window between tx start and complete
    af327c0f41d6 net: rswitch: Add jumbo frames handling for TX
    87388cbe9330 net: rswitch: Add a setting ext descriptor function
    0aeec4bb6a9f net: rswitch: Add unmap_addrs instead of dma address in each desc
    99ee2eb6e0fe net: rswitch: Use build_skb() for RX
    ad4bd2c039fb net: rswitch: Use unsigned int for desc related array index
    2a584b1443bd net: rswitch: Drop unused argument/return value
    f789f9d1af40 Documentation: PM: Clarify pm_runtime_resume_and_get() return value
    5b8ea6b89f92 ASoC: amd: yc: Fix the wrong return value
    d5a1ca7b5980 ALSA: control: Avoid WARN() for symlink errors
    131798aea9ae qca_spi: Make driver probing reliable
    ebaf832f1e22 qca_spi: Fix clock speed for multiple QCA7000
    3942f0b0d652 cxgb4: use port number to set mac addr
    ae5fab215f9c ACPI: resource: Fix memory resource type union access
    0d9344165273 net: sparx5: fix the maximum frame length register
    ad74e16b351d net: sparx5: fix FDMA performance issue
    f1d6afbe1ecd spi: aspeed: Fix an error handling path in aspeed_spi_[read|write]_user()
    8e9b5e14e5b9 net: mscc: ocelot: perform error cleanup in ocelot_hwstamp_set()
    3b3277267d7b net: mscc: ocelot: be resilient to loss of PTP packets during transmission
    5f2c6930c689 net: mscc: ocelot: ocelot->ts_id_lock and ocelot_port->tx_skbs.lock are IRQ-safe
    7f42e62a6e9f net: mscc: ocelot: improve handling of TX timestamp for unknown skb
    d275b713496e net: mscc: ocelot: fix memory leak on ocelot_port_add_txtstamp_skb()
    b7a79e51297f net: defer final 'struct net' free in netns dismantle
    03e661b5e7aa net: lapb: increase LAPB_HEADER_LEN
    74f0a6912926 ptp: kvm: x86: Return EOPNOTSUPP instead of ENODEV from kvm_arch_ptp_init()
    03528ff8de66 selftests: mlxsw: sharedbuffer: Ensure no extra packets are counted
    c9776bd1422e selftests: mlxsw: sharedbuffer: Remove duplicate test cases
    2be4018f4ce1 selftests: mlxsw: sharedbuffer: Remove h1 ingress test case
    bd7ddc5f921d wifi: cfg80211: sme: init n_channels before channels[] access
    325cf73a1b44 net/mlx5: DR, prevent potential error pointer dereference
    89ecda492d0a tipc: fix NULL deref in cleanup_bearer()
    4a9a7f9f745d batman-adv: Do not let TT changes list grows indefinitely
    fd0638fa60e6 batman-adv: Remove uninitialized data in full table TT response
    b2b6ecc29204 batman-adv: Do not send uninitialized TT changes
    86106974d0a8 amdgpu/uvd: get ring reference from rq scheduler
    e08dc2dc3c3f acpi: nfit: vmalloc-out-of-bounds Read in acpi_nfit_ctl
    567df47c3e45 wifi: mac80211: fix station NSS capability initialization order
    c32db61989af wifi: mac80211: clean up 'ret' in sta_link_apply_parameters()
    c07923459935 wifi: mac80211: init cnt before accessing elem in ieee80211_copy_mbssid_beacon
    f3412522f788 wifi: nl80211: fix NL80211_ATTR_MLO_LINK_ID off-by-one
    a574145ef474 rtla/timerlat: Make timerlat_hist_cpu->*_count unsigned long long
    dbec5b420397 bpf, sockmap: Fix update element with same
    b015f19fedd2 bpf, sockmap: Fix race between element replace and close()
    c2b6b47662d5 bpf,perf: Fix invalid prog_array access in perf_event_detach_bpf_prog
    68d23ee1bdf1 bpf: Fix theoretical prog_array UAF in __uprobe_perf_func()
    c7e1962a3807 bpf: Check size for BTF-based ctx access of pointer members
    0f2dd866c6b1 xfs: only run precommits once per transaction object
    08b1325d67a1 xfs: fix scrub tracepoints when inode-rooted btrees are involved
    eef2e0da3185 xfs: return from xfs_symlink_verify early on V4 filesystems
    549f2fc321ea xfs: don't drop errno values when we fail to ficlone the entire range
    b4f3bf6fe918 xfs: update btree keys correctly when _insrec splits an inode root block
    e07f9c92bd12 drm/i915: Fix NULL pointer dereference in capture_engine
    1f7659950736 drm/i915: Fix memory leak by correcting cache object name in error handler
    c0484aa1adc3 usb: dwc3: xilinx: make sure pipe clock is deselected in usb2 only mode
    8ca07a3d18f3 usb: gadget: u_serial: Fix the issue that gs_start_io crashed due to accessing null pointer
    bd8ca5c5a04a usb: typec: anx7411: fix OF node reference leaks in anx7411_typec_switch_probe()
    1c766533deb3 usb: typec: anx7411: fix fwnode_handle reference leak
    e22e4df241f7 usb: ehci-hcd: fix call balance of clocks handling routines
    35acf6d7e889 usb: gadget: midi2: Fix interpretation of is_midi1 bits
    3184e07e1240 scsi: ufs: core: Update compl_time_stamp_local_clock after completing a cqe
    6c75336869c7 usb: dwc2: Fix HCD port connection race
    700f3afe5b76 usb: dwc2: hcd: Fix GetPortStatus & SetPortFeature
    09883478938d usb: dwc2: Fix HCD resume
    a3840455f275 ata: sata_highbank: fix OF node reference leak in highbank_initialize_phys()
    a867bf10364a usb: host: max3421-hcd: Correctly abort a USB request.
    6f796a6a396d riscv: Fix IPIs usage in kfence_protect_page()
    e6c338476c80 ALSA: usb-audio: Add implicit feedback quirk for Yamaha THR5
    5baa28569c92 blk-cgroup: Fix UAF in blkcg_unpin_online()
    aa9b1d0d6a5b riscv: Fix wrong usage of __pa() on a fixmap address
    7ac2535d8ee6 tcp: check space before adding MPTCP SYN options
    bc6d8cc2c563 splice: do not checksum AF_UNIX sockets
    450a844c045f ksmbd: fix racy issue from session lookup and expire
    0252305d2964 perf/x86/intel/ds: Unconditionally drain PEBS DS when changing PEBS_DATA_CFG
    f9f85df30118 bpf: Fix UAF via mismatching bpf_prog/attachment RCU flavors
    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: 3765ad18b68446727f2bbce6ab2e43a594dacdd9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-04 12:34:04 +00:00
Bruce Ashfield
8417dfa280 kern-tools: fix python 3.12 warning
Integrating the following commit:

  Author: hongxu <hongxu.jia@eng.windriver.com>
  Date:   Tue Dec 17 01:47:19 2024 -0800

      symbol_why: fix SyntaxWarning for RegEx calls on Python 3.12

      Python 3.12 emmits a SyntaxWarning when using unescaped
      character inside a RegEx string.
      '''
      recipe-sysroot-native/usr/bin/symbol_why.py:161: SyntaxWarning: invalid escape sequence '\.'
        if re.match( ".*\.config", opt ):
      recipe-sysroot-native/usr/bin/symbol_why.py:216: SyntaxWarning: invalid escape sequence '\w'
        x = re.match( "^# .*Linux/\w*\s*([0-9]*\.[0-9]*\.[0-9]*).*Kernel Configuration", line )
      recipe-sysroot-native/usr/bin/symbol_why.py:495: SyntaxWarning: invalid escape sequence '\s'
        if re.search( "^#\s*CONFIG_", option ):
      '''

      According to [1], use raw strings for regular expression

      [1] https://docs.python.org/dev/whatsnew/3.12.html#other-language-changes

      Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>

(From OE-Core rev: 18d60c209364f01f183000de8640f6f40496e922)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-04 12:34:04 +00:00
Bruce Ashfield
671fe42da4 linux-yocto/6.6: update to v6.6.66
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    a66cdcdc9e44 Linux 6.6.66
    35163f642d91 i3c: master: svc: fix possible assignment of the same address to two devices
    43bbc5f8586e i3c: master: Remove i3c_dev_disable_ibi_locked(olddev) on device hotjoin
    1baed369508b serial: amba-pl011: fix build regression
    5eb15d2f4eb4 platform/x86: asus-wmi: Fix thermal profile initialization
    8bb7b689369e ALSA: usb-audio: Update UMP group attributes for GTB blocks, too
    fe330624b85f usb: dwc3: ep0: Don't reset resource alloc flag
    3706311ea095 net/smc: fix incorrect SMC-D link group matching logic
    7a89f5318252 ALSA: hda: Fix build error without CONFIG_SND_DEBUG
    2daba7d857e4 drm/amdgpu: rework resume handling for display (v2)
    aec3eecce11d ASoC: Intel: avs: Fix return status of avs_pcm_hw_constraints_init()
    3e26e24a301e ocfs2: Revert "ocfs2: fix the la space leak when unmounting an ocfs2 volume"
    7a670b420ef2 btrfs: add cancellation points to trim loops
    d11f14a7911e iio: invensense: fix multiple odr switch when FIFO is off
    ed968a1f1f66 xhci: dbc: Fix STALL transfer event handling
    1af5e8b1c9f3 mm/damon/vaddr: fix issue in damon_va_evenly_split_region()
    4358f241594b jffs2: Fix rtime decompressor
    6808a1812a34 jffs2: Prevent rtime decompress memory corruption
    0d5c7fcfa585 KVM: x86/mmu: Ensure that kvm_release_pfn_clean() takes exact pfn from kvm_faultin_pfn()
    67b5ed3b4d36 selftests/ftrace: adjust offset for kprobe syntax error test
    032b4122a92a vfio/mlx5: Align the page tracking max message size with the device capability
    7535956ffe5b Revert "unicode: Don't special case ignorable code points"
    1240225d838b x86: Fix build regression with CONFIG_KEXEC_JUMP enabled
    720792341f5e tracing/eprobe: Fix to release eprobe when failed to add dyn_event
    9d9bd3f7da8a clk: en7523: Initialize num before accessing hws in en7523_register_clocks()
    2a72d5cc83d6 btrfs: fix missing snapshot drew unlock when root is dead during swap activation
    b600d3040285 sched/deadline: Fix warning in migrate_enable for boosted tasks
    01ecd269755e sched/deadline: Move bandwidth accounting into {en,de}queue_dl_entity
    842010e3ca9e sched/deadline: Collect sched_dl_entity initialization
    24617f9ca8c8 sched: Unify more update_curr*()
    7f509457773e sched: Remove vruntime from trace_sched_stat_runtime()
    4db5988bb099 sched: Unify runtime accounting across classes
    654f3294c69e sched/headers: Move 'struct sched_param' out of uapi, to work around glibc/musl breakage
    b2f7d7507982 sched/fair: Rename check_preempt_curr() to wakeup_preempt()
    5787443f556e sched/fair: Rename check_preempt_wakeup() to check_preempt_wakeup_fair()
    b607a3886e61 sched/core: Prevent wakeup of ksoftirqd during idle load balance
    a2b004f5c93d sched/fair: Check idle_cpu() before need_resched() to detect ilb CPU turning busy
    f163cf9c6ae9 sched/core: Remove the unnecessary need_resched() check in nohz_csd_func()
    a13b2b9b0b0b mm/mempolicy: fix migrate_to_node() assuming there is at least one VMA in a MM
    cc424890b06b mempolicy: fix migrate_pages(2) syscall return nr_failed
    8f149bcc4d91 sched/numa: fix memory leak due to the overwritten vma->numab_state
    41f65469c33f sched/numa: Fix mm numa_scan_seq based unconditional scan
    42882b583095 io_uring/tctx: work around xa_store() allocation error issue
    c45cec53eeb4 setlocalversion: work around "git describe" performance
    2102ed90f789 smb: client: don't try following DFS links in cifs_tree_connect()
    b32ce4f9e3b7 serial: 8250_dw: Add Sophgo SG2044 quirk
    79f1a5b17bf5 rtc: cmos: avoid taking rtc_lock for extended period of time
    3fbde702748d misc: eeprom: eeprom_93cx6: Add quirk for extra read clock cycle
    691284c2cd33 powerpc/prom_init: Fixup missing powermac #size-cells
    44eb450d8ed5 ASoC: amd: yc: Add quirk for microphone on Lenovo Thinkpad T14s Gen 6 21M1CTO1WW
    8ef9ea1503d0 MIPS: Loongson64: DTS: Really fix PCIe port nodes for ls7a
    cb6d7ffca4be drm/amdgpu/vcn: reset fw_shared when VCPU buffers corrupted on vcn v4.0.3
    ddc2aa0f99e7 ASoC: amd: yc: fix internal mic on Redmi G 2022
    2c810ecfcc95 iio: light: ltr501: Add LTER0303 to the supported devices
    3fc7b49d24b1 usb: chipidea: udc: handle USB Error Interrupt if IOC not set
    57f7979aefdc fs/ntfs3: Fix case when unmarked clusters intersect with zone
    c5f89458a2ea LoongArch: Fix sleeping in atomic context for PREEMPT_RT
    ec1208b13c5e ACPI: x86: Clean up Asus entries in acpi_quirk_skip_dmi_ids[]
    353bc143066d ACPI: x86: Add skip i2c clients quirk for Acer Iconia One 8 A1-840
    295b50e95e90 f2fs: fix to shrink read extent node in batches
    76bdd3b1c256 f2fs: print message if fscorrupted was found in f2fs_new_node_page()
    ffe19e363c6f i3c: Use i3cdev->desc->info instead of calling i3c_device_get_info() to avoid deadlock
    29c80f54e362 PCI: Add ACS quirk for Wangxun FF5xxx NICs
    407476eb5f76 PCI: Add 'reset_subordinate' to reset hierarchy below bridge
    b824ea2af6e0 PCI: Detect and trust built-in Thunderbolt chips
    c37cc784af7e PCI: vmd: Set devices to D0 before enabling PM L1 Substates
    61ee910a0042 PCI: vmd: Add DID 8086:B06F and 8086:B60B for Intel client SKUs
    70d65110986e PCI: qcom: Add support for IPQ9574
    a6dc4b4fda2e i3c: mipi-i3c-hci: Mask ring interrupts before ring stop request
    880827a141e3 KMSAN: uninit-value in inode_go_dump (5)
    9669b28f81e0 f2fs: fix f2fs_bug_on when uninstalling filesystem call f2fs_evict_inode.
    562334170295 verification/dot2: Improve dot parser robustness
    7a135fd49c3e smb: client: memcpy() with surrounding object base address
    08ab71e0f618 nvdimm: rectify the illogical code within nd_dax_probe()
    9e4828b78e28 thermal/drivers/qcom/tsens-v1: Add support for MSM8937 tsens
    03bf88b1e95d pinctrl: qcom: spmi-mpp: Add PM8937 compatible
    b377ef01a3d9 pinctrl: qcom-pmic-gpio: add support for PM8937
    338368f7fe2d scsi: st: Add MTIOCGET and MTLOAD to ioctls allowed after device reset
    0e5642e73a63 scsi: st: Don't modify unknown block number in MTIOCGET
    f6d6fb563e4b leds: class: Protect brightness_show() with led_cdev->led_access mutex
    8d37cb1c8f1a clk: qcom: tcsrcc-sm8550: add SAR2130P support
    62bd597e1e87 clk: qcom: rpmh: add support for SAR2130P
    80864fe570d5 clk: qcom: rcg2: add clk_rcg2_shared_floor_ops
    c6c58505bfba scsi: lpfc: Call lpfc_sli4_queue_unset() in restart and rmmod paths
    5fe23c57abad bpf: put bpf_link's program when link is safe to be deallocated
    6ff9768a3144 scsi: ufs: core: Make DMA mask configuration more flexible
    2da32aed4a97 pinmux: Use sequential access to access desc->pinmux data
    50ddf4b0e1a4 scsi: hisi_sas: Add cond_resched() for no forced preemption model
    77c9ad0c425a rtla/timerlat: Make timerlat_top_cpu->*_count unsigned long long
    987abe82faa9 tools/rtla: fix collision with glibc sched_attr/sched_set_attr
    aceff9270e86 tracing: Use atomic64_inc_return() in trace_clock_counter()
    d62b8e0c3f36 tracing/ftrace: disable preemption in syscall probe
    1cbb632b515a pinctrl: freescale: fix COMPILE_TEST error with PINCTRL_IMX_SCU
    fdac3e251d9e netpoll: Use rcu_access_pointer() in __netpoll_setup
    843adffcbb4a net/neighbor: clear error in case strict check is not set
    ed8cf33dead6 rocker: fix link status detection in rocker_carrier_init()
    d7a6ff5dc803 ASoC: hdmi-codec: reorder channel allocation list
    d87c7db6213c Bluetooth: Set quirks for ATS2851
    ac22911f2eed Bluetooth: Support new quirks for ATS2851
    5af48b484ec0 Bluetooth: Add new quirks for ATS2851
    5e50d12cc6e9 Bluetooth: hci_core: Fix not checking skb length on hci_acldata_packet
    36af575822ef Bluetooth: btusb: Add RTL8852BE device 0489:e123 to device tables
    916b577a2cef dsa: qca8k: Use nested lock to avoid splat
    10e8a2dec9ff bpf: Call free_htab_elem() after htab_unlock_bucket()
    07c020c6d14d wifi: brcmfmac: Fix oops due to NULL pointer dereference in brcmf_sdiod_sglist_rw()
    3afd475d5af9 wifi: ipw2x00: libipw_rx_any(): fix bad alignment
    b9e52a96ec92 drm/amdgpu: set the right AMDGPU sg segment limitation
    83c45de6c6ce ALSA: usb-audio: Make mic volume workarounds globally applicable
    a8f7d6963768 virtio-net: fix overflow inside virtnet_rq_alloc
    4e3f73221deb drm/amdgpu: skip amdgpu_device_cache_pci_state under sriov
    69df145daf15 fsl/fman: Validate cell-index value obtained from Device Tree
    3b5d21b56c37 jfs: add a check to prevent array-index-out-of-bounds in dbAdjTree
    e7d376f94f72 jfs: fix array-index-out-of-bounds in jfs_readdir
    c56245baf3fd jfs: fix shift-out-of-bounds in dbSplit
    fd993b2180b4 jfs: array-index-out-of-bounds fix in dtReadFirst
    c212d91070be dma-debug: fix a possible deadlock on radix_lock
    efb054752f2c drm/amdgpu: refine error handling in amdgpu_ttm_tt_pin_userptr
    3295bd236450 netlink: specs: Add missing bitset attrs to ethtool spec
    ccc22ebf98df drm/amdgpu: Dereference the ATCS ACPI buffer
    9a1546e775f5 drm/amdgpu: clear RB_OVERFLOW bit when enabling interrupts for vega20_ih
    87210234e5a2 drm/sched: memset() 'job' in drm_sched_job_init()
    d783451a49d4 net: stmmac: Programming sequence for VLAN packets with split header
    81f4a1e9b654 net: sfp: change quirks for Alcatel Lucent G-010S-P
    556ae6c91145 drm/panel: simple: Add Microchip AC69T88A LVDS Display panel
    ffe1766a3a55 fanotify: allow reporting errors on failure to open fd
    d7a6fb6442b1 wifi: ath5k: add PCI ID for Arcadyan devices
    87b969352d38 wifi: ath5k: add PCI ID for SX76X
    706b07b7b37f net: inet6: do not leave a dangling sk pointer in inet6_create()
    25447c6aaa72 net: inet: do not leave a dangling sk pointer in inet_create()
    b4982fbf1304 net: ieee802154: do not leave a dangling sk pointer in ieee802154_create()
    db207d19adba net: af_can: do not leave a dangling sk pointer in can_create()
    6021ccc2471b Bluetooth: RFCOMM: avoid leaving dangling sk pointer in rfcomm_sock_alloc()
    8ad09ddc63ac Bluetooth: L2CAP: do not leave dangling sk pointer on error in l2cap_sock_create()
    157f08db9412 af_packet: avoid erroring out after sock_init_data() in packet_create()
    b77109f18a8d net/sched: cbs: Fix integer overflow in cbs_set_port_rate()
    159c6df97655 net: ethernet: fs_enet: Use %pa to format resource_size_t
    6c591b8d0153 net: fec_mpc52xx_phy: Use %pa to format resource_size_t
    cf27f38254db samples/bpf: Fix a resource leak
    a52bc92fc47e r8169: don't apply UDP padding quirk on RTL8126A
    fba2b2d0b7cc ALSA: hda/conexant: Use the new codec SSID matching
    f4306ef142bc ALSA: hda: Use own quirk lookup helper
    45e43e721e26 drm/display: Fix building with GCC 15
    6fbdc3980b70 dlm: fix possible lkb_resource null dereference
    5059372280e2 drm/radeon/r600_cs: Fix possible int overflow in r600_packet3_check()
    1a0f54cb3fea wifi: rtw89: check return value of ieee80211_probereq_get() for RNR
    1159d74ed469 drm/mcde: Enable module autoloading
    0a59c2fe8d67 drm/bridge: it6505: Enable module autoloading
    189dc7030b72 drm: panel-orientation-quirks: Add quirk for AYA NEO GEEK
    33126ee70c56 drm: panel-orientation-quirks: Add quirk for AYA NEO Founder edition
    290127c6452d drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model
    258b997e5119 drm/vc4: hvs: Set AXI panic modes for the HVS
    e0388a95736a drm/vc4: hdmi: Avoid log spam for audio start failure
    6e8348ec4215 HID: magicmouse: Apple Magic Trackpad 2 USB-C driver support
    66ab53850ca1 selftests/resctrl: Protect against array overflow when reading strings
    70e2f30534bb regmap: maple: Provide lockdep (sub)class for maple tree's internal lock
    2129f6faa5df soc: imx8m: Probe the SoC driver as platform driver
    3379f506f059 mmc: sdhci-esdhc-imx: enable quirks SDHCI_QUIRK_NO_LED
    63ddf8a5ec8f mmc: core: Add SD card quirk for broken poweroff notification
    8910c0217d7e media: cx231xx: Add support for Dexatek USB Video Grabber 1d19:6108
    31f9b4a22347 media: uvcvideo: Add a quirk for the Kaiweets KTI-W02 infrared camera
    f20f3416fe33 media: uvcvideo: RealSense D421 Depth module metadata
    115afb20fdff HID: add per device quirk to force bind to hid-generic
    5b1f34bf3617 spi: spi-fsl-lpspi: Adjust type of scldiv
    28ed7bc5eee0 perf/x86/amd: Warn only on new bits set
    5a4688dbf4ae ACPI: x86: Make UART skip quirks work on PCI UARTs without an UID
    cfa076596dc4 hwmon: (nct6775) Add 665-ACE/600M-CL to ASUS WMI monitoring list
    dca4e74a9185 kcsan: Turn report_filterlist_lock into a raw_spinlock
    e8483ae13100 kselftest/arm64: Don't leak pipe fds in pac.exec_sign_all()
    4c7baac247ce btrfs: do not clear read-only when adding sprout device
    a5d74fa24752 btrfs: avoid unnecessary device path update for the same device
    a5bc4e030f50 btrfs: don't take dev_replace rwsem on task already holding it
    a69752f1e5de s390/cpum_sf: Handle CPU hotplug remove during sampling
    7c27b25891b0 kselftest/arm64: Log fp-stress child startup errors to stdout
    61005057fd5c epoll: annotate racy check
    af3fde6112b2 x86/mm: Add _PAGE_NOPTISHADOW bit to avoid updating userspace page tables
    cb9945f292a8 kasan: make report_lock a raw spinlock
    625e3f5d13a7 lib: stackinit: hide never-taken branch from compiler
    03ba9477dcca ocfs2: update seq_file index in ocfs2_dlm_seq_next
    07f395d6197c mmc: core: Further prevent card detect during shutdown
    5d8525e5067a mmc: sdhci-pci: Add DMI quirk for missing CD GPIO on Vexia Edu Atla 10 tablet
    f1a99d8645d8 regmap: detach regmap from dev on regmap_exit
    f8abd03f83d5 xsk: fix OOB map writes when deleting elements
    5ea568e71d0c dma-fence: Use kernel's sort for merging fences
    ce97e7891b5d dma-fence: Fix reference leak on fence merge failure path
    4e1cb04a68af dma-buf: fix dma_fence_array_signaled v4
    8e858930695d bpf: fix OOB devmap writes when deleting elements
    94666abe8163 x86/kexec: Restore GDT on return from ::preserve_context kexec
    70d6c1badec3 modpost: Add .irqentry.text to OTHER_SECTIONS
    e2153e479e93 drm/amdgpu/hdp5.2: do a posting read when flushing HDP
    d834d20d2e86 drm/dp_mst: Fix resetting msg rx state after topology removal
    396f697500c8 drm/dp_mst: Verify request type in the corresponding down message reply
    c58947a8d4a5 drm/dp_mst: Fix MST sideband message body length check
    23b5908b11b7 cacheinfo: Allocate memory during CPU hotplug if not done from the primary CPU
    cc05aa2c0117 bcache: revert replacing IS_ERR_OR_NULL with IS_ERR again
    bd74bc9b3a8c smb3.1.1: fix posix mounts to older servers
    ccf435caa314 fs/smb/client: cifs_prime_dcache() for SMB3 POSIX reparse points
    136fca78a66d fs/smb/client: Implement new SMB3 POSIX type
    439224eb2f5b fs/smb/client: avoid querying SMB2_OP_QUERY_WSL_EA for SMB3 POSIX
    c3afea07477b nilfs2: fix potential out-of-bounds memory access in nilfs_find_entry()
    1e30b52edf17 scsi: ufs: core: Add missing post notify for power mode change
    0069928727c2 scsi: ufs: core: sysfs: Prevent div by zero
    38bd792fb676 scsi: qla2xxx: Remove check req_sg_cnt should be equal to rsp_sg_cnt
    15369e774f27 scsi: qla2xxx: Fix use after free on unload
    dbd3f8f3ade1 scsi: qla2xxx: Supported speed displayed incorrectly for VPorts
    968bba7d1d04 scsi: qla2xxx: Fix NVMe and NPIV connect issue
    00e1503aaef7 scsi: qla2xxx: Fix abort in bsg timeout
    bafa26387438 ALSA: hda/realtek: Add support for Samsung Galaxy Book3 360 (NP730QFG)
    00a4369b3a4b ALSA: hda/realtek: Enable mute and micmute LED on HP ProBook 430 G8
    2e50b49ba498 ALSA: usb-audio: add mixer mapping for Corsair HS80
    96035c0093db arm64: ptrace: fix partial SETREGSET for NT_ARM_TAGGED_ADDR_CTRL
    8c36240460f9 arm64: Ensure bits ASID[15:8] are masked out when the kernel uses 8-bit ASIDs
    cdf81c4a8150 tracing: Fix cmp_entries_dup() to respect sort() comparison rules
    50d66c86262f can: mcp251xfd: mcp251xfd_get_tef_len(): work around erratum DS80000789E 6.
    1ac442f25c19 can: dev: can_set_termination(): allow sleeping GPIOs
    7015d9d4cc70 watchdog: rti: of: honor timeout-sec property
    164d3597d26d ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write
    27de4295522e ksmbd: fix Out-of-Bounds Read in ksmbd_vfs_stream_read
    7dfbf011a57b LoongArch: Add architecture specific huge_pte_clear()
    a7f0509556fa HID: wacom: fix when get product name maybe null pointer
    81ad32b87eb9 mm: page_alloc: move mlocked flag clearance into free_pages_prepare()
    67a102352bb2 x86/CPU/AMD: WARN when setting EFER.AUTOIBRS if and only if the WRMSR fails
    68570b5c89c5 bpf: Fix exact match conditions in trie_get_next_key()
    2e9ff3f4834c bpf: Handle in-place update for full LPM trie correctly
    c1ab31edd258 bpf: Remove unnecessary kfree(im_node) in lpm_trie_update_elem
    c5325e6e4b6d bpf: Handle BPF_EXIST and BPF_NOEXIST for LPM trie
    67e972130bb6 iio: magnetometer: yas530: use signed integer type for clamp limits
    6d3f4c72019f scatterlist: fix incorrect func name in kernel-doc
    a84d507d3290 ocfs2: free inode when ocfs2_get_init_inode() fails
    6acd8e87b6e1 drm/v3d: Enable Performance Counters before clearing them
    88237f66b142 ASoC: mediatek: mt8188-mt6359: Remove hardcoded dmic codec
    602c3038a8a6 scsi: scsi_debug: Fix hrtimer support for ndelay
    59b30afa5786 scsi: sg: Fix slab-use-after-free read in sg_release()
    c169daf3cf39 bpf: Fix narrow scalar spill onto 64-bit spilled scalar slots
    9a420d6b4065 ASoC: SOF: ipc3-topology: fix resource leaks in sof_ipc3_widget_setup_comp_dai()
    77e01dfb4fb2 ASoC: SOF: ipc3-topology: Convert the topology pin index to ALH dai index
    f65d85bc1ffd spi: mpc52xx: Add cancel_work_sync before module remove
    37eef8c2e085 tools: Override makefile ARCH variable if defined, but empty
    8a2d8958585a ALSA: usb-audio: Notify xrun for low-latency mode
    06d43e40e2f9 ALSA: seq: ump: Fix seq port updates per FB info notify
    8ddb4126e6a4 ALSA: ump: Update substream name from assigned FB names
    d3e8e4d62c88 ALSA: seq: ump: Use automatic cleanup of kfree()
    206d56f41a15 tcp_bpf: Fix the sk_mem_uncharge logic in tcp_bpf_sendmsg
    f2f6d999a934 drm/sti: Add __iomem for mixer_dbg_mxn's parameter
    6bc209dbacc5 bpftool: fix potential NULL pointer dereferencing in prog_dump()
    0fcda0c9cb15 xsk: always clear DMA mapping information when unmapping the pool
    d504dc20b768 bpf, vsock: Invoke proto::close on close()
    57c47d3cf1a6 bpf, vsock: Fix poll() missing a queue
    c3799292d639 scsi: ufs: core: Add ufshcd_send_bsg_uic_cmd() for UFS BSG
    12e24d8a005c scsi: ufs: core: Always initialize the UIC done completion
    d5be5ce82a7e drm/bridge: it6505: Fix inverted reset polarity
    485924554390 drm/bridge: it6505: update usleep_range for RC circuit charge time
    f454a3e98c30 i3c: master: Fix dynamic address leak when 'assigned-address' is present
    990da49bfcbf i3c: master: Extend address status bit to 4 and add I3C_ADDR_SLOT_EXT_DESIRED
    72863649acec i3c: master: Replace hard code 2 with macro I3C_ADDR_SLOT_STATUS_BITS
    ac0fed078bc9 i3c: master: svc: Modify enabled_events bit 7:0 to act as IBI enable counter
    07f4c0df0eb3 i3c: master: svc: use slow speed for first broadcast address
    5626d1addc2a i3c: master: support to adjust first broadcast address speed
    a68c391c6321 i3c: master: fix kernel-doc check warning
    8aa36f7e004b i3c: master: svc: add hot join support
    e7217d528ef5 i3c: master: add enable(disable) hot join in sys entry
    ed24ab98242f f2fs: fix to drop all discards after creating snapshot on lvm device
    f3ae93e738db driver core: fw_devlink: Stop trying to optimize cycle detection logic
    dce7a5c7bfa3 driver core: Add FWLINK_FLAG_IGNORE to completely ignore a fwnode link
    5c764791fb7b driver core: fw_devlink: Improve logs for cycle detection
    faa6f8ce1b15 ntp: Remove invalid cast in time offset math
    91d2be8d4bf5 powerpc/vdso: Drop -mstack-protector-guard flags in 32-bit files with clang
    d68b0e67cff7 powerpc/vdso: Refactor CFLAGS for CVDSO build
    4a9485918a04 iommu/arm-smmu: Defer probe of clients after smmu device bound
    7360a0e798f4 zram: clear IDLE flag in mark_idle()
    9c251d1381ed zram: do not mark idle slots that cannot be idle
    b7c3fd65a3ea zram: split memory-tracking and ac-time tracking
    543d8315c289 mmc: mtk-sd: Fix MMC_CAP2_CRYPTO flag setting
    7e0ccc28fad1 mmc: mtk-sd: fix devm_clk_get_optional usage
    06b7f9295a42 mmc: mtk-sd: Fix error handle of probe function
    a8ece7488716 mmc: mtk-sd: use devm_mmc_alloc_host
    c6a3fa838e51 usb: dwc3: ep0: Don't clear ep0 DWC3_EP_TRANSFER_STARTED
    3df5497b9183 usb: dwc3: ep0: Don't reset resource alloc flag (including ep0)
    65b1f31111ee usb: dwc3: gadget: Rewrite endpoint allocation flow
    395d9b40431c soc: fsl: cpm1: qmc: Set the ret error code on platform_get_irq() failure
    6885d8e7c1e3 soc: fsl: cpm1: qmc: Introduce qmc_{init,exit}_xcc() and their CPM1 version
    c73f53c7aaae soc: fsl: cpm1: qmc: Introduce qmc_init_resource() and its CPM1 version
    f865643723e9 soc: fsl: cpm1: qmc: Re-order probe() operations
    7ca6b9e73db2 soc: fsl: cpm1: qmc: Fix blank line and spaces
    850cee347212 soc/fsl: cpm: qmc: Convert to platform remove callback returning void
    2eb983f69079 serial: amba-pl011: Fix RX stall when DMA is used
    5aea1229e7ea serial: amba-pl011: Use port lock wrappers
    8d2ca6ac3711 gpio: grgpio: Add NULL check in grgpio_probe
    9cc1a6ce157d gpio: grgpio: use a helper variable to store the address of ofdev->dev
    fbc0a0c7718a xhci: Fix control transfer error on Etron xHCI host
    4a2422f67879 xhci: Don't issue Reset Device command to Etron xHCI host
    ec4e6d5944cd xhci: Combine two if statements for Etron xHCI host
    459cda7500ec xhci: remove XHCI_TRUST_TX_LENGTH quirk
    d55694547cd2 xhci: Allow RPM on the USB controller (1022:43f7) by default
    ea6b5d98fea4 KVM: arm64: Don't retire aborted MMIO instruction
    3fe534a02897 KVM: arm64: Change kvm_handle_mmio_return() return polarity
    3265aab0736f net: avoid potential UAF in default_operstate()
    4bd8ced2b9f6 net/mlx5e: Remove workaround to avoid syndrome for internal port
    97ce3a4ec55e geneve: do not assume mac header is set in geneve_xmit_skb()
    711525430d12 mlxsw: spectrum_acl_flex_keys: Use correct key block on Spectrum-4
    e5239f8671a1 mlxsw: spectrum_acl_flex_keys: Constify struct mlxsw_afk_element_inst
    5e7388444095 mlxsw: Mark high entropy key blocks
    64b67f77d993 mlxsw: Edit IPv6 key blocks to use one less block for multicast forwarding
    69f60dda481a mlxsw: spectrum_acl_flex_keys: Add 'ipv4_5b' flex key
    7598e65f990a mlxsw: Add 'ipv4_5' flex key
    e5242c5ff4c8 ethtool: Fix wrong mod state in case of verbose and no_mask bitset
    86c27603514c netfilter: nft_set_hash: skip duplicated elements pending gc run
    90bf312a6b6b netfilter: ipset: Hold module reference while requesting a module
    f6dc30c4698d net: sched: fix erspan_opt settings in cls_flower
    53c7314208c8 netfilter: nft_inner: incorrect percpu area handling under softirq
    f309733a8c9d igb: Fix potential invalid memory access in igb_init_module()
    0a4d8b1e3b28 ixgbe: downgrade logging of unsupported VF API version to debug
    2bf463e6c540 ixgbevf: stop attempting IPSEC offload on Mailbox API 1.5
    4f63de0ef87b net/qed: allow old cards not supporting "num_images" to work
    673d606683ac net/smc: fix LGR and link use-after-free issue
    f0c37002210a net/smc: initialize close_work early to avoid warning
    f59b799e52f7 net/smc: refactoring initialization of smc sock
    21f6f41e82e5 net/smc: {at|de}tach sndbuf to peer DMB if supported
    fe7ef3a10c75 net/smc: add operations to merge sndbuf with peer DMB
    988b81020ad4 net/smc: mark optional smcd_ops and check for support when called
    7e5ef8eb0547 net/smc: compatible with 128-bits extended GID of virtual ISM device
    70cfb64c882c net/smc: define a reserved CHID range for virtual ISM devices
    dd0ab991caf1 net/smc: unify the structs of accept or confirm message for v1 and v2
    8ea4fc3fefa1 net/smc: introduce sub-functions for smc_clc_send_confirm_accept()
    612c04a92730 net/smc: rename some 'fce' to 'fce_v2x' for clarity
    d00d4470bf8c tipc: Fix use-after-free of kernel socket in cleanup_bearer().
    d3ec686a369f dccp: Fix memory leak in dccp_feat_change_recv
    f43d12fd0fa8 net/ipv6: release expired exception dst cached in socket
    797a4c1f5b63 ipv6: introduce dst_rt6_info() helper
    19a788bd40fd net-timestamp: make sk_tskey more predictable in error path
    4d5a573f64e8 platform/x86: asus-wmi: Ignore return value when writing thermal policy
    5a4f732e2a8f platform/x86: asus-wmi: Fix inconsistent use of thermal policies
    6051a4b17f9e platform/x86: asus-wmi: add support for vivobook fan profiles
    426d94815e12 can: j1939: j1939_session_new(): fix skb reference counting
    3c215663b3e2 net: hsr: avoid potential out-of-bound access in fill_frame_info()
    d381c2b0d77e net/sched: tbf: correct backlog statistic for GSO packets
    70966e5bafb7 ptp: Add error handling for adjfine callback in ptp_clock_adjtime
    66127f0d1ecf net: enetc: Do not configure preemptible TCs if SIs do not support
    ea8e9f84ea15 selftests: hid: fix typo and exit code
    2f9bec0a749e netfilter: nft_socket: remove WARN_ON_ONCE on maximum cgroup level
    a9bcc0b70d9b netfilter: x_tables: fix LED ID check in led_tg_check()
    124834133b32 ipvs: fix UB due to uninitialized stack access in ip_vs_protocol_init()
    39df17a12746 can: f81604: f81604_handle_can_bus_errors(): fix {rx,tx}_errors statistics
    c7f3a539b180 can: ems_usb: ems_usb_rx_err(): fix {rx,tx}_errors statistics
    0fef1604a436 can: sun4i_can: sun4i_can_err(): fix {rx,tx}_errors statistics
    bbbc9e190b26 can: sja1000: sja1000_err(): fix {rx,tx}_errors statistics
    98b7477236be can: hi311x: hi3110_can_ist(): fix {rx,tx}_errors statistics
    bf92d477a9a3 can: ifi_canfd: ifi_canfd_handle_lec_err(): fix {rx,tx}_errors statistics
    dce292ffb728 can: m_can: m_can_handle_lec_err(): fix {rx,tx}_errors statistics
    112802200944 can: hi311x: hi3110_can_ist(): fix potential use-after-free
    8ac49d8fc936 can: sun4i_can: sun4i_can_err(): call can_change_state() even if cf is NULL
    c146df8292c6 can: c_can: c_can_handle_bus_err(): update statistics if skb allocation fails
    1cdd3563e147 can: gs_usb: add usb endpoint address detection at driver probe step
    e2282706eb5c can: gs_usb: add VID/PID for Xylanta SAINT3 product family
    b8a0428f1eb2 watchdog: mediatek: Make sure system reset gets asserted in mtk_wdt_restart()
    d556b4ff5854 watchdog: apple: Actually flush writes after requesting watchdog restart
    babc8a52fe69 watchdog: xilinx_wwdt: Calculate max_hw_heartbeat_ms using clock frequency
    e417b3cb55a7 iTCO_wdt: mask NMI_NOW bit for update_no_reboot_bit() call
    943e0aeece93 Linux 6.6.65
    b47d9ffb2d1d openrisc: Use asm-generic's version of fix_to_virt() & virt_to_fix()
    52ab77109035 Revert "x86/pvh: Set phys_base when calling xen_prepare_pvh()"
    dd47f7175940 Revert "x86/pvh: Call C code via the kernel virtual mapping"
    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: 2db39e7791f8ed430ddfeec87ab2aa178090af45)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-04 12:34:04 +00:00
Bruce Ashfield
6a8c5ca734 linux-yocto/6.12: update to v6.12.5
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    7143efb58e33 Linux 6.12.5
    6aeef0214de7 softirq: Allow raising SCHED_SOFTIRQ from SMP-call-function on RT kernel
    1a678f6829a8 clocksource: Make negative motion detection more robust
    7b7a9175c63b timekeeping: Remove CONFIG_DEBUG_TIMEKEEPING
    a8c03c6dc1bd ALSA: hda/realtek: Fix spelling mistake "Firelfy" -> "Firefly"
    ef6bb8f4d8d3 s390/pci: Fix leak of struct zpci_dev when zpci_add_device() fails
    87917ad3034e Revert "drm/amd/display: parse umc_info or vram_info based on ASIC"
    eaf83f14c67e ALSA: hda: Fix build error without CONFIG_SND_DEBUG
    99a02eab8251 drm/amdgpu: rework resume handling for display (v2)
    b050c6284a20 ASoC: Intel: avs: Fix return status of avs_pcm_hw_constraints_init()
    871caea15202 net/mlx5: unique names for per device caches
    81d2c5968dba ocfs2: Revert "ocfs2: fix the la space leak when unmounting an ocfs2 volume"
    d38610a978d6 media: ipu6: use the IPU6 DMA mapping APIs to do mapping
    4904a01e4737 jffs2: Fix rtime decompressor
    dc39b08fcc38 jffs2: Prevent rtime decompress memory corruption
    547b7f8fdebc KVM: x86/mmu: Ensure that kvm_release_pfn_clean() takes exact pfn from kvm_faultin_pfn()
    7f91d9206220 selftests/ftrace: adjust offset for kprobe syntax error test
    ad4095d1259d vfio/mlx5: Align the page tracking max message size with the device capability
    0a5152f5fbe7 Revert "unicode: Don't special case ignorable code points"
    7913d1f737c4 x86: Fix build regression with CONFIG_KEXEC_JUMP enabled
    364dc8070baf tracing/eprobe: Fix to release eprobe when failed to add dyn_event
    07bc1978d59b clk: en7523: Initialize num before accessing hws in en7523_register_clocks()
    650214c925e8 btrfs: fix missing snapshot drew unlock when root is dead during swap activation
    653b704e7db6 btrfs: fix mount failure due to remount races
    b633b3c3e370 btrfs: drop unused parameter data from btrfs_fill_super()
    b680ec3ad29b btrfs: drop unused parameter options from open_ctree()
    e41074904d9e sched/deadline: Fix warning in migrate_enable for boosted tasks
    b4ec68868c20 sched/core: Prevent wakeup of ksoftirqd during idle load balance
    f9e144a54428 sched/fair: Check idle_cpu() before need_resched() to detect ilb CPU turning busy
    a39ad4f507bf sched/core: Remove the unnecessary need_resched() check in nohz_csd_func()
    5c3fb75f538c sched: fix warning in sched_setaffinity
    4a2fcf88be76 drm/amd/display: Add option to retrieve detile buffer size
    7bcf6b3cc92a drm/xe/devcoredump: Update handling of xe_force_wake_get return
    deb05f8431f3 drm/xe/forcewake: Add a helper xe_force_wake_ref_has_domain()
    e7fd13686ae0 drm/xe/guc: Copy GuC log prior to dumping
    e3e6bea207ff drm/xe/devcoredump: Add ASCII85 dump helper function
    47c45a050d09 drm/xe/devcoredump: Improve section headings and add tile info
    7e4b4543078f drm/xe/devcoredump: Use drm_puts and already cached local variables
    cd188519d246 scsi: ufs: pltfrm: Dellocate HBA during ufshcd_pltfrm_remove()
    d5b2ddf1f90c io_uring/tctx: work around xa_store() allocation error issue
    1f659d3c13f8 setlocalversion: work around "git describe" performance
    a21406d31414 smb: client: don't try following DFS links in cifs_tree_connect()
    9ac8c1da9f82 irqchip/gicv3-its: Add workaround for hip09 ITS erratum 162100801
    950210c9c721 Revert "nvme: make keep-alive synchronous operation"
    1648c7000f9d serial: 8250_dw: Add Sophgo SG2044 quirk
    f43324df566a rtc: cmos: avoid taking rtc_lock for extended period of time
    65570470175c misc: eeprom: eeprom_93cx6: Add quirk for extra read clock cycle
    296a109fa771 powerpc/prom_init: Fixup missing powermac #size-cells
    01e49d7f3f50 ASoC: amd: yc: Add quirk for microphone on Lenovo Thinkpad T14s Gen 6 21M1CTO1WW
    01575f2ff8ba MIPS: Loongson64: DTS: Really fix PCIe port nodes for ls7a
    3c1d06bbad22 drm/amdgpu/vcn: reset fw_shared when VCPU buffers corrupted on vcn v4.0.3
    e451d7ca7870 ASoC: amd: yc: fix internal mic on Redmi G 2022
    b03142825986 usb: typec: ucsi: glink: be more precise on orientation-aware ports
    359eebd5e7f6 iio: light: ltr501: Add LTER0303 to the supported devices
    c5d8facf107a iio: adc: ad7192: properly check spi_get_device_match_data()
    c0ca6fd5f6eb usb: typec: ucsi: Do not call ACPI _DSM method for UCSI read operations
    37065eee084e usb: chipidea: udc: handle USB Error Interrupt if IOC not set
    f14e63cf8649 usb: chipidea: udc: create bounce buffer for problem sglist entries if possible
    8a5c06ebc2ee usb: chipidea: udc: limit usb request length to max 16KB
    b89bbf32fc46 usb: chipidea: add CI_HDRC_HAS_SHORT_PKT_LIMIT flag
    4bbdddcefeb5 regulator: qcom-rpmh: Update ranges for FTSMPS525
    db7fc56646ca fs/ntfs3: Fix case when unmarked clusters intersect with zone
    58edd785ea14 fs/ntfs3: Fix warning in ni_fiemap
    6575e0867bd4 LoongArch: Fix sleeping in atomic context for PREEMPT_RT
    4806ed7abddc ACPI: x86: Clean up Asus entries in acpi_quirk_skip_dmi_ids[]
    ac0536c564ec ACPI: x86: Add skip i2c clients quirk for Acer Iconia One 8 A1-840
    7c2e5ed2175e f2fs: add a sysfs node to limit max read extent count per-inode
    924f7dd1e832 f2fs: fix to shrink read extent node in batches
    6d41a2d5c168 f2fs: print message if fscorrupted was found in f2fs_new_node_page()
    1f51ae217d09 i3c: Use i3cdev->desc->info instead of calling i3c_device_get_info() to avoid deadlock
    fb80d442c896 remoteproc: qcom: pas: enable SAR2130P audio DSP support
    617bd1e6c394 PCI: Add ACS quirk for Wangxun FF5xxx NICs
    51276b5e28cf PCI: Add 'reset_subordinate' to reset hierarchy below bridge
    ea1adfd7d0fc PCI: starfive: Enable controller runtime PM before probing host bridge
    932a5f00a808 PCI: Detect and trust built-in Thunderbolt chips
    293debb105cf PCI: vmd: Set devices to D0 before enabling PM L1 Substates
    34883c93bd33 PCI: vmd: Add DID 8086:B06F and 8086:B60B for Intel client SKUs
    b51aa6a07ee0 PCI: qcom: Add support for IPQ9574
    19cc5767334b i3c: mipi-i3c-hci: Mask ring interrupts before ring stop request
    7e45af15cf72 KMSAN: uninit-value in inode_go_dump (5)
    9e28513fd285 f2fs: fix f2fs_bug_on when uninstalling filesystem call f2fs_evict_inode.
    d6855f060443 mailbox: pcc: Check before sending MCTP PCC response ACK
    67f21fdd35a9 verification/dot2: Improve dot parser robustness
    98bf83f0e44d tools/rtla: Enhance argument parsing in timerlat_load.py
    7214d3a64e6e tracing: Fix function name for trampoline
    d58ed5c2813c smb: client: memcpy() with surrounding object base address
    1c67333b8feb nvdimm: rectify the illogical code within nd_dax_probe()
    a5289e7085ff thermal/drivers/qcom/tsens-v1: Add support for MSM8937 tsens
    d7145e6af9e7 pinctrl: qcom: spmi-mpp: Add PM8937 compatible
    ec6d6a0c448f pinctrl: qcom-pmic-gpio: add support for PM8937
    b04ca7b0649d scsi: st: Add MTIOCGET and MTLOAD to ioctls allowed after device reset
    16f5f485774e scsi: st: Don't modify unknown block number in MTIOCGET
    bb4a6236a430 leds: class: Protect brightness_show() with led_cdev->led_access mutex
    f29438bcfad0 clk: qcom: clk-alpha-pll: Add NSS HUAYRA ALPHA PLL support for ipq9574
    a6096f091c68 clk: qcom: dispcc-sm8550: enable support for SAR2130P
    082b6e35ff2f clk: qcom: tcsrcc-sm8550: add SAR2130P support
    ecc8f3c06edd clk: qcom: rpmh: add support for SAR2130P
    ec81102ae27f clk: qcom: rcg2: add clk_rcg2_shared_floor_ops
    e4913d4bc592 scsi: lpfc: Prevent NDLP reference count underflow in dev_loss_tmo callback
    32a2d387822b scsi: lpfc: Check SLI_ACTIVE flag in FDMI cmpl before submitting follow up FDMI
    78ef7c3909a5 scsi: lpfc: Call lpfc_sli4_queue_unset() in restart and rmmod paths
    2fcb921c2799 bpf: put bpf_link's program when link is safe to be deallocated
    a95387d8f54c iommu/amd: Fix corruption when mapping large pages from 0
    b865d4e56928 scsi: ufs: core: Make DMA mask configuration more flexible
    c11e2ec9a780 pinmux: Use sequential access to access desc->pinmux data
    09c083fbea76 ring-buffer: Limit time with disabled interrupts in rb_check_pages()
    6c55f9912307 scsi: hisi_sas: Create all dump files during debugfs initialization
    601f8001373f scsi: hisi_sas: Add cond_resched() for no forced preemption model
    caa061be068b rtla/timerlat: Make timerlat_hist_cpu->*_count unsigned long long
    76e00648ebf4 rtla/timerlat: Make timerlat_top_cpu->*_count unsigned long long
    020d042d03e2 tools/rtla: fix collision with glibc sched_attr/sched_set_attr
    d1133dd57ef8 tracing: Use atomic64_inc_return() in trace_clock_counter()
    f63a1caae97d tracing/ftrace: disable preemption in syscall probe
    5f87f1b22f3f rtla: Fix consistency in getopt_long for timerlat_hist
    53835aaccc2c pinctrl: freescale: fix COMPILE_TEST error with PINCTRL_IMX_SCU
    9556551a6d91 netpoll: Use rcu_access_pointer() in __netpoll_setup
    166cf430706d net/neighbor: clear error in case strict check is not set
    4f995f5b1633 rocker: fix link status detection in rocker_carrier_init()
    f5cc301e98a6 ASoC: hdmi-codec: reorder channel allocation list
    058067b73b9d Bluetooth: btusb: Add 3 HWIDs for MT7925
    01649f8d6d93 Bluetooth: btusb: Add new VID/PID 0489/e124 for MT7925
    b476133f037e Bluetooth: btusb: Add new VID/PID 0489/e111 for MT7925
    f64f7ff29701 Bluetooth: Set quirks for ATS2851
    359fc41e3c4f Bluetooth: Support new quirks for ATS2851
    b04b4fb91d42 Bluetooth: Add new quirks for ATS2851
    93a6160dc198 Bluetooth: hci_core: Fix not checking skb length on hci_acldata_packet
    c55a4c5a04ba Bluetooth: hci_conn: Use disable_delayed_work_sync
    1de7ce1a88cd Bluetooth: btusb: Add USB HW IDs for MT7920/MT7925
    05c10ebcbfde Bluetooth: btusb: Add RTL8852BE device 0489:e123 to device tables
    da561d5fb646 Bluetooth: hci_conn: Reduce hci_conn_drop() calls in two functions
    6e72b117614c i2c: i801: Add support for Intel Panther Lake
    1ab42ad28076 dsa: qca8k: Use nested lock to avoid splat
    9fbc0ece455e mptcp: fix possible integer overflow in mptcp_reset_tout_timer
    a50b4aa3007e bpf: Call free_htab_elem() after htab_unlock_bucket()
    34941321b516 wifi: brcmfmac: Fix oops due to NULL pointer dereference in brcmf_sdiod_sglist_rw()
    d82d48ab0c8c wifi: ipw2x00: libipw_rx_any(): fix bad alignment
    76649ccf97e2 drm/amdgpu: set the right AMDGPU sg segment limitation
    920159e1bf17 ALSA: usb-audio: Make mic volume workarounds globally applicable
    67a11de8965c virtio-net: fix overflow inside virtnet_rq_alloc
    8a71e5b65308 drm/amdgpu: skip amdgpu_device_cache_pci_state under sriov
    60dde89f944c drm/amd/display: Prune Invalid Modes For HDMI Output
    f46e40df44a9 drm/amd/display: parse umc_info or vram_info based on ASIC
    8ffd4262463d drm/amd/display: Remove hw w/a toggle if on DP2/HPO
    229d16a67093 drm/panic: Add ABGR2101010 support
    051f49d51766 net/tcp: Add missing lockdep annotations for TCP-AO hlist traversals
    bd9287ae1e85 fsl/fman: Validate cell-index value obtained from Device Tree
    8a4311bbde70 jfs: add a check to prevent array-index-out-of-bounds in dbAdjTree
    8ff757955457 jfs: fix array-index-out-of-bounds in jfs_readdir
    52756a57e978 jfs: fix shift-out-of-bounds in dbSplit
    22dcbf7661c6 jfs: array-index-out-of-bounds fix in dtReadFirst
    f2b95248a16c dma-debug: fix a possible deadlock on radix_lock
    477aa7116a76 mptcp: annotate data-races around subflow->fully_established
    cc97e79832fb drm/amd/display: Fix underflow when playing 8K video in full screen mode
    9f0cb200f469 ASoC: Intel: soc-acpi-intel-arl-match: Add rt722 and rt1320 support
    4ed4aa24b0f8 ASoC: sdw_utils: Add quirk to exclude amplifier function
    d86db5fd8a23 drm/amdgpu: refine error handling in amdgpu_ttm_tt_pin_userptr
    76d6bff2f847 netlink: specs: Add missing bitset attrs to ethtool spec
    7560543ee11f drm/amdgpu: Dereference the ATCS ACPI buffer
    f034130a7e22 drm/amdgpu: clear RB_OVERFLOW bit when enabling interrupts for vega20_ih
    dbb662d6dde2 drm/amdgpu/gfx9: Add cleaner shader for GFX9.4.2
    dff526dc3e27 drm/amd/display: Adding array index check to prevent memory corruption
    2da108b4b5fb drm/sched: memset() 'job' in drm_sched_job_init()
    3e75b36733dd net: stmmac: Programming sequence for VLAN packets with split header
    cdacfe413b6a net: sfp: change quirks for Alcatel Lucent G-010S-P
    53145c20ab06 drm/panel: simple: Add Microchip AC69T88A LVDS Display panel
    b9c6b66865d6 drm/xe/guc/ct: Flush g2h worker in case of g2h response timeout
    cccaab2b8d63 ASoC: Intel: sof_sdw: Add quirks for some new Lenovo laptops
    b55418d835bd ASoC: Intel: sof_sdw: Add quirk for cs42l43 system using host DMICs
    3b3526352977 ASoC: sdw_utils: Add a quirk to allow the cs42l43 mic DAI to be ignored
    93d419a5532e ASoC: sdw_utils: Add support for exclusion DAI quirks
    987aa730bad3 bpf: Prevent tailcall infinite loop caused by freplace
    5b6209c793ef fanotify: allow reporting errors on failure to open fd
    6cd0f8f2f317 wifi: ath5k: add PCI ID for Arcadyan devices
    778c0bbc9f43 wifi: ath5k: add PCI ID for SX76X
    543c0924d446 wifi: ath10k: avoid NULL pointer error during sdio remove
    f44fceb71d72 net: inet6: do not leave a dangling sk pointer in inet6_create()
    691d6d816f93 net: inet: do not leave a dangling sk pointer in inet_create()
    03caa9bfb9fd net: ieee802154: do not leave a dangling sk pointer in ieee802154_create()
    8df832e6b945 net: af_can: do not leave a dangling sk pointer in can_create()
    32df687e129e Bluetooth: RFCOMM: avoid leaving dangling sk pointer in rfcomm_sock_alloc()
    61686abc2f3c Bluetooth: L2CAP: do not leave dangling sk pointer on error in l2cap_sock_create()
    fd09880b16d3 af_packet: avoid erroring out after sock_init_data() in packet_create()
    ef18243f8ecb net/sched: cbs: Fix integer overflow in cbs_set_port_rate()
    ff3e39bc3cc6 net: ethernet: fs_enet: Use %pa to format resource_size_t
    821e3dc5cb44 net: fec_mpc52xx_phy: Use %pa to format resource_size_t
    9e5d6a4caebe drm/amd/display: Full exit out of IPS2 when all allow signals have been cleared
    3151d7859f93 accel/qaic: Add AIC080 support
    2093f062b268 wifi: ath12k: fix atomic calls in ath12k_mac_op_set_bitrate_mask()
    fbdf26dcc6d6 samples/bpf: Fix a resource leak
    8945c33b0500 r8169: don't apply UDP padding quirk on RTL8126A
    c76d0ebea9b4 ALSA: hda/realtek: Use codec SSID matching for Lenovo devices
    753693b1ba0a ALSA: hda/conexant: Use the new codec SSID matching
    074b2b0a4d52 ALSA: hda: Use own quirk lookup helper
    07a4acea17f5 drm/display: Fix building with GCC 15
    ee6219b9d0d2 drm/xe/xe3: Add initial set of workarounds
    43a859bd40ce drm/xe/ptl: L3bank mask is not available on the media GT
    61fda5faad77 drm/amd/display: disable SG displays on cyan skillfish
    b33f6e83921f drm/amd/display: Fix garbage or black screen when resetting otg
    9921e7879be9 drm/amd/display: skip disable CRTC in seemless bootup case
    2db11504ef82 dlm: fix possible lkb_resource null dereference
    0becac5c4e10 ASoC: Intel: sof_rt5682: Add HDMI-In capture with rt5682 support for MTL.
    015027aa6382 drm/radeon/r600_cs: Fix possible int overflow in r600_packet3_check()
    f01ddd589e16 drm/amd/display: Fix out-of-bounds access in 'dcn21_link_encoder_create'
    7296e5611adb wifi: rtw89: check return value of ieee80211_probereq_get() for RNR
    f2a107b53649 drm/mcde: Enable module autoloading
    86f5f19d670f drm/bridge: it6505: Enable module autoloading
    187d5ff497db drm: panel-orientation-quirks: Add quirk for AYA NEO GEEK
    5d7f35ed5f73 drm: panel-orientation-quirks: Add quirk for AYA NEO Founder edition
    4150f223428a drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model
    9a13d81c74b1 drm/xe/pciid: Add new PCI id for ARL
    9bca6528f203 wifi: rtw88: use ieee80211_purge_tx_queue() to purge TX skb
    ef3da232796a drm/xe/pciids: Add PVC's PCI device ID macros
    a06ef71dec3e drm/vc4: hvs: Set AXI panic modes for the HVS
    7315275ada2a drm/vc4: hdmi: Avoid log spam for audio start failure
    74bee8735bb3 drm/xe/pciids: separate ARL and MTL PCI IDs
    73b50c34acb9 drm/xe/pciids: separate RPL-U and RPL-P PCI IDs
    7f70c81a77f2 HID: magicmouse: Apple Magic Trackpad 2 USB-C driver support
    cd38a8f52940 sched_ext: add a missing rcu_read_lock/unlock pair at scx_select_cpu_dfl()
    8b6752909058 selftests/resctrl: Protect against array overflow when reading strings
    0380da1da737 regmap: maple: Provide lockdep (sub)class for maple tree's internal lock
    997a3c04d7fa soc: imx8m: Probe the SoC driver as platform driver
    0104b5cac446 firmware: qcom: scm: Allow QSEECOM on Dell XPS 13 9345
    f7bfc223b9cb mmc: sdhci-esdhc-imx: enable quirks SDHCI_QUIRK_NO_LED
    bc7ff558d72c mmc: core: Add SD card quirk for broken poweroff notification
    87ace43e5105 media: cx231xx: Add support for Dexatek USB Video Grabber 1d19:6108
    3cc5228d5b60 media: uvcvideo: Force UVC version to 1.0a for 0408:4033
    0c20fadfd074 media: uvcvideo: Add a quirk for the Kaiweets KTI-W02 infrared camera
    17db6ed5a323 media: uvcvideo: RealSense D421 Depth module metadata
    c617ac035860 soc: qcom: pd-mapper: Add QCM6490 PD maps
    bb6a99db1d2e firmware: qcom: scm: Allow QSEECOM on Lenovo Yoga Slim 7x
    ea74e9675b8e HID: add per device quirk to force bind to hid-generic
    46b99cadaef4 soc: qcom: llcc: Use designated initializers for LLC settings
    8455230b1ba0 spi: spi-fsl-lpspi: Adjust type of scldiv
    3946e07552de gpio: free irqs that are still requested when the chip is being removed
    e26cbab9821a timekeeping: Always check for negative motion
    c7559dc2047e iio: magnetometer: fix if () scoped_guard() formatting
    ff599ad2d2b8 cleanup: Adjust scoped_guard() macros to avoid potential warning
    1e5b551f8198 perf/x86/amd: Warn only on new bits set
    94c6fd020081 ACPI: video: force native for Apple MacbookPro11,2 and Air7,2
    e173bce05f70 ACPI: x86: Add adev NULL check to acpi_quirk_skip_serdev_enumeration()
    342d91f67051 ACPI: x86: Make UART skip quirks work on PCI UARTs without an UID
    41b92874281e hwmon: (nct6775) Add 665-ACE/600M-CL to ASUS WMI monitoring list
    889a0d3a35fd kcsan: Turn report_filterlist_lock into a raw_spinlock
    c82bb825f9fc crypto: ecdsa - Avoid signed integer overflow on signature decoding
    b6ce2dbe984b ext4: partial zero eof block on unaligned inode size extension
    2e996ea42ba2 kselftest/arm64: Don't leak pipe fds in pac.exec_sign_all()
    597d2e04659c btrfs: do not clear read-only when adding sprout device
    5d261f60b5c8 btrfs: canonicalize the device path before adding it
    73978a9042ce btrfs: avoid unnecessary device path update for the same device
    a2e99dcd7aaf btrfs: don't take dev_replace rwsem on task already holding it
    493326c4f10c block: RCU protect disk->conv_zones_bitmap
    be54e6e0f93a s390/cpum_sf: Handle CPU hotplug remove during sampling
    14cf8e7be177 kselftest/arm64: Log fp-stress child startup errors to stdout
    d222934627b9 epoll: annotate racy check
    23a63cf560a5 s390/pci: Ignore RID for isolated VFs
    fbb370c01ef4 s390/pci: Use topology ID for multi-function devices
    1f3b309108fd s390/pci: Sort PCI functions prior to creating virtual busses
    e18d5b424893 rust: enable arbitrary_self_types and remove `Receiver`
    2cec2d916a7d memblock: allow zero threshold in validate_numa_converage()
    5c63e24b1bb7 scsi: ufs: pltfrm: Drop PM runtime reference count after ufshcd_remove()
    fe1a34e92a83 mm: respect mmap hint address when aligning for THP
    536ffb401442 mm: fix vrealloc()'s KASAN poisoning logic
    bd4d2333a3c5 mm: open-code page_folio() in dump_page()
    1dde3fde62b7 mm: open-code PageTail in folio_flags() and const_folio_flags()
    35e8f9125d3c mm: memcg: declare do_memsw_account inline
    e4c59f343800 mm/damon: fix order of arguments in damos_before_apply tracepoint
    34b7abe40fa9 x86/mm: Add _PAGE_NOPTISHADOW bit to avoid updating userspace page tables
    0214a12832e8 x86/cpu/topology: Remove limit of CPUs due to disabled IO/APIC
    42d9fe2adf86 mm/mempolicy: fix migrate_to_node() assuming there is at least one VMA in a MM
    69d319450d1c mm/gup: handle NULL pages in unpin_user_pages()
    835ca042dfcf kasan: make report_lock a raw spinlock
    a71ddd5b87cd sched/numa: fix memory leak due to the overwritten vma->numab_state
    9fcb73b960e8 lib: stackinit: hide never-taken branch from compiler
    9bfeeeff2c92 stackdepot: fix stack_depot_save_flags() in NMI context
    eb58460ff77e ocfs2: update seq_file index in ocfs2_dlm_seq_next
    9722010afd9c x86/cpu: Add Lunar Lake to list of CPUs with a broken MONITOR implementation
    d562b457e1c3 mmc: core: Further prevent card detect during shutdown
    637cf7d444b0 mmc: sdhci-pci: Add DMI quirk for missing CD GPIO on Vexia Edu Atla 10 tablet
    af2b48a07690 arch_numa: Restore nid checks before registering a memblock with a node
    14258211d684 regmap: detach regmap from dev on regmap_exit
    d486b5741d98 xsk: fix OOB map writes when deleting elements
    47155559646e dma-fence: Use kernel's sort for merging fences
    f3dbb097d653 dma-fence: Fix reference leak on fence merge failure path
    3dcc20418ea6 dma-buf: fix dma_fence_array_signaled v4
    178e31df1fb3 bpf: fix OOB devmap writes when deleting elements
    3702a27a67c7 x86/kexec: Restore GDT on return from ::preserve_context kexec
    bc031095d1a1 modpost: Add .irqentry.text to OTHER_SECTIONS
    573e70eb7e76 drm/amdgpu/hdp5.2: do a posting read when flushing HDP
    8499665f2c2d drm/amdgpu/hdp7.0: do a posting read when flushing HDP
    c99261fa723e drm/amdgpu/hdp5.0: do a posting read when flushing HDP
    8976f9cc99ca drm/amdgpu/hdp4.0: do a posting read when flushing HDP
    e55d088edfcf drm/amdgpu/hdp6.0: do a posting read when flushing HDP
    2e7bea50a9b7 drm/amd/display: Add a left edge pixel if in YCbCr422 or YCbCr420 and odm
    f443172fbf9f drm/amd/display: Limit VTotal range to max hw cap minus fp
    a249735619a8 drm/amd/display: Correct prefetch calculation
    be826b4451fd drm/dp_mst: Fix resetting msg rx state after topology removal
    f4e1544ab82c drm/dp_mst: Verify request type in the corresponding down message reply
    0a203ff705fd drm/amd/pm: fix and simplify workload handling
    0a2d502a0aec drm/amdkfd: add MEC version that supports no PCIe atomics for GFX12
    1fc1f32c4a34 drm/dp_mst: Fix MST sideband message body length check
    c206d13552de drm/amdkfd: hard-code cacheline for gc943,gc944
    76ce78cab705 x86/cacheinfo: Delete global num_cache_leaves
    95e197354e0d cacheinfo: Allocate memory during CPU hotplug if not done from the primary CPU
    ed9132d03854 selftest: hugetlb_dio: fix test naming
    a32ea1d9ee71 selftests/damon: add _damon_sysfs.py to TEST_FILES
    a63907c8c712 pmdomain: imx: gpcv2: Adjust delay after power up handshake
    85351e4941a2 Revert "readahead: properly shorten readahead when falling back to do_page_cache_ra()"
    5e0e913624bc bcache: revert replacing IS_ERR_OR_NULL with IS_ERR again
    793e560a6b7c io_uring: Change res2 parameter type in io_uring_cmd_done
    74aaafabd3c1 smb3.1.1: fix posix mounts to older servers
    6e4672301e71 fs/smb/client: cifs_prime_dcache() for SMB3 POSIX reparse points
    aeb255487559 fs/smb/client: Implement new SMB3 POSIX type
    469e955d757e fs/smb/client: avoid querying SMB2_OP_QUERY_WSL_EA for SMB3 POSIX
    31f7b57a77d4 nilfs2: fix potential out-of-bounds memory access in nilfs_find_entry()
    5a717f43c2ea scsi: ufs: core: Add missing post notify for power mode change
    8c9425768c38 scsi: ufs: pltfrm: Disable runtime PM during removal of glue drivers
    f99cb5f6344e scsi: ufs: qcom: Only free platform MSIs when ESI is enabled
    2e7a3bb0331e scsi: ufs: core: Cancel RTC work during ufshcd_remove()
    9c191055c7ab scsi: ufs: core: sysfs: Prevent div by zero
    31d3ed440fa6 scsi: qla2xxx: Remove check req_sg_cnt should be equal to rsp_sg_cnt
    6abf16d3c915 scsi: qla2xxx: Fix use after free on unload
    2922ccf00bea scsi: qla2xxx: Supported speed displayed incorrectly for VPorts
    5d1f2b471cde scsi: qla2xxx: Fix NVMe and NPIV connect issue
    b89012158525 scsi: qla2xxx: Fix abort in bsg timeout
    763d6c294d9e ALSA: hda/realtek: Add support for Samsung Galaxy Book3 360 (NP730QFG)
    f9e25ff6ddfb ALSA: hda/realtek: Enable mute and micmute LED on HP ProBook 430 G8
    c74de4e57685 ALSA: usb-audio: add mixer mapping for Corsair HS80
    061434122610 ALSA: hda/realtek: fix micmute LEDs don't work on HP Laptops
    39c5d89b567a ALSA: usb-audio: Add extra PID for RME Digiface USB
    7f1292f8d4d6 ALSA: usb-audio: Fix a DMA to stack memory bug
    4105dd76bc8a arm64: ptrace: fix partial SETREGSET for NT_ARM_POE
    8ab73c34e3c5 arm64: ptrace: fix partial SETREGSET for NT_ARM_FPMR
    abd614bbfcee arm64: ptrace: fix partial SETREGSET for NT_ARM_TAGGED_ADDR_CTRL
    34b61978676a arm64: Ensure bits ASID[15:8] are masked out when the kernel uses 8-bit ASIDs
    ec643064abcf arm64: mm: Fix zone_dma_limit calculation
    2b3f30c8edbf iommufd: Fix out_fput in iommufd_fault_alloc()
    aec9ed5663d2 net :mana :Request a V2 response version for MANA_QUERY_GF_STAT
    ba0ee489cdde tracing: Fix cmp_entries_dup() to respect sort() comparison rules
    2f4320f9f888 can: mcp251xfd: mcp251xfd_get_tef_len(): work around erratum DS80000789E 6.
    3b0c5bb437d3 can: dev: can_set_termination(): allow sleeping GPIOs
    f505fb7e2558 watchdog: rti: of: honor timeout-sec property
    c5797f195c67 ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write
    81eed631935f ksmbd: fix Out-of-Bounds Read in ksmbd_vfs_stream_read
    1aece9662013 LoongArch: KVM: Protect kvm_check_requests() with SRCU
    9b602190cf2d LoongArch: Add architecture specific huge_pte_clear()
    e689bc6697a7 HID: wacom: fix when get product name maybe null pointer
    0c08f4a6016d HID: i2c-hid: Revert to using power commands to wake on resume
    a7e0e292dca4 rust: allow `clippy::needless_lifetimes`
    73bb82a4259a x86/CPU/AMD: WARN when setting EFER.AUTOIBRS if and only if the WRMSR fails
    412bf01fd5db bpf: Fix exact match conditions in trie_get_next_key()
    7218e441ad9d bpf: Handle in-place update for full LPM trie correctly
    6dc076a257a5 bpf: Remove unnecessary kfree(im_node) in lpm_trie_update_elem
    81ec3c6ceb7c bpf: Handle BPF_EXIST and BPF_NOEXIST for LPM trie
    0d8658c0cb59 smb: client: fix potential race in cifs_put_tcon()
    0e421cb8085c iio: magnetometer: yas530: use signed integer type for clamp limits
    c2277e285923 scatterlist: fix incorrect func name in kernel-doc
    03db61c43c8e ocfs2: free inode when ocfs2_get_init_inode() fails
    b94c2f7a1a23 drm/v3d: Enable Performance Counters before clearing them
    687e10f3a3c5 ASoC: mediatek: mt8188-mt6359: Remove hardcoded dmic codec
    1e1083db623d scsi: scsi_debug: Fix hrtimer support for ndelay
    1f5e2f1ca587 scsi: sg: Fix slab-use-after-free read in sg_release()
    05b436f3cf65 nvme-rdma: unquiesce admin_q before destroy it
    ceff9ac13a24 nvme-tcp: fix the memleak while create new ctrl failed
    845cc4ee8e64 nvme-fabrics: handle zero MAXCMD without closing the connection
    f9f2a2739eb3 bpf: Fix narrow scalar spill onto 64-bit spilled scalar slots
    0da7d4b7caf0 bpf: Don't mark STACK_INVALID as STACK_MISC in mark_stack_slot_misc
    2459a0b14967 drivers/virt: pkvm: Don't fail ioremap() call if MMIO_GUARD fails
    7cddf3b4a052 irqchip/stm32mp-exti: CONFIG_STM32MP_EXTI should not default to y when compile-testing
    bdbf87486dca bpf: Ensure reg is PTR_TO_STACK in process_iter_arg
    dd9478d54c73 x86/pkeys: Ensure updated PKRU value is XRSTOR'd
    00dee8e1d7a9 x86/pkeys: Change caller of update_pkru_in_sigframe()
    554888798756 nvme: don't apply NVME_QUIRK_DEALLOCATE_ZEROES when DSM is not supported
    913a3f1c06a4 pmdomain: core: Fix error path in pm_genpd_init() when ida alloc fails
    a78af1180623 pmdomain: core: Add missing put_device()
    036d4d0d11a3 ASoC: SOF: ipc3-topology: fix resource leaks in sof_ipc3_widget_setup_comp_dai()
    eee02810cea3 ASoC: SOF: ipc3-topology: Convert the topology pin index to ALH dai index
    90b72189de2c spi: mpc52xx: Add cancel_work_sync before module remove
    cd3018c9b2ad tools: Override makefile ARCH variable if defined, but empty
    7bc37dd9ea96 ALSA: usb-audio: Notify xrun for low-latency mode
    01c3525718e8 ALSA: seq: ump: Fix seq port updates per FB info notify
    5c9e3bb43a35 tcp_bpf: Fix the sk_mem_uncharge logic in tcp_bpf_sendmsg
    8bc28b537d57 drm/sti: Add __iomem for mixer_dbg_mxn's parameter
    1b6341c9d20b bpftool: fix potential NULL pointer dereferencing in prog_dump()
    dabaf268460f xsk: always clear DMA mapping information when unmapping the pool
    a222e48feaf1 bpf, vsock: Invoke proto::close on close()
    47f4ad956be0 bpf, vsock: Fix poll() missing a queue
    3ad69f2f0899 scsi: ufs: core: Add ufshcd_send_bsg_uic_cmd() for UFS BSG
    7d4e5e33ea4e scsi: ufs: core: Always initialize the UIC done completion
    66edf59bc444 drm/amd/display: Ignore scalar validation failure if pipe is phantom
    7c4fd0072ad1 drm/amd/display: calculate final viewport before TAP optimization
    111746277362 i3c: master: Fix dynamic address leak when 'assigned-address' is present
    c3806cf64739 i3c: master: Extend address status bit to 4 and add I3C_ADDR_SLOT_EXT_DESIRED
    815d8f0e524f i3c: master: Replace hard code 2 with macro I3C_ADDR_SLOT_STATUS_BITS
    8e9fec7f79ad f2fs: fix to requery extent which cross boundary of inquiry
    e6a91ed4b9e5 f2fs: fix to adjust appropriate length for fiemap
    6358df316dd8 f2fs: clean up w/ F2FS_{BLK_TO_BYTES,BTYES_TO_BLK}
    405b6d5f90df ntp: Remove invalid cast in time offset math
    0ab037634ba5 zram: clear IDLE flag in mark_idle()
    4e51552bc5d8 zram: do not mark idle slots that cannot be idle
    42311846d358 mmc: core: Use GFP_NOIO in ACMD22
    19e22f1e68c7 mmc: core: Adjust ACMD22 to SDUC
    c00372e41bf6 mmc: sd: SDUC Support Recognition
    f42e0656d483 mmc: mtk-sd: Fix MMC_CAP2_CRYPTO flag setting
    eac322ed9378 mmc: mtk-sd: fix devm_clk_get_optional usage
    95b6c851fb99 mmc: mtk-sd: Fix error handle of probe function
    acb8edf2ec34 mmc: mtk-sd: use devm_mmc_alloc_host
    db2fc255fcf4 gpio: grgpio: Add NULL check in grgpio_probe
    8b287418b529 gpio: grgpio: use a helper variable to store the address of ofdev->dev
    316183d58319 net: avoid potential UAF in default_operstate()
    876113e99ae1 vsock/test: fix parameter types in SO_VM_SOCKETS_* calls
    b24737a85e18 vsock/test: fix failures due to wrong SO_RCVLOWAT parameter
    3591bc906718 net/mlx5e: Remove workaround to avoid syndrome for internal port
    83ca241410e2 net/mlx5e: SD, Use correct mdev to build channel param
    9ede83d29267 net/mlx5: HWS: Properly set bwc queue locks lock classes
    1af1342724bd net/mlx5: HWS: Fix memory leak in mlx5hws_definer_calc_layout
    177b72ed7c77 geneve: do not assume mac header is set in geneve_xmit_skb()
    68292db0d069 mlxsw: spectrum_acl_flex_keys: Use correct key block on Spectrum-4
    cfa0f932774b mlxsw: spectrum_acl_flex_keys: Constify struct mlxsw_afk_element_inst
    22074dc1d4d3 ethtool: Fix wrong mod state in case of verbose and no_mask bitset
    be4d0ac67d92 netfilter: nft_set_hash: skip duplicated elements pending gc run
    ba5e070f3668 netfilter: ipset: Hold module reference while requesting a module
    152a8c179f2e net: sched: fix erspan_opt settings in cls_flower
    a36a6d7037fc Revert "udp: avoid calling sock_def_readable() if possible"
    da5cc778e7bf netfilter: nft_inner: incorrect percpu area handling under softirq
    992fd34122de igb: Fix potential invalid memory access in igb_init_module()
    f017f37387f7 ixgbe: Correct BASE-BX10 compliance code
    25d6979ef303 ixgbe: downgrade logging of unsupported VF API version to debug
    bf4c4782e532 ixgbevf: stop attempting IPSEC offload on Mailbox API 1.5
    befb42b7ce55 idpf: set completion tag for "empty" bufs associated with a packet
    7ee237851dcf ice: Fix VLAN pruning in switchdev mode
    25a702f2528a ice: fix PHY timestamp extraction for ETH56G
    2fbcd12de22e ice: fix PHY Clock Recovery availability check
    688842f47ee9 net: hsr: must allocate more bytes for RedBox support
    5e1c91f4e6f7 net/qed: allow old cards not supporting "num_images" to work
    6f0ae06a234a net/smc: fix LGR and link use-after-free issue
    6638e52dcfaf net/smc: initialize close_work early to avoid warning
    e48b211c4c59 tipc: Fix use-after-free of kernel socket in cleanup_bearer().
    9ee68b0f2370 dccp: Fix memory leak in dccp_feat_change_recv
    8b591bd522b7 net/ipv6: release expired exception dst cached in socket
    3027a9fe02ed net: phy: microchip: Reset LAN88xx PHY to ensure clean link state on LAN7800/7850
    ddc6402e2934 platform/x86: asus-wmi: Ignore return value when writing thermal policy
    68fceb143b63 can: j1939: j1939_session_new(): fix skb reference counting
    01f95357e472 ipv6: avoid possible NULL deref in modify_prefix_route()
    9545011e7b2a net: Fix icmp host relookup triggering ip_rt_bug
    9a97fb4fdb81 bnxt_en: ethtool: Supply ntuple rss context action
    7ea527fbd7b9 net: hsr: avoid potential out-of-bound access in fill_frame_info()
    a007f8895f7c net/sched: tbf: correct backlog statistic for GSO packets
    e0964a577864 ptp: Add error handling for adjfine callback in ptp_clock_adjtime
    b718b68a9964 net: enetc: Do not configure preemptible TCs if SIs do not support
    5bf92a924f1f selftests: hid: fix typo and exit code
    e227c042580a netfilter: nft_socket: remove WARN_ON_ONCE on maximum cgroup level
    c40c96d98e53 netfilter: x_tables: fix LED ID check in led_tg_check()
    48130002e64f ipvs: fix UB due to uninitialized stack access in ip_vs_protocol_init()
    02b10fd22d3a can: f81604: f81604_handle_can_bus_errors(): fix {rx,tx}_errors statistics
    51251ed96e82 can: ems_usb: ems_usb_rx_err(): fix {rx,tx}_errors statistics
    0d515fff98b5 can: sun4i_can: sun4i_can_err(): fix {rx,tx}_errors statistics
    bc18651a8175 can: sja1000: sja1000_err(): fix {rx,tx}_errors statistics
    4bf39aee3b70 can: hi311x: hi3110_can_ist(): fix {rx,tx}_errors statistics
    377647078baf can: ifi_canfd: ifi_canfd_handle_lec_err(): fix {rx,tx}_errors statistics
    42e3dccf9682 can: m_can: m_can_handle_lec_err(): fix {rx,tx}_errors statistics
    bc30b2fe8c54 can: hi311x: hi3110_can_ist(): fix potential use-after-free
    412a8927e1db can: sun4i_can: sun4i_can_err(): call can_change_state() even if cf is NULL
    cdf85e7c979c can: c_can: c_can_handle_bus_err(): update statistics if skb allocation fails
    fc2aeda8c9f7 can: gs_usb: add usb endpoint address detection at driver probe step
    316b301a2f93 watchdog: mediatek: Make sure system reset gets asserted in mtk_wdt_restart()
    17cab7b4ff4b watchdog: apple: Actually flush writes after requesting watchdog restart
    337dbfeea335 watchdog: xilinx_wwdt: Calculate max_hw_heartbeat_ms using clock frequency
    a282aff221bf iTCO_wdt: mask NMI_NOW bit for update_no_reboot_bit() call
    7160a4379dcc arch/arm64/configs: remove CONFIG_SM_DISPCC_8650
    61baee2dc534 Linux 6.12.4
    372504eb9c10 Revert "drm/xe/xe_guc_ads: save/restore OA registers and allowlist regs"
    aa2895911816 posix-timers: Target group sigqueue to current task only if not exiting
    bf078ed5daa3 drm/amd/display: Remove PIPE_DTO_SRC_SEL programming from set_dtbclk_dto
    ca9982977325 drm/amd/display: update pipe selection policy to check head pipe
    8cb2f6793845 drm/amd/display: Fix handling of plane refcount
    08e5f8e1a24f drm/amd/pm: Remove arcturus min power limit
    8f5b79a452bd drm/amd/pm: disable pcie speed switching on Intel platform for smu v14.0.2/3
    c8a6a98b813c drm/amd/pm: update current_socclk and current_uclk in gpu_metrics on smu v13.0.7
    6209e4178aea drm/amd: Fix initialization mistake for NBIO 7.11 devices
    e5483137d16f drm/amd/pm: skip setting the power source on smu v14.0.2/3
    6383199ada42 drm/amdgpu: fix usage slab after free
    be51376b1f50 drm/amd: Add some missing straps from NBIO 7.11.0
    a4f2599ef70f drm/amdgpu/pm: add gen5 display to the user on smu v14.0.2/3
    ff34c909ed3f drm/amdkfd: Use the correct wptr size
    5ddcb50b7002 drm/xe/guc_submit: fix race around suspend_pending
    1c052c66461f drm/xe/migrate: use XE_BO_FLAG_PAGETABLE
    f6f6bcb4e228 Revert "drm/radeon: Delay Connector detecting when HPD singals is unstable"
    b940b6516bc2 drm/xe/migrate: fix pat index usage
    cb56ef805f44 drm/xe/xe_guc_ads: save/restore OA registers and allowlist regs
    2719fe94d28c drm: xlnx: zynqmp_dpsub: fix hotplug detection
    96c308559eed drm/etnaviv: flush shader L1 cache after user commandstream
    e1f0df8ba6f5 drm/bridge: it6505: Fix inverted reset polarity
    576fe9345d0a drm/mediatek: Fix child node refcount handling in early exit
    22fd2377b9ce drm/fbdev-dma: Select FB_DEFERRED_IO
    f67786293193 drm/sti: avoid potential dereference of error pointers
    faf6c1caf580 drm: panel: jd9365da-h3: Remove unused num_init_cmds structure member
    3cf2e7c448e2 drm/sti: avoid potential dereference of error pointers in sti_gdp_atomic_check
    837eb99ad334 drm/sti: avoid potential dereference of error pointers in sti_hqvdp_atomic_check
    73292e8e6187 drm/panic: Fix uninitialized spinlock acquisition with CONFIG_DRM_PANIC=n
    742ae9253ca8 net: fec: make PPS channel configurable
    75d06a0404ee net: fec: refactor PPS channel configuration
    e8139c66df98 dt-bindings: net: fec: add pps channel property
    0207180b59cd binder: add delivered_freeze to debugfs output
    b8b77712142f binder: fix memleak of proc->delivered_freeze
    f3cf682d3a97 binder: allow freeze notification for dead nodes
    648c92b1a898 binder: fix BINDER_WORK_CLEAR_FREEZE_NOTIFICATION debug logs
    af8a8044b09a binder: fix BINDER_WORK_FROZEN_BINDER debug logs
    fe39e0ea2d0b binder: fix freeze UAF in binder_release_work()
    6b1be1da1f82 binder: fix OOB in binder_add_freeze_work()
    38fbefeb2c14 binder: fix node UAF in binder_add_freeze_work()
    ac04ef405da9 powerpc: Adjust adding stack protector flags to KBUILD_CLAGS for clang
    fab0610d646a powerpc: Fix stack protector Kconfig test for clang
    edd18cc7ba04 iio: gts: fix infinite loop for gain_to_scaletables()
    218ecc359491 iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer
    ee7a0a9daa8e iio: Fix fwnode_handle in __fwnode_iio_channel_get_by_name()
    c11a06753211 iio: invensense: fix multiple odr switch when FIFO is off
    1344ff89fe4d iio: accel: kx022a: Fix raw read format
    6f73f920b7ad nfsd: fix nfs4_openowner leak when concurrent nfsd4_open occur
    7365d1f8de63 nfsd: make sure exp active before svc_export_show
    d093cc19f709 PCI: rockchip-ep: Fix address translation unit programming
    f8553091240f PCI: of_property: Assign PCI instead of CPU bus address to dynamic PCI nodes
    e9a75f2de97d PCI: dwc: ep: Fix advertised resizable BAR size regression
    a4ee8ff07636 dm thin: Add missing destroy_work_on_stack()
    3cad6b5a1278 dm: Fix typo in error message
    f9a18889aad9 mm/vmalloc: combine all TLB flush operations of KASAN shadow virtual address into one operation
    1ba771763d1b ovl: properly handle large files in ovl_security_fileattr
    e78d04d36481 leds: flash: mt6360: Fix device_for_each_child_node() refcounting in error paths
    3a3f789ee15b thermal: int3400: Fix reading of current_uuid for active policy
    987999769e69 fs/proc/kcore.c: Clear ret value in read_kcore_iter after successful iov_iter_zero
    8b5aea5e5186 slab: Fix too strict alignment check in create_cache()
    a143b50de2b8 PCI: endpoint: Clear secondary (not primary) EPC in pci_epc_remove_epf()
    c74a1df6c2a2 PCI: endpoint: Fix PCI domain ID release in pci_epc_destroy()
    5946dc018bef PCI: keystone: Add link up check to ks_pcie_other_map_bus()
    c8a1d7b85d9e PCI: keystone: Set mode as Root Complex for "ti,keystone-pcie" compatible
    768673a15bad i3c: master: svc: Modify enabled_events bit 7:0 to act as IBI enable counter
    34a55b54845d i3c: master: svc: fix possible assignment of the same address to two devices
    0e8ab955c6d0 i3c: master: Fix miss free init_dyn_addr at i3c_master_put_i3c_addrs()
    b2529be317f8 i3c: master: svc: Fix pm_runtime_set_suspended() with runtime pm enabled
    7491d6255659 scsi: ufs: exynos: Fix hibern8 notify callbacks
    0581ec70b351 scsi: ufs: exynos: Add check inside exynos_ufs_config_smu()
    20c263578264 s390/stacktrace: Use break instead of return statement
    3e5fbcbc388a util_macros.h: fix/rework find_closest() macros
    234d5f75c3ae mtd: spinand: winbond: Fix 512GW, 01GW, 01JW and 02JW ECC information
    5e127c439298 mtd: spinand: winbond: Fix 512GW and 02JW OOB layout
    e3d1c9e2b811 ceph: fix cred leak in ceph_mds_check_access()
    ffa6ba7bdb7f ceph: pass cred pointer to ceph_mds_auth_match()
    2431ce949f7f ceph: extract entity name from device id
    15136c3861a3 f2fs: fix to drop all discards after creating snapshot on lvm device
    943c0f601cd2 mm/slub: Avoid list corruption when removing a slab from the full list
    ac43ea3d27a8 PCI: imx6: Fix suspend/resume support on i.MX6QDL
    7eba7f8c65fc remoteproc: qcom_q6v5_pas: disable auto boot for wpss
    5fe7c08e758d perf jevents: fix breakage when do perf stat on system metric
    8cc7aba7b6d9 PCI: qcom: Disable ASPM L0s for X1E80100
    15bfacdb8539 vfio/qat: fix overflow check in qat_vf_resume_write()
    33544a590df2 net: stmmac: set initial EEE policy configuration
    0cfd6929fa78 ARM: 9431/1: mm: Pair atomic_set_release() with _read_acquire()
    c86d26b4b089 ARM: 9430/1: entry: Do a dummy read from VMAP shadow
    473ffae30301 s390/entry: Mark IRQ entries to fix stack depot warnings
    ad6750c17fb4 ARM: 9429/1: ioremap: Sync PGDs for VMALLOC shadow
    43cc7939f5e6 spmi: pmic-arb: fix return path in for_each_available_child_of_node()
    d34bf994bb97 driver core: fw_devlink: Stop trying to optimize cycle detection logic
    d60e418834b9 nvmem: core: Check read_only flag for force_ro in bin_attr_nvmem_write()
    f25a9f1df1f6 ad7780: fix division by zero in ad7780_write_raw()
    6d79acba7ad3 clk: qcom: gcc-qcs404: fix initial rate of GPLL3
    322b2054f3c1 cpufreq: scmi: Fix cleanup path when boost enablement fails
    d63516b1e0d3 powerpc/vdso: Drop -mstack-protector-guard flags in 32-bit files with clang
    100120f64f5b mm/damon/vaddr: fix issue in damon_va_evenly_split_region()
    2a93e095867f leds: lp55xx: Remove redundant test for invalid channel number
    5018696b19bc iommu/arm-smmu: Defer probe of clients after smmu device bound
    aa3c291fd254 iommu/io-pgtable-arm: Fix stage-2 map/unmap for concatenated tables
    641404289fdd zram: clear IDLE flag after recompression
    034582624a1d vmstat: call fold_vm_zone_numa_events() before show per zone NUMA event
    19cacabdd5a8 ftrace: Fix regression with module command in stack_trace_filter
    29aa92f514bf maple_tree: refine mas_store_root() on storing NULL
    72014e7745cc ovl: Filter invalid inodes with missing lookup function
    3213b92754b9 kunit: string-stream: Fix a UAF bug in kunit_init_suite()
    5d28fac59369 kunit: Fix potential null dereference in kunit_device_driver_test()
    b544be374458 tracing: Fix function timing profiler to initialize hashtable
    4f74bd307f07 media: uvcvideo: Require entities to have a non-zero unique ID
    7ccadc3217bc media: uvcvideo: Stop stream during unregister
    891b5790bee8 media: platform: allegro-dvt: Fix possible memory leak in allocate_buffers_internal()
    6f238d620181 media: ov08x40: Fix burst write sequence
    e3bd4ab16584 media: gspca: ov534-ov772x: Fix off-by-one error in set_frame_rate()
    b954af359f5d media: venus: Fix pm_runtime_set_suspended() with runtime pm enabled
    92b1d2a7a110 media: amphion: Fix pm_runtime_set_suspended() with runtime pm enabled
    6b29c887a63a net: phy: dp83869: fix status reporting for 1000base-x autonegotiation
    eaafbcf0a578 efi/libstub: Free correct pointer on failure
    36a4bfb5fc67 media: platform: exynos4-is: Fix an OF node reference leak in fimc_md_is_isp_available
    901070571bc1 media: ts2020: fix null-ptr-deref in ts2020_probe()
    ff1c45c865e1 media: verisilicon: av1: Fix reference video buffer pointer assignment
    4f0904a175c6 media: platform: rga: fix 32-bit DMA limitation
    2f86d104539f media: imx-jpeg: Ensure power suppliers be suspended before detach them
    1def915b1564 media: i2c: tc358743: Fix crash in the probe error path when using polling
    6f655bc1f712 arm64: dts: freescale: imx8mp-verdin: Fix SD regulator startup delay
    3c0be29b6aad media: i2c: dw9768: Fix pm_runtime_set_suspended() with runtime pm enabled
    bc3889a39baf media: mtk-jpeg: Fix null-ptr-deref during unload module
    5ade59d28ead media: imx-jpeg: Set video drvdata before register video device
    182b9edc02c4 media: amphion: Set video drvdata before register video device
    c98586d8d01c media: qcom: camss: fix error path on configuration of power domains
    3f94622dbeaa arm64: dts: mediatek: mt8186-corsola: Fix IT6505 reset line polarity
    2bea1d0e57ae arm64: dts: ti: k3-am62-verdin: Fix SD regulator startup delay
    5d71869f3385 arm64: dts: freescale: imx8mm-verdin: Fix SD regulator startup delay
    e7f2429130fb arm64: dts: mediatek: mt8186-corsola: Fix GPU supply coupling max-spread
    cd70598eb061 arm64: dts: allwinner: pinephone: Add mount matrix to accelerometer
    c3d075489697 md/md-bitmap: Add missing destroy_work_on_stack()
    be19e6e4339d md/raid5: Wait sync io to finish before changing group cnt
    596f7faa60b2 netkit: Add option for scrubbing skb meta data
    259449873c37 iommu/tegra241-cmdqv: Fix unused variable warning
    a6f9e7a0bf11 btrfs: ref-verify: fix use-after-free after invalid ref action
    93992c3d9629 btrfs: add a sanity check for btrfs root in btrfs_search_slot()
    b03d19312b90 btrfs: don't loop for nowait writes when checking for cross references
    f8a5129e4a9f btrfs: fix use-after-free in btrfs_encoded_read_endio()
    13bfaeafbfe3 btrfs: move priv off stack in btrfs_encoded_read_regular_fill_pages()
    a0f5689a684e btrfs: change btrfs_encoded_read() so that reading of extent is done by caller
    11755f72e54f btrfs: drop unused parameter file_offset from btrfs_encoded_read_regular_fill_pages()
    8ea87e347922 quota: flush quota_release_work upon quota writeback
    2e87ea9bf367 xfs: remove unknown compat feature check in superblock write validation
    6d8ac5ebe6e8 aufs6: core
    587abc1b64c4 aufs6: standalone
    1af41d30ef42 aufs6: mmap
    6ee2464d2e9d aufs6: base
    103b676505f7 aufs6: kbuild
    67281562943f qemux86: add configuration symbol to select values
    73f315ca0823 sched/isolation: really align nohz_full with rcu_nocbs
    1e4e7f8ab622 clear_warn_once: add a clear_warn_once= boot parameter
    918e7a825e8b clear_warn_once: bind a timer to written reset value
    f533f87c3758 clear_warn_once: expand debugfs to include read support
    f149ca27cba9 tools: Remove some options from CLANG_CROSS_FLAGS
    e633abe9c44e libbpf: Fix build warning on ref_ctr_off
    ec0916a4cfc1 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    03721ceb5626 perf: x86-32: explicitly include <errno.h>
    4c36c5295bb0 perf: mips64: Convert __u64 to unsigned long long
    b0200449610d perf: fix bench numa compilation
    aff0940b2212 perf: add SLANG_INC for slang.h
    ef912018d28c perf: add sgidefs.h to for mips builds
    d8860f858b87 perf: change --root to --prefix for python install
    dc38a0eee6e5 perf: add 'libperl not found' warning
    6ed51f8786da perf: force include of <stdbool.h>
    c538d4c4ac65 fat: Replace prandom_u32() with get_random_u32()
    63d94846f0c5 fat: don't use obsolete random32 call in namei_vfat
    7816667451ef FAT: Added FAT_NO_83NAME
    f81dbd60f0d5 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    771cdefba44b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    a24784fd8f88 yaffs2: update to v6.12 folio changes
    d0a48fd46db8 yaffs2: adapt to v6.10 i_time changes
    d097e4d4115a yaffs: fix mtime/itime field access
    4411e0d49fe3 yaffs2: update VFS ctime operations to 6.6+
    1b6619086e8b yaffs2: v6.5 fixups
    25b261ee3c54 yaffs2: Fix miscalculation of devname buffer length
    5c07936a5d1c yaffs2: convert user_namespace to mnt_idmap
    55986a1284b3 yaffs2: replace bdevname call with sprintf
    6f5508f8db8f yaffs2: convert read_page -> readfolio
    fd179a5df5d5 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    c9a620dacdd1 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    78588208ed17 yaffs2: v5.12+ build fixups (not runtime tested)
    8d2dddba272c yaffs: include blkdev.h
    8c1ca9ef9712 yaffs: Fix build failure by handling inode i_version with proper atomic API
    27005cbac2ed yaffs2: v5.6 build fixups
    668211c9f9b7 yaffs2: fix memory leak when /proc/yaffs is read
    285f911dcc1c yaffs: add strict check when call yaffs_internal_read_super
    ffc2ed489ccf yaffs: repair yaffs_get_mtd_device
    6dce4b70a5e3 yaffs: Fix build failure by handling inode i_version with proper atomic API
    19f283abc5d1 yaffs2: fix memory leak in mount/umount
    04e84672b571 yaffs: Avoid setting any ACL releated xattr
    4f221d6a32e2 Yaffs:check oob size before auto selecting Yaffs1
    81f36004e56b fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    26d7a3dd0054 yaffs2: adjust to proper location of MS_RDONLY
    a7016eac4540 yaffs2: import git revision b4ce1bb (jan, 2020)
    feb240bbb91e initramfs: allow an optional wrapper script around initramfs generation
    874746eaa341 drivers: gpu: drm: msm: registers: improve reproducibility
    1d42508faee8 tools: use basename to identify file in gen-mach-types
    4b055eca593d iwlwifi: select MAC80211_LEDS conditionally
    97e20e275ac0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    6dec58319165 defconfigs: drop obselete options
    a416ccb5b6c9 linux-yocto: Handle /bin/awk issues
    7efe8a1e5158 uvesafb: provide option to specify timeout for task completion
    78d10ae07eca uvesafb: print error message when task timeout occurs
    80473b7eb8ca compiler.h: Undef before redefining __attribute_const__
    ddeff2f1a9a7 vmware: include jiffies.h
    3dcdda8912b4 Resolve jiffies wrapping about arp
    3b1507db6735 nfs: Allow default io size to be configured.
    c2fedad05f77 check console device file on fs when booting
    208d6fbada3f mount_root: clarify error messages for when no rootfs found
    dbe9454c8ea0 mconf: fix output of cflags and libraries
    7c7b224f5cce menuconfig,mconf-cfg: Allow specification of ncurses location
    b6c189c81397 modpost: mask trivial warnings
    a5cc21325ba9 kbuild: exclude meta directory from distclean processing
    361ec143c23f powerpc: serialize image targets
    605e6ccb304c arm: serialize build targets
    e94b04fcb7d2 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    44cc7f69a0a0 cpu/amd: inhibit SMP check for qemux86
    a08cb65331e6 x86_64_defconfig: Fix warnings
    8ad332ef777b mips: make current_cpu_data preempt safe
    754f05ddce3f mips: vdso: fix 'jalr $t9' crash in vdso code
    325ff78ff44d mips: Kconfig: add QEMUMIPS64 option
    99ae0eadcf11 4kc cache tlb hazard: tlbp cache coherency
    c6894c66a534 malta uhci quirks: make allowance for slow 4k(e)c
    8b52c01f3294 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    16c7629f035e drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    6b60c874cbb0 arm64: defconfig: cleanup config options
    8e44673ecd89 vexpress: Pass LOADADDR to Makefile
    f34e6805aad5 arm: ARM EABI socketcall
    94dec9b88de4 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 7c8016ff75fe7bc3e51b6da659bc2ea7491a267e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-04 12:34:04 +00:00
Chen Qi
fa9e0cf4b1 rpm: avoid empty plugindir error
When using dnf/rpm, we'll see error messages like below:

  error: /usr/lib64/rpm/macros: line 1183: Macro %__plugindir has empty body

The problem was introduced by the following commit in RPM upstream:
ab28534f9e

We'll need to move RPM_PLUGINDIR definition to top-level CMakefile.txt
to solve this problem.

(From OE-Core rev: 3a54d93052cb7f3d591517a873e516136e965ba8)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-04 12:34:04 +00:00
Jiaying Song
02ea18bc68 boost: fix do_fetch error
Change the SRC_URI to the correct value due to the following error:
WARNING: boost-native-1.86.0-r0 do_fetch: Checksum failure encountered with download of https://boostorg.jfrog.io/artifactory/main/release/1.86.0/source/boost_1_86_0.tar.bz2 - will attempt other sources if available

(From OE-Core rev: 8dd4814c5994ff008969591e863f931692740361)

Signed-off-by: Jiaying Song <jsong-cn@ala-lpggp7.wrs.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-04 12:34:04 +00:00
Yi Zhao
ab81268a42 util-linux: add volatile file for lastlog2
Add volatile file for lastlog2 to fix runtime error with sysvinit:
$ lastlog2
lastlog2: Couldn't read entries for all users
lastlog2: Cannot open database (/var/lib/lastlog/lastlog2.db): unable to open database file

(From OE-Core rev: 440f4830d1f1bac9d55584fc4e48627920493cb9)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-04 12:34:04 +00:00
Yi Zhao
bb719cb783 util-linux: replace local patch with upstream patch
There is a better solution upstream to fix the pam_lastlog2 installation
issue[1]. Backport this patch to replace the local patch.

[1] https://github.com/util-linux/util-linux/pull/3173

(From OE-Core rev: 1c984d0a06cdcba49f8b0acd12edebfeaedf3aa5)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-04 12:34:04 +00:00
Yi Zhao
e2e26a1619 libpam: set pam module path to ${base_libdir}/security
After upgrading to 1.7.0, the pam module path is set to
${libdir}/security[1]. But from the pam.conf(5) man page, the default
location seems to be "Module location: /lib/security/ or
/lib64/security/, depending on the architecture"[2].

Many third-party pam modules still use {base_libdir}/security as the
default module path, such as pam_lastlog2 (from util-linux), pam_cgroup
(from libcgroup), pam_cap (from libcap), etc.
So currently if you don't use the absolute path to these modules in the
files in /etc/pam.d/, they will not be found:

PAM unable to dlopen(/usr/lib/security/pam_lastlog2.so):
/usr/lib/security/pam_lastlog2.so: cannot open shared object file: No such file or directory

This change only affects sysvinit without usrmerge feature enabled, and
has no effect on systems using systemd.

[1] https://git.openembedded.org/openembedded-core/commit/?id=00eb730291f9630eb70480d37ed48fbadecc547a
[2] https://www.man7.org/linux/man-pages/man5/pam.conf.5.html

(From OE-Core rev: bc307ac262956a763fb68d621fb6463b1460bf59)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-04 12:34:04 +00:00
Bin Lan
e71a52a528 package_rpm: set a timestamp handling policy with the new macro %build_mtime_policy
There is the following warning when the do_package_write_rpm task is executed
when bitbake linux-yocto:
  warning: %clamp_mtime_to_source_date_epoch is deprecated, please use %build_mtime_policy

After RPM is upgraded to 4.20.0, the %clamp_mtime_to_source_date_epoch macro is
now deprecated in favor of %build_mtime_policy set to clamp_to_source_date_epoch.

(From OE-Core rev: fa9b9e599bbf3ac73c7a9b1d15ccb0e0bbbe4c11)

Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-04 12:34:04 +00:00
Alexander Kanavin
f47df2c445 file: upgrade 5.45 -> 5.46
Drop patch merged upstream.

(From OE-Core rev: 85fabd7ab4847aa62669ec4edc0dcf02bc7e9b21)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-04 12:34:04 +00:00
Alexander Kanavin
f79feb0d24 shadow: exclude pre-releases from version checks
(From OE-Core rev: c76f59968c5d11dda9f521baa63a336d54cbfac9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-04 12:34:04 +00:00
Alexander Kanavin
5a4d20322b shadow: merge .inc into .bb
(From OE-Core rev: e7f39f67977a3915290ce26a2a828eecc6dddda4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-04 12:34:04 +00:00
Alexander Kanavin
59486c6506 kbd: update 2.6.4 -> 2.7.1
(From OE-Core rev: 1e116a0f45a218a751a8c11faa642d976182c021)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-04 12:34:04 +00:00
Alexander Kanavin
84287daee0 iproute2: update 6.11.0 -> 6.12.0
(From OE-Core rev: f8c665ca16bf643039bd3f0a918ea9cf9d1a3726)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-04 12:34:03 +00:00
Alexander Kanavin
0b39822e4c rt-tests: update 2.7 -> 2.8
(From OE-Core rev: 5ace733314256540e4211f9228f691fdef199659)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-04 12:34:03 +00:00
Alexander Kanavin
dc63c19cc2 libxshmfence: update 1.3.2 -> 1.3.3
Drop patch as issue solved upstream.

(From OE-Core rev: f9b7b8885913f583f1442b3140c743b98a52e68e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-04 12:34:03 +00:00
Alexander Kanavin
3c64d6d175 libxt: update 1.3.0 -> 1.3.1
(From OE-Core rev: 0a5eb0b01048341a430c3ba49aa4bd7983ace444)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-04 12:34:03 +00:00
Alexander Kanavin
c76f119db8 gettext: update 0.22.5 -> 0.23.1
Drop patches:
parallel.patch
(obsolete as no .a files are installed)

0001-intl-Fix-build-failure-with-make-j.patch
(backport)

Gettext no longer installs anything into $libdir/gettext by default
but still creates the directory and so it should be packaged.

(From OE-Core rev: a414f47009811fa6886e43fd2b4c928a906a65f3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-04 12:34:03 +00:00
Maxin John
c36f116385 formfactor: add support for qemuriscv64 and qemuriscv32
Add machine config files for qemuriscv64 and qemuriscv32.

Fixes [YOCTO #15427].

(From OE-Core rev: ec01090759677f8b69352c56aa29940314ca73e7)

Signed-off-by: Maxin John <maxin.john@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 11:05:03 +00:00
Philip Lorenz
a464534c72 image/populate_sdk: Support usrmerge in toolchain SDK builds
SDKs which aren't built from an image recipe should also come with
drop-in symlinks for `/bin`, `/lib` and `/sbin`. Support this by moving
the common functionality into `populate_sdk_base` and enabling the
symlink creation when the `usrmerge` DISTRO_FEATURE is on.

(From OE-Core rev: 8e1e86cc9d5d4e866ff0ab62c8954db0e65c19e6)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 11:05:03 +00:00
Changqing Li
f1f926c70a systemd: enable create-log-dirs
By default, create-log-dirs  is enabled in systemd, and a link
/var/log/README will be created, point to {{DOC_DIR}}/README.logs, but,
for oe, there are two problems here, firstly, DOC_DIR is packaged in
another package systemd-doc, so /var/log/README is a dead link when
systemd-doc is not installed, secondly, even systemd-doc is installed,
when volatile log is used, DOC_DIR is a wrong relateive path, Refer [1].

So in commit [2], we disable create-log-dirs for above issue. with this
change, /var/log/journal is not created, and /run/log is used, this
makes systemd log always non persistent, refer [3][4]. if user need
persistent log, they need to disable volatile log, and also  change
journald.conf, make "Storage" to "persistent". This is a behavoir change.
Previously, to make systemd log persistent, user only need to disable
volatile log.

This commit reenable create-log-dirs to revert the behavior change, and
since README is not very userful, just remove it.

[ YOCTO #15678 ]

[1] https://github.com/systemd/systemd/blob/main/tmpfiles.d/legacy.conf.in#L16
[2] https://git.openembedded.org/openembedded-core/commit/?id=18d46e11d85da1f6feaba5a135931e43060024d6
[3] https://github.com/systemd/systemd/blob/main/src/journal/meson.build#L189
[4] https://www.freedesktop.org/software/systemd/man/journald.conf.html
[5] https://bugzilla.yoctoproject.org/show_bug.cgi?id=15678

(From OE-Core rev: f82d9c997ba8cc23b472d44a43489c597bf452af)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 11:05:03 +00:00
Wang Mingyu
577d978f9c systemd: upgrade 257 -> 257.1
(From OE-Core rev: 4c4f4798862d80f44e03ccbbe7efc2d8b723968c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 11:05:03 +00:00
Changqing Li
b5f2bcd0c1 sanity.bbclass: Lower the length of TMPDIR limit to 400
When TMPDIR has length 410,  bitbake uninative-tarball will fail at
do_populate_sdk with error: Failed to open backup database:
"TMPDIR/work/x86_64-nativesdk-pokysdk-linux/uninative-tarball/1.0/sdk/image/var/lib/dnf/history.sqlite"

sqlite3 has a hardcode max pathname limit 512, refer [1], and there is a
check, refer [2], pathname + 8 > max path name limit(512) is not
allowed.  So the pathname length need to <= 504.  While, length of
"TMPDIR/work/x86_64-nativesdk-pokysdk-linux/uninative-tarball/1.0/sdk/image/var/lib/dnf/history.sqlite"
is 505, so error happened.

We had met similar issue [3], and refer the comments, upstream reject
the change of the hardcode length, see [4][5].

This patch try to improve and workaround this issue by lower max TMPDIR
length to 400, at least for distro name length <=13, the build can
success.

[1] https://github.com/sqlite/sqlite/blob/master/src/os_unix.c#L180
[2] https://github.com/sqlite/sqlite/blob/master/src/pager.c#L4777
[3] https://bugzilla.yoctoproject.org/show_bug.cgi?id=12374
[4] https://sqlite.org/cgi/src/tktview/c060923a5422590b3734
[5] https://sqlite.org/forum/forumpost/0b1b8b5116

(From OE-Core rev: da1c0998bdaf5def7ae94f44a33b9a505edc99c1)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 11:05:03 +00:00
Alexander Kanavin
b1671dac9f conf/bitbake.conf: move addfragments to just after the local.conf include
There was a report that the existing addfragments statement comes in too late,
specifically after the DISTRO/MACHINE includes have already been handled. The goal
for fragments content is to behave exactly like the settings in local.conf would
and so we need to handle the fragments just after that file.

(From OE-Core rev: e820fa96d078478ea3510164373989090e8c9419)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 11:05:03 +00:00
Hongxu Jia
85cbf033b4 packagegroup-core-tools-profile: skip VALGRIND for loongarch64
Due to packagegroup-core-tools-profile run time depend
on package valgrind and recipe valgrind does not support
loongarch64, then skip VALGRIND for loongarch64

$ echo "MACHINE = 'qemuloongarch64'" >> conf/local.conf
$ bitbake world
|ERROR: Nothing RPROVIDES 'valgrind' (but oe-core/meta/recipes-core/
packagegroups/packagegroup-core-tools-profile.bb RDEPENDS on or
otherwise requires it)
|valgrind was skipped: incompatible with host loongarch64-wrs-linux
(not in COMPATIBLE_HOST)
|NOTE: Runtime target 'valgrind' is unbuildable, removing...
|Missing or unbuildable dependency chain was: ['valgrind']
|ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
|Missing or unbuildable dependency chain was: ['meta-world-pkgdata',
'packagegroup-core-tools-profile', 'valgrind']

(From OE-Core rev: 2ef616b4e43f5c4d3155201f743e48d6ff6bb400)

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>
2025-01-03 11:05:03 +00:00
Hongxu Jia
6a0323daf4 packagegroup-core-tools-testapps: skip KEXECTOOLS for loongarch64
Due to recipe packagegroup-core-tools-testapps run time depend
on package kexec and recipe kexec-tools does not support
loongarch64, then skip KEXECTOOLS for loongarch64

$ echo "MACHINE = 'qemuloongarch64'" >> conf/local.conf
$ bitbake world
|ERROR: Nothing RPROVIDES 'kexec' (but oe-core/meta/recipes-core/packagegroups/
packagegroup-core-tools-testapps.bb RDEPENDS on or otherwise requires it)
|kexec-tools RPROVIDES kexec but was skipped: incompatible with host
loongarch64-wrs-linux (not in COMPATIBLE_HOST)
|NOTE: Runtime target 'kexec' is unbuildable, removing...
|Missing or unbuildable dependency chain was: ['kexec']
|ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
|Missing or unbuildable dependency chain was: ['meta-world-pkgdata',
'packagegroup-core-tools-testapps', 'kexec']

(From OE-Core rev: 37ff515da6e13126f8822b3a55e44cdc62882a51)

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>
2025-01-03 11:05:03 +00:00
Hongxu Jia
deb0df0774 initramfs-module-install: remove loongarch64 from COMPATIBLE_HOST
Due to initramfs-module-install runtime depend on grub, and grub did not
support loongarch64, remove loongarch64 from COMPATIBLE_HOST

$ echo "MACHINE = 'qemuloongarch64'" >> conf/local.conf
$ bitbake world
|ERROR: Nothing RPROVIDES 'grub' (but oe-core/meta/recipes-core/initrdscripts/
initramfs-module-install_1.0.bb RDEPENDS on or otherwise requires it)
|grub was skipped: incompatible with host loongarch64-wrs-linux (not in
COMPATIBLE_HOST)
|NOTE: Runtime target 'grub' is unbuildable, removing...
|Missing or unbuildable dependency chain was: ['grub']
|ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
|Missing or unbuildable dependency chain was: ['meta-world-pkgdata',
'initramfs-module-install', 'grub']

(From OE-Core rev: 6440e1010ade2b4207879a2e8cd288bcd714a445)

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>
2025-01-03 11:05:03 +00:00
Trevor Gamblin
d832ee7963 python3: upgrade 3.13.0 -> 3.13.1
Changelog: https://docs.python.org/3/whatsnew/changelog.html#python-3-13-1-final

- Patch 'fix-armv5.patch' is in 3.13.1, so no longer needed:

|tgamblin@megalith ~/workspace/git/pythonsrc/cpython ((HEAD detached from v3.13.1))$ git tag --contains 18b9079ddbc149d6b99c922630c246812e4d8ae7
|v3.13.1

- While patch 'crosspythonpath.patch' is listed as 'Inappropriate
  [OE-Core integration specific]' specific in the commit message, it is
  now breaking the build, while removing it allows python3 to build OK.
  It appears that there is a similar change in upstream 3.13.1:

  https://github.com/python/cpython/commit/909d5ac2959e

- gcc-symlinks had to be added to ptest RDEPENDS so that 'gcc' could be
  found on the path for the
  test_ctypes.test_dlerror.TestNullDlsym.test_null_dlsym test.

- Also reformat the DEPENDS and RDEPENDS lists to be alphabetical
  and one-per-line, since that's easier to read and modify.

- buildall-qemu output:

|BUILDALL-QEMU LOG FOR python3
|START TIME: 2024-12-18_20:38:01
|HOSTNAME: megalith
|HOST OS: Debian GNU/Linux 12 (bookworm)
|HOST KERNEL: 6.1.0-28-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: 08c44d3b140b220ead6334db26097b28612d445a)

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>
2025-01-03 11:05:03 +00:00
Trevor Gamblin
418235f068 libdnf: backport patch to fix segfault
This is needed to allow libdnf to build OK with python 3.13.1. Without
it, a vague "Could not invoke dnf" error is seen during rootfs (e.g.
when building core-image-full-cmdline), with a return code of -11.

(From OE-Core rev: 5104807bdb952e90e831759266bd830d523e3d16)

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>
2025-01-03 11:05:03 +00:00
Chen Qi
4fe8c5de06 systemd: upgrade from 256.9 to 257
Patch changes:
* 0003-coredump-set-ProtectHome-to-read-only.patch is drop as it's a backported patch.
* 0009-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch is drop as
  AT_SYMLINK_NOFOLLOW has been supportd in musl.
* Other patches are either refreshed or changed to fit the current version.

systemd-boot changes:
* Use src/boot instead src/boot/efi in do_install and do_deploy. See upstream
  change 97318131fd06 (Rename src/boot/efi to just src/boot).

(From OE-Core rev: 4891f47cdaf919033bf1c02cc12e4805e5db99a0)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 11:05:03 +00:00
Richard Purdie
0cc6127cad python3-attrs: upgrade 24.2.0 -> 24.3.0
(From OE-Core rev: 30a7c3c7a1e12b7fb2463e7135d97a478e763c9e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
855f6e256c xxhash: upgrade 0.8.2 -> 0.8.3
(From OE-Core rev: 15216916a2ea00738553ff96734e90146a1f184c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
8f9f86db7b python3-urllib3: upgrade 2.2.3 -> 2.3.0
(From OE-Core rev: a4397139fbe9313f7f80d0accc7a9e9565d07805)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
141832d8bc python3-ruamel-yaml: upgrade 0.18.6 -> 0.18.7
(From OE-Core rev: f98c9c192f62f495f07c5a5fb2fe486ca0fe0494)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
32942bba1f python3-pyparsing: upgrade 3.2.0 -> 3.2.1
(From OE-Core rev: 3238994e20864b57d302eee28c29892d71e5140f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
854815100e python3-maturin: upgrade 1.7.8 -> 1.8.1
(From OE-Core rev: 4a208683cb875cdb8907040e865e7adaae912aee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
0fe3cdf905 python3-hypothesis: upgrade 6.122.6 -> 6.123.2
(From OE-Core rev: 316ae45adbe150792a1e095bd5b0777937578e8b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
2f720a92cd python3-cryptography{,-vectors}: upgrade 43.0.3 -> 44.0.0
(From OE-Core rev: c3c612608d816eb6b40575a86e0907701cf525dc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
f98e5b29e0 puzzles: upgrade to latest revision
(From OE-Core rev: f98d6f604272f5031552e4cf440c1fa7499f0d43)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
87d0faf722 piglit: upgrade to latest revision
(From OE-Core rev: 16dd4c836a5c8d71f0a5f4dffcf0c160956fea67)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
ab08f2b57f nettle: upgrade 3.10 -> 3.10.1
(From OE-Core rev: 601327a0c8a66226877f03b21bad0c7e67ee14de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
bd50c997ad libical: upgrade 3.0.18 -> 3.0.19
(From OE-Core rev: 0045f51478e49755b61088f5ff6a4e6d3efbb06b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
2853d04592 libcap: upgrade 2.71 -> 2.73
(From OE-Core rev: 4b5978ca9c7280beaf1ca7cf3c1f9f1baed0bd08)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
a290c63449 init-system-helpers: upgrade 1.67 -> 1.68
(From OE-Core rev: e901a0f154fe6149b9cfb9b0e7b9289f31f441b9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
49cfc75a56 gpgme: upgrade 1.24.0 -> 1.24.1
(From OE-Core rev: abbc6639b74fe7e19802e764ca438d897b9ae92c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
3c362f2e0e debianutils: upgrade 5.20 -> 5.21
(From OE-Core rev: 34907f324c1362d1510300501a5bdff6eb99ae9b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
f173a0a64e cracklib: upgrade 2.10.2 -> 2.10.3
(From OE-Core rev: 4bcd39044064e61a00b37637314717663c6b3ef0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
76cbb330d1 cmake-native,cmake: upgrade 3.31.0 -> 3.31.3,3.31.0 -> 3.31.3
(From OE-Core rev: 0d73ac24ae8ce2318e95db0203df4bfdaba60ae5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
0ebc2cb04e ca-certificates: upgrade 20240203 -> 20241223
(From OE-Core rev: 48a236c2f78fee5e6db19c6be23b4a18df025607)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
9319c15c45 bash-completion: upgrade 2.15.0 -> 2.16.0
(From OE-Core rev: 4be37279bf7b098382966fc81b24962a157b31c3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
95950cfff1 base-passwd: upgrade 3.6.5 -> 3.6.6
(From OE-Core rev: 29e96baca3916c2f686717e922c079a332b21970)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Antonin Godard
c09ea097f1 bitbake: doc: update releases.rst
Add Styhead as a supported release manual, and move Dunfell to the
outdated releases manuals.

(Bitbake rev: d726f4537f16d99512b21ab0a0f476cef832b955)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-28 11:04:32 +00:00
Antonin Godard
34b6e34a2b bitbake: doc/bitbake-user-manual-metadata: fix unindent warnings
Fix Sphinx warnings (treated as errors on local builds):

  bitbake-user-manual-metadata.rst:979: WARNING: Bullet list ends without a blank line; unexpected unindent.
  bitbake-user-manual-metadata.rst:982: WARNING: Bullet list ends without a blank line; unexpected unindent.
  bitbake-user-manual-metadata.rst:985: WARNING: Bullet list ends without a blank line; unexpected unindent.

(Bitbake rev: 51d89ce0fc8d188bf10a8bcc6a112466268899ae)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-28 11:04:32 +00:00
Antonin Godard
9b3b7bc4cd migration-guides: update the release notes for 5.2
Update the release note and migration guide for the 5.2 release. This
release is not due until April 2025, but this catches up what has
already been applied since 5.1.

Precisely, this tracks the important changes between commits
8149e74258 and 87d7341465 in poky.

(From yocto-docs rev: a51a94f0b228d570d915dff36a49132e90e93cf1)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-28 10:57:47 +00:00
Antonin Godard
4e49c8bfa5 ref-manual/variables: document the PREFERRED_RPROVIDER variable
This variable is similar to the PREFERRED_PROVIDER variable but it
denotes a runtime provider specifically.

(From yocto-docs rev: 0b0b58070fceff6851a6e137f7f774e706205b32)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-28 10:57:47 +00:00
Antonin Godard
c8f553a177 ref-manual/variables: document the CARGO_INSTALL_LIBRARIES variable
This variable controls whether libraries compiled by recipes inheriting
cargo are installed or not.

(From yocto-docs rev: c42f80a12e9e71fa7dab9672fb3174ed006b214b)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-28 10:57:47 +00:00
Antonin Godard
30ab6f4153 ref-manual/classes: document the yocto-check-layer class
This class is used by the yocto-check-layer script to check if a layer
complies to the Yocto Project Compatible status.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: b3fd3c268ac3f15e4050a983289fc63e62f4c823)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-28 10:57:47 +00:00
Antonin Godard
9fba2b4a82 ref-manual/variables: document the CHECKLAYER_REQUIRED_TESTS variable
This was introduced in oecore by commit
ce2e42ace2d15fb6745437cf0a7f07d28398ca12 ("insane: Split ERROR_QA into
CHECKLAYER_REQUIRED_TESTS").

(From yocto-docs rev: 5b205e113015430f6d04e455af7c0d5643863fbc)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-28 10:57:47 +00:00
Antonin Godard
d6e3e5c00d Drop support for BB_DANGLINGAPPENDS_WARNONLY
Support for this variable was dropped in BitBake, see commit
fca9c9e3cb6f8e9f99bf51dc5e8a8d83f4c84c69 ("cooker: Drop support for
BB_DANGLINGAPPENDS_WARNONLY").

Drop this variable here as well and rewrite the "Appending Other Layers
Metadata With Your Layer" section to advise to rename the recipe and
check if the bbappend is still relevant - otherwise to use BBWARN.

(From yocto-docs rev: 10b59d09ebfb6c119995643ed68cb26092b6f2a4)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-28 10:57:47 +00:00
Antonin Godard
abef9b08dc Remove debug-tweaks references
We no longer provide this feature, so remove documentation for it. In
most cases, we can replace occurrences of "debug-tweaks" by
"allow-empty-password empty-root-password allow-root-login
post-install-logging" to achieve what this feature previously enabled.

Subtle, but the default local.conf does not include
post-install-logging, so in parts where there is mention of the default
local.conf file, adjust the documentation to only mention the first
three above.

In the intro manual, instead of providing instructions that replace
EXTRA_IMAGE_FEATURES entirely, provide ones that append
EXTRA_IMAGE_FEATURES.

(From yocto-docs rev: f0efd4c7df91863304b92514664bdd1fa62b1fbb)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-28 10:57:47 +00:00
Antonin Godard
e4c4208d12 ref-manual/classes: document the cython class
Small class added in oecore by commit
64b6e85808 ("classes-recipe: add cython
class").

(From yocto-docs rev: 0979e02b71b6c91fa27cdeacd70036564fbe1a2d)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-28 10:57:47 +00:00
Antonin Godard
ab4152528f ref-manual/variable: remove obsolete SETUPTOOLS_INSTALL_ARGS
Remove in oecore by commit b4bdfc78e8e1cb8b86221bc55d80d601ea1a065f
("python3-cython: remove obsolete SETUPTOOLS_INSTALL_ARGS").

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: a32b39a4d9bda124e6c19aa1db522656b1e7e807)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-28 10:57:46 +00:00
Antonin Godard
f38b4edf5f ref-manual/variables: document the WIC_SECTOR_SIZE variable
Added recently in oecore to control the sector size of wic images.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 075d4ac67c94d6442ea384b5b0ec68b1aa34a4c3)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-28 10:57:46 +00:00
Antonin Godard
1461717567 ref-manual/variables: add missing entries to SDK_ARCHIVE_TYPE
Both added recently in oecore.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 76b970718d237f60aefe02321d867bed3deb6069)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-28 10:57:46 +00:00
Antonin Godard
81412adb5e ref-manual/variables: document the FIRMWARE_COMPRESSION variable
Added in oecore after the 20241017 update.

(From yocto-docs rev: 9073f575f169ab545198d82b69cca5f9e3db152f)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-28 10:57:46 +00:00
Antonin Godard
f185c78263 ref-manual/classes: drop the migrate_localcount class
This class is obsolete and was removed from openembedded-core with
commits fca25fc4d7721f85f64c942307ebe7ba9f2fad3e ("migrate_localcount:
Drop long obsolete code") and d0f35207f9
("bitbake: fetch2: remove localcount and use AUTOINC instead").

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 0da4f50b2105e0ee2d992338b390e966f38a51c0)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-28 10:57:46 +00:00
Antonin Godard
60e143a589 ref-manual/variables: document the KERNEL_CONSOLE variable
This variables holds the value of the `console` kernel command line
parameter.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: ea638e85316d0bc5c9917cefacef168782e4d92b)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-28 10:57:46 +00:00
Trevor Gamblin
332ff4d1cf reproducible-builds.rst: show how to build a single package
Add a bit to the "Can we prove the project is reproducible?" section to
show how OEQA_REPRODUCIBLE_TEST_TARGET can be used to test a single
package (rather than the world build), as this may be useful for
maintainers.

[YOCTO #15619]

(From yocto-docs rev: c4bc09f61621938086be377653121d6b4e62b570)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-28 10:57:46 +00:00
Jiaying Song
95df0afff4 expect: Replace tclsh with tclsh8 in the scripts used in the Expect
Before upgrading to Tcl 9.0.0, running `tclsh` worked successfully, and
the recipe configuration was as follows: ln -sf ./tclsh${VER}
${D}${bindir}/tclsh

After upgrading to Tcl 9.0.0, to ensure compatibility with Expect, Tcl
8.6.15 was additionally included. To distinguish between the two
versions, the configuration was set as: ln -sf ./tclsh${VER}
${D}${bindir}/tclsh8

Therefore, the input needs to be `tclsh8` to work properly, which means
the `tclsh` references in the Expect-related scripts need to be changed
to `tclsh8`.

(From OE-Core rev: 77c193690fa965fb350aa9c14fb3d20cee97e30c)

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-28 10:57:00 +00:00
Angelo.Ribeiro
dc35ea04ce report-error: Add PN to error report file
Extracting the PN out of the PF value is not allways trivial.
For example when PE is set the package name will have the PE value
before the '_' that clearly makes the division between name and version.
Other packages include a number in their naming separated by a '-',
for example mozjs-115 and openjdk-17.

(From OE-Core rev: a2d54fa0c5ade523edf6be9105c6e943824988fa)

Signed-off-by: Angelo Ribeiro <ribeiro.angelo224@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-28 10:57:00 +00:00
Stefan Gloor
25520303d9 wic: add documentation for existing options to help.py
Add wic kickstart help for undocumented options for part/partition and
bootloader command.

(From OE-Core rev: 59786183c41b93b49fe97926dd77904c8d66b356)

Signed-off-by: Stefan Gloor <code@stefan-gloor.ch>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-28 10:57:00 +00:00
Jiaying Song
63068d0e34 tcl: Resolve tcl-ptest run failure
Modify the TCL_LIBRARY to the correct value to resolve the following errors caused by multilib:

application-specific initialization failed: Cannot find a usable init.tcl in the following directories:
    /usr/lib/tcl/ptest/library {} /usr/lib64/tcl9.0 /usr/lib64/tcl/lib/tcl9.0 /usr/lib64/lib/tcl9.0 /usr/lib64/tcl/library /usr/lib64/library /usr/lib64/tcl9.0/library /usr/lib64/tcl9.0.0/library /usr/tcl9.0.0/library

(From OE-Core rev: 9ae194e7270b84876a51e21941cdd718e15f1e59)

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-28 10:57:00 +00:00
Thomas Perrot
4ae3f0e0cd opensbi: bump to 1.6
This release has:
- Support for parsing riscv,isa-extensions DT property
- Setup serial console very early in cold boot path
- Support for multiple heaps and aligned memory allocation
- Support for shadow stacks (Zicfiss) ISA extension
- Support for landing pads (Zicfilp) ISA extension
- Support for per-domain data
- Support for double-trap (Smdbltrp/Ssdbltrp) ISA extensions
- DT-based configurable heap size
- Common fdt_driver and helpers for driver initialization
- Support for SBI PMU raw event v2 (Experimental)
- Simple FDT based mailbox driver framework
- RPMI shared memory transport driver (Experimental)
- RPMI system reset driver (Experimental)
- Simple FDT based system suspend driver framework
- RPMI system suspend driver (Experimental)
- Simple FDT based HSM driver framework
- RPMI HSM driver (Experimental)
- Simple FDT based CPPC driver framework
- RPMI CPPC driver (Experimental)
- SBI Message Proxy (MPXY) extension (Experimental)
- Simple FDT based MPXY driver framework
- Common RPMI client driver for MPXY (Experimental)
- Support for vector misaligned load/store

Overall, this release adds more ISA extensions, drivers, and other improvements.

(From OE-Core rev: 2757297b54f5436d341cb1fdeeb756703e5349af)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-28 10:52:35 +00:00
Wang Mingyu
ef6cdd82be xserver-xorg: upgrade 21.1.14 -> 21.1.15
(From OE-Core rev: ba94110d70ebfb1b4798ecf05389f7ea602b1f55)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:28 +00:00
Wang Mingyu
54be6e52ee webkitgtk: upgrade 2.46.4 -> 2.46.5
Changelog:
==========
- Fix the build with GBM and release logs disabled.
- Fix several crashes and rendering issues.

(From OE-Core rev: e646c209273130c67496491d772a1eee55c82de9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:28 +00:00
Wang Mingyu
ab1ca41bea wayland-protocols: upgrade 1.38 -> 1.39
Changelog:
==========
- Add ext-workspace
- build: Raise required wayland-scanner version to 1.23.0 for tests
- governance: update NACK usage/restrictions
- governance: introduce workflow improvements
- add experimental protocols and their requirements
- governance: Deprecate wayland-devel@
- governance: Specify how to change points of contact
- governance: Clarify 'member'
- drm-lease: nominate Simon Zeni as maintainer
- ext-image-copy-capture: fix the error in the protocol description

(From OE-Core rev: 480f77a45f04cff460cd15c105282ec79dec2c8e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:28 +00:00
Wang Mingyu
95d4cb45a9 repo: upgrade 2.49.3 -> 2.50.1
Changelog:
===========
- gc: Introduce new command to remove old projects
- sync: Delete symlinks relative to client topdir
- Add smoke test for subcmd forall
- Remove gitc support from repo
- branches: Escape percent signs in branch names
- sync: Do not fail to sync a manifest with no projects
- Fix event log command event hierarchy.
- Make repo installation work without .git

(From OE-Core rev: 2a4230c3565d235cba891c5ee060f82f1075fc4e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:28 +00:00
Wang Mingyu
2d73ae79a8 python3-six: upgrade 1.16.0 -> 1.17.0
License-Update: Copyright year updated to 2024.

Changelog:
===========
- Pull request #388: Remove 'URLopener' and 'FancyURLopener' classes from
  'urllib.request' when running on Python 3.14 or greater.

- Pull request #365, issue #283: 'six.moves.UserDict' now points to
  'UserDict.IterableUserDict' instead of 'UserDict.UserDict' on Python 2.

(From OE-Core rev: dd62b4f7b46bb5551e5397404356c56905dda9ce)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:28 +00:00
Wang Mingyu
d2e63af813 python3-pytest: upgrade 8.3.3 -> 8.3.4
Changelog:
 https://github.com/pytest-dev/pytest/releases/tag/8.3.4

(From OE-Core rev: d83ea2a229e407418b83b655ef333c1370182ffc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:28 +00:00
Wang Mingyu
a2bb210b83 python3-pytest-subtests: upgrade 0.13.1 -> 0.14.1
Changelog:
===========
- Fix self.instance._outcome is None
- Add support for Python 3.13.
- Dropped support for EOL Python 3.8.
- Fixed output when using TestCase.skipTest
- Fixed pytest requirement to >=7.3

(From OE-Core rev: 2e76adbe47584736a6aa639b339392a36af5e872)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:28 +00:00
Wang Mingyu
cd32d10a8b python3-pyopenssl: upgrade 24.2.1 -> 24.3.0
Changelog:
 https://github.com/pyca/pyopenssl/blob/main/CHANGELOG.rst

(From OE-Core rev: 8e4f378c6c93e6d7faede26134c7ed3f21295219)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:28 +00:00
Wang Mingyu
f1692cde71 python3-psutil: upgrade 6.1.0 -> 6.1.1
(From OE-Core rev: fd6ed0afa4073c59e70da83e5734f51bdc097897)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:28 +00:00
Wang Mingyu
62605b1259 python3-maturin: upgrade 1.7.4 -> 1.7.8
0001-build_context-improve-wheel-reproducibility-by-sorti.patch
removed since it's included in 1.7.8

Changelog:
==========
- Fix aarch64 Windows cross compilation
- [pre-commit.ci] pre-commit autoupdate
- Fix aarch64 Windows cross compilation
- fix abi3 interpreter discovery on Windows
- fix: remove extra indent in generated CI
- Upgrade cargo-xwin to unify rustls versions
- Normalize python source directory path
- Enable fat LTO for maturin release workflow
- Use different binding dirs for different uniffi modules
- Update minimal Python minor version for pyo3 0.23
- Limit minimal PyPy version based on bindings crate version
- Remove hard coded pip show in fix_direct_url
- Do not use xwin to compile on Windows when MSVC compiler can build for the target
- fix abi3 interpreter discovery on Windows
- allow -i 3.13t
- propagate abiflags to wheel name on Windows
- Add free-threaded wheel build to generate-ci by default
- Bump metadata version to 2.4 to fix license bug
- allow -i 3.13t
- propagate abiflags to wheel name on Windows
- Add free-threaded wheel build to generate-ci by default
- Auto detect Python 3.13
- feat: add skip attestation option to maturin ci github
- generate-ci: use macos-13 runner for x86_64 build job
- Improve wheel reproducibility by sorting libs
- Fix inverted workspace inclusions
- Fix broken links to PyO3 building docs
- Update goblin to 0.9
- Don't resolve python interpreter when building sdist only
- include timestamps in the suggested log format
- Add support for GNU/Hurd
- Fix __init__ exports when using multiple UniFFI bindings
- Add free-threaded Python support

(From OE-Core rev: f4accbf8704f690c5a50b05af815d61b75e8a2ce)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:28 +00:00
Wang Mingyu
6db1cd6a23 python3-mako: upgrade 1.3.6 -> 1.3.8
Changelog:
===========
- [bug] [lexer] Reverted the fix for #140 released in Mako 1.3.7 as it produced
  regressions in existing user code.
- [bug] [codegen] [lexer] During the lexical analysis phase, add an additional prefix for undeclared
  identifiers that have the same name as built-in flags, and determine the
  final filter to be used during the code generation phase based on the
  context provided by the user.
- [bug] [lexer] Support the direct passing of dictionary literals when calling functions
  and fix the errors caused by nested braces. This revises the fix that was
  released in 1.3.4 and then reverted in 1.3.5.

(From OE-Core rev: 76e1577b99b4319a9ea45fa4fb2b07d849f35f68)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:28 +00:00
Wang Mingyu
d6969fa35d python3-hypothesis: upgrade 6.119.4 -> 6.122.6
Changelog:
 https://hypothesis.readthedocs.io/en/latest/changes.html

(From OE-Core rev: 977b564a33fed2d47b02047ad2d6c1ce13c6d10a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:28 +00:00
Wang Mingyu
497065ad06 python3-hatchling: upgrade 1.26.3 -> 1.27.0
Changelog:
 Update the default version of core metadata to 2.4

(From OE-Core rev: 73b7dcc52ec50e6ae257e96e11d3cae93083a979)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:27 +00:00
Wang Mingyu
004e9fa46f python3-dbusmock: upgrade 0.32.2 -> 0.33.0
Changelog:
===========
- templates: Add gsd-rfkill
- Allow adding objects derived from DBusMockObject
- Drop Python <= 3.7 support

(From OE-Core rev: ac53cb49a82440de65184678ba82d00afae803d4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:27 +00:00
Wang Mingyu
cc6dc3db94 python3-certifi: upgrade 2024.8.30 -> 2024.12.14
(From OE-Core rev: bc24b0e7b647a655a0e34d446aa867e8b6a445e4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:27 +00:00
Wang Mingyu
4c426cd766 meson: upgrade 1.6.0 -> 1.6.1
0001-python-module-do-not-manipulate-the-environment-when.patch
refreshed for 1.6.1

Changelog:
===========
- dependencies: support old vulkan SDK version
- Handle top level options set in subprojects. Closes #13847.
- ci: fix Ubuntu Bionic job
- modernize Rust template
- run_single_test.py: skip setup_symlinks() call on Windows
- tests: HDF5 no longer skips on MacOS
- mdevenv: exec directly into the program to run
- CMakeToolchain: Log output on compiler state failure
- msetup: Correction of the message text
- run_single_test.py: Fix for symlink changes
- libgcrypt-config is no more on ubuntu-rolling
- fix generate_gir with BothLibraries dependency
- env2mfile: add flag to use _FOR_BUILD envvars.
- environment: Never require an exe_wrapper for native builds
- rust: fix computation of library directory
- De-duplicate BuildTarget.sources
- Fix building on AIX when no project languages are used
- coverage.py: Guard use of --html-nested behind version check.
- Xcode backend: only use found appleframeworksn
- Enable GCC to find free-threaded python DLL library
- modules/rust: Add support for autolib field in the Cargo.toml
- env2mfile: Use a cross valac on Debian if possible
- env2mfile: Automatically set exe_wrapper on Debian if possible
- env2mfile: Use Debian cross-prefixed GObject-Introspection tools
- env2mfile: Generalize detection of pkg-config to have a list of tools
- Add GNU/Hurd kernel results

(From OE-Core rev: ca17f6c26c7f1fa93950143a41204daf57e5b4ed)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:27 +00:00
Wang Mingyu
0fcfdd9617 llvm: upgrade 19.1.5 -> 19.1.6
Changelog:
==========
- [SimpleLoopUnswitch] Fix LCSSA phi node invalidation
- [AggressiveInstCombine] Use APInt and avoid truncation when folding loads
- [WebAssembly] Handle symbols in .init_array sections
- [WebAssembly] Support multiple .init_array fragments when writing Wasm objects
- [cmake] Use DetectTestCompiler from openmp directory
- [offload] Define LIBOMPTARGET_OPENMP_*_FOLDER in standalone builds
- [offload] Define OPENMP_TEST*_FLAGS in standalone builds
- [offload] [test] Add "omp" test dependency only when present
- [offload] Include CheckCXXCompilerFlag in CMake
- [offload] - Fix issue with standalone debug offload build
- [lld][WebAssembly] Fix use of uninitialized stack data with --wasm64
- [Clang][perf-training] Fix clean command in perf-helper.py

(From OE-Core rev: 8546473f724e16095e8ad68813f3a087cb1b2779)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:27 +00:00
Wang Mingyu
58c19b5e2b libwebp: upgrade 1.4.0 -> 1.5.0
Changelog:
============
  API changes:
  - 'cross_color_transform_bits' added to WebPAuxStats
  * minor lossless encoder speed and compression improvements
  * lossless encoding does not use floats anymore
  * additional Arm optimizations for lossy & lossless + general code generation
    improvements
  * improvements to WASM performance
  * improvements and corrections in webp-container-spec.txt and
    webp-lossless-bitstream-spec.txt
  * further security related hardening and increased fuzzing coverage w/fuzztest
  * miscellaneous warning, bug & build fixes
  Tool updates:
    * gif2webp: add -sharp_yuv & -near_lossless
    * img2webp: add -exact & -noexact
    * exit codes normalized; running an example program with no
      arguments will output its help and exit with an error

(From OE-Core rev: 4f2b1779894e209b8fddab6aa3f50ea493e7fe36)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:27 +00:00
Wang Mingyu
99d9ee66f3 libportal: upgrade 0.8.1 -> 0.9.0
Changelog:
===========
Dependencies:
- GLib 2.72 or higher is now required

Features:
- Introduce support for the Notification v2 portal version

Bug fixes:
- Fix a file descriptor leak in the Mail portal code
- Fix some minor memory leaks

(From OE-Core rev: badc64895bf8e67b44f5b96f34ccaeab8ef59c07)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:27 +00:00
Wang Mingyu
8104a97211 diffoscope: upgrade 283 -> 284
Changelog:
=========
* Simplify tests_quines.py::test_{differences,differences_deb} to use
  assert_diff and not mangle the expected test output.
* Update some tests to support file(1) version 5.46.

(From OE-Core rev: 476ce326937652d99f53f86269e40d305f916837)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:27 +00:00
Robert Yang
284a08b6e4 base/features_check: Make PARSE_ALL_RECIPES and SOURCE_MIRROR_FETCH boolean
So that value "0" can turn them off.

(From OE-Core rev: 1a2afcd0773c5ec5946d1dfc27bde585c52a5724)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-23 11:41:38 +00:00
Xiangyu Chen
b51df1baa8 lttng-modules: fix sched_stat_runtime changed in Linux 6.6.66
The following commit has been backported into the 6.6.y branch.

See upstream commit:

    commit 5fe6ec8f6ab549b6422e41551abb51802bd48bc7
    Author: Peter Zijlstra <peterz@infradead.org>
    Date:   Mon Nov 6 13:41:43 2023 +0100

        sched: Remove vruntime from trace_sched_stat_runtime()

That caused building the lttng-modules report compile error:

       tracepoint-event-impl.h:133:6: error: conflicting types for
       'trace_sched_stat_runtime';

The fix is still pending on lttng review board, backport it to oe-core to
de-block the build issue.

(From OE-Core rev: 5b973be9a7fbb2694d162ac06b76513525f3deed)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-23 11:41:38 +00:00
Christian Taedcke
a4506d557c kernel-yocto: enable fetching kernel metadata using file fetcher
If no destsuffix parameter is supplied and the file fetcher is used,
the folder name (i.e. basepath) is added to the kernel-meta search
directories.

(From OE-Core rev: e46cc8159136ce96489e10f126405781abfbd52e)

Signed-off-by: Christian Taedcke <christian.taedcke@weidmueller.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-23 11:41:38 +00:00
Mikko Rapeli
7a1f8970a8 systemd: add fido to PACKAGECONFIG options
To enable FIDO support.

meta-oe can provide libfido2 but it depends on udev
which creates a dependency loop between systemd (provider of udev)
and libfido2 which is currently unresolved. systemd recipe
could split udev to a separate recipe to solve this, or libfido2
could be compiled in systemd source tree after udev but before
rest of systemd.

(From OE-Core rev: 1e347c36b0d3910cd71b24a4e4ab8e2dd49063d1)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-23 11:35:35 +00:00
Mikko Rapeli
30000c1b3d systemd: add apparmor PACKAGECONFIG support
For meta-security to enable with "apparmor" in DISTRO_FEATURES.

(From OE-Core rev: 804b462b826edf04182c77b6405a52a1c9b9b1f6)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-23 11:35:35 +00:00
Tom Hochstein
44dc34bb22 weston: Disable unused tests build
Building weston with core-image-weston SDK fails for xwayland tests:
```
Run-time dependency xcb-cursor found: NO (tried pkgconfig and cmake)

tests/meson.build:357:2: ERROR: Problem encountered: xcb and xcb-cursor required for running xwayland tests
```

The problem is the tests folder is built but not installed. This
behavior seems to have been introduced with the 12.0.1 upgrade.

be7da75827

Disable the build of the unused tests. Also drop the xwayland
dependency on xcb-util-cursor since it is a specific requirement
for the xwayland test build.

(From OE-Core rev: 8996690a79ac42a1dee6d041eeb1c1fe29fdac84)

Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-23 11:32:26 +00:00
Tom Hochstein
cfc8253999 weston: Fix wayland-protocols dependency
An SDK build of weston fails:
```
Run-time dependency wayland-protocols found: NO (tried pkgconfig and cmake)
```

The file wayland-protocols.pc is missing in the SDK. This is traced to
the upgrade of wayland-protocols to 1.38 [1], which re-enables the dev
package, which moves wayland-protocols.pc to wayland-protocols-dev.

[1] 5de187aee6

(From OE-Core rev: 50608d9c8ac47234138056fa7bf3f92ffc876a19)

Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-23 11:32:26 +00:00
Tom Hochstein
71ba9ad6e9 wayland-protocols: Remove inoperative packaging override
The upgrade to 1.38 re-enables the dev package [1]. With the dev
package enabled, the file wayland-protocol.pc is filtered by default
into the dev package, and the override adding it to the main package
does nothing and is not needed.

[1] 5de187aee6

(From OE-Core rev: 9ee7a283125b29e40e4562c76d7d0940b37a4cfd)

Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-23 11:32:26 +00:00
Tom Hochstein
3675ea0765 pkgconfig: Add pkg-config-native to SDK
Building weston with an SDK fails to find pkg-config-native:
```
Did not find pkg-config by name 'pkg-config-native'
Found pkg-config: NO
Found CMake: /opt/poky/5.1/sysroots/x86_64-pokysdk-linux/usr/bin/cmake (3.31.0)
Build-time dependency wayland-scanner found: NO (tried cmake)

protocol/meson.build:1:14: ERROR: Dependency lookup for wayland-scanner with method 'pkgconfig' failed: Pkg-config for machine build machine not found. Giving up.
```

Fix the problem by extending the pkg-config-native wrapper install to
class-nativesdk.

(From OE-Core rev: 065ab44943b78ccb806477684b1167d69d5d1d6d)

Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-23 11:32:26 +00:00
Khem Raj
9dbeec7fa7 nfs-utils: Use v2 of upstream patch for tpyecast fix
(From OE-Core rev: a2c5b2cad7857250b4a1b36ba792a8110989733a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 18:00:26 +00:00
Ross Burton
c03be6b81c bitbake: fetch2/wget: correctly construct the target URL in checkstatus()
ud.path has been unescaped (eg %20 is space) but as we're reconstructing
a URL we should re-escape it. For example, unzip has a SRC_URI
containing "UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz" which
then throws exceptions if the unescaped string " (latest)" is used.

Also, this code uses the extracted ud.host and ud.path variables. These
are unescaped but potentially stale as eg the cargo fetcher subclasses
Wget() and reassigns ud.url on construction.

Simplify the code by reconstructing a URL from ud.url directly instead
of bouncing through intermediate variables that may be wrong or
unescaped.

(Bitbake rev: c9906bb289dcfd9ae41f10bd5399ccc17a4cc437)

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>
2024-12-20 16:25:28 +00:00
Ross Burton
e8ab6bc411 bitbake: fetch2/wget: handle HTTP 308 Permanent Redirect
urllib2.HTTPRedirectHandler.redirect_request doesn't handle HTTP reponse
code 308 (Permanent Redirect). This was fixed in c379bc5 but can't be
worked around without copying the entire redirect_request() method.

When we can depend on Python 3.13, FixedHTTPRedirectHandler can be
removed.

(Bitbake rev: 365829a2803b954ee6cb0364749551a91d806075)

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>
2024-12-20 16:25:28 +00:00
Simon A. Eugster
59c725f411 bitbake: doc: Document suffix for BBFILE_PRIORITY
(Bitbake rev: 08c340d97717e632c5185a52eec46d90359d4006)

Signed-off-by: Simon A. Eugster <simon.eu@gmail.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 16:21:35 +00:00
Stefan Herbrechtsmeier
f1745ce249 bitbake: tests: fetch: add npmsw test case for bundled dependencies
The npm package lock and shrinkwrap file list bundled dependencies which
are supplied together with the parent dependency. The bundled
dependencies are marked by a flag. The flag and thereby test depends on
the lock file version. The old lock file version uses a `bundled` flag
and stores dependencies in the `dependencies` list. The new lock file
version uses an `inBundle` flag and stores dependencies in the
`packages` list.

(Bitbake rev: 34fd8ea6abe755e04220fe70b082aa620ae15f86)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 16:18:59 +00:00
Stefan Herbrechtsmeier
02f8ea6865 bitbake: fetch2: npmsw: ignore bundled dependencies in packages
The npm package lock and shrinkwrap file list bundled dependencies which
are supplied together with the parent dependency. The flag depends on
the lock file version. Add the missing `inBundle` flag to packages list
processing.

(Bitbake rev: 042d7121ddc93c18306bf03d26ea774f66379a90)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 16:18:59 +00:00
Stefan Herbrechtsmeier
527e4a7958 bitbake: tests: fetch: do not skip plain npmsw tests
The npmsw fetcher doesn't use the npm command. Remove the
`@skipIfNoNpm()` decorator from plain npmsw tests which don't use the
npm fetcher.

(Bitbake rev: 48f9964a19b8e2e3a73667c9889908eceecf7719)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 16:18:59 +00:00
Stefan Herbrechtsmeier
243f9ea060 bitbake: tests: fetch: adapt npmsw tests to fixed unpack behavior
Adapt the npmsw tests to commit 84f102954e10 ("fetch/npmsw: The fetcher
shouldn't have any knowledge of S").

(Bitbake rev: 8194178291d9b47efb2079fe81b704ba6171efc1)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 16:18:59 +00:00
Georgi, Tom
465872544e devtool: ide-sdk: check 'tools-debug' for gdbserver
Also check that 'tools-debug' is not set in
IMAGE_FEATURES to determine if gdbserver is missing.

(From OE-Core rev: 28a8b35826302a40e7bb49f4bd3213fe7026f480)

Signed-off-by: Georgi, Tom <tom.georgi@karlstorz.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 15:48:16 +00:00
Alexander Kanavin
409256a2df python3-cryptography-vectors: correct upstream version check
(From OE-Core rev: 8240a1fde29f6cc9a86833d5289e9607d6421741)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 15:47:14 +00:00
Ross Burton
e52d5e692f ofono: fix the build when toolchain has old linux headers
Whilst our default toolchain has modern kernel headers (6.12, at time of
writing), some external toolchains may use old kernel headers.

As ofono's rmnet module uses kernel defines which were added in 5.14,
add some compatibility defines in case they are not set.

(From OE-Core rev: 0313ea48a75480c2bcc6d35035f74a4dcf22f263)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 15:47:14 +00:00
Wang Mingyu
26fe17e505 bind: upgrade 9.20.3 -> 9.20.4
bind-ensure-searching-for-json-headers-searches-sysr.patch
refreshed for 9.20.4

(From OE-Core rev: 5da817ca4d58eb70ad42fc1fa0f7f4edf696585d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 15:47:14 +00:00
Khem Raj
50db08cdd6 webkitgtk: Fix build on 32bit arches with 64bit time_t only
This is a fix needed in angle module which is vendored in webkit repo.
glibc does not define SYS_futex on 32bit arches with 64bit time_t only
e.g. riscv32

(From OE-Core rev: fab8dbdc48b6ae59bb1ea4cb47204f99f195b12c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 15:47:14 +00:00
Khem Raj
8a051bd0ea nfs-utils: Fix warnings found with clang
(From OE-Core rev: 5a6232b730e8d791cd270267cb32bbe15cc1ce14)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 15:47:14 +00:00
Khem Raj
9008c64e67 musl: Upgrade to latest
Brings following changes

* 61399d4b loongarch64: add TLSDESC support
* 9b6a24f9 wire up vdso clock_gettime for riscv32 and riscv64
* f2375aac wire up vdso clock_gettime for powerpc, powerpc64, and s390x
* bc5f816a mips: use preferred asm mnemomic jr for better assembler compatibility
* 4e6c827c mntent: exclude trailing newline from parsed field
* 9929a571 arm: fix _init/_fini alignment in crti.o

(From OE-Core rev: 77a1992eeda6cc6d6f52b50311fb4d98f6e58fc3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 15:47:14 +00:00
Antonin Godard
3ed2348227 set_versions.py: use backward-compatible python argument in run
Some workers on the autobuilder reported the following error:

  File "./set_versions.py", line 102, in <module>
    subprocess.run(["git", "show", "yocto-%s" % release_series[activereleases[0]]], capture_output=True, check=True)
  File "/usr/lib64/python3.6/subprocess.py", line 423, in run
    with Popen(*popenargs, **kwargs) as process:
  TypeError: __init__() got an unexpected keyword argument 'capture_output'

See https://valkyrie.yoctoproject.org/#/builders/34/builds/86.

This is because capture_output was introduced in Python 3.7, and some of
the support distributions are still on Python 3.6. Since capture_output
is essentially just setting stdout and stderr to PIPE
(https://github.com/python/cpython/blob/3.13/Lib/subprocess.py#L547), do
it manually here to be compatible with older python versions.

This is also the case for the "text" parameter, introduced in 3.7 to
alias the universal_newlines parameter. Use "universal_newlines" to be
backward-compatible.

[ YOCTO #15687 ]

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Tested-by: Quentin Schulz <quentin.schulz@cherry.de> # openSUSE Leap
(From yocto-docs rev: 28850c974a3896895bc921c094071523218d6d07)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 12:47:59 +00:00
Michael Opdenacker
991b68a00c dev-manual/bmaptool.rst: simplify and fix instructions
- Remove duplicate instructions

- Detail how to run bmaptool directly if you installed it on your host
  instead of building it through the ``bmaptool-native`` recipe,
  as running "oe-run-native bmaptool-native bmaptool ..." won't work
  in this case.

- Use "chmod a+w" instead of "chmod 666", better advice,
  and only run "chmod" in the option that runs "oe-run-native"

(From yocto-docs rev: 4afa71ef6e5bf1db126c80e6d987f588d0b5a086)

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 12:47:59 +00:00
Michael Opdenacker
df98d305de dev-manual/bmaptool.rst: correct command for bmaptool-native
Using only "bitbake bmaptool-native", running "oe-run-native bmaptool-native bmaptool ..."
fails as follows:

Error: Have you run 'bitbake bmaptool-native -caddto_recipe_sysroot'?

Running the "bitbake bmaptool-native -caddto_recipe_sysroot" target
is actually sufficient.

(From yocto-docs rev: 72fe904a3bbb5e2c7279ab1f119c2beca200dcf2)

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 12:47:59 +00:00
Michael Opdenacker
6e09a26641 dev-manual: fix styling of references to bmaptool
To follow the styling conventions when we are
refering to the name of a tool instead of the command itself
(documentation/standards.md).

This also improves the HTML rendering of the bmaptools subsection.

(From yocto-docs rev: c569d840c4b6f43e10629b6f1ff45189211e27a9)

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 12:47:59 +00:00
Antonin Godard
c9565b89d0 Update the documentation for SRCPV
The variable SRCPV is deprecated since 4.3. Instead of including SRCPV
in PV, including the sign "+" is enough for bitbake to add the source
control information to PKGV during the packaging phase.

Update the documentation for SRCPV and the places where it was used.
When instructions previously referred to SRCPV, replace by mentioning to
include "+" in the assignment.

In most examples, "+git" is added to PV as it is the most popular SCM.
Simply adding "+" is also possible, although it is better practice to
include the SCM name, so give that example.

Update the gcompat example with l3afpad as it didn't include "+git" in
its PV definition anymore.

(From yocto-docs rev: ee16c96202e5027d1a8d7e89e11c25f127c78326)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 12:47:59 +00:00
Ross Burton
6968e17ae5 expect: cleanup do_install
Clean up the do_install append, and remove a long-standing unused
variable that appears to be intending to not install the scripts but
would have never actually done that as the relevant override since 2008
has been task-install.  As we've been installing the scripts, keep
instaling them.

(From OE-Core rev: 3171dd16ec1a4a7461d29107b8c4bd29ff9acf42)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 12:47:19 +00:00
Ross Burton
c438450bea expect: don't run aclocal in do_configure
expect has a hand-maintained aclocal.m4 so don't run aclocal, which has the
side effect of not deleting the aclocal.m4 file which pulls in macros.

The build works without this change more through luck and a combination
of behaviours than design.

(From OE-Core rev: 99fee9f51eb991207dea136465c18735ef833cca)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 12:47:19 +00:00
Ross Burton
4225b7fd4a tcl8: don't run aclocal in do_configure
tcl has a hand-maintained aclocal.m4 so don't run aclocal, which has the
side effect of not deleting the aclocal.m4 file which pulls in macros.

The build works without this change more through luck and a combination
of behaviours than design.

(From OE-Core rev: 34b354f82aa3d28820ecb29f463cbbb97c7c345a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 12:47:19 +00:00
Ross Burton
ab9ab8d461 tcl: don't run aclocal in do_configure
tcl has a hand-maintained aclocal.m4 so don't run aclocal, which has the
side effect of not deleting the aclocal.m4 file which pulls in macros.

The build works without this change more through luck and a combination
of behaviours than design.

(From OE-Core rev: f2f0edb229a62e63807dd4b4ec2944e7cd06d364)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 12:47:19 +00:00
Ross Burton
0b7d336937 subversion: refactor do_configure
Upstream has an autogen.sh which constructs a hand-written aclocal.m4
and manually copies libtool into place. Instead of working around the
bad interaction between these expectations and our autotools class we
can just disable the execution of aclocal in autoreconf and copy files
as autogen.sh does.

(From OE-Core rev: ce0865e9a79b1603a2553392f2cd3b6394239153)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 12:47:19 +00:00
Ross Burton
8ebcc5c431 subversion: add explicit DEPENDS on expat
The configure script looks explicitly for expat, so add it to DEPENDS.

(From OE-Core rev: ab6b4f45da74727e7adae7ceab6f507b2b043e60)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 12:47:19 +00:00
Ross Burton
ac564b5bac bash: remove aclocal workarounds
Instead of patching configure.ac to not load m4 directly and working
around what aclocal and the autotools class do, just exclude the running
of aclocal entirely.

This stops the class removing the existing aclocal.m4 and autoreconf
running aclocal.

(From OE-Core rev: 399918026e3240d6f0829f9fb0da6946a498108e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 12:47:19 +00:00
Richard Purdie
7adaec468d cve-update-nvd2-native: Tweak to work better with NFS DL_DIR
After much debugging, the corruption issues on the autobuilder appear to
be due to the way sqlite accesses database files. It doesn't change the
file timestamp after making changes, which for reasons unknown, confuses
NFS. As soon as the file is touched, NFS becomes fine again accross the
whole cluster, as if by magic.

We could try and debug further but putting a "touch" call into the code
is easy and harmless. Lets hope this removes this annoying source of
errors.

(From OE-Core rev: f642edb006a8c16dbe45681afe547eabfae17073)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-18 11:58:23 +00:00
Mark Hatle
bf38154047 populate_sdk_ext: write_local_conf add shutil import
Add shutil import to resolve error:

Exception: NameError: name 'shutil' is not defined, Did you forget to import 'shutil'

(From OE-Core rev: b64263a43b4d82f1ebba13815bccb8a8cd3127f9)

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-18 11:11:55 +00:00
Bin Lan
5c3a3cf225 gcc: backport patch to fix data relocation to !ENDBR: stpcpy
There is the following warning when building linux-yocto with
default configuration on x86-64 with gcc-14.2:
  AR      built-in.a
  AR      vmlinux.a
  LD      vmlinux.o
  vmlinux.o: warning: objtool: .export_symbol+0x332a0: data relocation to !ENDBR: stpcpy+0x0

This change set removes the warning.

PR target/116174 [https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116174]

(From OE-Core rev: 30d4f18d1e11b3336c8668dccd96b9ff35c7bc76)

Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-18 11:11:55 +00:00
Alexander Kanavin
1db6f52e72 oe-setup-build: raise exceptions on errors
Otherwise the tool simply prints what went wrong and exits without error,
which makes it impossible for tools like bitbake-setup to determine that
the requested operation did not succeed.

(From OE-Core rev: d44ab1c3abb25ef08307558430d76a47cde07cc1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-18 11:11:55 +00:00
Wang Mingyu
2fded92cc5 socat: upgrade 1.8.0.1 -> 1.8.0.2
(From OE-Core rev: f95be557c3087597df6179455294dd143ccdb07d)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-18 11:11:55 +00:00
Wang Mingyu
8bde5eab6e re2c: upgrade 4.0.1 -> 4.0.2
Changelog:
===========
- CMake build system: fixed bug
  `#515 <https://github.com/skvadrik/re2c/issues/515>`_ where language-specific
  binaries erroneously defaulted to generating code for C.
- Playground: address bar now reflects navigation between examples, editors use
  a more high-contrast CSS theme.

(From OE-Core rev: 53ad3915b465ecb9f4d96c12a5522296e89a18e2)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-18 11:11:55 +00:00
Wang Mingyu
302a133c92 pango: upgrade 1.55.0 -> 1.55.5
(From OE-Core rev: 798a5dc0b5be4f284a0995f7c2db5c267ffe4561)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-18 11:11:55 +00:00
Wang Mingyu
9aee8d9da9 ofono: upgrade 2.13 -> 2.14
Changelog:
===========
- Fix issue with STK and buffer length checks.
- Fix issue with SMS and buffer length checks.
- Fix issue with QMI and handling RAT detection.
- Fix issue with QMI and handling call forwarding.
- Add support for handling MHI network interfaces.

(From OE-Core rev: e57e032bd504d2bc2cb1dbb6ed0182acea39e36a)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-18 11:11:55 +00:00
Wang Mingyu
05c3dc1596 nfs-utils: upgrade 2.8.1 -> 2.8.2
(From OE-Core rev: 328d2e3a48267eba60e949d0a7b0a0643093b642)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-18 11:11:55 +00:00
Wang Mingyu
1e195aa86b mpg123: upgrade 1.32.9 -> 1.32.10
Changelog:
==========
- scripts/tag_lyrics.py: fix for python3
- libout123: Use strtok_r() to avoid conflicts multithreaded contexts
- libmpg123: Un-break DLL builds that need I/O functions defined in libmpg123.c
- ports/cmake: More fixup to also produce .pc files with Libs.private.

(From OE-Core rev: 62ec28a27d78ee4bd6949f2ca3cdd0e111a6eb56)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-18 11:11:55 +00:00
Wang Mingyu
03214f10fa libxxf86vm: upgrade 1.1.5 -> 1.1.6
Changelog:
===========
- Add -no-undefined flag to LDFLAGS to fix Windows builds
- Add X.Org's standard C warning flags to AM_CFLAGS
- configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
- Remove "All rights reserved" from Oracle copyright notices

(From OE-Core rev: 0166ebe277e2620c3568ed5f02ae0e12cd71b096)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-18 11:11:55 +00:00
Wang Mingyu
b7fbe4432a libxv: upgrade 1.0.12 -> 1.0.13
Changelog:
===========
- XvQueryAdaptors: avoid NULL deref if length is 0, but num_adaptors is not
- XvQueryEncodings: avoid NULL deref if length is 0, but num_encodings is not
- Use calloc instead of malloc and manual loops to zero array contents
- configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
- Remove "All rights reserved" from Oracle copyright notices

(From OE-Core rev: 4477bdd0317582dd03e957f1972646a726478914)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-18 11:11:55 +00:00
Wang Mingyu
4a48039978 libxrender: upgrade 0.9.11 -> 0.9.12
(From OE-Core rev: 7d6dab30f58ad2a9b2301f56f505c815a54502fa)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-18 11:11:55 +00:00
Wang Mingyu
3e7922ccdd libxcvt: upgrade 0.1.2 -> 0.1.3
Changelog:
===========
- Fix hsync_start computation
- Fix too-small back porch at very low resolutions
- Rename constant to CVT_MIN_V_PORCH_RND
- README: remove double dollar sign
- ci: Update CI and enable static analysis
- cvt: fix -Wmissing-prototypes warning for cvt_is_standard

(From OE-Core rev: 9f20b22f3eac79f79c83329e57368b7cb9b2778a)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-18 11:11:55 +00:00
Wang Mingyu
55c8e6ae6b libxau: upgrade 1.0.11 -> 1.0.12
Changelog:
===========
- XauDisposeAuth: remove void casts from functions that return void
- unifdef hpux
- Autest.c includes Xauth.h that depends on other headers.
- Allow to use POSIX.2 compliant sed(1)
- Also test for explicit_memset(3) support
- Gcc < 11 doesn't allow opt. deallocator arg for __attribute((malloc))
- gitlab CI: run meson build with both gcc & clang compilers
- Allow building with clang after aec9d7266777e0b9243ef0f112fe0e07256bd446
- Xauth.h: add access & malloc attributes to function prototypes add Meson build system
- Set close-on-exec when opening files
- Require LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL

(From OE-Core rev: f01ae510df717999ca9334c750e19739189d75b4)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-18 11:11:55 +00:00
Wang Mingyu
59180362bd libsm: upgrade 1.2.4 -> 1.2.5
License-Update:
 Remove "All rights reserved" from Oracle copyright notices,
 since oracle no longer includes this term in our copyright & license notices.

(From OE-Core rev: d6085a3b433801b24d50b8917f7eb2d74e3cfcd3)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-18 11:11:55 +00:00
Wang Mingyu
00f94a9728 libjitterentropy: upgrade 3.6.0 -> 3.6.1
Changelog:
===========
 * Add more test code
 * Add support for SunPRO compiler
 * Fix compilation on OpenBSD by replacing sed with tr
 * internal timer: Add support for Apple
 * Various small fixes to compilation to imporve portability

(From OE-Core rev: cdb92925d6a8a943337e73d659984ac7bc4305f7)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-18 11:11:55 +00:00
Wang Mingyu
8eb0a81420 libice: upgrade 1.1.1 -> 1.1.2
(From OE-Core rev: 21a7be9fbae8b228c5d2ce6b6208cfe726b89f99)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-18 11:11:55 +00:00
Wang Mingyu
3dbf0f33af json-glib: upgrade 1.10.0 -> 1.10.6
Changelog:
==========
- Allow single quoted strings when running in non-strict mode
- Allow escaped characters when running in non-strict mode
- Add missing nullable annotation

(From OE-Core rev: 680e93346eb52860373e4aed0ca5e9b8866b9359)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-18 11:11:55 +00:00
Wang Mingyu
216b711131 igt-gpu-tools: upgrade 1.29 -> 1.30
Changelog:
===========
General changes:
- New meson options xe_eudebug and vmtb.

Library changes:
- Added PantherLake (PTL) support, unified PCI IDs into one
  common header pciids.h
- Added BMG support for OA (Observability Architecture) for Xe driver.
- Added support for Xe3 platforms in GPGPU shader.
- Added 6k resolution support for a single CRTC.
- Added support for MTL platform in GPGPU compute.

Runner changes:
- Set option PRUNE_KEEP_ALL as default.
- Allow to dynamically ignore dmesg warn messages when generating
  results, usefull when driver is using kernel fault injection.

Test changes:
- Added sanity checks for KMS properties.
- Improved GPGPU tests for i915 and Xe.
- New SRIOV test for Functional Level Reset (FLR) for Xe.
- Added test that draws triangle without using 3d commands for vmwgfx.
- Added subtest for fallback for DP connector.
- Added async flips suspend resume subtest.
- New test for error handling of Xe at probe time.
- Added testing SIZE_HINTS property in KMS cursor test.
- Added KMS testing for ultrajoiner.
- New test for TLB invalidation in Xe.
- New test for timeslice duration in Xe.
- Display brightness test during DPMS on and off.
- New tests for EU debugging for Xe.

Tools changes:
- New power tool for power/energy measurement.
- New VM Testbench (VMTB) - SR-IOV Virtual Machine testing tool.
- Fixes in amd_hdmi_compliance.
- Fixes in intel_reg.

(From OE-Core rev: dbec508d17f7ab18efe757cbfc30b81ad5bca7b0)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-18 11:11:55 +00:00
Wang Mingyu
12af941ea5 erofs-utils: upgrade 1.8.2 -> 1.8.3
Changelog:
==========
- (mkfs.erofs) Fix multi-threaded compression with '-Eall-fragments';
- (mkfs.erofs) Fix large chunk-based image generation;
- (mkfs.erofs) Avoid large arrays on the stack
- (mkfs.erofs) Fix PAX format parsing in headerball mode
- (mkfs.erofs) Several fixes for incremental builds
- (mkfs.erofs) Fix reproducible builds due to 'i_ino'
- Use pkg-config for liblz4 configuration;
- Get rid of pthread_cancel() dependencies;
- (mkfs.erofs) Add '-U <clear|random>' support;
- (mkfs.erofs) Add '--hard-dereference' for NixOS reproducibility
- Several minor random fixes.

(From OE-Core rev: 4fb94c8d873e0eff878308deadf31cab413ed590)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-18 11:11:55 +00:00
Wang Mingyu
7f65cb1a6b appstream: upgrade 1.0.3 -> 1.0.4
0001-remove-hardcoded-path.patch
0002-Do-not-build-qt-tests.patch
refreshed for 1.0.4

Changelog:
===========
Features:
 * bundle: Add AS_BUNDLE_KIND_SYSUPDATE
 * desktop-style-ids: Add dark support for Plasma
 * desktop-style-ids: add pantheon:dark
 * qt: Expose branding color
 * sysinfo: Add memory size detection support for Illumos and Solaris
 * sysinfo: Add memory size detection support for GNU/Hurd
 * validator: Don't fail validation if a snapshot release is missing a time

Specification:
 * docs: Note that support for some legacy path was dropped in 1.0
 * docs: Update fd.o spec URLs
 * docs: Better explain desktop applications
 * Update ESRA website URL

Bugfixes:
 * validator: Make sure we read an initialised variable
 * qt: Specify utc as the dates' timezone
 * tests: Ignore some tests on Windows
 * sysinfo: make uname() usage POSIX compliant
 * Only emit legacy compat tag developer_name for catalog data
 * compose: Allow file discovery even in symlinked directories
 * Avoid a race condition when loading GResource data
 * validator: Mention length limit in summary length warning message
 * utils: Explicitly set permissions on installed metadata files
 * as-vercmp: Fix gtkdoc to not start with '>'

Miscellaneous:
 * desktop-style-ids: Remove Endless
 * ci: Fix FreeBSD build (update 'py-gi-docgen')
 * ci: Update to Ubuntu 24.04 for Debian Testing builds
 * utils: Assume 64px as size when installing an icon tarball of unknown size

(From OE-Core rev: 9655af038a0bc7d6775858e6c32d302eec5b3b9b)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-18 11:11:55 +00:00
Richard Purdie
e16e725fb5 Revert "python3-numpy: upgrade 2.1.3 -> 2.2.0"
This reverts commit ff93068be3dd1993675dd016fd6b5e98ccb262bf.

Sadly this upgrade does pass reproducible build tests:
http://valkyrie.yocto.io/pub/repro-fail/oe-reproducible-20241217-q6urkm0e/packages/diff-html/

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:53:15 +00:00
Richard Purdie
5cb3d1a59c bitbake: parse: Add include_all conf file directive
In some cases it would be helpful to be able to have an include file
in a standard location which is included in all layers that are added
to the system. The intent is for these to provide configuration tweaks
of specific types so that a given file pattern can be adopted more widely
for such configuration.

The code will search for any named configuration file within BBPATH, so
a configuration directive of:

include_all conf/distro/include/myinc.conf

would include the myinc.conf file in that subpath if present in any
directory in BBPATH. Multiple files will be included if present.

(Bitbake rev: d01d5593e7829ac60f37bc23cb87dc6917026471)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:48:25 +00:00
Chris Laplante
9d1b31d254 bitbake: cooker: Make cooker 'skiplist' per-multiconfig/mc
Previously, the cooker skiplist was shared across multiconfigs
(including default ''). If you had a recipe that was incompatible with
several multiconfigs for different reasons, then the displayed reason
(i.e. the "ERROR: Nothing PROVIDES" and "* was skipped" messages) might
vary across invocations of bitbake. This was caused by the random order
in which recipes are parsed under different multiconfig contexts, with
each skip reason overwriting the previously assigned reason.

I hit this specificially when using COMPATIBLE_MACHINE, but
COMPATIBLE_HOST (or anything using bb.parse.SkipRecipe) would have done it too.

(Bitbake rev: c51f01a35ed9a928402eab0899598b5c59602eef)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:48:25 +00:00
Markus Volk
2333609ac2 glib-2.0: update 2.82.2 -> 2.82.4
- remove backported patches

Overview of changes in GLib 2.82.4, 2024-12-11
==============================================

* Fix a double-unref crash which affects many apps which use pygobject to
  export objects on D-Bus (#3559, work by Sebastian Dröge, Philip Withnall)

* Bugs fixed:
  - #3559 2.82.3 regression: lollypop crashes on startup (Philip Withnall)
  - !4430 Backport !4427 “Revert "gdbus: Fix leak of method invocation when
    registering an object with closures"” to glib-2-82
  - !4434 Backport !4432 and !4433 “ci: Add release component to automate
    tarball publishing” to glib-2-82

Overview of changes in GLib 2.82.3, 2024-12-09
==============================================

* Fix compatibility with tzdata 2024b (#3502, work by Rebecca N. Palmer and
  Simon McVittie)

* Bugs fixed:
  - #3502 Test regressions with tzdata 2024b (Rebecca N. Palmer)
  - !4357 Backport !4356 “gdatetime test: Do not assume PST8PDT was always
    exactly -8/-7” to glib-2-82
  - !4370 Backport !4350 “glib: Don't require GLIB_DOMAIN to be a NUL-terminated
    string” to glib-2-82
  - !4380 Backport !4378 “gio: Fix GFileEnumerator leaks in gio tools” to
    glib-2-82
  - !4381 Backport !4373 “macos: Remove extraous space from type identifier” to
    glib-2-82
  - !4388 Backport !4232 “refstring: Fix race between releasing and re-acquiring
    an interned GRefString” to glib-2-82
  - !4397 Backport !4395 “appmonitor: Fix warning building test” to glib-2-82
  - !4400 Backport !4398 “grefstring: Mark a variable as potentially unused” to
    glib-2-82
  - !4417 Backport !4415 “gdbus: Fix leak of method invocation when registering
    an object with closures” to glib-2-82

(From OE-Core rev: 63a276d65a2cc34a8cd7756091f7f0b3908cf625)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:53 +00:00
Trevor Gamblin
48b0c58b34 python3-numpy: upgrade 2.1.3 -> 2.2.0
Patch '0001-numpy-core-Define-RISCV-32-support.patch' is included in
v2.2.0, so remove it from the SRC_URI list:

|tgamblin@megalith ~/workspace/git/pythonsrc/numpy (main)$ git tag --contains 0e2b652a0eff85798584116c905a2d6ad8f25d5f
|v2.2.0

Changelog: https://github.com/numpy/numpy/releases/tag/v2.2.0

Build log:

|BUILDALL-QEMU LOG FOR python3-numpy
|START TIME: 2024-12-13_16:55:19
|HOSTNAME: megalith
|HOST OS: Debian GNU/Linux 12 (bookworm)
|HOST KERNEL: 6.1.0-28-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: ff93068be3dd1993675dd016fd6b5e98ccb262bf)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:53 +00:00
Justin Bronder
4593b142d5 scripts: wrap lz4c and convert to lz4
Commit fe167e082cbde1c6d186ecdda531abef610ac2ac switched to requiring
lz4 instead of lz4c which allows us to support distros dropping lz4c.
However, it wasn't only OE that was still using the legacy lz4c, there's
a number of upstreams as well.  For instance, it's only in the 6.13
kernel that CONFIG_KERNEL_LZ4 makes the switch from lz4c to lz4.

So, while this all gets ironed out, simply intercept calls to lz4c and
convert them to use lz4.  This was picked instead of adding lz4c to
HOSTTOOLS_NONFATAL due to concerns about builds becoming
non-deterministic and failing late:
https://lore.kernel.org/openembedded-core/9c3143ebb7f9e17cfbd318ef0e17994aae7264be.camel@linuxfoundation.org/

(From OE-Core rev: c10b94d82d10058a9e26f7d6919a0d6d721a7c75)

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:53 +00:00
Adrian Freihofer
a3c5179414 oe-selftest: devtool ide-sdk use modify debug-build
(From OE-Core rev: 9ab1e35a0969af144caedcc25cd095a17d758bf9)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:53 +00:00
Adrian Freihofer
92a4abac54 devtool: ide-sdk recommend DEBUG_BUILD
The debug_build_config function was never called. Compiling with debug
optimized compiler flags was not working. Even with the
--debug-build-config flag set, the build configuration from the recipe
was used.

The devtool ide-sdk --debug-build-config approach didn't work very well
anyway. The problem is that changing the bbappend file doesn't work
while bitbake uses the bbappend file. As a workaround, it would be
possible to parse the recipe, get DEBUG_BUILD and the path to the append
file, exit tinfoil, change the bbappend file, reopen tinfoil and do what
ide-sdk is supposed to do. Such an implementation would be complicated
and slow.
Therefore, the code that was originally supposed to implement this is
removed from ide-sdk and the new --debug-build function of devtool
modify is used instead. Additionally, a hint should be given on how to
manually add DEBUG_BUILD = '1' to bbappend.

This is compatible with the VSCode Bitbake plug-in, which does not
support this parameter anyway.

(From OE-Core rev: 65950eb601c6c8aac0e4bc8683e544305346229d)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:53 +00:00
Adrian Freihofer
71acb3b781 devtool: ide-sdk sort cmake preset
Sort the keys of the generated CMakeUserPreset.json file to make it
easier to search and compare.

(From OE-Core rev: b886c26bf893878ba8eb6bee80dd0507e5cb0d2d)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:53 +00:00
Adrian Freihofer
1f7eb26c94 devtool: modify support debug-builds
Add a new option --debug-builds to automatically add DEBUG_BUILD = “1”
to the bbappend file of this recipe. This is especially useful when
invoking devtool modify before invoking devtool ide-sdk to perform a
remote debugging session.

(From OE-Core rev: fc17808799d2b667afbe4ea9837b66af70d47007)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:53 +00:00
Richard Purdie
1ceff800a5 lttng-modules: Upgrade 2.13.15 -> 2.13.16
Drop two patches merged upstream.

(From OE-Core rev: 1bc656bac3bccbedde407a52969dfdca7f5a3c2b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:53 +00:00
Richard Purdie
4a2924a8d6 qemu: Upgrade 9.1.1 -> 9.2.0
Drop two patches merged upstream.

(From OE-Core rev: 540ba2ce2f6d138b386d0d7545c197fd7f54edc8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:53 +00:00
Richard Purdie
ab4c066ed3 subversion: Upgrade 1.14.4 -> 1.14.5
(From OE-Core rev: ca4efd307a1b06e58da8cf7617a94521d61c1e70)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:53 +00:00
Derek Straka
7dcc37c329 python3-*: Update recipes to correctly check the upstream packages
With the upstream check migrated to the simple repo API, a number of the
recipes required updates to:
1. Remove outdated UPSTREAM_CHECK_REGEX checks
2. Add recipe specific UPSTREAM_CHECK_PYPI_PACKAGE definitions for
   packages that use '_', CamelCase, or other deviations from PEP625 in
   the source archive

(From OE-Core rev: efbb98977664cd5392ec00d97d0eaf5374a32573)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:53 +00:00
Derek Straka
2ce210011c classes/pypi: update the default UPSTREAM_CHECK_URI to use the simple repo API
Update the UPSTREAM_CHECK_URI to leverage the simple repo API.  The
project URLs require javascript which breaks the version checking fetch
and subsequent logic.  The simple repo API provides similar
functionality with a well defined spec which is used by tools such as
pip.  Also update the UPSTREAM_CHECK_REGEX to be compatible with the
information retrieved via the API

(From OE-Core rev: 10febb0e8193d15aec8bbf80b849ae6732da3c22)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:52 +00:00
Mikko Rapeli
16f1f4d63f systemd: set CVE_PRODUCT
systemd.inc is used by systemd, systemd-boot and
systemd-tools-native recipes so make sure all
match to "systemd" product in CVE database. The
split between systemd, systemd-boot and
systemd-tools-native is specific to oe-core and
upstream just refers to systemd. Not limiting
to "systemd_project" vendor since multiple
vendor names have been used in the past.

(From OE-Core rev: eb46ad379170f0a80ac2d061fa02c118f5ed1d31)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:52 +00:00
Adrian Freihofer
4920a08a2b systemd: split networkd into its own package
Support of images with different network management implementations
without having to recompile systemd and other components.

Fedora does this as well since systemd version 246.6-2:
https://src.fedoraproject.org/rpms/systemd/blob/rawhide/f/systemd.spec#_578
This proves that it is technically possible and officially supported by
systemd.

(From OE-Core rev: 3664d14ef97281961d166f16e7d47996370e405d)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:52 +00:00
Adrian Freihofer
efa5f65c22 systemd.bbclass: do not automatically add Also services
Starting a systemd service “Also” does not mean that both services
must be in the same package. However, the systemd.bbclass enforces
this.

Example:
  a.service:
    [Install]
    Also=b.service
If a.service is packed in package A, b.service is automatically packed
into package A as well. This happens even if b.service is explicitly
added to package B using FILES and SYSTEMD_SERVICE variables.

The automatic packing of socket files with the corresponding service
files is probably a widely used feature of systemd.bbclass. This bahavior
does not change.

Adding regular service files to a package just because it is another
service in the same package that "Also" uses the service is a bug that
this commit fixes.

(From OE-Core rev: f836d80eb48a2a2f9b1e66980021755cf0ca2a26)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:52 +00:00
Adrian Freihofer
0324f69749 systemd.bbclass: refactor adding files
The keys variable was intended as an array of keys. But it looks like
this has not been used for more than 10 years now. Adding files
automatically to packages needs probably anyway very specific code
rather than a generic loop. Lets simplify this a bit.
Using python code should also not be slower for these usually small
files.

(From OE-Core rev: 0eda7131bf743719d6586ccd36d99cbe11c88262)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:52 +00:00
Adrian Freihofer
86a1b62e2f dropbear: add dropbearkey.service to FILES
dropbear.socket file contains:
  Also=dropbearkey.service

That's why dropbearkey.service got automatically added to FILES.
Since this incorrect auto adding feature gets dropped from
systemd.bbclass this needs to be added explicitly.

(From OE-Core rev: 4455e207a1ced3fb1d92b2f5e9335632bea08d15)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:52 +00:00
Adrian Freihofer
4fcef06c9d busybox: add klogd service to FILES
busybox syslog.service file contains:
  Also=busybox-klogd.service

That's why busybox-klog.service got automatically added to
FILES:busybox-syslog. Since this incorrect auto adding feature gets
dropped from systemd.bbclass this needs to be added explicitly.

(From OE-Core rev: 60f1a82e25bd422fb1c380cd5b397718ab6dae13)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:52 +00:00
Leon Anavi
fa998ef0ea perf: Fix a minor typo
Fix a minor typo in a comment by replacing "nsures" with ensures.

(From OE-Core rev: c1f2df5616e9a14d1d6f2c993de8cc6204aea41f)

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-16 22:38:35 +00:00
Antonin Godard
783347d27b system-requirements.rst: add dependencies for pdf builds
With the recent changes from commit
bd6265ca323fac547a197bb516dc4a9ef3897508 ("doc: Makefile: add support
for xelatex"), the list of dependencies needs to be updated.

The initial list of dependencies was made for Ubuntu/Debian, and the
packages were translated for the other distros using pkgs.org.

Add them separately from the rest of the dependencies as they pull a
_lot_ of additional dependencies (for LaTeX).

Move the texlive-fncychap documentation dependency to the PDF specific
dependency.

Notes:
- Fedora/OpenSUSE do not have the "lang-all" texlive collection, so
  install all available languages.
- AlmaLinux does not seem to provide texlive-collection-fontsextra,
  texlive-collection-lang*, and texlive-collection-latexextra, so add a
  warning about that.

(From yocto-docs rev: 02c090718ac602f7d4760dd28dadbf0631668d49)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-16 11:04:53 +00:00
Antonin Godard
8c7e7f6805 system-requirements: update list of supported distros
To match the list in meta-poky/conf/distro/poky.conf.

(From yocto-docs rev: c9c3f6896e4bc967a9b394574532735babb70397)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-16 11:04:53 +00:00
Antonin Godard
8e20e984f0 system-requirements: add fedora 39 to supported distros
(From yocto-docs rev: dc7fd0e56fbfed77975f6b4ed2106331476ef7f3)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-16 11:04:53 +00:00
Antonin Godard
36cc210fb9 poky.yaml.in: replace inkscape dependency by librsvg2-bin
inkscape used to be a requirement to convert SVG images to PNGs/PDFs,
but we replaced it recently by rsvg-convert.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 8c0bb4e41c203a0a7a31c2bdc26834d87a83413a)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-16 11:04:53 +00:00
Antonin Godard
3aadcdf74c poky.yaml.in: add missing locales dependency
This is a requirement for building the documentation, otherwise we get
(on Ubuntu 24.04):

     File "/usr/lib/python3.12/locale.py", line 615, in setlocale
       return _setlocale(category, locale)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   locale.Error: unsupported locale setting

(From yocto-docs rev: 0943a7b67ef0012b5d9badc15e0c579dbb9014ae)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-16 11:04:53 +00:00
Antonin Godard
9c8a31142b Gather dependencies in poky.yaml.in
We used to have packages here and there in system-requirements.rst for
each distro. Instead, gather all the dependencies in poky.yaml.in so we
have an overview of what we provide for each distro.

Use yaml ">" to list the dependencies in alphabetical order, one entry
per line, which makes them easier to read and compare among distros.

Rename UBUNTU_… variables to UBUNTU_DEBIAN_…, since these are used for
both distros.

(From yocto-docs rev: 1ed6118b7cf1b5dcbfca753c83fa30fb97bf44ad)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-16 11:04:53 +00:00
Lee Chee Yang
8f4afc7e15 migration-guides: add release notes for 5.1.1
(From yocto-docs rev: db2ff7bbe64e1dca6b0868046f478d7622f79865)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-16 11:04:53 +00:00
Guénaël Muller
1c9140b0d4 ref-manual: use standardized method accross both ubuntu and debian for locale install
Modify locale installation method to be standard accross all debian-based distributions.
Pre-existing method is available only on Ubuntu, locale-gen tool has no parameter in Debian.

(From yocto-docs rev: 30002019198a168e48537407bb928facb26af82a)

Signed-off-by: Guénaël Muller <guenael.muller@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Tested-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-16 11:04:53 +00:00
1399 changed files with 48682 additions and 34638 deletions

4
.b4-config Normal file
View File

@@ -0,0 +1,4 @@
[b4]
prep-perpatch-check-cmd = ./scripts/b4-wrapper-poky.py prep-perpatch-check-cmd
send-auto-cc-cmd = ./scripts/b4-wrapper-poky.py send-auto-cc-cmd
send-auto-to-cmd = ./scripts/b4-wrapper-poky.py send-auto-to-cmd

View File

@@ -67,5 +67,3 @@ Shadow maintainers/development needed
* toaster
* bitbake

View File

@@ -6,28 +6,27 @@ of OpenEmbedded. It is distro-less (can build a functional image with
DISTRO = "nodistro") and contains only emulated machine support.
For information about OpenEmbedded, see the OpenEmbedded website:
https://www.openembedded.org/
<https://www.openembedded.org/>
The Yocto Project has extensive documentation about OE including a reference manual
which can be found at:
https://docs.yoctoproject.org/
<https://docs.yoctoproject.org/>
Contributing
------------
Please refer to our contributor guide here: https://docs.yoctoproject.org/dev/contributor-guide/
Please refer to our contributor guide here: <https://docs.yoctoproject.org/dev/contributor-guide/>
for full details on how to submit changes.
As a quick guide, patches should be sent to openembedded-core@lists.openembedded.org
The git command to do that would be:
git send-email -M -1 --to openembedded-core@lists.openembedded.org
```
git send-email -M -1 --to openembedded-core@lists.openembedded.org
```
Mailing list:
https://lists.openembedded.org/g/openembedded-core
<https://lists.openembedded.org/g/openembedded-core>
Source code:
https://git.openembedded.org/openembedded-core/
<https://git.openembedded.org/openembedded-core/>

View File

@@ -5,10 +5,10 @@ To simplify development, the build system supports building images to
work with the QEMU emulator in system emulation mode. Several architectures
are currently supported in 32 and 64 bit variants:
* ARM (qemuarm + qemuarm64)
* x86 (qemux86 + qemux86-64)
* PowerPC (qemuppc only)
* MIPS (qemumips + qemumips64)
* ARM (qemuarm + qemuarm64)
* x86 (qemux86 + qemux86-64)
* PowerPC (qemuppc only)
* MIPS (qemumips + qemumips64)
Use of the QEMU images is covered in the Yocto Project Reference Manual.
The appropriate MACHINE variable value corresponding to the target is given

View File

@@ -1,9 +1,9 @@
How to Report a Potential Vulnerability?
========================================
How to Report a Potential Vulnerability
=======================================
If you would like to report a public issue (for example, one with a released
CVE number), please report it using the
[https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Security Security Bugzilla]
[Security Bugzilla](https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Security)
If you are dealing with a not-yet released or urgent issue, please send a
message to security AT yoctoproject DOT org, including as many details as
@@ -13,10 +13,10 @@ and any example code, if available.
Branches maintained with security fixes
---------------------------------------
See [https://wiki.yoctoproject.org/wiki/Stable_Release_and_LTS Stable release and LTS]
See [Stable release and LTS](https://wiki.yoctoproject.org/wiki/Stable_Release_and_LTS)
for detailed info regarding the policies and maintenance of Stable branches.
The [https://wiki.yoctoproject.org/wiki/Releases Release page] contains a list of all
releases of the Yocto Project. Versions in grey are no longer actively maintained with
security patches, but well-tested patches may still be accepted for them for
significant issues.
The [Release page](https://wiki.yoctoproject.org/wiki/Releases) contains
a list of all releases of the Yocto Project. Versions in grey are no longer
actively maintained with security patches, but well-tested patches may still
be accepted for them for significant issues.

4
bitbake/.b4-config Normal file
View File

@@ -0,0 +1,4 @@
[b4]
send-series-to = bitbake-devel@lists.openembedded.org
send-auto-cc-cmd = ./contrib/b4-wrapper-bitbake.py send-auto-cc-cmd
prep-pre-flight-checks = disable-needs-checking

View File

@@ -27,7 +27,7 @@ from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
bb.utils.check_system_locale()
__version__ = "2.9.1"
__version__ = "2.12.0"
if __name__ == "__main__":
if __version__ != bb.__version__:

View File

@@ -227,6 +227,27 @@ def main():
print("New hashes marked: %d" % result["count"])
return 0
def handle_gc_mark_stream(args, client):
stdin = (l.strip() for l in sys.stdin)
marked_hashes = 0
try:
result = client.gc_mark_stream(args.mark, stdin)
marked_hashes = result["count"]
except ConnectionError:
logger.warning(
"Server doesn't seem to support `gc-mark-stream`. Sending "
"hashes sequentially using `gc-mark` API."
)
for line in stdin:
pairs = line.split()
condition = dict(zip(pairs[::2], pairs[1::2]))
result = client.gc_mark(args.mark, condition)
marked_hashes += result["count"]
print("New hashes marked: %d" % marked_hashes)
return 0
def handle_gc_sweep(args, client):
result = client.gc_sweep(args.mark)
print("Removed %d rows" % result["count"])
@@ -366,6 +387,16 @@ def main():
help="Keep entries in table where KEY == VALUE")
gc_mark_parser.set_defaults(func=handle_gc_mark)
gc_mark_parser_stream = subparsers.add_parser(
'gc-mark-stream',
help=(
"Mark multiple hashes to be retained for garbage collection. Input should be provided via stdin, "
"with each line formatted as key-value pairs separated by spaces, for example 'column1 foo column2 bar'."
)
)
gc_mark_parser_stream.add_argument("mark", help="Mark for this garbage collection operation")
gc_mark_parser_stream.set_defaults(func=handle_gc_mark_stream)
gc_sweep_parser = subparsers.add_parser('gc-sweep', help="Perform garbage collection and delete any entries that are not marked")
gc_sweep_parser.add_argument("mark", help="Mark for this garbage collection operation")
gc_sweep_parser.set_defaults(func=handle_gc_sweep)

View File

@@ -9,6 +9,7 @@ import os
import sys
import warnings
warnings.simplefilter("default")
warnings.filterwarnings("ignore", category=DeprecationWarning, message=".*use.of.fork.*may.lead.to.deadlocks.in.the.child.*")
import logging
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib'))

View File

@@ -9,6 +9,7 @@ import os
import sys
import warnings
warnings.simplefilter("default")
warnings.filterwarnings("ignore", category=DeprecationWarning, message=".*use.of.fork.*may.lead.to.deadlocks.in.the.child.*")
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib'))
from bb import fetch2
import logging

View File

@@ -115,8 +115,8 @@ def filter_refs(refs):
all_refs = get_all_refs()
to_remove = set(all_refs) - set(refs)
if to_remove:
check_output(['xargs', '-0', '-n', '1'] + git_cmd + ['update-ref', '-d', '--no-deref'],
input=''.join(l + '\0' for l in to_remove))
check_output(git_cmd + ['update-ref', '--no-deref', '--stdin', '-z'],
input=''.join('delete ' + l + '\0\0' for l in to_remove))
def follow_history_intersections(revisions, refs):

View File

@@ -0,0 +1,40 @@
#!/usr/bin/env python3
#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#
# This script is to be called by b4:
# - through b4.send-auto-cc-cmd with "send-auto-cc-cmd" as first argument,
#
# When send-auto-cc-cmd is passed:
#
# This returns the list of Cc recipients for a patch.
#
# This script takes as stdin a patch.
import subprocess
import sys
cmd = sys.argv[1]
if cmd != "send-auto-cc-cmd":
sys.exit(-1)
patch = sys.stdin.read()
if subprocess.call(["which", "lsdiff"], stdout=subprocess.DEVNULL) != 0:
print("lsdiff missing from host, please install patchutils")
sys.exit(-1)
files = subprocess.check_output(["lsdiff", "--strip-match=1", "--strip=1", "--include=doc/*"],
input=patch, text=True)
if len(files):
print("docs@lists.yoctoproject.org")
else:
# Handle patches made with --no-prefix
files = subprocess.check_output(["lsdiff", "--include=doc/*"],
input=patch, text=True)
if len(files):
print("docs@lists.yoctoproject.org")
sys.exit(0)

View File

@@ -11,10 +11,18 @@ if &compatible || version < 600 || exists("b:loaded_bitbake_plugin")
endif
" .bb, .bbappend and .bbclass
au BufNewFile,BufRead *.{bb,bbappend,bbclass} set filetype=bitbake
au BufNewFile,BufRead *.{bb,bbappend,bbclass} setfiletype bitbake
" .inc
au BufNewFile,BufRead *.inc set filetype=bitbake
" .inc -- meanwhile included upstream
if !has("patch-9.0.0055")
au BufNewFile,BufRead *.inc call s:BBIncDetect()
def s:BBIncDetect()
l:lines = getline(1) .. getline(2) .. getline(3)
if l:lines =~# '\<\%(require\|inherit\)\>' || lines =~# '[A-Z][A-Za-z0-9_:${}]*\s\+\%(??\|[?:+]\)\?= '
set filetype bitbake
endif
enddef
endif
" .conf
au BufNewFile,BufRead *.conf

View File

@@ -900,6 +900,33 @@ definitions::
of include . Doing so makes sure that an error is produced if the file cannot
be found.
``include_all`` Directive
-------------------------
The ``include_all`` directive works like the :ref:`include
<bitbake-user-manual/bitbake-user-manual-metadata:\`\`include\`\` directive>`
directive but will include all of the files that match the specified path in
the enabled layers (layers part of :term:`BBLAYERS`).
For example, let's say a ``maintainers.inc`` file is present in different layers
and is conventionally placed in the ``conf/distro/include`` directory of each
layer. In that case the ``include_all`` directive can be used to include
the ``maintainers.inc`` file for all of these layers::
include_all conf/distro/include/maintainers.inc
In other words, the ``maintainers.inc`` file for each layer is included through
the :ref:`include <bitbake-user-manual/bitbake-user-manual-metadata:\`\`include\`\` directive>`
directive.
BitBake will iterate through the colon-separated :term:`BBPATH` list to look for
matching files to include, from left to right. As a consequence, matching files
are included in that order.
As the ``include_all`` directive uses the :ref:`include
<bitbake-user-manual/bitbake-user-manual-metadata:\`\`include\`\` directive>`
directive in the background, no error is produced if no files are matched.
.. _require-inclusion:
``require`` Directive
@@ -976,13 +1003,13 @@ go into ``bitbake.conf``, for example::
``addfragments`` takes three parameters:
- path prefix for fragment files inside the layer file tree that bitbake
uses to construct full paths to the fragment files
uses to construct full paths to the fragment files
- name of variable that holds the list of enabled fragments in an
active build
active build
- name of variable that contains a list of variable names containing
fragment-specific metadata (such as descriptions)
fragment-specific metadata (such as descriptions)
This allows listing enabled configuration fragments in ``OE_FRAGMENTS``
variable like this::

View File

@@ -127,6 +127,11 @@ overview of their function and contents.
Contains the name of the currently running task. The name does not
include the ``do_`` prefix.
:term:`BB_CURRENT_MC`
Contains the name of the current multiconfig a task is being run under.
The name is taken from the multiconfig configuration file (a file
``mc1.conf`` would make this variable equal to ``mc1``).
:term:`BB_DEFAULT_TASK`
The default task to use when none is specified (e.g. with the ``-c``
command line option). The task name specified should not include the
@@ -315,11 +320,26 @@ overview of their function and contents.
mirror tarball. If the shallow mirror tarball cannot be fetched, it will
try to fetch the full mirror tarball and use that.
When a mirror tarball is not available, a full git clone will be performed
regardless of whether this variable is set or not. Support for shallow
clones is not currently implemented as git does not directly support
shallow cloning a particular git commit hash (it only supports cloning
from a tag or branch reference).
This setting causes an initial shallow clone instead of an initial full bare clone.
The amount of data transferred during the initial clone will be significantly reduced.
However, every time the source revision (referenced in :term:`SRCREV`)
changes, regardless of whether the cache within the download directory
(defined by :term:`DL_DIR`) has been cleaned up or not,
the data transfer may be significantly higher because entirely
new shallow clones are required for each source revision change.
Over time, numerous shallow clones may cumulatively transfer
the same amount of data as an initial full bare clone.
This is especially the case with very large repositories.
Existing initial full bare clones, created without this setting,
will still be utilized.
If the Git error "Server does not allow request for unadvertised object"
occurs, an initial full bare clone is fetched automatically.
This may happen if the Git server does not allow the request
or if the Git client has issues with this functionality.
See also :term:`BB_GIT_SHALLOW_DEPTH` and
:term:`BB_GENERATE_SHALLOW_TARBALLS`.
@@ -687,6 +707,12 @@ overview of their function and contents.
Within an executing task, this variable holds the hash of the task as
returned by the currently enabled signature generator.
:term:`BB_USE_HOME_NPMRC`
Controls whether or not BitBake uses the user's .npmrc file within their
home directory within the npm fetcher. This can be used for authentication
of private NPM registries, among other uses. This is turned off by default
and requires the user to explicitly set it to "1" to enable.
:term:`BB_VERBOSE_LOGS`
Controls how verbose BitBake is during builds. If set, shell scripts
echo commands and shell script output appears on standard out
@@ -754,6 +780,10 @@ overview of their function and contents.
:term:`BBFILE_PRIORITY`
Assigns the priority for recipe files in each layer.
This variable is used in the ``conf/layer.conf`` file and must be
suffixed with a `_` followed by the name of the specific layer (e.g.
``BBFILE_PRIORITY_emenlow``). Colon as separator is not supported.
This variable is useful in situations where the same recipe appears
in more than one layer. Setting this variable allows you to
prioritize a layer against other layers that contain the same recipe
@@ -768,7 +798,7 @@ overview of their function and contents.
higher precedence. For example, the value 6 has a higher precedence
than the value 5. If not specified, the :term:`BBFILE_PRIORITY` variable
is set based on layer dependencies (see the :term:`LAYERDEPENDS` variable
for more information. The default priority, if unspecified for a
for more information). The default priority, if unspecified for a
layer with no dependencies, is the lowest defined priority + 1 (or 1
if no priorities are defined).

View File

@@ -4,6 +4,12 @@
BitBake Supported Release Manuals
=================================
****************************
Release Series 5.1 (styhead)
****************************
- :yocto_docs:`BitBake 2.10 User Manual </bitbake/2.10/>`
*******************************
Release Series 5.0 (scarthgap)
*******************************
@@ -16,12 +22,6 @@ Release Series 4.0 (kirkstone)
- :yocto_docs:`BitBake 2.0 User Manual </bitbake/2.0/>`
****************************
Release Series 3.1 (dunfell)
****************************
- :yocto_docs:`BitBake 1.46 User Manual </bitbake/1.46/>`
================================
BitBake Outdated Release Manuals
================================
@@ -62,10 +62,11 @@ Release Series 3.2 (gatesgarth)
- :yocto_docs:`BitBake 1.48 User Manual </bitbake/1.48/>`
*******************************************
Release Series 3.1 (dunfell first versions)
*******************************************
****************************
Release Series 3.1 (dunfell)
****************************
- :yocto_docs:`BitBake 1.46 User Manual </bitbake/1.46/>`
- :yocto_docs:`3.1 BitBake User Manual </3.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.1 BitBake User Manual </3.1.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.2 BitBake User Manual </3.1.2/bitbake-user-manual/bitbake-user-manual.html>`

View File

@@ -9,11 +9,11 @@
# SPDX-License-Identifier: GPL-2.0-only
#
__version__ = "2.9.1"
__version__ = "2.12.0"
import sys
if sys.version_info < (3, 8, 0):
raise RuntimeError("Sorry, python 3.8.0 or later is required for this version of bitbake")
if sys.version_info < (3, 9, 0):
raise RuntimeError("Sorry, python 3.9.0 or later is required for this version of bitbake")
if sys.version_info < (3, 10, 0):
# With python 3.8 and 3.9, we see errors of "libgcc_s.so.1 must be installed for pthread_cancel to work"
@@ -194,7 +194,6 @@ def deprecated(func, name=None, advice=""):
# For compatibility
def deprecate_import(current, modulename, fromlist, renames = None):
"""Import objects from one module into another, wrapping them with a DeprecationWarning"""
import sys
module = __import__(modulename, fromlist = fromlist)
for position, objname in enumerate(fromlist):

View File

@@ -195,8 +195,6 @@ class ACL(object):
def main():
import argparse
import pwd
import grp
from pathlib import Path
parser = argparse.ArgumentParser()

View File

@@ -112,11 +112,16 @@ class AsyncClient(object):
)
async def connect_sock():
websocket = await websockets.connect(
uri,
ping_interval=None,
open_timeout=self.timeout,
)
try:
websocket = await websockets.connect(
uri,
ping_interval=None,
open_timeout=self.timeout,
)
except asyncio.exceptions.TimeoutError:
raise ConnectionError("Timeout while connecting to websocket")
except (OSError, websockets.InvalidHandshake, websockets.InvalidURI) as exc:
raise ConnectionError(f"Could not connect to websocket: {exc}") from exc
return WebsocketConnection(websocket, self.timeout)
self._connect_sock = connect_sock

View File

@@ -397,7 +397,7 @@ def create_progress_handler(func, progress, logfile, d):
# Use specified regex
return bb.progress.OutOfProgressHandler(d, regex=progress.split(':', 1)[1], outfile=logfile)
elif progress.startswith("custom:"):
# Use a custom progress handler that was injected via OE_EXTRA_IMPORTS or __builtins__
# Use a custom progress handler that was injected via other means
import functools
from types import ModuleType

View File

@@ -395,7 +395,7 @@ class Cache(object):
# It will be used later for deciding whether we
# need extra cache file dump/load support
self.mc = mc
self.logger = PrefixLoggerAdapter("Cache: %s: " % (mc if mc else "default"), logger)
self.logger = PrefixLoggerAdapter("Cache: %s: " % (mc if mc else ''), logger)
self.caches_array = caches_array
self.cachedir = self.data.getVar("CACHE")
self.clean = set()

View File

@@ -72,12 +72,20 @@ def add_module_functions(fn, functions, namespace):
parser.parse_python(None, filename=fn, lineno=1, fixedhash=fixedhash+f)
#bb.warn("Cached %s" % f)
except KeyError:
targetfn = inspect.getsourcefile(functions[f])
try:
targetfn = inspect.getsourcefile(functions[f])
except TypeError:
# Builtin
continue
if fn != targetfn:
# Skip references to other modules outside this file
#bb.warn("Skipping %s" % name)
continue
lines, lineno = inspect.getsourcelines(functions[f])
try:
lines, lineno = inspect.getsourcelines(functions[f])
except TypeError:
# Builtin
continue
src = "".join(lines)
parser.parse_python(src, filename=fn, lineno=lineno, fixedhash=fixedhash+f)
#bb.warn("Not cached %s" % f)

View File

@@ -143,14 +143,14 @@ class Command:
return bb.server.process.idleFinish(traceback.format_exc())
def finishAsyncCommand(self, msg=None, code=None):
self.cooker.finishcommand()
self.process_server.clear_async_cmd()
if msg or msg == "":
bb.event.fire(CommandFailed(msg), self.cooker.data)
elif code:
bb.event.fire(CommandExit(code), self.cooker.data)
else:
bb.event.fire(CommandCompleted(), self.cooker.data)
self.cooker.finishcommand()
self.process_server.clear_async_cmd()
def reset(self):
if self.remotedatastores:
@@ -421,15 +421,30 @@ class CommandsSync:
return command.cooker.recipecaches[mc].pkg_dp
getDefaultPreference.readonly = True
def getSkippedRecipes(self, command, params):
"""
Get the map of skipped recipes for the specified multiconfig/mc name (`params[0]`).
Invoked by `bb.tinfoil.Tinfoil.get_skipped_recipes`
:param command: Internally used parameter.
:param params: Parameter array. params[0] is multiconfig/mc name. If not given, then default mc '' is assumed.
:return: Dict whose keys are virtualfns and values are `bb.cooker.SkippedPackage`
"""
try:
mc = params[0]
except IndexError:
mc = ''
# Return list sorted by reverse priority order
import bb.cache
def sortkey(x):
vfn, _ = x
realfn, _, mc = bb.cache.virtualfn2realfn(vfn)
return (-command.cooker.collections[mc].calc_bbfile_priority(realfn)[0], vfn)
realfn, _, item_mc = bb.cache.virtualfn2realfn(vfn)
return -command.cooker.collections[item_mc].calc_bbfile_priority(realfn)[0], vfn
skipdict = OrderedDict(sorted(command.cooker.skiplist.items(), key=sortkey))
skipdict = OrderedDict(sorted(command.cooker.skiplist_by_mc[mc].items(), key=sortkey))
return list(skipdict.items())
getSkippedRecipes.readonly = True

View File

@@ -133,7 +133,8 @@ class BBCooker:
self.baseconfig_valid = False
self.parsecache_valid = False
self.eventlog = None
self.skiplist = {}
# The skiplists, one per multiconfig
self.skiplist_by_mc = defaultdict(dict)
self.featureset = CookerFeatures()
if featureSet:
for f in featureSet:
@@ -315,8 +316,14 @@ class BBCooker:
try:
with hashserv.create_client(upstream) as client:
client.ping()
except (ConnectionError, ImportError) as e:
bb.warn("BB_HASHSERVE_UPSTREAM is not valid, unable to connect hash equivalence server at '%s': %s"
except ImportError as e:
bb.fatal(""""Unable to use hash equivalence server at '%s' due to missing or incorrect python module:
%s
Please install the needed module on the build host, or use an environment containing it (e.g a pip venv or OpenEmbedded's buildtools tarball).
You can also remove the BB_HASHSERVE_UPSTREAM setting, but this may result in significantly longer build times as bitbake will be unable to reuse prebuilt sstate artefacts."""
% (upstream, repr(e)))
except ConnectionError as e:
bb.warn("Unable to connect to hash equivalence server at '%s', please correct or remove BB_HASHSERVE_UPSTREAM:\n%s"
% (upstream, repr(e)))
upstream = None
@@ -614,8 +621,8 @@ class BBCooker:
localdata = {}
for mc in self.multiconfigs:
taskdata[mc] = bb.taskdata.TaskData(halt, skiplist=self.skiplist, allowincomplete=allowincomplete)
localdata[mc] = data.createCopy(self.databuilder.mcdata[mc])
taskdata[mc] = bb.taskdata.TaskData(halt, skiplist=self.skiplist_by_mc[mc], allowincomplete=allowincomplete)
localdata[mc] = bb.data.createCopy(self.databuilder.mcdata[mc])
bb.data.expandKeys(localdata[mc])
current = 0
@@ -936,7 +943,7 @@ class BBCooker:
for mc in self.multiconfigs:
# First get list of recipes, including skipped
recipefns = list(self.recipecaches[mc].pkg_fn.keys())
recipefns.extend(self.skiplist.keys())
recipefns.extend(self.skiplist_by_mc[mc].keys())
# Work out list of bbappends that have been applied
applied_appends = []
@@ -1629,6 +1636,7 @@ class BBCooker:
self.state = State.PARSING
if not self.parser.parse_next():
bb.server.process.serverlog("Parsing completed")
collectlog.debug("parsing complete")
if self.parser.error:
raise bb.BBHandledException()
@@ -2355,7 +2363,7 @@ class CookerParser(object):
for virtualfn, info_array in result:
if info_array[0].skipped:
self.skipped += 1
self.cooker.skiplist[virtualfn] = SkippedPackage(info_array[0])
self.cooker.skiplist_by_mc[mc][virtualfn] = SkippedPackage(info_array[0])
self.bb_caches[mc].add_info(virtualfn, info_array, self.cooker.recipecaches[mc],
parsed=parsed, watcher = self.cooker.add_filewatch)
return True

View File

@@ -346,7 +346,7 @@ class CookerDataBuilder(object):
def _findLayerConf(self, data):
return findConfigFile("bblayers.conf", data)
def parseConfigurationFiles(self, prefiles, postfiles, mc = "default"):
def parseConfigurationFiles(self, prefiles, postfiles, mc = ""):
data = bb.data.createCopy(self.basedata)
data.setVar("BB_CURRENT_MC", mc)

View File

@@ -31,7 +31,7 @@ logger = logging.getLogger("BitBake.Data")
__setvar_keyword__ = [":append", ":prepend", ":remove"]
__setvar_regexp__ = re.compile(r'(?P<base>.*?)(?P<keyword>:append|:prepend|:remove)(:(?P<add>[^A-Z]*))?$')
__expand_var_regexp__ = re.compile(r"\${[a-zA-Z0-9\-_+./~:]+?}")
__expand_var_regexp__ = re.compile(r"\${[a-zA-Z0-9\-_+./~:]+}")
__expand_python_regexp__ = re.compile(r"\${@(?:{.*?}|.)+?}")
__whitespace_split__ = re.compile(r'(\s)')
__override_regexp__ = re.compile(r'[a-z0-9]+')
@@ -106,52 +106,52 @@ class VariableParse:
self.contains = {}
def var_sub(self, match):
key = match.group()[2:-1]
if self.varname and key:
if self.varname == key:
raise Exception("variable %s references itself!" % self.varname)
var = self.d.getVarFlag(key, "_content")
self.references.add(key)
if var is not None:
return var
else:
return match.group()
key = match.group()[2:-1]
if self.varname and key:
if self.varname == key:
raise Exception("variable %s references itself!" % self.varname)
var = self.d.getVarFlag(key, "_content")
self.references.add(key)
if var is not None:
return var
else:
return match.group()
def python_sub(self, match):
if isinstance(match, str):
code = match
else:
code = match.group()[3:-1]
if isinstance(match, str):
code = match
else:
code = match.group()[3:-1]
# Do not run code that contains one or more unexpanded variables
# instead return the code with the characters we removed put back
if __expand_var_regexp__.findall(code):
return "${@" + code + "}"
# Do not run code that contains one or more unexpanded variables
# instead return the code with the characters we removed put back
if __expand_var_regexp__.findall(code):
return "${@" + code + "}"
if self.varname:
varname = 'Var <%s>' % self.varname
else:
varname = '<expansion>'
codeobj = compile(code.strip(), varname, "eval")
if self.varname:
varname = 'Var <%s>' % self.varname
else:
varname = '<expansion>'
codeobj = compile(code.strip(), varname, "eval")
parser = bb.codeparser.PythonParser(self.varname, logger)
parser.parse_python(code)
if self.varname:
vardeps = self.d.getVarFlag(self.varname, "vardeps")
if vardeps is None:
parser.log.flush()
else:
parser = bb.codeparser.PythonParser(self.varname, logger)
parser.parse_python(code)
if self.varname:
vardeps = self.d.getVarFlag(self.varname, "vardeps")
if vardeps is None:
parser.log.flush()
self.references |= parser.references
self.execs |= parser.execs
else:
parser.log.flush()
self.references |= parser.references
self.execs |= parser.execs
for k in parser.contains:
if k not in self.contains:
self.contains[k] = parser.contains[k].copy()
else:
self.contains[k].update(parser.contains[k])
value = utils.better_eval(codeobj, DataContext(self.d), {'d' : self.d})
return str(value)
for k in parser.contains:
if k not in self.contains:
self.contains[k] = parser.contains[k].copy()
else:
self.contains[k].update(parser.contains[k])
value = utils.better_eval(codeobj, DataContext(self.d), {'d' : self.d})
return str(value)
class DataContext(dict):
excluded = set([i for i in dir(builtins) if not i.startswith('_')] + ['oe'])
@@ -580,12 +580,10 @@ class DataSmart(MutableMapping):
else:
loginfo['op'] = keyword
self.varhistory.record(**loginfo)
# todo make sure keyword is not __doc__ or __module__
# pay the cookie monster
# more cookies for the cookie monster
if ':' in var:
self._setvar_update_overrides(base, **loginfo)
self._setvar_update_overrides(base, **loginfo)
if base in self.overridevars:
self._setvar_update_overridevars(var, value)
@@ -638,6 +636,7 @@ class DataSmart(MutableMapping):
nextnew.update(vardata.contains.keys())
new = nextnew
self.overrides = None
self.expand_cache = {}
def _setvar_update_overrides(self, var, **loginfo):
# aka pay the cookie monster
@@ -827,6 +826,8 @@ class DataSmart(MutableMapping):
value = copy.copy(local_var[flag])
elif flag == "_content" and "_defaultval" in local_var and not noweakdefault:
value = copy.copy(local_var["_defaultval"])
elif "_defaultval_flag_"+flag in local_var and not noweakdefault:
value = copy.copy(local_var["_defaultval_flag_"+flag])
if flag == "_content" and local_var is not None and ":append" in local_var and not parsing:
@@ -918,6 +919,8 @@ class DataSmart(MutableMapping):
self.varhistory.record(**loginfo)
del self.dict[var][flag]
if ("_defaultval_flag_" + flag) in self.dict[var]:
del self.dict[var]["_defaultval_flag_" + flag]
def appendVarFlag(self, var, flag, value, **loginfo):
loginfo['op'] = 'append'
@@ -952,17 +955,22 @@ class DataSmart(MutableMapping):
flags = {}
if local_var:
for i in local_var:
if i.startswith(("_", ":")) and not internalflags:
for i, val in local_var.items():
if i.startswith("_defaultval_flag_") and not internalflags:
i = i[len("_defaultval_flag_"):]
if i not in local_var:
flags[i] = val
elif i.startswith(("_", ":")) and not internalflags:
continue
flags[i] = local_var[i]
else:
flags[i] = val
if expand and i in expand:
flags[i] = self.expand(flags[i], var + "[" + i + "]")
if len(flags) == 0:
return None
return flags
def delVarFlags(self, var, **loginfo):
self.expand_cache = {}
if not var in self.dict:
@@ -1112,5 +1120,10 @@ class DataSmart(MutableMapping):
value = d.getVar(i, False) or ""
data.update({i:value})
moddeps = bb.codeparser.modulecode_deps
for dep in sorted(moddeps):
# Ignore visitor code, sort sets
data.update({'moddep[%s]' % dep : [sorted(moddeps[dep][0]), sorted(moddeps[dep][1]), sorted(moddeps[dep][2]), sorted(moddeps[dep][3]), moddeps[dep][4]]})
data_str = str([(k, data[k]) for k in sorted(data.keys())])
return hashlib.sha256(data_str.encode("utf-8")).hexdigest()

View File

@@ -194,7 +194,12 @@ def fire_ui_handlers(event, d):
ui_queue.append(event)
return
with bb.utils.lock_timeout(_thread_lock):
with bb.utils.lock_timeout_nocheck(_thread_lock) as lock:
if not lock:
# If we can't get the lock, we may be recursively called, queue and return
ui_queue.append(event)
return
errors = []
for h in _ui_handlers:
#print "Sending event %s" % event
@@ -213,6 +218,9 @@ def fire_ui_handlers(event, d):
for h in errors:
del _ui_handlers[h]
while ui_queue:
fire_ui_handlers(ui_queue.pop(), d)
def fire(event, d):
"""Fire off an Event"""

View File

@@ -34,7 +34,7 @@ _revisions_cache = bb.checksum.RevisionsCache()
logger = logging.getLogger("BitBake.Fetcher")
CHECKSUM_LIST = [ "md5", "sha256", "sha1", "sha384", "sha512" ]
CHECKSUM_LIST = [ "goh1", "md5", "sha256", "sha1", "sha384", "sha512" ]
SHOWN_CHECKSUM_LIST = ["sha256"]
class BBFetchException(Exception):
@@ -353,6 +353,14 @@ def decodeurl(url):
user, password, parameters).
"""
uri = URI(url)
path = uri.path if uri.path else "/"
return uri.scheme, uri.hostport, path, uri.username, uri.password, uri.params
def decodemirrorurl(url):
"""Decodes a mirror URL into the tokens (scheme, network location, path,
user, password, parameters).
"""
m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
if not m:
raise MalformedUrl(url)
@@ -371,6 +379,9 @@ def decodeurl(url):
elif type.lower() == 'file':
host = ""
path = location
if user:
path = user + '@' + path
user = ""
else:
host = location
path = "/"
@@ -403,32 +414,34 @@ def encodeurl(decoded):
if not type:
raise MissingParameterError('type', "encoded from the data %s" % str(decoded))
url = ['%s://' % type]
uri = URI()
uri.scheme = type
if user and type != "file":
url.append("%s" % user)
uri.username = user
if pswd:
url.append(":%s" % pswd)
url.append("@")
uri.password = pswd
if host and type != "file":
url.append("%s" % host)
uri.hostname = host
if path:
# Standardise path to ensure comparisons work
while '//' in path:
path = path.replace("//", "/")
url.append("%s" % urllib.parse.quote(path))
uri.path = path
if type == "file":
# Use old not IETF compliant style
uri.relative = False
if p:
for parm in p:
url.append(";%s=%s" % (parm, p[parm]))
uri.params = p
return "".join(url)
return str(uri)
def uri_replace(ud, uri_find, uri_replace, replacements, d, mirrortarball=None):
if not ud.url or not uri_find or not uri_replace:
logger.error("uri_replace: passed an undefined value, not replacing")
return None
uri_decoded = list(decodeurl(ud.url))
uri_find_decoded = list(decodeurl(uri_find))
uri_replace_decoded = list(decodeurl(uri_replace))
uri_decoded = list(decodemirrorurl(ud.url))
uri_find_decoded = list(decodemirrorurl(uri_find))
uri_replace_decoded = list(decodemirrorurl(uri_replace))
logger.debug2("For url %s comparing %s to %s" % (uri_decoded, uri_find_decoded, uri_replace_decoded))
result_decoded = ['', '', '', '', '', {}]
# 0 - type, 1 - host, 2 - path, 3 - user, 4- pswd, 5 - params
@@ -461,7 +474,7 @@ def uri_replace(ud, uri_find, uri_replace, replacements, d, mirrortarball=None):
for k in replacements:
uri_replace_decoded[loc] = uri_replace_decoded[loc].replace(k, replacements[k])
#bb.note("%s %s %s" % (regexp, uri_replace_decoded[loc], uri_decoded[loc]))
result_decoded[loc] = re.sub(regexp, uri_replace_decoded[loc], uri_decoded[loc], 1)
result_decoded[loc] = re.sub(regexp, uri_replace_decoded[loc], uri_decoded[loc], count=1)
if loc == 2:
# Handle path manipulations
basename = None
@@ -793,8 +806,8 @@ def _get_srcrev(d, method_name='sortable_revision'):
return "", revs
if len(scms) == 1 and len(urldata[scms[0]].names) == 1:
autoinc, rev = getattr(urldata[scms[0]].method, method_name)(urldata[scms[0]], d, urldata[scms[0]].names[0])
if len(scms) == 1:
autoinc, rev = getattr(urldata[scms[0]].method, method_name)(urldata[scms[0]], d, urldata[scms[0]].name)
revs.append(rev)
if len(rev) > 10:
rev = rev[:10]
@@ -815,13 +828,12 @@ def _get_srcrev(d, method_name='sortable_revision'):
seenautoinc = False
for scm in scms:
ud = urldata[scm]
for name in ud.names:
autoinc, rev = getattr(ud.method, method_name)(ud, d, name)
revs.append(rev)
seenautoinc = seenautoinc or autoinc
if len(rev) > 10:
rev = rev[:10]
name_to_rev[name] = rev
autoinc, rev = getattr(ud.method, method_name)(ud, d, ud.name)
revs.append(rev)
seenautoinc = seenautoinc or autoinc
if len(rev) > 10:
rev = rev[:10]
name_to_rev[ud.name] = rev
# Replace names by revisions in the SRCREV_FORMAT string. The approach used
# here can handle names being prefixes of other names and names appearing
# as substrings in revisions (in which case the name should not be
@@ -1182,7 +1194,7 @@ def trusted_network(d, url):
if bb.utils.to_boolean(d.getVar("BB_NO_NETWORK")):
return True
pkgname = d.expand(d.getVar('PN', False))
pkgname = d.getVar('PN')
trusted_hosts = None
if pkgname:
trusted_hosts = d.getVarFlag('BB_ALLOWED_NETWORKS', pkgname, False)
@@ -1235,20 +1247,17 @@ def srcrev_internal_helper(ud, d, name):
if srcrev and srcrev != "INVALID":
break
if 'rev' in ud.parm and 'tag' in ud.parm:
raise FetchError("Please specify a ;rev= parameter or a ;tag= parameter in the url %s but not both." % (ud.url))
if 'rev' in ud.parm or 'tag' in ud.parm:
if 'rev' in ud.parm:
parmrev = ud.parm['rev']
else:
parmrev = ud.parm['tag']
if 'rev' in ud.parm:
parmrev = ud.parm['rev']
if srcrev == "INVALID" or not srcrev:
return parmrev
if srcrev != parmrev:
raise FetchError("Conflicting revisions (%s from SRCREV and %s from the url) found, please specify one valid value" % (srcrev, parmrev))
return parmrev
if 'tag' in ud.parm and (srcrev == "INVALID" or not srcrev):
return ud.parm['tag']
if srcrev == "INVALID" or not srcrev:
raise FetchError("Please set a valid SRCREV for url %s (possible key names are %s, or use a ;rev=X URL parameter)" % (str(attempts), ud.url), ud.url)
if srcrev == "AUTOINC":
@@ -1271,7 +1280,7 @@ def get_checksum_file_list(d):
found = False
paths = ud.method.localfile_searchpaths(ud, d)
for f in paths:
pth = ud.decodedurl
pth = ud.path
if os.path.exists(f):
found = True
filelist.append(f + ":" + str(os.path.exists(f)))
@@ -1316,23 +1325,28 @@ class FetchData(object):
self.setup = False
def configure_checksum(checksum_id):
checksum_plain_name = "%ssum" % checksum_id
if "name" in self.parm:
checksum_name = "%s.%ssum" % (self.parm["name"], checksum_id)
else:
checksum_name = "%ssum" % checksum_id
setattr(self, "%s_name" % checksum_id, checksum_name)
checksum_name = checksum_plain_name
if checksum_name in self.parm:
checksum_expected = self.parm[checksum_name]
elif self.type not in ["http", "https", "ftp", "ftps", "sftp", "s3", "az", "crate", "gs", "gomod"]:
elif checksum_plain_name in self.parm:
checksum_expected = self.parm[checksum_plain_name]
checksum_name = checksum_plain_name
elif self.type not in ["http", "https", "ftp", "ftps", "sftp", "s3", "az", "crate", "gs", "gomod", "npm"]:
checksum_expected = None
else:
checksum_expected = d.getVarFlag("SRC_URI", checksum_name)
setattr(self, "%s_name" % checksum_id, checksum_name)
setattr(self, "%s_expected" % checksum_id, checksum_expected)
self.names = self.parm.get("name",'default').split(',')
self.name = self.parm.get("name",'default')
if "," in self.name:
raise ParameterError("The fetcher no longer supports multiple name parameters in a single url", self.url)
self.method = None
for m in methods:
@@ -1384,13 +1398,7 @@ class FetchData(object):
self.lockfile = basepath + '.lock'
def setup_revisions(self, d):
self.revisions = {}
for name in self.names:
self.revisions[name] = srcrev_internal_helper(self, d, name)
# add compatibility code for non name specified case
if len(self.names) == 1:
self.revision = self.revisions[self.names[0]]
self.revision = srcrev_internal_helper(self, d, self.name)
def setup_localpath(self, d):
if not self.localpath:
@@ -1814,7 +1822,7 @@ class Fetch(object):
self.ud[url] = FetchData(url, self.d)
self.ud[url].setup_localpath(self.d)
return self.d.expand(self.ud[url].localpath)
return self.ud[url].localpath
def localpaths(self):
"""
@@ -1867,25 +1875,28 @@ class Fetch(object):
logger.debug(str(e))
done = False
d = self.d
if premirroronly:
self.d.setVar("BB_NO_NETWORK", "1")
# Only disable the network in a copy
d = bb.data.createCopy(self.d)
d.setVar("BB_NO_NETWORK", "1")
firsterr = None
verified_stamp = False
if done:
verified_stamp = m.verify_donestamp(ud, self.d)
if not done and (not verified_stamp or m.need_update(ud, self.d)):
verified_stamp = m.verify_donestamp(ud, d)
if not done and (not verified_stamp or m.need_update(ud, d)):
try:
if not trusted_network(self.d, ud.url):
if not trusted_network(d, ud.url):
raise UntrustedUrl(ud.url)
logger.debug("Trying Upstream")
m.download(ud, self.d)
m.download(ud, d)
if hasattr(m, "build_mirror_data"):
m.build_mirror_data(ud, self.d)
m.build_mirror_data(ud, d)
done = True
# early checksum verify, so that if checksum mismatched,
# fetcher still have chance to fetch from mirror
m.update_donestamp(ud, self.d)
m.update_donestamp(ud, d)
except bb.fetch2.NetworkAccess:
raise
@@ -1904,17 +1915,17 @@ class Fetch(object):
firsterr = e
# Remove any incomplete fetch
if not verified_stamp and m.cleanup_upon_failure():
m.clean(ud, self.d)
m.clean(ud, d)
logger.debug("Trying MIRRORS")
mirrors = mirror_from_string(self.d.getVar('MIRRORS'))
done = m.try_mirrors(self, ud, self.d, mirrors)
mirrors = mirror_from_string(d.getVar('MIRRORS'))
done = m.try_mirrors(self, ud, d, mirrors)
if not done or not m.done(ud, self.d):
if not done or not m.done(ud, d):
if firsterr:
logger.error(str(firsterr))
raise FetchError("Unable to fetch URL from any source.", u)
m.update_donestamp(ud, self.d)
m.update_donestamp(ud, d)
except IOError as e:
if e.errno in [errno.ESTALE]:

View File

@@ -66,11 +66,12 @@ class Az(Wget):
else:
azuri = '%s%s%s' % ('https://', ud.host, ud.path)
dldir = d.getVar("DL_DIR")
if os.path.exists(ud.localpath):
# file exists, but we didnt complete it.. trying again.
fetchcmd += d.expand(" -c -P ${DL_DIR} '%s'" % azuri)
fetchcmd += " -c -P %s '%s'" % (dldir, azuri)
else:
fetchcmd += d.expand(" -P ${DL_DIR} '%s'" % azuri)
fetchcmd += " -P %s '%s'" % (dldir, azuri)
try:
self._runwget(ud, d, fetchcmd, False)

View File

@@ -130,8 +130,6 @@ class ClearCase(FetchMethod):
self.debug("configspecfile = %s" % ud.configspecfile)
self.debug("localfile = %s" % ud.localfile)
ud.localfile = os.path.join(d.getVar("DL_DIR"), ud.localfile)
def _build_ccase_command(self, ud, command):
"""
Build up a commandline based on ud

View File

@@ -46,7 +46,7 @@ class GCP(FetchMethod):
else:
ud.basename = os.path.basename(ud.path)
ud.localfile = d.expand(urllib.parse.unquote(ud.basename))
ud.localfile = ud.basename
def get_gcp_client(self):
from google.cloud import storage

View File

@@ -9,15 +9,6 @@ Supported SRC_URI options are:
- branch
The git branch to retrieve from. The default is "master"
This option also supports multiple branch fetching, with branches
separated by commas. In multiple branches case, the name option
must have the same number of names to match the branches, which is
used to specify the SRC_REV for the branch
e.g:
SRC_URI="git://some.host/somepath;branch=branchX,branchY;name=nameX,nameY"
SRCREV_nameX = "xxxxxxxxxxxxxxxxxxxx"
SRCREV_nameY = "YYYYYYYYYYYYYYYYYYYY"
- tag
The git tag to retrieve. The default is "master"
@@ -81,6 +72,7 @@ import shlex
import shutil
import subprocess
import tempfile
import urllib
import bb
import bb.progress
from contextlib import contextmanager
@@ -191,13 +183,10 @@ class Git(FetchMethod):
if ud.bareclone:
ud.nocheckout = 1
ud.unresolvedrev = {}
branches = ud.parm.get("branch", "").split(',')
if branches == [""] and not ud.nobranch:
bb.warn("URL: %s does not set any branch parameter. The future default branch used by tools and repositories is uncertain and we will therefore soon require this is set in all git urls." % ud.url)
branches = ["master"]
if len(branches) != len(ud.names):
raise bb.fetch2.ParameterError("The number of name and branch parameters is not balanced", ud.url)
ud.unresolvedrev = ""
ud.branch = ud.parm.get("branch", "")
if not ud.branch and not ud.nobranch:
raise bb.fetch2.ParameterError("The url does not set any branch parameter or set nobranch=1.", ud.url)
ud.noshared = d.getVar("BB_GIT_NOSHARED") == "1"
@@ -207,6 +196,7 @@ class Git(FetchMethod):
if ud.bareclone:
ud.cloneflags += " --mirror"
ud.shallow_skip_fast = False
ud.shallow = d.getVar("BB_GIT_SHALLOW") == "1"
ud.shallow_extra_refs = (d.getVar("BB_GIT_SHALLOW_EXTRA_REFS") or "").split()
@@ -225,32 +215,27 @@ class Git(FetchMethod):
revs_default = d.getVar("BB_GIT_SHALLOW_REVS")
ud.shallow_revs = []
ud.branches = {}
for pos, name in enumerate(ud.names):
branch = branches[pos]
ud.branches[name] = branch
ud.unresolvedrev[name] = branch
shallow_depth = d.getVar("BB_GIT_SHALLOW_DEPTH_%s" % name)
if shallow_depth is not None:
try:
shallow_depth = int(shallow_depth or 0)
except ValueError:
raise bb.fetch2.FetchError("Invalid depth for BB_GIT_SHALLOW_DEPTH_%s: %s" % (name, shallow_depth))
else:
if shallow_depth < 0:
raise bb.fetch2.FetchError("Invalid depth for BB_GIT_SHALLOW_DEPTH_%s: %s" % (name, shallow_depth))
ud.shallow_depths[name] = shallow_depth
ud.unresolvedrev = ud.branch
revs = d.getVar("BB_GIT_SHALLOW_REVS_%s" % name)
if revs is not None:
ud.shallow_revs.extend(revs.split())
elif revs_default is not None:
ud.shallow_revs.extend(revs_default.split())
shallow_depth = d.getVar("BB_GIT_SHALLOW_DEPTH_%s" % ud.name)
if shallow_depth is not None:
try:
shallow_depth = int(shallow_depth or 0)
except ValueError:
raise bb.fetch2.FetchError("Invalid depth for BB_GIT_SHALLOW_DEPTH_%s: %s" % (ud.name, shallow_depth))
else:
if shallow_depth < 0:
raise bb.fetch2.FetchError("Invalid depth for BB_GIT_SHALLOW_DEPTH_%s: %s" % (ud.name, shallow_depth))
ud.shallow_depths[ud.name] = shallow_depth
if (ud.shallow and
not ud.shallow_revs and
all(ud.shallow_depths[n] == 0 for n in ud.names)):
revs = d.getVar("BB_GIT_SHALLOW_REVS_%s" % ud.name)
if revs is not None:
ud.shallow_revs.extend(revs.split())
elif revs_default is not None:
ud.shallow_revs.extend(revs_default.split())
if ud.shallow and not ud.shallow_revs and ud.shallow_depths[ud.name] == 0:
# Shallow disabled for this URL
ud.shallow = False
@@ -259,8 +244,7 @@ class Git(FetchMethod):
# rev of this repository. This will get resolved into a revision
# later. If an actual revision happens to have also been provided
# then this setting will be overridden.
for name in ud.names:
ud.unresolvedrev[name] = 'HEAD'
ud.unresolvedrev = 'HEAD'
ud.basecmd = d.getVar("FETCHCMD_git") or "git -c gc.autoDetach=false -c core.pager=cat -c safe.bareRepository=all -c clone.defaultRemoteName=origin"
@@ -270,12 +254,11 @@ class Git(FetchMethod):
ud.setup_revisions(d)
for name in ud.names:
# Ensure any revision that doesn't look like a SHA-1 is translated into one
if not sha1_re.match(ud.revisions[name] or ''):
if ud.revisions[name]:
ud.unresolvedrev[name] = ud.revisions[name]
ud.revisions[name] = self.latest_revision(ud, d, name)
# Ensure any revision that doesn't look like a SHA-1 is translated into one
if not sha1_re.match(ud.revision or ''):
if ud.revision:
ud.unresolvedrev = ud.revision
ud.revision = self.latest_revision(ud, d, ud.name)
gitsrcname = '%s%s' % (ud.host.replace(':', '.'), ud.path.replace('/', '.').replace('*', '.').replace(' ','_').replace('(', '_').replace(')', '_'))
if gitsrcname.startswith('.'):
@@ -286,8 +269,7 @@ class Git(FetchMethod):
# upstream repo in the future, the mirror will remain intact and still
# contain the revision
if ud.rebaseable:
for name in ud.names:
gitsrcname = gitsrcname + '_' + ud.revisions[name]
gitsrcname = gitsrcname + '_' + ud.revision
dl_dir = d.getVar("DL_DIR")
gitdir = d.getVar("GITDIR") or (dl_dir + "/git2")
@@ -305,15 +287,14 @@ class Git(FetchMethod):
if ud.shallow_revs:
tarballname = "%s_%s" % (tarballname, "_".join(sorted(ud.shallow_revs)))
for name, revision in sorted(ud.revisions.items()):
tarballname = "%s_%s" % (tarballname, ud.revisions[name][:7])
depth = ud.shallow_depths[name]
if depth:
tarballname = "%s-%s" % (tarballname, depth)
tarballname = "%s_%s" % (tarballname, ud.revision[:7])
depth = ud.shallow_depths[ud.name]
if depth:
tarballname = "%s-%s" % (tarballname, depth)
shallow_refs = []
if not ud.nobranch:
shallow_refs.extend(ud.branches.values())
shallow_refs.append(ud.branch)
if ud.shallow_extra_refs:
shallow_refs.extend(r.replace('refs/heads/', '').replace('*', 'ALL') for r in ud.shallow_extra_refs)
if shallow_refs:
@@ -338,18 +319,16 @@ class Git(FetchMethod):
return True
if ud.shallow and ud.write_shallow_tarballs and self.clonedir_need_shallow_revs(ud, d):
return True
for name in ud.names:
if not self._contains_ref(ud, d, name, ud.clonedir):
return True
if not self._contains_ref(ud, d, ud.name, ud.clonedir):
return True
return False
def lfs_need_update(self, ud, d):
if self.clonedir_need_update(ud, d):
return True
for name in ud.names:
if not self._lfs_objects_downloaded(ud, d, name, ud.clonedir):
return True
if not self._lfs_objects_downloaded(ud, d, ud.name, ud.clonedir):
return True
return False
def clonedir_need_shallow_revs(self, ud, d):
@@ -446,6 +425,24 @@ class Git(FetchMethod):
if ud.proto.lower() != 'file':
bb.fetch2.check_network_access(d, clone_cmd, ud.url)
progresshandler = GitProgressHandler(d)
# Try creating a fast initial shallow clone
# Enabling ud.shallow_skip_fast will skip this
# If the Git error "Server does not allow request for unadvertised object"
# occurs, shallow_skip_fast is enabled automatically.
# This may happen if the Git server does not allow the request
# or if the Git client has issues with this functionality.
if ud.shallow and not ud.shallow_skip_fast:
try:
self.clone_shallow_with_tarball(ud, d)
# When the shallow clone has succeeded, use the shallow tarball
ud.localpath = ud.fullshallow
return
except:
logger.warning("Creating fast initial shallow clone failed, try initial regular clone now.")
# When skipping fast initial shallow or the fast inital shallow clone failed:
# Try again with an initial regular clone
runfetchcmd(clone_cmd, d, log=progresshandler)
# Update the checkout if needed
@@ -473,9 +470,8 @@ class Git(FetchMethod):
if exc.errno != errno.ENOENT:
raise
for name in ud.names:
if not self._contains_ref(ud, d, name, ud.clonedir):
raise bb.fetch2.FetchError("Unable to find revision %s in branch %s even from upstream" % (ud.revisions[name], ud.branches[name]))
if not self._contains_ref(ud, d, ud.name, ud.clonedir):
raise bb.fetch2.FetchError("Unable to find revision %s in branch %s even from upstream" % (ud.revision, ud.branch))
if ud.shallow and ud.write_shallow_tarballs:
missing_rev = self.clonedir_need_shallow_revs(ud, d)
@@ -508,48 +504,74 @@ class Git(FetchMethod):
if os.path.exists(os.path.join(ud.destdir, ".git", "lfs")):
runfetchcmd("tar -cf - lfs | tar -xf - -C %s" % ud.clonedir, d, workdir="%s/.git" % ud.destdir)
def lfs_fetch(self, ud, d, clonedir, revision, fetchall=False, progresshandler=None):
"""Helper method for fetching Git LFS data"""
try:
if self._need_lfs(ud) and self._contains_lfs(ud, d, clonedir) and self._find_git_lfs(d) and len(revision):
# Using worktree with the revision because .lfsconfig may exists
worktree_add_cmd = "%s worktree add wt %s" % (ud.basecmd, revision)
runfetchcmd(worktree_add_cmd, d, log=progresshandler, workdir=clonedir)
lfs_fetch_cmd = "%s lfs fetch %s" % (ud.basecmd, "--all" if fetchall else "")
runfetchcmd(lfs_fetch_cmd, d, log=progresshandler, workdir=(clonedir + "/wt"))
worktree_rem_cmd = "%s worktree remove -f wt" % ud.basecmd
runfetchcmd(worktree_rem_cmd, d, log=progresshandler, workdir=clonedir)
except:
logger.warning("Fetching LFS did not succeed.")
@contextmanager
def create_atomic(self, filename):
"""Create as a temp file and move atomically into position to avoid races"""
fd, tfile = tempfile.mkstemp(dir=os.path.dirname(filename))
try:
yield tfile
umask = os.umask(0o666)
os.umask(umask)
os.chmod(tfile, (0o666 & ~umask))
os.rename(tfile, filename)
finally:
os.close(fd)
def build_mirror_data(self, ud, d):
# Create as a temp file and move atomically into position to avoid races
@contextmanager
def create_atomic(filename):
fd, tfile = tempfile.mkstemp(dir=os.path.dirname(filename))
try:
yield tfile
umask = os.umask(0o666)
os.umask(umask)
os.chmod(tfile, (0o666 & ~umask))
os.rename(tfile, filename)
finally:
os.close(fd)
if ud.shallow and ud.write_shallow_tarballs:
if not os.path.exists(ud.fullshallow):
if os.path.islink(ud.fullshallow):
os.unlink(ud.fullshallow)
tempdir = tempfile.mkdtemp(dir=d.getVar('DL_DIR'))
shallowclone = os.path.join(tempdir, 'git')
try:
self.clone_shallow_local(ud, shallowclone, d)
logger.info("Creating tarball of git repository")
with create_atomic(ud.fullshallow) as tfile:
runfetchcmd("tar -czf %s ." % tfile, d, workdir=shallowclone)
runfetchcmd("touch %s.done" % ud.fullshallow, d)
finally:
bb.utils.remove(tempdir, recurse=True)
self.clone_shallow_with_tarball(ud, d)
elif ud.write_tarballs and not os.path.exists(ud.fullmirror):
if os.path.islink(ud.fullmirror):
os.unlink(ud.fullmirror)
logger.info("Creating tarball of git repository")
with create_atomic(ud.fullmirror) as tfile:
with self.create_atomic(ud.fullmirror) as tfile:
mtime = runfetchcmd("{} log --all -1 --format=%cD".format(ud.basecmd), d,
quiet=True, workdir=ud.clonedir)
runfetchcmd("tar -czf %s --owner oe:0 --group oe:0 --mtime \"%s\" ."
% (tfile, mtime), d, workdir=ud.clonedir)
runfetchcmd("touch %s.done" % ud.fullmirror, d)
def clone_shallow_with_tarball(self, ud, d):
ret = False
tempdir = tempfile.mkdtemp(dir=d.getVar('DL_DIR'))
shallowclone = os.path.join(tempdir, 'git')
try:
try:
self.clone_shallow_local(ud, shallowclone, d)
except:
logger.warning("Fash shallow clone failed, try to skip fast mode now.")
bb.utils.remove(tempdir, recurse=True)
os.mkdir(tempdir)
ud.shallow_skip_fast = True
self.clone_shallow_local(ud, shallowclone, d)
logger.info("Creating tarball of git repository")
with self.create_atomic(ud.fullshallow) as tfile:
runfetchcmd("tar -czf %s ." % tfile, d, workdir=shallowclone)
runfetchcmd("touch %s.done" % ud.fullshallow, d)
ret = True
finally:
bb.utils.remove(tempdir, recurse=True)
return ret
def clone_shallow_local(self, ud, dest, d):
"""
Shallow fetch from ud.clonedir (${DL_DIR}/git2/<gitrepo> by default):
@@ -557,53 +579,64 @@ class Git(FetchMethod):
- For BB_GIT_SHALLOW_REVS: git fetch --shallow-exclude=<revs> rev
"""
progresshandler = GitProgressHandler(d)
repourl = self._get_repo_url(ud)
bb.utils.mkdirhier(dest)
init_cmd = "%s init -q" % ud.basecmd
if ud.bareclone:
init_cmd += " --bare"
runfetchcmd(init_cmd, d, workdir=dest)
runfetchcmd("%s remote add origin %s" % (ud.basecmd, ud.clonedir), d, workdir=dest)
# Use repourl when creating a fast initial shallow clone
# Prefer already existing full bare clones if available
if not ud.shallow_skip_fast and not os.path.exists(ud.clonedir):
remote = shlex.quote(repourl)
else:
remote = ud.clonedir
runfetchcmd("%s remote add origin %s" % (ud.basecmd, remote), d, workdir=dest)
# Check the histories which should be excluded
shallow_exclude = ''
for revision in ud.shallow_revs:
shallow_exclude += " --shallow-exclude=%s" % revision
for name in ud.names:
revision = ud.revisions[name]
depth = ud.shallow_depths[name]
revision = ud.revision
depth = ud.shallow_depths[ud.name]
# The --depth and --shallow-exclude can't be used together
if depth and shallow_exclude:
raise bb.fetch2.FetchError("BB_GIT_SHALLOW_REVS is set, but BB_GIT_SHALLOW_DEPTH is not 0.")
# The --depth and --shallow-exclude can't be used together
if depth and shallow_exclude:
raise bb.fetch2.FetchError("BB_GIT_SHALLOW_REVS is set, but BB_GIT_SHALLOW_DEPTH is not 0.")
# For nobranch, we need a ref, otherwise the commits will be
# removed, and for non-nobranch, we truncate the branch to our
# srcrev, to avoid keeping unnecessary history beyond that.
branch = ud.branches[name]
if ud.nobranch:
ref = "refs/shallow/%s" % name
elif ud.bareclone:
ref = "refs/heads/%s" % branch
else:
ref = "refs/remotes/origin/%s" % branch
# For nobranch, we need a ref, otherwise the commits will be
# removed, and for non-nobranch, we truncate the branch to our
# srcrev, to avoid keeping unnecessary history beyond that.
branch = ud.branch
if ud.nobranch:
ref = "refs/shallow/%s" % ud.name
elif ud.bareclone:
ref = "refs/heads/%s" % branch
else:
ref = "refs/remotes/origin/%s" % branch
fetch_cmd = "%s fetch origin %s" % (ud.basecmd, revision)
if depth:
fetch_cmd += " --depth %s" % depth
fetch_cmd = "%s fetch origin %s" % (ud.basecmd, revision)
if depth:
fetch_cmd += " --depth %s" % depth
if shallow_exclude:
fetch_cmd += shallow_exclude
if shallow_exclude:
fetch_cmd += shallow_exclude
# Advertise the revision for lower version git such as 2.25.1:
# error: Server does not allow request for unadvertised object.
# The ud.clonedir is a local temporary dir, will be removed when
# fetch is done, so we can do anything on it.
adv_cmd = 'git branch -f advertise-%s %s' % (revision, revision)
# Advertise the revision for lower version git such as 2.25.1:
# error: Server does not allow request for unadvertised object.
# The ud.clonedir is a local temporary dir, will be removed when
# fetch is done, so we can do anything on it.
adv_cmd = 'git branch -f advertise-%s %s' % (revision, revision)
if ud.shallow_skip_fast:
runfetchcmd(adv_cmd, d, workdir=ud.clonedir)
runfetchcmd(fetch_cmd, d, workdir=dest)
runfetchcmd("%s update-ref %s %s" % (ud.basecmd, ref, revision), d, workdir=dest)
runfetchcmd(fetch_cmd, d, workdir=dest)
runfetchcmd("%s update-ref %s %s" % (ud.basecmd, ref, revision), d, workdir=dest)
# Fetch Git LFS data for fast shallow clones
if not ud.shallow_skip_fast:
self.lfs_fetch(ud, d, dest, ud.revision)
# Apply extra ref wildcards
all_refs_remote = runfetchcmd("%s ls-remote origin 'refs/*'" % ud.basecmd, \
@@ -612,6 +645,8 @@ class Git(FetchMethod):
for line in all_refs_remote:
all_refs.append(line.split()[-1])
extra_refs = []
if 'tag' in ud.parm:
extra_refs.append(ud.parm['tag'])
for r in ud.shallow_extra_refs:
if not ud.bareclone:
r = r.replace('refs/heads/', 'refs/remotes/origin/')
@@ -629,7 +664,6 @@ class Git(FetchMethod):
runfetchcmd("%s update-ref %s %s" % (ud.basecmd, ref, revision), d, workdir=dest)
# The url is local ud.clonedir, set it to upstream one
repourl = self._get_repo_url(ud)
runfetchcmd("%s remote set-url origin %s" % (ud.basecmd, shlex.quote(repourl)), d, workdir=dest)
def unpack(self, ud, destdir, d):
@@ -690,6 +724,14 @@ class Git(FetchMethod):
if not source_found:
raise bb.fetch2.UnpackError("No up to date source found: " + "; ".join(source_error), ud.url)
# If there is a tag parameter in the url and we also have a fixed srcrev, check the tag
# matches the revision
if 'tag' in ud.parm and sha1_re.match(ud.revision):
output = runfetchcmd("%s rev-list -n 1 %s" % (ud.basecmd, ud.parm['tag']), d, workdir=destdir)
output = output.strip()
if output != ud.revision:
raise bb.fetch2.FetchError("The revision the git tag '%s' resolved to didn't match the SRCREV in use (%s vs %s)" % (ud.parm['tag'], output, ud.revision), ud.url)
repourl = self._get_repo_url(ud)
runfetchcmd("%s remote set-url origin %s" % (ud.basecmd, shlex.quote(repourl)), d, workdir=destdir)
@@ -703,17 +745,17 @@ class Git(FetchMethod):
if not ud.nocheckout:
if subpath:
runfetchcmd("%s read-tree %s%s" % (ud.basecmd, ud.revisions[ud.names[0]], readpathspec), d,
runfetchcmd("%s read-tree %s%s" % (ud.basecmd, ud.revision, readpathspec), d,
workdir=destdir)
runfetchcmd("%s checkout-index -q -f -a" % ud.basecmd, d, workdir=destdir)
elif not ud.nobranch:
branchname = ud.branches[ud.names[0]]
branchname = ud.branch
runfetchcmd("%s checkout -B %s %s" % (ud.basecmd, branchname, \
ud.revisions[ud.names[0]]), d, workdir=destdir)
ud.revision), d, workdir=destdir)
runfetchcmd("%s branch %s --set-upstream-to origin/%s" % (ud.basecmd, branchname, \
branchname), d, workdir=destdir)
else:
runfetchcmd("%s checkout %s" % (ud.basecmd, ud.revisions[ud.names[0]]), d, workdir=destdir)
runfetchcmd("%s checkout %s" % (ud.basecmd, ud.revision), d, workdir=destdir)
return True
@@ -744,10 +786,10 @@ class Git(FetchMethod):
cmd = ""
if ud.nobranch:
cmd = "%s log --pretty=oneline -n 1 %s -- 2> /dev/null | wc -l" % (
ud.basecmd, ud.revisions[name])
ud.basecmd, ud.revision)
else:
cmd = "%s branch --contains %s --list %s 2> /dev/null | wc -l" % (
ud.basecmd, ud.revisions[name], ud.branches[name])
ud.basecmd, ud.revision, ud.branch)
try:
output = runfetchcmd(cmd, d, quiet=True, workdir=wd)
except bb.fetch2.FetchError:
@@ -768,7 +810,7 @@ class Git(FetchMethod):
# existence.
# [1] https://github.com/git-lfs/git-lfs/blob/main/docs/spec.md#intercepting-git
cmd = "%s lfs ls-files -l %s" \
% (ud.basecmd, ud.revisions[name])
% (ud.basecmd, ud.revision)
output = runfetchcmd(cmd, d, quiet=True, workdir=wd).rstrip()
# Do not do any further matching if no objects are managed by LFS
if not output:
@@ -795,12 +837,12 @@ class Git(FetchMethod):
if ud.nobranch:
# If no branch is specified, use the current git commit
refname = self._build_revision(ud, d, ud.names[0])
refname = self._build_revision(ud, d, ud.name)
elif wd == ud.clonedir:
# The bare clonedir doesn't use the remote names; it has the branch immediately.
refname = ud.branches[ud.names[0]]
refname = ud.branch
else:
refname = "origin/%s" % ud.branches[ud.names[0]]
refname = "origin/%s" % ud.branch
cmd = "%s grep lfs %s:.gitattributes | wc -l" % (
ud.basecmd, refname)
@@ -817,7 +859,6 @@ class Git(FetchMethod):
"""
Return True if git-lfs can be found, False otherwise.
"""
import shutil
return shutil.which("git-lfs", path=d.getVar('PATH')) is not None
def _get_repo_url(self, ud):
@@ -833,14 +874,14 @@ class Git(FetchMethod):
username = ud.user + '@'
else:
username = ""
return "%s://%s%s%s" % (ud.proto, username, ud.host, ud.path)
return "%s://%s%s%s" % (ud.proto, username, ud.host, urllib.parse.quote(ud.path))
def _revision_key(self, ud, d, name):
"""
Return a unique key for the url
"""
# Collapse adjacent slashes
return "git:" + ud.host + slash_re.sub(".", ud.path) + ud.unresolvedrev[name]
return "git:" + ud.host + slash_re.sub(".", ud.path) + ud.unresolvedrev
def _lsremote(self, ud, d, search):
"""
@@ -873,26 +914,26 @@ class Git(FetchMethod):
Compute the HEAD revision for the url
"""
if not d.getVar("__BBSRCREV_SEEN"):
raise bb.fetch2.FetchError("Recipe uses a floating tag/branch '%s' for repo '%s' without a fixed SRCREV yet doesn't call bb.fetch2.get_srcrev() (use SRCPV in PV for OE)." % (ud.unresolvedrev[name], ud.host+ud.path))
raise bb.fetch2.FetchError("Recipe uses a floating tag/branch '%s' for repo '%s' without a fixed SRCREV yet doesn't call bb.fetch2.get_srcrev() (use SRCPV in PV for OE)." % (ud.unresolvedrev, ud.host+ud.path))
# Ensure we mark as not cached
bb.fetch2.mark_recipe_nocache(d)
output = self._lsremote(ud, d, "")
# Tags of the form ^{} may not work, need to fallback to other form
if ud.unresolvedrev[name][:5] == "refs/" or ud.usehead:
head = ud.unresolvedrev[name]
tag = ud.unresolvedrev[name]
if ud.unresolvedrev[:5] == "refs/" or ud.usehead:
head = ud.unresolvedrev
tag = ud.unresolvedrev
else:
head = "refs/heads/%s" % ud.unresolvedrev[name]
tag = "refs/tags/%s" % ud.unresolvedrev[name]
head = "refs/heads/%s" % ud.unresolvedrev
tag = "refs/tags/%s" % ud.unresolvedrev
for s in [head, tag + "^{}", tag]:
for l in output.strip().split('\n'):
sha1, ref = l.split()
if s == ref:
return sha1
raise bb.fetch2.FetchError("Unable to resolve '%s' in upstream git repository in git ls-remote output for %s" % \
(ud.unresolvedrev[name], ud.host+ud.path))
(ud.unresolvedrev, ud.host+ud.path))
def latest_versionstring(self, ud, d):
"""
@@ -943,7 +984,7 @@ class Git(FetchMethod):
return pupver
def _build_revision(self, ud, d, name):
return ud.revisions[name]
return ud.revision
def gitpkgv_revision(self, ud, d, name):
"""

View File

@@ -62,36 +62,35 @@ class GitSM(Git):
return modules
# Collect the defined submodules, and their attributes
for name in ud.names:
try:
gitmodules = runfetchcmd("%s show %s:.gitmodules" % (ud.basecmd, ud.revision), d, quiet=True, workdir=workdir)
except:
# No submodules to update
gitmodules = ""
for m, md in parse_gitmodules(gitmodules).items():
try:
gitmodules = runfetchcmd("%s show %s:.gitmodules" % (ud.basecmd, ud.revisions[name]), d, quiet=True, workdir=workdir)
module_hash = runfetchcmd("%s ls-tree -z -d %s %s" % (ud.basecmd, ud.revision, md['path']), d, quiet=True, workdir=workdir)
except:
# No submodules to update
# If the command fails, we don't have a valid file to check. If it doesn't
# fail -- it still might be a failure, see next check...
module_hash = ""
if not module_hash:
logger.debug("submodule %s is defined, but is not initialized in the repository. Skipping", m)
continue
for m, md in parse_gitmodules(gitmodules).items():
try:
module_hash = runfetchcmd("%s ls-tree -z -d %s %s" % (ud.basecmd, ud.revisions[name], md['path']), d, quiet=True, workdir=workdir)
except:
# If the command fails, we don't have a valid file to check. If it doesn't
# fail -- it still might be a failure, see next check...
module_hash = ""
submodules.append(m)
paths[m] = md['path']
revision[m] = ud.revision
uris[m] = md['url']
subrevision[m] = module_hash.split()[2]
if not module_hash:
logger.debug("submodule %s is defined, but is not initialized in the repository. Skipping", m)
continue
submodules.append(m)
paths[m] = md['path']
revision[m] = ud.revisions[name]
uris[m] = md['url']
subrevision[m] = module_hash.split()[2]
# Convert relative to absolute uri based on parent uri
if uris[m].startswith('..') or uris[m].startswith('./'):
newud = copy.copy(ud)
newud.path = os.path.normpath(os.path.join(newud.path, uris[m]))
uris[m] = Git._get_repo_url(self, newud)
# Convert relative to absolute uri based on parent uri
if uris[m].startswith('..') or uris[m].startswith('./'):
newud = copy.copy(ud)
newud.path = os.path.normpath(os.path.join(newud.path, uris[m]))
uris[m] = Git._get_repo_url(self, newud)
for module in submodules:
# Translate the module url into a SRC_URI
@@ -150,7 +149,10 @@ class GitSM(Git):
def call_process_submodules(self, ud, d, extra_check, subfunc):
# If we're using a shallow mirror tarball it needs to be
# unpacked temporarily so that we can examine the .gitmodules file
if ud.shallow and os.path.exists(ud.fullshallow) and extra_check:
# Unpack even when ud.clonedir is not available,
# which may occur during a fast shallow clone
unpack = extra_check or not os.path.exists(ud.clonedir)
if ud.shallow and os.path.exists(ud.fullshallow) and unpack:
tmpdir = tempfile.mkdtemp(dir=d.getVar("DL_DIR"))
try:
runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir)
@@ -264,7 +266,7 @@ class GitSM(Git):
Git.clean(self, ud, d)
def implicit_urldata(self, ud, d):
import shutil, subprocess, tempfile
import subprocess
urldata = []
def add_submodule(ud, url, module, modpath, workdir, d):

View File

@@ -107,26 +107,23 @@ class GoMod(Wget):
if ud.path != '/':
module += ud.path
ud.parm['module'] = module
version = ud.parm['version']
# Set URL and filename for wget download
path = escape(module + '/@v/' + ud.parm['version'])
if ud.parm.get('mod', '0') == '1':
path += '.mod'
ext = '.mod'
else:
path += '.zip'
ud.parm['unpack'] = '0'
ext = '.zip'
path = escape(f"{module}/@v/{version}{ext}")
ud.url = bb.fetch2.encodeurl(
('https', proxy, '/' + path, None, None, None))
ud.parm['downloadfilename'] = path
ud.parm['downloadfilename'] = f"{module.replace('/', '.')}@{version}{ext}"
# Set name parameter if sha256sum is set in recipe
name = f"{module}@{ud.parm['version']}"
if d.getVarFlag('SRC_URI', name + '.sha256sum'):
ud.parm['name'] = name
# Set name for checksum verification
ud.parm['name'] = f"{module}@{version}"
# Set subdir for unpack
ud.parm['subdir'] = os.path.join(moddir, 'cache/download',
os.path.dirname(path))
# Set path for unpack
ud.parm['unpackpath'] = os.path.join(moddir, 'cache/download', path)
super().urldata_init(ud, d)
@@ -134,13 +131,22 @@ class GoMod(Wget):
"""Unpack the module in the module cache."""
# Unpack the module zip file or go.mod file
super().unpack(ud, rootdir, d)
unpackpath = os.path.join(rootdir, ud.parm['unpackpath'])
unpackdir = os.path.dirname(unpackpath)
bb.utils.mkdirhier(unpackdir)
ud.unpack_tracer.unpack("file-copy", unpackdir)
cmd = f"cp {ud.localpath} {unpackpath}"
path = d.getVar('PATH')
if path:
cmd = f"PATH={path} {cmd}"
name = os.path.basename(unpackpath)
bb.note(f"Unpacking {name} to {unpackdir}/")
subprocess.check_call(cmd, shell=True, preexec_fn=subprocess_setup)
if ud.localpath.endswith('.zip'):
if name.endswith('.zip'):
# Unpack the go.mod file from the zip file
module = ud.parm['module']
unpackdir = os.path.join(rootdir, ud.parm['subdir'])
name = os.path.basename(ud.localpath).rsplit('.', 1)[0] + '.mod'
name = name.rsplit('.', 1)[0] + '.mod'
bb.note(f"Unpacking {name} to {unpackdir}/")
with zipfile.ZipFile(ud.localpath) as zf:
with open(os.path.join(unpackdir, name), mode='wb') as mf:
@@ -193,15 +199,14 @@ class GoModGit(Git):
ud.path = ''
if 'protocol' not in ud.parm:
ud.parm['protocol'] = 'https'
name = f"{module}@{ud.parm['version']}"
ud.names = [name]
srcrev = d.getVar('SRCREV_' + name)
ud.name = f"{module}@{ud.parm['version']}"
srcrev = d.getVar('SRCREV_' + ud.name)
if srcrev:
if 'srcrev' not in ud.parm:
ud.parm['srcrev'] = srcrev
else:
if 'srcrev' in ud.parm:
d.setVar('SRCREV_' + name, ud.parm['srcrev'])
d.setVar('SRCREV_' + ud.name, ud.parm['srcrev'])
if 'branch' not in ud.parm:
ud.parm['nobranch'] = '1'

View File

@@ -29,11 +29,10 @@ class Local(FetchMethod):
def urldata_init(self, ud, d):
# We don't set localfile as for this fetcher the file is already local!
ud.decodedurl = urllib.parse.unquote(ud.url.split("://")[1].split(";")[0])
ud.basename = os.path.basename(ud.decodedurl)
ud.basepath = ud.decodedurl
ud.basename = os.path.basename(ud.path)
ud.basepath = ud.path
ud.needdonestamp = False
if "*" in ud.decodedurl:
if "*" in ud.path:
raise bb.fetch2.ParameterError("file:// urls using globbing are no longer supported. Please place the files in a directory and reference that instead.", ud.url)
return
@@ -48,7 +47,7 @@ class Local(FetchMethod):
Return the local filename of a given url assuming a successful fetch.
"""
searched = []
path = urldata.decodedurl
path = urldata.path
newpath = path
if path[0] == "/":
logger.debug2("Using absolute %s" % (path))

View File

@@ -91,6 +91,12 @@ class NpmEnvironment(object):
self.d = d
self.user_config = tempfile.NamedTemporaryFile(mode="w", buffering=1)
hn = self._home_npmrc(d)
if hn is not None:
with open(hn, 'r') as hnf:
self.user_config.write(hnf.read())
for key, value in configs:
self.user_config.write("%s=%s\n" % (key, value))
@@ -103,6 +109,15 @@ class NpmEnvironment(object):
if self.user_config:
self.user_config.close()
def _home_npmrc(self, d):
"""Function to return user's HOME .npmrc file (or None if it doesn't exist)"""
home_npmrc_file = os.path.join(os.environ.get("HOME"), ".npmrc")
if d.getVar("BB_USE_HOME_NPMRC") == "1" and os.path.exists(home_npmrc_file):
bb.warn(f"BB_USE_HOME_NPMRC flag set and valid .npmrc detected - "\
f"npm fetcher will use {home_npmrc_file}")
return home_npmrc_file
return None
def run(self, cmd, args=None, configs=None, workdir=None):
"""Run npm command in a controlled environment"""
with tempfile.TemporaryDirectory() as tmpdir:
@@ -166,7 +181,7 @@ class Npm(FetchMethod):
# Using the 'downloadfilename' parameter as local filename
# or the npm package name.
if "downloadfilename" in ud.parm:
ud.localfile = npm_localfile(d.expand(ud.parm["downloadfilename"]))
ud.localfile = npm_localfile(ud.parm["downloadfilename"])
else:
ud.localfile = npm_localfile(ud.package, ud.version)

View File

@@ -37,38 +37,26 @@ def foreach_dependencies(shrinkwrap, callback=None, dev=False):
"""
Run a callback for each dependencies of a shrinkwrap file.
The callback is using the format:
callback(name, params, deptree)
callback(name, data, location)
with:
name = the package name (string)
params = the package parameters (dictionary)
destdir = the destination of the package (string)
data = the package data (dictionary)
location = the location of the package (string)
"""
# For handling old style dependencies entries in shinkwrap files
def _walk_deps(deps, deptree):
for name in deps:
subtree = [*deptree, name]
_walk_deps(deps[name].get("dependencies", {}), subtree)
if callback is not None:
if deps[name].get("dev", False) and not dev:
continue
elif deps[name].get("bundled", False):
continue
destsubdirs = [os.path.join("node_modules", dep) for dep in subtree]
destsuffix = os.path.join(*destsubdirs)
callback(name, deps[name], destsuffix)
packages = shrinkwrap.get("packages")
if not packages:
raise FetchError("Invalid shrinkwrap file format")
# packages entry means new style shrinkwrap file, else use dependencies
packages = shrinkwrap.get("packages", None)
if packages is not None:
for package in packages:
if package != "":
name = package.split('node_modules/')[-1]
package_infos = packages.get(package, {})
if dev == False and package_infos.get("dev", False):
continue
callback(name, package_infos, package)
else:
_walk_deps(shrinkwrap.get("dependencies", {}), [])
for location, data in packages.items():
# Skip empty main and local link target packages
if not location.startswith('node_modules/'):
continue
elif not dev and data.get("dev", False):
continue
elif data.get("inBundle", False):
continue
name = location.split('node_modules/')[-1]
callback(name, data, location)
class NpmShrinkWrap(FetchMethod):
"""Class to fetch all package from a shrinkwrap file"""
@@ -95,12 +83,18 @@ class NpmShrinkWrap(FetchMethod):
extrapaths = []
unpack = True
integrity = params.get("integrity", None)
resolved = params.get("resolved", None)
version = params.get("version", resolved)
integrity = params.get("integrity")
resolved = params.get("resolved")
version = params.get("version")
link = params.get("link", False)
# Handle link sources
if link:
localpath = resolved
unpack = False
# Handle registry sources
if is_semver(version) and integrity:
elif version and is_semver(version) and integrity:
# Handle duplicate dependencies without url
if not resolved:
return
@@ -128,10 +122,10 @@ class NpmShrinkWrap(FetchMethod):
extrapaths.append(resolvefile)
# Handle http tarball sources
elif version.startswith("http") and integrity:
localfile = npm_localfile(os.path.basename(version))
elif resolved.startswith("http") and integrity:
localfile = npm_localfile(os.path.basename(resolved))
uri = URI(version)
uri = URI(resolved)
uri.params["downloadfilename"] = localfile
checksum_name, checksum_expected = npm_integrity(integrity)
@@ -141,28 +135,12 @@ class NpmShrinkWrap(FetchMethod):
localpath = os.path.join(d.getVar("DL_DIR"), localfile)
# Handle local tarball and link sources
elif version.startswith("file"):
localpath = version[5:]
if not version.endswith(".tgz"):
unpack = False
# Handle local tarball sources
elif resolved.startswith("file"):
localpath = resolved[5:]
# Handle git sources
elif version.startswith(("git", "bitbucket","gist")) or (
not version.endswith((".tgz", ".tar", ".tar.gz"))
and not version.startswith((".", "@", "/"))
and "/" in version
):
if version.startswith("github:"):
version = "git+https://github.com/" + version[len("github:"):]
elif version.startswith("gist:"):
version = "git+https://gist.github.com/" + version[len("gist:"):]
elif version.startswith("bitbucket:"):
version = "git+https://bitbucket.org/" + version[len("bitbucket:"):]
elif version.startswith("gitlab:"):
version = "git+https://gitlab.com/" + version[len("gitlab:"):]
elif not version.startswith(("git+","git:")):
version = "git+https://github.com/" + version
elif resolved.startswith("git"):
regex = re.compile(r"""
^
git\+
@@ -174,10 +152,9 @@ class NpmShrinkWrap(FetchMethod):
$
""", re.VERBOSE)
match = regex.match(version)
match = regex.match(resolved)
if not match:
raise ParameterError("Invalid git url: %s" % version, ud.url)
raise ParameterError("Invalid git url: %s" % resolved, ud.url)
groups = match.groupdict()

View File

@@ -77,7 +77,7 @@ class S3(FetchMethod):
else:
ud.basename = os.path.basename(ud.path)
ud.localfile = d.expand(urllib.parse.unquote(ud.basename))
ud.localfile = ud.basename
ud.basecmd = d.getVar("FETCHCMD_s3") or "/usr/bin/env aws s3"

View File

@@ -77,7 +77,7 @@ class SFTP(FetchMethod):
else:
ud.basename = os.path.basename(ud.path)
ud.localfile = d.expand(urllib.parse.unquote(ud.basename))
ud.localfile = ud.basename
def download(self, ud, d):
"""Fetch urls"""

View File

@@ -73,8 +73,7 @@ class SSH(FetchMethod):
path = m.group('path')
path = urllib.parse.unquote(path)
host = m.group('host')
urldata.localpath = os.path.join(d.getVar('DL_DIR'),
os.path.basename(os.path.normpath(path)))
urldata.localfile = os.path.basename(os.path.normpath(path))
def download(self, urldata, d):
dldir = d.getVar('DL_DIR')

View File

@@ -78,11 +78,11 @@ class Wget(FetchMethod):
else:
ud.basename = os.path.basename(ud.path)
ud.localfile = d.expand(urllib.parse.unquote(ud.basename))
ud.localfile = ud.basename
if not ud.localfile:
ud.localfile = d.expand(urllib.parse.unquote(ud.host + ud.path).replace("/", "."))
ud.localfile = ud.host + ud.path.replace("/", ".")
self.basecmd = d.getVar("FETCHCMD_wget") or "/usr/bin/env wget -t 2 -T 100"
self.basecmd = d.getVar("FETCHCMD_wget") or "/usr/bin/env wget --tries=2 --timeout=100"
if ud.type == 'ftp' or ud.type == 'ftps':
self.basecmd += " --passive-ftp"
@@ -96,7 +96,7 @@ class Wget(FetchMethod):
logger.debug2("Fetching %s using command '%s'" % (ud.url, command))
bb.fetch2.check_network_access(d, command, ud.url)
runfetchcmd(command + ' --progress=dot -v', d, quiet, log=progresshandler, workdir=workdir)
runfetchcmd(command + ' --progress=dot --verbose', d, quiet, log=progresshandler, workdir=workdir)
def download(self, ud, d):
"""Fetch urls"""
@@ -106,7 +106,7 @@ class Wget(FetchMethod):
dldir = os.path.realpath(d.getVar("DL_DIR"))
localpath = os.path.join(dldir, ud.localfile) + ".tmp"
bb.utils.mkdirhier(os.path.dirname(localpath))
fetchcmd += " -O %s" % shlex.quote(localpath)
fetchcmd += " --output-document=%s" % shlex.quote(localpath)
if ud.user and ud.pswd:
fetchcmd += " --auth-no-challenge"
@@ -122,12 +122,7 @@ class Wget(FetchMethod):
fetchcmd += " --user=%s --password=%s" % (ud.user, ud.pswd)
uri = ud.url.split(";")[0]
if os.path.exists(ud.localpath):
# file exists, but we didnt complete it.. trying again..
fetchcmd += " -c -P " + dldir + " '" + uri + "'"
else:
fetchcmd += " -P " + dldir + " '" + uri + "'"
fetchcmd += " --continue --directory-prefix=%s '%s'" % (dldir, uri)
self._runwget(ud, d, fetchcmd, False)
# Sanity check since wget can pretend it succeed when it didn't
@@ -305,13 +300,45 @@ class Wget(FetchMethod):
class FixedHTTPRedirectHandler(urllib.request.HTTPRedirectHandler):
"""
urllib2.HTTPRedirectHandler resets the method to GET on redirect,
when we want to follow redirects using the original method.
urllib2.HTTPRedirectHandler before 3.13 has two flaws:
It resets the method to GET on redirect when we want to follow
redirects using the original method (typically HEAD). This was fixed
in 759e8e7.
It also doesn't handle 308 (Permanent Redirect). This was fixed in
c379bc5.
Until we depend on Python 3.13 onwards, copy the redirect_request
method to fix these issues.
"""
def redirect_request(self, req, fp, code, msg, headers, newurl):
newreq = urllib.request.HTTPRedirectHandler.redirect_request(self, req, fp, code, msg, headers, newurl)
newreq.get_method = req.get_method
return newreq
m = req.get_method()
if (not (code in (301, 302, 303, 307, 308) and m in ("GET", "HEAD")
or code in (301, 302, 303) and m == "POST")):
raise urllib.HTTPError(req.full_url, code, msg, headers, fp)
# Strictly (according to RFC 2616), 301 or 302 in response to
# a POST MUST NOT cause a redirection without confirmation
# from the user (of urllib.request, in this case). In practice,
# essentially all clients do redirect in this case, so we do
# the same.
# Be conciliant with URIs containing a space. This is mainly
# redundant with the more complete encoding done in http_error_302(),
# but it is kept for compatibility with other callers.
newurl = newurl.replace(' ', '%20')
CONTENT_HEADERS = ("content-length", "content-type")
newheaders = {k: v for k, v in req.headers.items()
if k.lower() not in CONTENT_HEADERS}
return urllib.request.Request(newurl,
method="HEAD" if m == "HEAD" else "GET",
headers=newheaders,
origin_req_host=req.origin_req_host,
unverifiable=True)
http_error_308 = urllib.request.HTTPRedirectHandler.http_error_302
# We need to update the environment here as both the proxy and HTTPS
# handlers need variables set. The proxy needs http_proxy and friends to
@@ -344,8 +371,8 @@ class Wget(FetchMethod):
opener = urllib.request.build_opener(*handlers)
try:
uri_base = ud.url.split(";")[0]
uri = "{}://{}{}".format(urllib.parse.urlparse(uri_base).scheme, ud.host, ud.path)
parts = urllib.parse.urlparse(ud.url.split(";")[0])
uri = "{}://{}{}".format(parts.scheme, parts.netloc, parts.path)
r = urllib.request.Request(uri)
r.get_method = lambda: "HEAD"
# Some servers (FusionForge, as used on Alioth) require that the
@@ -458,7 +485,7 @@ class Wget(FetchMethod):
f = tempfile.NamedTemporaryFile()
with tempfile.TemporaryDirectory(prefix="wget-index-") as workdir, tempfile.NamedTemporaryFile(dir=workdir, prefix="wget-listing-") as f:
fetchcmd = self.basecmd
fetchcmd += " -O " + f.name + " '" + uri + "'"
fetchcmd += " --output-document=%s '%s'" % (f.name, uri)
try:
self._runwget(ud, d, fetchcmd, True, workdir=workdir)
fetchresult = f.read()
@@ -618,13 +645,17 @@ class Wget(FetchMethod):
sanity check to ensure same name and type.
"""
package = ud.path.split("/")[-1]
if 'downloadfilename' in ud.parm:
package = ud.parm['downloadfilename']
else:
package = ud.path.split("/")[-1]
current_version = ['', d.getVar('PV'), '']
"""possible to have no version in pkg name, such as spectrum-fw"""
if not re.search(r"\d+", package):
current_version[1] = re.sub('_', '.', current_version[1])
current_version[1] = re.sub('-', '.', current_version[1])
bb.debug(3, "latest_versionstring: no version found in %s" % package)
return (current_version[1], '')
package_regex = self._init_regexes(package, ud, d)

View File

@@ -43,6 +43,21 @@ class IncludeNode(AstNode):
else:
bb.parse.ConfHandler.include(self.filename, s, self.lineno, data, False)
class IncludeAllNode(AstNode):
def __init__(self, filename, lineno, what_file):
AstNode.__init__(self, filename, lineno)
self.what_file = what_file
def eval(self, data):
"""
Include the file and evaluate the statements
"""
s = data.expand(self.what_file)
logger.debug2("CONF %s:%s: including %s", self.filename, self.lineno, s)
for path in data.getVar("BBPATH").split(":"):
bb.parse.ConfHandler.include(self.filename, os.path.join(path, s), self.lineno, data, False)
class ExportNode(AstNode):
def __init__(self, filename, lineno, var):
AstNode.__init__(self, filename, lineno)
@@ -137,7 +152,10 @@ class DataNode(AstNode):
flag = None
if 'flag' in groupd and groupd['flag'] is not None:
flag = groupd['flag']
if groupd["lazyques"]:
flag = "_defaultval_flag_"+groupd['flag']
else:
flag = groupd['flag']
elif groupd["lazyques"]:
flag = "_defaultval"
@@ -366,6 +384,9 @@ class AddFragmentsNode(AstNode):
def handleInclude(statements, filename, lineno, m, force):
statements.append(IncludeNode(filename, lineno, m.group(1), force))
def handleIncludeAll(statements, filename, lineno, m):
statements.append(IncludeAllNode(filename, lineno, m.group(1)))
def handleExport(statements, filename, lineno, m):
statements.append(ExportNode(filename, lineno, m.group(1)))
@@ -419,6 +440,30 @@ def runAnonFuncs(d):
code.append("%s(d)" % funcname)
bb.utils.better_exec("\n".join(code), {"d": d})
# Handle recipe level PREFERRED_PROVIDERs
def handleVirtRecipeProviders(tasklist, d):
depends = (d.getVar("DEPENDS") or "").split()
virtprovs = (d.getVar("BB_RECIPE_VIRTUAL_PROVIDERS") or "").split()
newdeps = []
for dep in depends:
if dep in virtprovs:
newdep = d.getVar("PREFERRED_PROVIDER_" + dep)
if not newdep:
bb.fatal("Error, recipe virtual provider PREFERRED_PROVIDER_%s not set" % dep)
newdeps.append(newdep)
else:
newdeps.append(dep)
d.setVar("DEPENDS", " ".join(newdeps))
for task in tasklist:
taskdeps = (d.getVarFlag(task, "depends") or "").split()
remapped = []
for entry in taskdeps:
r, t = entry.split(":")
if r in virtprovs:
r = d.getVar("PREFERRED_PROVIDER_" + r)
remapped.append("%s:%s" % (r, t))
d.setVarFlag(task, "depends", " ".join(remapped))
def finalize(fn, d, variant = None):
saved_handlers = bb.event.get_handlers().copy()
try:
@@ -444,6 +489,7 @@ def finalize(fn, d, variant = None):
tasklist = d.getVar('__BBTASKS', False) or []
bb.event.fire(bb.event.RecipeTaskPreProcess(fn, list(tasklist)), d)
handleVirtRecipeProviders(tasklist, d)
bb.build.add_tasks(tasklist, d)
bb.parse.siggen.finalise(fn, d, variant)

View File

@@ -20,7 +20,7 @@ from bb.parse import ParseError, resolve_file, ast, logger, handle
__config_regexp__ = re.compile( r"""
^
(?P<exp>export\s+)?
(?P<var>[a-zA-Z0-9\-_+.${}/~:]+?)
(?P<var>[a-zA-Z0-9\-_+.${}/~:]*?)
(\[(?P<flag>[a-zA-Z0-9\-_+.][a-zA-Z0-9\-_+.@/]*)\])?
\s* (
@@ -43,6 +43,7 @@ __config_regexp__ = re.compile( r"""
""", re.X)
__include_regexp__ = re.compile( r"include\s+(.+)" )
__require_regexp__ = re.compile( r"require\s+(.+)" )
__includeall_regexp__ = re.compile( r"include_all\s+(.+)" )
__export_regexp__ = re.compile( r"export\s+([a-zA-Z0-9\-_+.${}/~]+)$" )
__unset_regexp__ = re.compile( r"unset\s+([a-zA-Z0-9\-_+.${}/~]+)$" )
__unset_flag_regexp__ = re.compile( r"unset\s+([a-zA-Z0-9\-_+.${}/~]+)\[([a-zA-Z0-9\-_+.][a-zA-Z0-9\-_+.@]+)\]$" )
@@ -165,6 +166,8 @@ def feeder(lineno, s, fn, statements, baseconfig=False, conffile=True):
m = __config_regexp__.match(s)
if m:
groupd = m.groupdict()
if groupd['var'] == "":
raise ParseError("Empty variable name in assignment: '%s'" % s, fn, lineno);
ast.handleData(statements, fn, lineno, groupd)
return
@@ -178,6 +181,11 @@ def feeder(lineno, s, fn, statements, baseconfig=False, conffile=True):
ast.handleInclude(statements, fn, lineno, m, True)
return
m = __includeall_regexp__.match(s)
if m:
ast.handleIncludeAll(statements, fn, lineno, m)
return
m = __export_regexp__.match(s)
if m:
ast.handleExport(statements, fn, lineno, m)

View File

@@ -477,7 +477,6 @@ class RunQueueData:
self.runtaskentries = {}
def runq_depends_names(self, ids):
import re
ret = []
for id in ids:
nam = os.path.basename(id)
@@ -730,6 +729,8 @@ class RunQueueData:
if mc == frommc:
fn = taskData[mcdep].build_targets[pn][0]
newdep = '%s:%s' % (fn,deptask)
if newdep not in taskData[mcdep].taskentries:
bb.fatal("Task mcdepends on non-existent task %s" % (newdep))
taskData[mc].taskentries[tid].tdepends.append(newdep)
for mc in taskData:

View File

@@ -450,17 +450,64 @@ class TestFlags(unittest.TestCase):
self.d = bb.data.init()
self.d.setVar("foo", "value of foo")
self.d.setVarFlag("foo", "flag1", "value of flag1")
self.d.setVarFlag("foo", "_defaultval_flag_flag1", "default of flag1")
self.d.setVarFlag("foo", "flag2", "value of flag2")
self.d.setVarFlag("foo", "_defaultval_flag_flag2", "default of flag2")
self.d.setVarFlag("foo", "flag3", "value of flag3")
self.d.setVarFlag("foo", "_defaultval_flag_flagnovalue", "default of flagnovalue")
def test_setflag(self):
self.assertEqual(self.d.getVarFlag("foo", "flag1", False), "value of flag1")
self.assertEqual(self.d.getVarFlag("foo", "flag2", False), "value of flag2")
self.assertDictEqual(
self.d.getVarFlags("foo"),
{
"flag1": "value of flag1",
"flag2": "value of flag2",
"flag3": "value of flag3",
"flagnovalue": "default of flagnovalue",
}
)
self.assertDictEqual(
self.d.getVarFlags("foo", internalflags=True),
{
"_content": "value of foo",
"flag1": "value of flag1",
"flag2": "value of flag2",
"flag3": "value of flag3",
"_defaultval_flag_flag1": "default of flag1",
"_defaultval_flag_flag2": "default of flag2",
"_defaultval_flag_flagnovalue": "default of flagnovalue",
}
)
def test_delflag(self):
self.d.delVarFlag("foo", "flag2")
self.d.delVarFlag("foo", "flag3")
self.assertEqual(self.d.getVarFlag("foo", "flag1", False), "value of flag1")
self.assertEqual(self.d.getVarFlag("foo", "flag2", False), None)
self.assertDictEqual(
self.d.getVarFlags("foo"),
{
"flag1": "value of flag1",
"flagnovalue": "default of flagnovalue",
}
)
self.assertDictEqual(
self.d.getVarFlags("foo", internalflags=True),
{
"_content": "value of foo",
"flag1": "value of flag1",
"_defaultval_flag_flag1": "default of flag1",
"_defaultval_flag_flagnovalue": "default of flagnovalue",
}
)
def test_delvar(self):
self.d.delVar("foo")
self.assertEqual(self.d.getVarFlag("foo", "flag1", False), None)
self.assertEqual(self.d.getVarFlag("foo", "flag2", False), None)
self.assertEqual(self.d.getVarFlags("foo", internalflags=True), None)
class Contains(unittest.TestCase):
def setUp(self):

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -75,6 +75,59 @@ unset B[flag]
self.assertEqual(d.getVarFlag("A","flag"), None)
self.assertEqual(d.getVar("B"), "2")
defaulttest = """
A = "set value"
A ??= "default value"
A[flag_set_vs_question] = "set flag"
A[flag_set_vs_question] ?= "question flag"
A[flag_set_vs_default] = "set flag"
A[flag_set_vs_default] ??= "default flag"
A[flag_question] ?= "question flag"
A[flag_default] ??= "default flag"
A[flag_question_vs_default] ?= "question flag"
A[flag_question_vs_default] ??= "default flag"
A[flag_default_vs_question] ??= "default flag"
A[flag_default_vs_question] ?= "question flag"
A[flag_set_question_default] = "set flag"
A[flag_set_question_default] ?= "question flag"
A[flag_set_question_default] ??= "default flag"
A[flag_set_default_question] = "set flag"
A[flag_set_default_question] ??= "default flag"
A[flag_set_default_question] ?= "question flag"
A[flag_set_twice] = "set flag first"
A[flag_set_twice] = "set flag second"
A[flag_question_twice] ?= "question flag first"
A[flag_question_twice] ?= "question flag second"
A[flag_default_twice] ??= "default flag first"
A[flag_default_twice] ??= "default flag second"
"""
def test_parse_defaulttest(self):
f = self.parsehelper(self.defaulttest)
d = bb.parse.handle(f.name, self.d)['']
self.assertEqual(d.getVar("A"), "set value")
self.assertEqual(d.getVarFlag("A","flag_set_vs_question"), "set flag")
self.assertEqual(d.getVarFlag("A","flag_set_vs_default"), "set flag")
self.assertEqual(d.getVarFlag("A","flag_question"), "question flag")
self.assertEqual(d.getVarFlag("A","flag_default"), "default flag")
self.assertEqual(d.getVarFlag("A","flag_question_vs_default"), "question flag")
self.assertEqual(d.getVarFlag("A","flag_default_vs_question"), "question flag")
self.assertEqual(d.getVarFlag("A","flag_set_question_default"), "set flag")
self.assertEqual(d.getVarFlag("A","flag_set_default_question"), "set flag")
self.assertEqual(d.getVarFlag("A","flag_set_twice"), "set flag second")
self.assertEqual(d.getVarFlag("A","flag_question_twice"), "question flag first")
self.assertEqual(d.getVarFlag("A","flag_default_twice"), "default flag second")
exporttest = """
A = "a"
export B = "b"
@@ -348,3 +401,65 @@ EXPORT_FUNCTIONS do_compile do_compilepython
self.assertIn("else", d.getVar("do_compilepython"))
check_function_flags(d)
export_function_unclosed_tab = """
do_compile () {
bb.note("Something")
\t}
"""
export_function_unclosed_space = """
do_compile () {
bb.note("Something")
}
"""
export_function_residue = """
do_compile () {
bb.note("Something")
}
include \\
"""
def test_unclosed_functions(self):
def test_helper(content, expected_error):
with tempfile.TemporaryDirectory() as tempdir:
recipename = tempdir + "/recipe_unclosed.bb"
with open(recipename, "w") as f:
f.write(content)
f.flush()
os.chdir(tempdir)
with self.assertRaises(bb.parse.ParseError) as error:
bb.parse.handle(recipename, bb.data.createCopy(self.d))
self.assertIn(expected_error, str(error.exception))
with tempfile.TemporaryDirectory() as tempdir:
test_helper(self.export_function_unclosed_tab, "Unparsed lines from unclosed function")
test_helper(self.export_function_unclosed_space, "Unparsed lines from unclosed function")
test_helper(self.export_function_residue, "Unparsed lines")
recipename_closed = tempdir + "/recipe_closed.bb"
with open(recipename_closed, "w") as in_file:
lines = self.export_function_unclosed_tab.split("\n")
lines[3] = "}"
in_file.write("\n".join(lines))
in_file.flush()
bb.parse.handle(recipename_closed, bb.data.createCopy(self.d))
special_character_assignment = """
A+="a"
A+ = "b"
+ = "c"
"""
ambigous_assignment = """
+= "d"
"""
def test_parse_special_character_assignment(self):
f = self.parsehelper(self.special_character_assignment)
d = bb.parse.handle(f.name, self.d)['']
self.assertEqual(d.getVar("A"), " a")
self.assertEqual(d.getVar("A+"), "b")
self.assertEqual(d.getVar("+"), "c")
f = self.parsehelper(self.ambigous_assignment)
with self.assertRaises(bb.parse.ParseError) as error:
bb.parse.handle(f.name, self.d)
self.assertIn("Empty variable name in assignment", str(error.exception))

View File

@@ -9,7 +9,7 @@ def stamptask(d):
with open(stampname, "a+") as f:
f.write(d.getVar("BB_UNIHASH") + "\n")
if d.getVar("BB_CURRENT_MC") != "default":
if d.getVar("BB_CURRENT_MC") != "":
thistask = d.expand("${BB_CURRENT_MC}:${PN}:${BB_CURRENTTASK}")
if thistask in d.getVar("SLOWTASKS").split():
bb.note("Slowing task %s" % thistask)

View File

@@ -0,0 +1,2 @@
do_build[mcdepends] = "mc::mc-1:h1:do_invalid"

View File

@@ -26,7 +26,7 @@ class RunQueueTests(unittest.TestCase):
a1_sstatevalid = "a1:do_package a1:do_package_qa a1:do_packagedata a1:do_package_write_ipk a1:do_package_write_rpm a1:do_populate_lic a1:do_populate_sysroot"
b1_sstatevalid = "b1:do_package b1:do_package_qa b1:do_packagedata b1:do_package_write_ipk b1:do_package_write_rpm b1:do_populate_lic b1:do_populate_sysroot"
def run_bitbakecmd(self, cmd, builddir, sstatevalid="", slowtasks="", extraenv=None, cleanup=False):
def run_bitbakecmd(self, cmd, builddir, sstatevalid="", slowtasks="", extraenv=None, cleanup=False, allowfailure=False):
env = os.environ.copy()
env["BBPATH"] = os.path.realpath(os.path.join(os.path.dirname(__file__), "runqueue-tests"))
env["BB_ENV_PASSTHROUGH_ADDITIONS"] = "SSTATEVALID SLOWTASKS TOPDIR"
@@ -41,6 +41,8 @@ class RunQueueTests(unittest.TestCase):
output = subprocess.check_output(cmd, env=env, stderr=subprocess.STDOUT,universal_newlines=True, cwd=builddir)
print(output)
except subprocess.CalledProcessError as e:
if allowfailure:
return e.output
self.fail("Command %s failed with %s" % (cmd, e.output))
tasks = []
tasklog = builddir + "/task.log"
@@ -314,6 +316,13 @@ class RunQueueTests(unittest.TestCase):
["mc_2:a1:%s" % t for t in rerun_tasks]
self.assertEqual(set(tasks), set(expected))
# Check that a multiconfig that doesn't exist rasies a correct error message
error_output = self.run_bitbakecmd(["bitbake", "g1"], tempdir, "", extraenv=extraenv, cleanup=True, allowfailure=True)
self.assertIn("non-existent task", error_output)
# If the word 'Traceback' or 'KeyError' is in the output we've regressed
self.assertNotIn("Traceback", error_output)
self.assertNotIn("KeyError", error_output)
self.shutdown(tempdir)
def test_hashserv_single(self):

View File

@@ -130,6 +130,14 @@ class Checksum(unittest.TestCase):
checksum = bb.utils.sha256_file(f.name)
self.assertEqual(checksum, "fcfbae8bf6b721dbb9d2dc6a9334a58f2031a9a9b302999243f99da4d7f12d0f")
def test_goh1(self):
import hashlib
with tempfile.NamedTemporaryFile() as f:
f.write(self.filler)
f.flush()
checksum = bb.utils.goh1_file(f.name)
self.assertEqual(checksum, "81191f04d4abf413e5badd234814e4202d9efa73e6f9437e9ddd6b8165b569ef")
class EditMetadataFile(unittest.TestCase):
_origfile = """
# A comment

View File

@@ -15,6 +15,7 @@ import atexit
import re
from collections import OrderedDict, defaultdict
from functools import partial
from contextlib import contextmanager
import bb.cache
import bb.cooker
@@ -188,11 +189,19 @@ class TinfoilCookerAdapter:
self._cache[name] = attrvalue
return attrvalue
class TinfoilSkiplistByMcAdapter:
def __init__(self, tinfoil):
self.tinfoil = tinfoil
def __getitem__(self, mc):
return self.tinfoil.get_skipped_recipes(mc)
def __init__(self, tinfoil):
self.tinfoil = tinfoil
self.multiconfigs = [''] + (tinfoil.config_data.getVar('BBMULTICONFIG') or '').split()
self.collections = {}
self.recipecaches = {}
self.skiplist_by_mc = self.TinfoilSkiplistByMcAdapter(tinfoil)
for mc in self.multiconfigs:
self.collections[mc] = self.TinfoilCookerCollectionAdapter(tinfoil, mc)
self.recipecaches[mc] = self.TinfoilRecipeCacheAdapter(tinfoil, mc)
@@ -201,8 +210,6 @@ class TinfoilCookerAdapter:
# Grab these only when they are requested since they aren't always used
if name in self._cache:
return self._cache[name]
elif name == 'skiplist':
attrvalue = self.tinfoil.get_skipped_recipes()
elif name == 'bbfile_config_priorities':
ret = self.tinfoil.run_command('getLayerPriorities')
bbfile_config_priorities = []
@@ -514,12 +521,12 @@ class Tinfoil:
"""
return defaultdict(list, self.run_command('getOverlayedRecipes', mc))
def get_skipped_recipes(self):
def get_skipped_recipes(self, mc=''):
"""
Find recipes which were skipped (i.e. SkipRecipe was raised
during parsing).
"""
return OrderedDict(self.run_command('getSkippedRecipes'))
return OrderedDict(self.run_command('getSkippedRecipes', mc))
def get_all_providers(self, mc=''):
return defaultdict(list, self.run_command('allProviders', mc))
@@ -533,6 +540,7 @@ class Tinfoil:
def get_runtime_providers(self, rdep):
return self.run_command('getRuntimeProviders', rdep)
# TODO: teach this method about mc
def get_recipe_file(self, pn):
"""
Get the file name for the specified recipe/target. Raises
@@ -541,6 +549,7 @@ class Tinfoil:
"""
best = self.find_best_provider(pn)
if not best or (len(best) > 3 and not best[3]):
# TODO: pass down mc
skiplist = self.get_skipped_recipes()
taskdata = bb.taskdata.TaskData(None, skiplist=skiplist)
skipreasons = taskdata.get_reasons(pn)
@@ -633,11 +642,28 @@ class Tinfoil:
fn = self.get_recipe_file(pn)
return self.parse_recipe_file(fn)
@contextmanager
def _data_tracked_if_enabled(self):
"""
A context manager to enable data tracking for a code segment if data
tracking was enabled for this tinfoil instance.
"""
if self.tracking:
# Enable history tracking just for the operation
self.run_command('enableDataTracking')
# Here goes the operation with the optional data tracking
yield
if self.tracking:
self.run_command('disableDataTracking')
def finalizeData(self):
"""
Run anonymous functions and expand keys
"""
return self._reconvert_type(self.run_command('finalizeData'), 'DataStoreConnectionHandle')
with self._data_tracked_if_enabled():
return self._reconvert_type(self.run_command('finalizeData'), 'DataStoreConnectionHandle')
def parse_recipe_file(self, fn, appends=True, appendlist=None, config_data=None):
"""
@@ -651,10 +677,7 @@ class Tinfoil:
appendlist: optional list of bbappend files to apply, if you
want to filter them
"""
if self.tracking:
# Enable history tracking just for the parse operation
self.run_command('enableDataTracking')
try:
with self._data_tracked_if_enabled():
if appends and appendlist == []:
appends = False
if config_data:
@@ -666,9 +689,6 @@ class Tinfoil:
return self._reconvert_type(dscon, 'DataStoreConnectionHandle')
else:
return None
finally:
if self.tracking:
self.run_command('disableDataTracking')
def build_file(self, buildfile, task, internal=True):
"""

View File

@@ -31,7 +31,7 @@ class BBUIHelper:
if isinstance(event, bb.build.TaskStarted):
tid = event._fn + ":" + event._task
if event._mc != "default":
if event._mc != "":
self.running_tasks[tid] = { 'title' : "mc:%s:%s %s" % (event._mc, event._package, event._task), 'starttime' : time.time(), 'pid' : event.pid }
else:
self.running_tasks[tid] = { 'title' : "%s %s" % (event._package, event._task), 'starttime' : time.time(), 'pid' : event.pid }

View File

@@ -11,11 +11,8 @@ import re, fcntl, os, string, stat, shutil, time
import sys
import errno
import logging
import bb
import bb.msg
import locale
import multiprocessing
import fcntl
import importlib
import importlib.machinery
import importlib.util
@@ -24,7 +21,6 @@ import subprocess
import glob
import fnmatch
import traceback
import errno
import signal
import collections
import copy
@@ -36,6 +32,8 @@ import tempfile
from subprocess import getstatusoutput
from contextlib import contextmanager
from ctypes import cdll
import bb
import bb.msg
logger = logging.getLogger("BitBake.Util")
python_extensions = importlib.machinery.all_suffixes()
@@ -585,6 +583,31 @@ def sha512_file(filename):
import hashlib
return _hasher(hashlib.sha512(), filename)
def goh1_file(filename):
"""
Return the hex string representation of the Go mod h1 checksum of the
filename. The Go mod h1 checksum uses the Go dirhash package. The package
defines hashes over directory trees and is used by go mod for mod files and
zip archives.
"""
import hashlib
import zipfile
lines = []
if zipfile.is_zipfile(filename):
with zipfile.ZipFile(filename) as archive:
for fn in sorted(archive.namelist()):
method = hashlib.sha256()
method.update(archive.read(fn))
hash = method.hexdigest()
lines.append("%s %s\n" % (hash, fn))
else:
hash = _hasher(hashlib.sha256(), filename)
lines.append("%s go.mod\n" % hash)
method = hashlib.sha256()
method.update("".join(lines).encode('utf-8'))
return method.hexdigest()
def preserved_envvars_exported():
"""Variables which are taken from the environment and placed in and exported
from the metadata"""
@@ -1432,8 +1455,6 @@ def edit_bblayers_conf(bblayers_conf, add, remove, edit_cb=None):
but weren't (because they weren't in the list)
"""
import fnmatch
def remove_trailing_sep(pth):
if pth and pth[-1] == os.sep:
pth = pth[:-1]
@@ -1624,7 +1645,7 @@ def ioprio_set(who, cls, value):
bb.warn("Unable to set IO Prio for arch %s" % _unamearch)
def set_process_name(name):
from ctypes import cdll, byref, create_string_buffer
from ctypes import byref, create_string_buffer
# This is nice to have for debugging, not essential
try:
libc = cdll.LoadLibrary('libc.so.6')
@@ -1858,12 +1879,30 @@ def path_is_descendant(descendant, ancestor):
# If we don't have a timeout of some kind and a process/thread exits badly (for example
# OOM killed) and held a lock, we'd just hang in the lock futex forever. It is better
# we exit at some point than hang. 5 minutes with no progress means we're probably deadlocked.
# This function can still deadlock python since it can't signal the other threads to exit
# (signals are handled in the main thread) and even os._exit() will wait on non-daemon threads
# to exit.
@contextmanager
def lock_timeout(lock):
held = lock.acquire(timeout=5*60)
try:
s = signal.pthread_sigmask(signal.SIG_BLOCK, signal.valid_signals())
held = lock.acquire(timeout=5*60)
if not held:
bb.server.process.serverlog("Couldn't get the lock for 5 mins, timed out, exiting.\n%s" % traceback.format_stack())
os._exit(1)
yield held
finally:
lock.release()
signal.pthread_sigmask(signal.SIG_SETMASK, s)
# A version of lock_timeout without the check that the lock was locked and a shorter timeout
@contextmanager
def lock_timeout_nocheck(lock):
try:
s = signal.pthread_sigmask(signal.SIG_BLOCK, signal.valid_signals())
l = lock.acquire(timeout=10)
yield l
finally:
if l:
lock.release()
signal.pthread_sigmask(signal.SIG_SETMASK, s)

View File

@@ -142,10 +142,10 @@ skipped recipes will also be listed, with a " (skipped)" suffix.
# Ensure we list skipped recipes
# We are largely guessing about PN, PV and the preferred version here,
# but we have no choice since skipped recipes are not fully parsed
skiplist = list(self.tinfoil.cooker.skiplist.keys())
mcspec = 'mc:%s:' % mc
skiplist = list(self.tinfoil.cooker.skiplist_by_mc[mc].keys())
if mc:
skiplist = [s[len(mcspec):] for s in skiplist if s.startswith(mcspec)]
skiplist = [s.removeprefix(f'mc:{mc}:') for s in skiplist]
for fn in skiplist:
recipe_parts = os.path.splitext(os.path.basename(fn))[0].split('_')
@@ -162,7 +162,7 @@ skipped recipes will also be listed, with a " (skipped)" suffix.
def print_item(f, pn, ver, layer, ispref):
if not selected_layer or layer == selected_layer:
if not bare and f in skiplist:
skipped = ' (skipped: %s)' % self.tinfoil.cooker.skiplist[f].skipreason
skipped = ' (skipped: %s)' % self.tinfoil.cooker.skiplist_by_mc[mc][f].skipreason
else:
skipped = ''
if show_filenames:
@@ -301,7 +301,7 @@ Lists recipes with the bbappends that apply to them as subitems.
if self.show_appends_for_pn(pn, cooker_data, args.mc):
appends = True
if not args.pnspec and self.show_appends_for_skipped():
if not args.pnspec and self.show_appends_for_skipped(args.mc):
appends = True
if not appends:
@@ -317,9 +317,9 @@ Lists recipes with the bbappends that apply to them as subitems.
return self.show_appends_output(filenames, best_filename)
def show_appends_for_skipped(self):
def show_appends_for_skipped(self, mc):
filenames = [os.path.basename(f)
for f in self.tinfoil.cooker.skiplist.keys()]
for f in self.tinfoil.cooker.skiplist_by_mc[mc].keys()]
return self.show_appends_output(filenames, None, " (skipped)")
def show_appends_output(self, filenames, best_filename, name_suffix = ''):

View File

@@ -835,6 +835,5 @@ class FeatureNotFound(ValueError):
#If this file is run as a script, act as an HTML pretty-printer.
if __name__ == '__main__':
import sys
soup = BeautifulSoup(sys.stdin)
print((soup.prettify()))

View File

@@ -17,7 +17,6 @@ import tempfile
import time
import traceback
import sys
import cProfile
def diagnose(data):
"""Diagnostic suite for isolating common problems.

View File

@@ -78,6 +78,7 @@ class AsyncClient(bb.asyncrpc.AsyncClient):
MODE_NORMAL = 0
MODE_GET_STREAM = 1
MODE_EXIST_STREAM = 2
MODE_MARK_STREAM = 3
def __init__(self, username=None, password=None):
super().__init__("OEHASHEQUIV", "1.1", logger)
@@ -164,6 +165,8 @@ class AsyncClient(bb.asyncrpc.AsyncClient):
await normal_to_stream("get-stream")
elif new_mode == self.MODE_EXIST_STREAM:
await normal_to_stream("exists-stream")
elif new_mode == self.MODE_MARK_STREAM:
await normal_to_stream("gc-mark-stream")
elif new_mode != self.MODE_NORMAL:
raise Exception("Undefined mode transition {self.mode!r} -> {new_mode!r}")
@@ -306,6 +309,24 @@ class AsyncClient(bb.asyncrpc.AsyncClient):
"""
return await self.invoke({"gc-mark": {"mark": mark, "where": where}})
async def gc_mark_stream(self, mark, rows):
"""
Similar to `gc-mark`, but accepts a list of "where" key-value pair
conditions. It utilizes stream mode to mark hashes, which helps reduce
the impact of latency when communicating with the hash equivalence
server.
"""
def row_to_dict(row):
pairs = row.split()
return dict(zip(pairs[::2], pairs[1::2]))
responses = await self.send_stream_batch(
self.MODE_MARK_STREAM,
(json.dumps({"mark": mark, "where": row_to_dict(row)}) for row in rows),
)
return {"count": sum(int(json.loads(r)["count"]) for r in responses)}
async def gc_sweep(self, mark):
"""
Finishes garbage collection for "mark". All unihash entries that have
@@ -351,6 +372,7 @@ class Client(bb.asyncrpc.Client):
"get_db_query_columns",
"gc_status",
"gc_mark",
"gc_mark_stream",
"gc_sweep",
)

View File

@@ -10,6 +10,7 @@ import math
import time
import os
import base64
import json
import hashlib
from . import create_async_client
import bb.asyncrpc
@@ -256,6 +257,7 @@ class ServerClient(bb.asyncrpc.AsyncServerConnection):
"backfill-wait": self.handle_backfill_wait,
"remove": self.handle_remove,
"gc-mark": self.handle_gc_mark,
"gc-mark-stream": self.handle_gc_mark_stream,
"gc-sweep": self.handle_gc_sweep,
"gc-status": self.handle_gc_status,
"clean-unused": self.handle_clean_unused,
@@ -583,6 +585,33 @@ class ServerClient(bb.asyncrpc.AsyncServerConnection):
return {"count": await self.db.gc_mark(mark, condition)}
@permissions(DB_ADMIN_PERM)
async def handle_gc_mark_stream(self, request):
async def handler(line):
try:
decoded_line = json.loads(line)
except json.JSONDecodeError as exc:
raise bb.asyncrpc.InvokeError(
"Could not decode JSONL input '%s'" % line
) from exc
try:
mark = decoded_line["mark"]
condition = decoded_line["where"]
if not isinstance(mark, str):
raise TypeError("Bad mark type %s" % type(mark))
if not isinstance(condition, dict):
raise TypeError("Bad condition type %s" % type(condition))
except KeyError as exc:
raise bb.asyncrpc.InvokeError(
"Input line is missing key '%s' " % exc
) from exc
return json.dumps({"count": await self.db.gc_mark(mark, condition)})
return await self._stream_handler(handler)
@permissions(DB_ADMIN_PERM)
async def handle_gc_sweep(self, request):
mark = request["mark"]

View File

@@ -969,6 +969,48 @@ class HashEquivalenceCommonTests(object):
# First hash is still present
self.assertClientGetHash(self.client, taskhash, unihash)
def test_gc_stream(self):
taskhash = '53b8dce672cb6d0c73170be43f540460bfc347b4'
outhash = '5a9cb1649625f0bf41fc7791b635cd9c2d7118c7f021ba87dcd03f72b67ce7a8'
unihash = 'f37918cc02eb5a520b1aff86faacbc0a38124646'
result = self.client.report_unihash(taskhash, self.METHOD, outhash, unihash)
self.assertEqual(result['unihash'], unihash, 'Server returned bad unihash')
taskhash2 = '3bf6f1e89d26205aec90da04854fbdbf73afe6b4'
outhash2 = '77623a549b5b1a31e3732dfa8fe61d7ce5d44b3370f253c5360e136b852967b4'
unihash2 = 'af36b199320e611fbb16f1f277d3ee1d619ca58b'
result = self.client.report_unihash(taskhash2, self.METHOD, outhash2, unihash2)
self.assertClientGetHash(self.client, taskhash2, unihash2)
taskhash3 = 'a1117c1f5a7c9ab2f5a39cc6fe5e6152169d09c0'
outhash3 = '7289c414905303700a1117c1f5a7c9ab2f5a39cc6fe5e6152169d09c04f9a53c'
unihash3 = '905303700a1117c1f5a7c9ab2f5a39cc6fe5e615'
result = self.client.report_unihash(taskhash3, self.METHOD, outhash3, unihash3)
self.assertClientGetHash(self.client, taskhash3, unihash3)
# Mark the first unihash to be kept
ret = self.client.gc_mark_stream("ABC", (f"unihash {h}" for h in [unihash, unihash2]))
self.assertEqual(ret, {"count": 2})
ret = self.client.gc_status()
self.assertEqual(ret, {"mark": "ABC", "keep": 2, "remove": 1})
# Third hash is still there; mark doesn't delete hashes
self.assertClientGetHash(self.client, taskhash3, unihash3)
ret = self.client.gc_sweep("ABC")
self.assertEqual(ret, {"count": 1})
# Hash is gone. Taskhash is returned for second hash
self.assertClientGetHash(self.client, taskhash3, None)
# First hash is still present
self.assertClientGetHash(self.client, taskhash, unihash)
# Second hash is still present
self.assertClientGetHash(self.client, taskhash2, unihash2)
def test_gc_switch_mark(self):
taskhash = '53b8dce672cb6d0c73170be43f540460bfc347b4'
outhash = '5a9cb1649625f0bf41fc7791b635cd9c2d7118c7f021ba87dcd03f72b67ce7a8'

View File

@@ -1122,7 +1122,6 @@ class LRParser:
# manipulate the rules that make up a grammar.
# -----------------------------------------------------------------------------
import re
# regex matching identifiers
_is_identifier = re.compile(r'^[a-zA-Z0-9_-]+$')

View File

@@ -0,0 +1,38 @@
#!/usr/bin/env python3
#
# Copyright (C) 2025 Linux Foundation
# SPDX-License-Identifier: GPL-2.0-only
#
import json
import urllib.request
import gen_fixtures as fixtures
RELEASE_URL = "https://dashboard.yoctoproject.org/releases.json"
with urllib.request.urlopen(RELEASE_URL) as response:
if response.getcode() == 200:
data = response.read().decode("utf-8")
releases = json.loads(data)
else:
print("Couldn't access %s: %s" % (RELEASE_URL, reponse.getcode()))
exit(1)
# grab the recent release branches and add master, so we can ignore old branches
active_releases = [
e["release_codename"].lower() for e in releases if e["series"] == "current"
]
active_releases.append("master")
active_releases.append("head")
fixtures_releases = [x[0].lower() for x in fixtures.current_releases]
if set(active_releases) != set(fixtures_releases):
print("WARNING: Active releases don't match toaster configured releases, the difference is: %s" % set(active_releases).difference(set(fixtures_releases)))
print("Active releases: %s" % sorted(active_releases))
print("Toaster configured releases: %s" % sorted(fixtures_releases))
else:
print("Success, configuration matches")

View File

@@ -41,15 +41,15 @@ current_releases = [
# Release slot #3 'master'
['Master','master','','Yocto Project master','master','','master'],
# Release slot #4
['Walnascar','5.2','April 2025','5.2.0 (April 2024)','Support for 7 months (until October 2025)','','2.12'],
['Styhead','5.1','November 2024','5.1.0 (November 2024)','Support for 7 months (until May 2025)','','2.10'],
# ['Nanbield','4.3','November 2023','4.3.0 (November 2023)','Support for 7 months (until May 2024)','','2.6'],
# ['Mickledore','4.2','April 2023','4.2.0 (April 2023)','Support for 7 months (until October 2023)','','2.4'],
# ['Langdale','4.1','October 2022','4.1.2 (January 2023)','Support for 7 months (until May 2023)','','2.2'],
#['Nanbield','4.3','November 2023','4.3.0 (November 2023)','Support for 7 months (until May 2024)','','2.6'],
#['Mickledore','4.2','April 2023','4.2.0 (April 2023)','Support for 7 months (until October 2023)','','2.4'],
#['Langdale','4.1','October 2022','4.1.2 (January 2023)','Support for 7 months (until May 2023)','','2.2'],
['Kirkstone','4.0','April 2022','4.0.8 (March 2023)','Stable - Long Term Support (until Apr. 2024)','','2.0'],
# ['Honister','3.4','October 2021','3.4.2 (February 2022)','Support for 7 months (until May 2022)','26.0','1.52'],
# ['Hardknott','3.3','April 2021','3.3.5 (March 2022)','Stable - Support for 13 months (until Apr. 2022)','25.0','1.50'],
# ['Gatesgarth','3.2','Oct 2020','3.2.4 (May 2021)','EOL','24.0','1.48'],
# Optional Release slot #5
#['Honister','3.4','October 2021','3.4.2 (February 2022)','Support for 7 months (until May 2022)','26.0','1.52'],
#['Hardknott','3.3','April 2021','3.3.5 (March 2022)','Stable - Support for 13 months (until Apr. 2022)','25.0','1.50'],
#['Gatesgarth','3.2','Oct 2020','3.2.4 (May 2021)','EOL','24.0','1.48'],
#['Dunfell','3.1','April 2020','3.1.23 (February 2023)','Stable - Long Term Support (until Apr. 2024)','23.0','1.46'],
]

View File

@@ -23,11 +23,16 @@
<field type="CharField" name="branch">master</field>
</object>
<object model="orm.bitbakeversion" pk="4">
<field type="CharField" name="name">walnascar</field>
<field type="CharField" name="giturl">git://git.openembedded.org/bitbake</field>
<field type="CharField" name="branch">2.12</field>
</object>
<object model="orm.bitbakeversion" pk="5">
<field type="CharField" name="name">styhead</field>
<field type="CharField" name="giturl">git://git.openembedded.org/bitbake</field>
<field type="CharField" name="branch">2.10</field>
</object>
<object model="orm.bitbakeversion" pk="5">
<object model="orm.bitbakeversion" pk="6">
<field type="CharField" name="name">kirkstone</field>
<field type="CharField" name="giturl">git://git.openembedded.org/bitbake</field>
<field type="CharField" name="branch">2.0</field>
@@ -56,16 +61,23 @@
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href=\"https://cgit.openembedded.org/openembedded-core/log/\"&gt;OpenEmbedded master&lt;/a&gt; branch.</field>
</object>
<object model="orm.release" pk="4">
<field type="CharField" name="name">walnascar</field>
<field type="CharField" name="description">Openembedded Walnascar</field>
<field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">4</field>
<field type="CharField" name="branch_name">walnascar</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href=\"https://cgit.openembedded.org/openembedded-core/log/?h=walnascar\"&gt;OpenEmbedded Walnascar&lt;/a&gt; branch.</field>
</object>
<object model="orm.release" pk="5">
<field type="CharField" name="name">styhead</field>
<field type="CharField" name="description">Openembedded Styhead</field>
<field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">4</field>
<field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">5</field>
<field type="CharField" name="branch_name">styhead</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href=\"https://cgit.openembedded.org/openembedded-core/log/?h=styhead\"&gt;OpenEmbedded Styhead&lt;/a&gt; branch.</field>
</object>
<object model="orm.release" pk="5">
<object model="orm.release" pk="6">
<field type="CharField" name="name">kirkstone</field>
<field type="CharField" name="description">Openembedded Kirkstone</field>
<field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">5</field>
<field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">6</field>
<field type="CharField" name="branch_name">kirkstone</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href=\"https://cgit.openembedded.org/openembedded-core/log/?h=kirkstone\"&gt;OpenEmbedded Kirkstone&lt;/a&gt; branch.</field>
</object>
@@ -91,6 +103,10 @@
<field rel="ManyToOneRel" to="orm.release" name="release">5</field>
<field type="CharField" name="layer_name">openembedded-core</field>
</object>
<object model="orm.releasedefaultlayer" pk="6">
<field rel="ManyToOneRel" to="orm.release" name="release">6</field>
<field type="CharField" name="layer_name">openembedded-core</field>
</object>
<!-- Layer for the Local release -->

View File

@@ -26,12 +26,18 @@
<field type="CharField" name="dirpath">bitbake</field>
</object>
<object model="orm.bitbakeversion" pk="4">
<field type="CharField" name="name">walnascar</field>
<field type="CharField" name="giturl">git://git.yoctoproject.org/poky</field>
<field type="CharField" name="branch">walnascar</field>
<field type="CharField" name="dirpath">bitbake</field>
</object>
<object model="orm.bitbakeversion" pk="5">
<field type="CharField" name="name">styhead</field>
<field type="CharField" name="giturl">git://git.yoctoproject.org/poky</field>
<field type="CharField" name="branch">styhead</field>
<field type="CharField" name="dirpath">bitbake</field>
</object>
<object model="orm.bitbakeversion" pk="5">
<object model="orm.bitbakeversion" pk="6">
<field type="CharField" name="name">kirkstone</field>
<field type="CharField" name="giturl">git://git.yoctoproject.org/poky</field>
<field type="CharField" name="branch">kirkstone</field>
@@ -62,16 +68,23 @@
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href="https://git.yoctoproject.org/cgit/cgit.cgi/poky/log/"&gt;Yocto Project Master branch&lt;/a&gt;.</field>
</object>
<object model="orm.release" pk="4">
<field type="CharField" name="name">walnascar</field>
<field type="CharField" name="description">Yocto Project 5.2 "Walnascar"</field>
<field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">4</field>
<field type="CharField" name="branch_name">walnascar</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href="https://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=walnascar"&gt;Yocto Project Walnascar branch&lt;/a&gt;.</field>
</object>
<object model="orm.release" pk="5">
<field type="CharField" name="name">styhead</field>
<field type="CharField" name="description">Yocto Project 5.1 "Styhead"</field>
<field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">4</field>
<field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">5</field>
<field type="CharField" name="branch_name">styhead</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href="https://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=styhead"&gt;Yocto Project Styhead branch&lt;/a&gt;.</field>
</object>
<object model="orm.release" pk="5">
<object model="orm.release" pk="6">
<field type="CharField" name="name">kirkstone</field>
<field type="CharField" name="description">Yocto Project 4.0 "Kirkstone"</field>
<field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">5</field>
<field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">6</field>
<field type="CharField" name="branch_name">kirkstone</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href="https://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=kirkstone"&gt;Yocto Project Kirkstone branch&lt;/a&gt;.</field>
</object>
@@ -137,6 +150,18 @@
<field rel="ManyToOneRel" to="orm.release" name="release">5</field>
<field type="CharField" name="layer_name">meta-yocto-bsp</field>
</object>
<object model="orm.releasedefaultlayer" pk="16">
<field rel="ManyToOneRel" to="orm.release" name="release">6</field>
<field type="CharField" name="layer_name">openembedded-core</field>
</object>
<object model="orm.releasedefaultlayer" pk="17">
<field rel="ManyToOneRel" to="orm.release" name="release">6</field>
<field type="CharField" name="layer_name">meta-poky</field>
</object>
<object model="orm.releasedefaultlayer" pk="18">
<field rel="ManyToOneRel" to="orm.release" name="release">6</field>
<field type="CharField" name="layer_name">meta-yocto-bsp</field>
</object>
<!-- Default layers provided by poky
openembedded-core
@@ -177,13 +202,20 @@
<field rel="ManyToOneRel" to="orm.layer" name="layer">1</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">4</field>
<field type="CharField" name="branch">styhead</field>
<field type="CharField" name="branch">walnascar</field>
<field type="CharField" name="dirpath">meta</field>
</object>
<object model="orm.layer_version" pk="5">
<field rel="ManyToOneRel" to="orm.layer" name="layer">1</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">5</field>
<field type="CharField" name="branch">styhead</field>
<field type="CharField" name="dirpath">meta</field>
</object>
<object model="orm.layer_version" pk="6">
<field rel="ManyToOneRel" to="orm.layer" name="layer">1</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">6</field>
<field type="CharField" name="branch">kirkstone</field>
<field type="CharField" name="dirpath">meta</field>
</object>
@@ -196,14 +228,14 @@
<field type="CharField" name="vcs_web_tree_base_url">https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/%path%?h=%branch%</field>
<field type="CharField" name="vcs_web_file_base_url">https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/%path%?h=%branch%</field>
</object>
<object model="orm.layer_version" pk="6">
<object model="orm.layer_version" pk="7">
<field rel="ManyToOneRel" to="orm.layer" name="layer">2</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">1</field>
<field type="CharField" name="branch">scarthgap</field>
<field type="CharField" name="dirpath">meta-poky</field>
</object>
<object model="orm.layer_version" pk="7">
<object model="orm.layer_version" pk="8">
<field rel="ManyToOneRel" to="orm.layer" name="layer">2</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">2</field>
@@ -211,24 +243,31 @@
<field type="CharField" name="commit">HEAD</field>
<field type="CharField" name="dirpath">meta-poky</field>
</object>
<object model="orm.layer_version" pk="8">
<object model="orm.layer_version" pk="9">
<field rel="ManyToOneRel" to="orm.layer" name="layer">2</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">3</field>
<field type="CharField" name="branch">master</field>
<field type="CharField" name="dirpath">meta-poky</field>
</object>
<object model="orm.layer_version" pk="9">
<field rel="ManyToOneRel" to="orm.layer" name="layer">2</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">4</field>
<field type="CharField" name="branch">styhead</field>
<field type="CharField" name="dirpath">meta-poky</field>
</object>
<object model="orm.layer_version" pk="10">
<field rel="ManyToOneRel" to="orm.layer" name="layer">2</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">4</field>
<field type="CharField" name="branch">walnascar</field>
<field type="CharField" name="dirpath">meta-poky</field>
</object>
<object model="orm.layer_version" pk="11">
<field rel="ManyToOneRel" to="orm.layer" name="layer">2</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">5</field>
<field type="CharField" name="branch">styhead</field>
<field type="CharField" name="dirpath">meta-poky</field>
</object>
<object model="orm.layer_version" pk="12">
<field rel="ManyToOneRel" to="orm.layer" name="layer">2</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">6</field>
<field type="CharField" name="branch">kirkstone</field>
<field type="CharField" name="dirpath">meta-poky</field>
</object>
@@ -241,14 +280,14 @@
<field type="CharField" name="vcs_web_tree_base_url">https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/%path%?h=%branch%</field>
<field type="CharField" name="vcs_web_file_base_url">https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/%path%?h=%branch%</field>
</object>
<object model="orm.layer_version" pk="11">
<object model="orm.layer_version" pk="13">
<field rel="ManyToOneRel" to="orm.layer" name="layer">3</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">1</field>
<field type="CharField" name="branch">scarthgap</field>
<field type="CharField" name="dirpath">meta-yocto-bsp</field>
</object>
<object model="orm.layer_version" pk="12">
<object model="orm.layer_version" pk="14">
<field rel="ManyToOneRel" to="orm.layer" name="layer">3</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">2</field>
@@ -256,24 +295,31 @@
<field type="CharField" name="commit">HEAD</field>
<field type="CharField" name="dirpath">meta-yocto-bsp</field>
</object>
<object model="orm.layer_version" pk="13">
<object model="orm.layer_version" pk="15">
<field rel="ManyToOneRel" to="orm.layer" name="layer">3</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">3</field>
<field type="CharField" name="branch">master</field>
<field type="CharField" name="dirpath">meta-yocto-bsp</field>
</object>
<object model="orm.layer_version" pk="14">
<object model="orm.layer_version" pk="16">
<field rel="ManyToOneRel" to="orm.layer" name="layer">3</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">4</field>
<field type="CharField" name="branch">styhead</field>
<field type="CharField" name="branch">walnascar</field>
<field type="CharField" name="dirpath">meta-yocto-bsp</field>
</object>
<object model="orm.layer_version" pk="15">
<object model="orm.layer_version" pk="17">
<field rel="ManyToOneRel" to="orm.layer" name="layer">3</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">5</field>
<field type="CharField" name="branch">styhead</field>
<field type="CharField" name="dirpath">meta-yocto-bsp</field>
</object>
<object model="orm.layer_version" pk="18">
<field rel="ManyToOneRel" to="orm.layer" name="layer">3</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">6</field>
<field type="CharField" name="branch">kirkstone</field>
<field type="CharField" name="dirpath">meta-yocto-bsp</field>
</object>

View File

@@ -79,7 +79,6 @@ if 'sqlite' in settings.DATABASES['default']['ENGINE']:
# end of HACK
class GitURLValidator(validators.URLValidator):
import re
regex = re.compile(
r'^(?:ssh|git|http|ftp)s?://' # http:// or https://
r'(?:(?:[A-Z0-9](?:[A-Z0-9-]{0,61}[A-Z0-9])?\.)+(?:[A-Z]{2,6}\.?|[A-Z0-9-]{2,}\.?)|' # domain...
@@ -1500,7 +1499,7 @@ class Layer_Version(models.Model):
# code lifted, with adaptations, from the layerindex-web application
# https://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/
def _handle_url_path(self, base_url, path):
import re, posixpath
import posixpath
if base_url:
if self.dirpath:
if path:

View File

@@ -50,10 +50,10 @@ class TestCreateNewProject(SeleniumFunctionalTestCase):
def test_create_new_project_kirkstone(self):
""" Test create new project using:
- Project Name: Any string
- Release: Yocto Project 4.0 "Kirkstone" (option value: 4)
- Release: Yocto Project 4.0 "Kirkstone" (option value: 6)
- Merge Toaster settings: True
"""
release = '5'
release = '6'
release_title = 'Yocto Project 4.0 "Kirkstone"'
project_name = 'projectkirkstone'
self.create_new_project(

View File

@@ -233,7 +233,6 @@ def filter_sizeovertotal(package_object, total_size):
return '{:.1%}'.format(float(size)/float(total_size))
from django.utils.safestring import mark_safe
@register.filter
def format_vpackage_rowclass(size):
if size == -1:

View File

@@ -372,7 +372,6 @@ def _get_parameters_values(request, default_count, default_order):
# set cookies for parameters. this is usefull in case parameters are set
# manually from the GET values of the link
def _set_parameters_values(pagesize, orderby, request):
from django.urls import resolve
current_url = resolve(request.path_info).url_name
request.session['%s_count' % current_url] = pagesize
request.session['%s_orderby' % current_url] =orderby
@@ -699,7 +698,6 @@ class LazyEncoder(json.JSONEncoder):
return super(LazyEncoder, self).default(obj)
from toastergui.templatetags.projecttags import filtered_filesizeformat
import os
def _get_dir_entries(build_id, target_id, start):
node_str = {
Target_File.ITYPE_REGULAR : '-',

View File

@@ -298,7 +298,6 @@ SOUTH_TESTS_MIGRATE = False
# We automatically detect and install applications here if
# they have a 'models.py' or 'views.py' file
import os
currentdir = os.path.dirname(__file__)
for t in os.walk(os.path.dirname(currentdir)):
modulename = os.path.basename(t[0])

View File

@@ -44,7 +44,7 @@ following requirements:
much more will help to run multiple builds and increase
performance by reusing build artifacts.
- At least &MIN_RAM; Gbytes of RAM, though a modern modern build host with as
- At least &MIN_RAM; Gbytes of RAM, though a modern build host with as
much RAM and as many CPU cores as possible is strongly recommended to
maximize build performance.
@@ -78,7 +78,7 @@ You must install essential host packages on your build host. The
following command installs the host packages based on an Ubuntu
distribution::
$ sudo apt install &UBUNTU_HOST_PACKAGES_ESSENTIAL;
$ sudo apt install &UBUNTU_DEBIAN_HOST_PACKAGES_ESSENTIAL;
.. note::

View File

@@ -166,7 +166,7 @@ section.
BSPs, which are maintained in their own layers or in layers designed
to contain several BSPs. To get an idea of machine support through
BSP layers, you can look at the
:yocto_dl:`index of machines </releases/yocto/yocto-&DISTRO;/machines>`
:yocto_dl:`index of machines </releases/yocto/&DISTRO_REL_LATEST_TAG;/machines>`
for the release.
#. *Optionally Clone the meta-intel BSP Layer:* If your hardware is

View File

@@ -111,6 +111,9 @@ extlinks = {
'wikipedia': ('https://en.wikipedia.org/wiki/%s', None),
}
# To be able to use :manpage:`<something>` in the docs.
manpages_url = 'https://manpages.debian.org/{path}'
# Intersphinx config to use cross reference with BitBake user manual
intersphinx_mapping = {
'bitbake': ('https://docs.yoctoproject.org/bitbake/' + bitbake_version, None)
@@ -136,6 +139,7 @@ except ImportError:
sys.exit(1)
html_logo = 'sphinx-static/YoctoProject_Logo_RGB.jpg'
html_favicon = 'sphinx-static/favicon.ico'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,

View File

@@ -47,10 +47,10 @@ Debian policy closely.
When a recipe references a git revision that does not correspond to a released
version of software (e.g. is not a tagged version), the :term:`PV` variable
should include the Git revision using the following to make the
version clear::
should include the sign ``+``, so :term:`bitbake` automatically includes package
version information during the packaging phase::
PV = "<version>+git${SRCPV}"
PV = "<version>+git"
In this case, ``<version>`` should be the most recently released version of the
software from the current source revision (``git describe`` can be useful for

View File

@@ -65,6 +65,13 @@ use to identify your commits::
git config --global user.name "Ada Lovelace"
git config --global user.email "ada.lovelace@gmail.com"
By default, Git adds a signature line at the end of patches containing the Git
version. We suggest to remove it as it doesn't add useful information.
Remove it with the following command::
git config --global format.signature ""
Clone the Git repository for the component to modify
----------------------------------------------------
@@ -825,3 +832,52 @@ Other layers may have similar testing branches but there is no formal
requirement or standard for these so please check the documentation for the
layers you are contributing to.
Acceptance of AI Generated Code
===============================
The Yocto Project and OpenEmbedded follow the guidance of the Linux Foundation
in regards to the use of generative AI tools. See:
https://www.linuxfoundation.org/legal/generative-ai.
All of the existing guidelines in this document are expected to be followed,
including in the :doc:`recipe-style-guide`, and contributing the changes with
additional requirements to the items in section
:ref:`contributor-guide/submit-changes:Implement and commit changes`.
All AI Generated Code must be labeled as such in the commit message,
prior to your ``Signed-off-by`` line. It is also strongly recommended,
that any patches or code within the commit also have a comment or other
indication that this code was AI generated.
For example, here is a properly formatted commit message::
component: Add the ability to ...
AI-Generated: Uses GitHub Copilot
Signed-off-by: Your Name <your.name@domain>
The ``Signed-off-by`` line must be written by you, and not the AI helper.
As a reminder, when contributing a change, your ``Signed-off-by`` line is
required and the stipulations in the `Developer's Statement of Origin
1.1 <https://developercertificate.org/>`__ still apply.
Additionally, you must stipulate AI contributions conform to the Linux
Foundation policy, specifically:
#. Contributors should ensure that the terms and conditions of the generative AI
tool do not place any contractual restrictions on how the tool's output can
be used that are inconsistent with the project's open source software
license, the project's intellectual property policies, or the Open Source
Definition.
#. If any pre-existing copyrighted materials (including pre-existing open
source code) authored or owned by third parties are included in the AI tool's
output, prior to contributing such output to the project, the Contributor
should confirm that they have permission from the third party
owners -- such as the form of an open source license or public domain
declaration that complies with the project's licensing policies -- to use and
modify such pre-existing materials and contribute them to the project.
Additionally, the contributor should provide notice and attribution of such
third party rights, along with information about the applicable license
terms, with their contribution.

View File

@@ -1,13 +1,13 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Flashing Images Using ``bmaptool``
**********************************
Flashing Images Using `bmaptool`
********************************
A fast and easy way to flash an image to a bootable device is to use
bmaptool, which is integrated into the OpenEmbedded build system.
bmaptool is a generic tool that creates a file's block map (bmap) and
`bmaptool`, which is integrated into the OpenEmbedded build system.
`bmaptool` is a generic tool that creates a file's block map (bmap) and
then uses that map to copy the file. As compared to traditional tools
such as dd or cp, bmaptool can copy (or flash) large files like raw
such as `dd` or `cp`, `bmaptool` can copy (or flash) large files like raw
system image files much faster.
.. note::
@@ -20,13 +20,13 @@ system image files much faster.
$ sudo apt install bmap-tools
- If you are unable to install the ``bmap-tools`` package, you will
need to build bmaptool before using it. Use the following command::
need to build `bmaptool` before using it. Use the following command::
$ bitbake bmaptool-native
$ bitbake bmaptool-native -caddto_recipe_sysroot
Following, is an example that shows how to flash a Wic image. Realize
that while this example uses a Wic image, you can use bmaptool to flash
any type of image. Use these steps to flash an image using bmaptool:
that while this example uses a Wic image, you can use `bmaptool` to flash
any type of image. Use these steps to flash an image using `bmaptool`:
#. *Update your local.conf File:* You need to have the following set
in your ``local.conf`` file before building your image::
@@ -39,18 +39,17 @@ any type of image. Use these steps to flash an image using bmaptool:
$ bitbake image
#. *Flash the Device:* Flash the device with the image by using bmaptool
#. *Flash the Device:* Flash the device with the image by using `bmaptool`
depending on your particular setup. The following commands assume the
image resides in the :term:`Build Directory`'s ``deploy/images/`` area:
- If you have write access to the media, use this command form::
- If you installed the package for `bmaptool`, you can directly run::
$ oe-run-native bmaptool-native bmaptool copy build-directory/tmp/deploy/images/machine/image.wic /dev/sdX
$ sudo bmaptool copy build-directory/tmp/deploy/images/machine/image.wic /dev/sdX
- If you do not have write access to the media, set your permissions
first and then use the same command form::
- Otherwise, if you built `bmaptool` with BitBake, run::
$ sudo chmod 666 /dev/sdX
$ sudo chmod a+w /dev/sdX # get write access to the media, needed only once after booting
$ oe-run-native bmaptool-native bmaptool copy build-directory/tmp/deploy/images/machine/image.wic /dev/sdX
For help on the ``bmaptool`` command, use the following command::

View File

@@ -236,7 +236,7 @@ Here is an example of ``image-info.txt``:
DISTRO_VERSION = 3.4+snapshot-a0245d7be08f3d24ea1875e9f8872aa6bbff93be
USER_CLASSES = buildstats
IMAGE_CLASSES = qemuboot qemuboot license_image
IMAGE_FEATURES = debug-tweaks
IMAGE_FEATURES = allow-empty-password empty-root-password allow-root-login post-install-logging
IMAGE_LINGUAS =
IMAGE_INSTALL = packagegroup-core-boot speex speexdsp
BAD_RECOMMENDATIONS =

View File

@@ -113,160 +113,8 @@ The following figure and list overviews the build process:
Building Images for Multiple Targets Using Multiple Configurations
==================================================================
You can use a single ``bitbake`` command to build multiple images or
packages for different targets where each image or package requires a
different configuration (multiple configuration builds). The builds, in
this scenario, are sometimes referred to as "multiconfigs", and this
section uses that term throughout.
This section describes how to set up for multiple configuration builds
and how to account for cross-build dependencies between the
multiconfigs.
Setting Up and Running a Multiple Configuration Build
-----------------------------------------------------
To accomplish a multiple configuration build, you must define each
target's configuration separately using a parallel configuration file in
the :term:`Build Directory` or configuration directory within a layer, and you
must follow a required file hierarchy. Additionally, you must enable the
multiple configuration builds in your ``local.conf`` file.
Follow these steps to set up and execute multiple configuration builds:
- *Create Separate Configuration Files*: You need to create a single
configuration file for each build target (each multiconfig).
The configuration definitions are implementation dependent but often
each configuration file will define the machine and the
temporary directory BitBake uses for the build. Whether the same
temporary directory (:term:`TMPDIR`) can be shared will depend on what is
similar and what is different between the configurations. Multiple MACHINE
targets can share the same (:term:`TMPDIR`) as long as the rest of the
configuration is the same, multiple :term:`DISTRO` settings would need separate
(:term:`TMPDIR`) directories.
For example, consider a scenario with two different multiconfigs for the same
:term:`MACHINE`: "qemux86" built
for two distributions such as "poky" and "poky-lsb". In this case,
you would need to use the different :term:`TMPDIR`.
Here is an example showing the minimal statements needed in a
configuration file for a "qemux86" target whose temporary build
directory is ``tmpmultix86``::
MACHINE = "qemux86"
TMPDIR = "${TOPDIR}/tmpmultix86"
The location for these multiconfig configuration files is specific.
They must reside in the current :term:`Build Directory` in a sub-directory of
``conf`` named ``multiconfig`` or within a layer's ``conf`` directory
under a directory named ``multiconfig``. Here is an example that defines
two configuration files for the "x86" and "arm" multiconfigs:
.. image:: figures/multiconfig_files.png
:align: center
:width: 50%
The usual :term:`BBPATH` search path is used to locate multiconfig files in
a similar way to other conf files.
- *Add the BitBake Multi-configuration Variable to the Local
Configuration File*: Use the
:term:`BBMULTICONFIG`
variable in your ``conf/local.conf`` configuration file to specify
each multiconfig. Continuing with the example from the previous
figure, the :term:`BBMULTICONFIG` variable needs to enable two
multiconfigs: "x86" and "arm" by specifying each configuration file::
BBMULTICONFIG = "x86 arm"
.. note::
A "default" configuration already exists by definition. This
configuration is named: "" (i.e. empty string) and is defined by
the variables coming from your ``local.conf``
file. Consequently, the previous example actually adds two
additional configurations to your build: "arm" and "x86" along
with "".
- *Launch BitBake*: Use the following BitBake command form to launch
the multiple configuration build::
$ bitbake [mc:multiconfigname:]target [[[mc:multiconfigname:]target] ... ]
For the example in this section, the following command applies::
$ bitbake mc:x86:core-image-minimal mc:arm:core-image-sato mc::core-image-base
The previous BitBake command builds a ``core-image-minimal`` image
that is configured through the ``x86.conf`` configuration file, a
``core-image-sato`` image that is configured through the ``arm.conf``
configuration file and a ``core-image-base`` that is configured
through your ``local.conf`` configuration file.
.. note::
Support for multiple configuration builds in the Yocto Project &DISTRO;
(&DISTRO_NAME;) Release does not include Shared State (sstate)
optimizations. Consequently, if a build uses the same object twice
in, for example, two different :term:`TMPDIR`
directories, the build either loads from an existing sstate cache for
that build at the start or builds the object fresh.
Enabling Multiple Configuration Build Dependencies
--------------------------------------------------
Sometimes dependencies can exist between targets (multiconfigs) in a
multiple configuration build. For example, suppose that in order to
build a ``core-image-sato`` image for an "x86" multiconfig, the root
filesystem of an "arm" multiconfig must exist. This dependency is
essentially that the
:ref:`ref-tasks-image` task in the
``core-image-sato`` recipe depends on the completion of the
:ref:`ref-tasks-rootfs` task of the
``core-image-minimal`` recipe.
To enable dependencies in a multiple configuration build, you must
declare the dependencies in the recipe using the following statement
form::
task_or_package[mcdepends] = "mc:from_multiconfig:to_multiconfig:recipe_name:task_on_which_to_depend"
To better show how to use this statement, consider the example scenario
from the first paragraph of this section. The following statement needs
to be added to the recipe that builds the ``core-image-sato`` image::
do_image[mcdepends] = "mc:x86:arm:core-image-minimal:do_rootfs"
In this example, the `from_multiconfig` is "x86". The `to_multiconfig` is "arm". The
task on which the :ref:`ref-tasks-image` task in the recipe depends is the
:ref:`ref-tasks-rootfs` task from the ``core-image-minimal`` recipe associated
with the "arm" multiconfig.
Once you set up this dependency, you can build the "x86" multiconfig
using a BitBake command as follows::
$ bitbake mc:x86:core-image-sato
This command executes all the tasks needed to create the
``core-image-sato`` image for the "x86" multiconfig. Because of the
dependency, BitBake also executes through the :ref:`ref-tasks-rootfs` task for the
"arm" multiconfig build.
Having a recipe depend on the root filesystem of another build might not
seem that useful. Consider this change to the statement in the
``core-image-sato`` recipe::
do_image[mcdepends] = "mc:x86:arm:core-image-minimal:do_image"
In this case, BitBake must
create the ``core-image-minimal`` image for the "arm" build since the
"x86" build depends on it.
Because "x86" and "arm" are enabled for multiple configuration builds
and have separate configuration files, BitBake places the artifacts for
each build in the respective temporary build directories (i.e.
:term:`TMPDIR`).
See the :doc:`multiconfig` section of the Yocto Project Development Tasks
Manual.
Building an Initial RAM Filesystem (Initramfs) Image
====================================================
@@ -280,7 +128,9 @@ Follow these steps to create an :term:`Initramfs` image:
#. *Create the Initramfs Image Recipe:* You can reference the
``core-image-minimal-initramfs.bb`` recipe found in the
``meta/recipes-core`` directory of the :term:`Source Directory`
as an example from which to work.
as an example from which to work. The ``core-image-minimal-initramfs`` recipe
is based on the :ref:`initramfs-framework <dev-manual/building:Customizing an
Initramfs using \`\`initramfs-framework\`\`>` recipe described below.
#. *Decide if You Need to Bundle the Initramfs Image Into the Kernel
Image:* If you want the :term:`Initramfs` image that is built to be bundled
@@ -308,6 +158,86 @@ Follow these steps to create an :term:`Initramfs` image:
and bundled with the kernel image if you used the
:term:`INITRAMFS_IMAGE_BUNDLE` variable described earlier.
Customizing an Initramfs using ``initramfs-framework``
------------------------------------------------------
The ``core-image-minimal-initramfs.bb`` recipe found in
:oe_git:`meta/recipes-core/images
</openembedded-core/tree/meta/recipes-core/images>` uses the
:oe_git:`initramfs-framework_1.0.bb
</openembedded-core/tree/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb>`
recipe as its base component. The goal of the ``initramfs-framework`` recipe is
to provide the building blocks to build a customized :term:`Initramfs`.
The ``initramfs-framework`` recipe relies on shell initialization scripts
defined in :oe_git:`meta/recipes-core/initrdscripts/initramfs-framework
</openembedded-core/tree/meta/recipes-core/initrdscripts/initramfs-framework>`. Since some of
these scripts do not apply for all use cases, the ``initramfs-framework`` recipe
defines different packages:
- ``initramfs-framework-base``: this package installs the basic components of
an :term:`Initramfs`, such as the ``init`` script or the ``/dev/console``
character special file. As this package is a runtime dependency of all
modules listed below, it is automatically pulled in when one of the modules
is installed in the image.
- ``initramfs-module-exec``: support for execution of applications.
- ``initramfs-module-mdev``: support for `mdev
<https://wiki.gentoo.org/wiki/Mdev>`__.
- ``initramfs-module-udev``: support for :wikipedia:`Udev <Udev>`.
- ``initramfs-module-e2fs``: support for :wikipedia:`ext4/ext3/ext2
<Extended_file_system>` filesystems.
- ``initramfs-module-nfsrootfs``: support for locating and mounting the root
partition via :wikipedia:`NFS <Network_File_System>`.
- ``initramfs-module-rootfs``: support for locating and mounting the root
partition.
- ``initramfs-module-debug``: dynamic debug support.
- ``initramfs-module-lvm``: :wikipedia:`LVM <Logical_volume_management>` rootfs support.
- ``initramfs-module-overlayroot``: support for mounting a read-write overlay
on top of a read-only root filesystem.
In addition to the packages defined by the ``initramfs-framework`` recipe
itself, the following packages are defined by the recipes present in
:oe_git:`meta/recipes-core/initrdscripts </openembedded-core/tree/meta/recipes-core/initrdscripts>`:
- ``initramfs-module-install``: module to create and install a partition layout
on a selected block device.
- ``initramfs-module-install-efi``: module to create and install an EFI
partition layout on a selected block device.
- ``initramfs-module-setup-live``: module to start a shell in the
:term:`Initramfs` if ``root=/dev/ram0`` in passed in the `Kernel command-line
<https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html>`__
or the ``root=`` parameter was not passed.
To customize the :term:`Initramfs`, you can add or remove packages listed
earlier from the :term:`PACKAGE_INSTALL` variable with a :ref:`bbappend
<dev-manual/layers:Appending Other Layers Metadata With Your Layer>` on the
``core-image-minimal-initramfs`` recipe, or create a custom recipe for the
:term:`Initramfs` taking ``core-image-minimal-initramfs`` as example.
Custom scripts can be added to the :term:`Initramfs` by writing your own
recipes. The recipes are conventionally named ``initramfs-module-<module name>``
where ``<module name>`` is the name of the module. The recipe should set its
:term:`RDEPENDS` package-specific variables to include
``initramfs-framework-base`` and the other packages on which the module depends
at runtime.
The recipe must install shell initialization scripts in :term:`${D} <D>`\
``/init.d`` and must follow the ``<number>-<script name>`` naming scheme where:
- ``<number>`` is a *two-digit* number that affects the execution order of the
script compared to others. For example, the script ``80-setup-live`` would be
executed after ``01-udev`` because 80 is greater than 01.
This number being two-digits is important here as the scripts are executed
alphabetically. For example, the script ``10-script`` would be executed
before the script ``8-script``, because ``1`` is inferior to ``8``.
Therefore, the script should be named ``08-script``.
- ``<script name>`` is the script name which you can choose freely.
If two script use the same ``<number>``, they are sorted alphabetically based
on ``<script name>``.
Bundling an Initramfs Image From a Separate Multiconfig
-------------------------------------------------------

View File

@@ -62,8 +62,7 @@ To understand how these features work, the best reference is
:ref:`meta/classes-recipe/image.bbclass <ref-classes-image>`.
This class lists out the available
:term:`IMAGE_FEATURES` of which most map to package groups while some, such
as ``debug-tweaks`` and ``read-only-rootfs``, resolve as general
configuration settings.
as ``read-only-rootfs``, resolve as general configuration settings.
In summary, the file looks at the contents of the :term:`IMAGE_FEATURES`
variable and then maps or configures the feature accordingly. Based on
@@ -80,15 +79,14 @@ recipe that are enabled with :term:`IMAGE_FEATURES`. The value of
:term:`EXTRA_IMAGE_FEATURES` is added to :term:`IMAGE_FEATURES` within
``meta/conf/bitbake.conf``.
To illustrate how you can use these variables to modify your image,
consider an example that selects the SSH server. The Yocto Project ships
with two SSH servers you can use with your images: Dropbear and OpenSSH.
Dropbear is a minimal SSH server appropriate for resource-constrained
environments, while OpenSSH is a well-known standard SSH server
implementation. By default, the ``core-image-sato`` image is configured
to use Dropbear. The ``core-image-full-cmdline`` and ``core-image-lsb``
images both include OpenSSH. The ``core-image-minimal`` image does not
contain an SSH server.
To illustrate how you can use these variables to modify your image, consider an
example that selects the SSH server. The Yocto Project ships with two SSH
servers you can use with your images: Dropbear and OpenSSH. Dropbear is a
minimal SSH server appropriate for resource-constrained environments, while
OpenSSH is a well-known standard SSH server implementation. By default, the
``core-image-sato`` image is configured to use Dropbear. The
``core-image-full-cmdline`` image includes OpenSSH. The ``core-image-minimal``
image does not contain an SSH server.
You can customize your image and change these defaults. Edit the
:term:`IMAGE_FEATURES` variable in your recipe or use the

File diff suppressed because it is too large Load Diff

View File

@@ -12,10 +12,13 @@ revision number for changes. Currently, you can do this with Apache
Subversion (SVN), Git, and Bazaar (BZR) repositories.
To enable this behavior, the :term:`PV` of
the recipe needs to reference
:term:`SRCPV`. Here is an example::
the recipe needs to include a ``+`` sign in its assignment.
Here is an example::
PV = "1.2.3+git${SRCPV}"
PV = "1.2.3+git"
:term:`Bitbake` later includes the source control information in :term:`PKGV`
during the packaging phase.
Then, you can add the following to your
``local.conf``::

View File

Before

Width:  |  Height:  |  Size: 177 KiB

After

Width:  |  Height:  |  Size: 177 KiB

View File

Before

Width:  |  Height:  |  Size: 168 KiB

After

Width:  |  Height:  |  Size: 168 KiB

View File

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 136 KiB

View File

@@ -20,9 +20,11 @@ Yocto Project Development Tasks Manual
development-shell
python-development-shell
building
multiconfig
speeding-up-build
libraries
prebuilt-libraries
devtool
x32-psabi
gobject-introspection
external-toolchain
@@ -39,7 +41,6 @@ Yocto Project Development Tasks Manual
external-scm
read-only-rootfs
build-quality
runtime-testing
debugging
licenses
security-subjects

View File

@@ -470,11 +470,23 @@ corresponding recipe file. For example, the append file
means the original recipe and append filenames are version
number-specific. If the corresponding recipe is renamed to update to a
newer version, you must also rename and possibly update the
corresponding ``.bbappend`` as well. During the build process, BitBake
displays an error on starting if it detects a ``.bbappend`` file that
does not have a corresponding recipe with a matching name. See the
:term:`BB_DANGLINGAPPENDS_WARNONLY`
variable for information on how to handle this error.
corresponding ``.bbappend`` as well.
During the build process, BitBake displays an error on startup if it detects a
``.bbappend`` file that does not have a corresponding recipe with a matching
name. To handle these errors, the best practice is to rename the ``.bbappend``
to match the original recipe version. This also gives you the opportunity to see
if the ``.bbappend`` is still relevant for the new version of the recipe.
Another method it to use the character ``%`` in the ``.bbappend`` filename. For
example, to append information to every ``6.*`` minor versions of the recipe
``someapp``, the ``someapp_6.%.bbappend`` file can be created. This way, an
error will only be triggered if the ``someapp`` recipe has a major version
update.
Finally, another method to deal with these errors is to use the variable
:term:`BBMASK`, especially in cases where modifying the ``.bbappend`` is not
possible.
Overlaying a File Using Your Layer
----------------------------------

View File

@@ -0,0 +1,312 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Building Images for Multiple Targets With Multiconfig
*****************************************************
You can use a single ``bitbake`` command to build multiple images or
packages for different targets where each image or package requires a
different configuration (multiple configuration builds). The builds, in
this scenario, are sometimes referred to as "multiconfigs", and this
section uses that term throughout.
This section describes how to set up for multiple configuration builds
and how to account for cross-build dependencies between the
multiconfigs.
Setting Up and Running a Multiple Configuration Build
=====================================================
To accomplish a multiple configuration build, you must define each
target's configuration separately using a parallel :term:`configuration file` in
the :term:`Build Directory` or configuration directory within a layer, and you
must follow a required file hierarchy. Additionally, you must enable the
multiple configuration builds in your ``local.conf`` file.
Follow these steps to set up and execute multiple configuration builds:
- *Create Separate Configuration Files*: You need to create a single
:term:`Configuration File` for each build target (each multiconfig).
The configuration definitions are implementation dependent but often
each configuration file will define the :term:`MACHINE` and the
temporary directory (:term:`TMPDIR`) BitBake uses for the build.
.. note::
Whether the same temporary directory (:term:`TMPDIR`) can be shared will
depend on what is similar and what is different between the
configurations. Multiple :term:`MACHINE` targets can share the same
:term:`TMPDIR` as long as the rest of the configuration is the same,
multiple :term:`DISTRO` settings would need separate :term:`TMPDIR`
directories.
For example, consider a scenario with two different multiconfigs for the same
:term:`MACHINE`: "qemux86" built for two distributions such as "poky" and
"poky-lsb". In this case, you would need to use two different :term:`TMPDIR`.
In the general case, using separate :term:`TMPDIR` for the different
multiconfigs is strongly recommended.
The location for these multiconfig configuration files is specific.
They must reside in the current :term:`Build Directory` in a sub-directory of
``conf`` named ``multiconfig`` or within a :term:`Layer`'s ``conf`` directory
under a directory named ``multiconfig``. Here is an example that defines
two configuration files for the "x86" and "arm" multiconfigs:
.. image:: figures/multiconfig_files.png
:align: center
:width: 50%
The usual :term:`BBPATH` search path is used to locate multiconfig files in
a similar way to other configuration files.
Here is an example showing the minimal statements needed in a
:term:`configuration file` named ``qemux86.conf`` for a ``qemux86`` target
whose temporary build directory is ``tmp-qemux86``::
MACHINE = "qemux86"
TMPDIR .= "-${BB_CURRENT_MC}"
BitBake will expand the :term:`BB_CURRENT_MC` variable to the value of the
current multiconfig in use. We append this value to :term:`TMPDIR` so that
any change on the definition of :term:`TMPDIR` will automatically affect the
value of :term:`TMPDIR` for each multiconfig.
- *Add the BitBake Multi-configuration Variable to the Local
Configuration File*: Use the
:term:`BBMULTICONFIG`
variable in your ``conf/local.conf`` configuration file to specify
each multiconfig. Continuing with the example from the previous
figure, the :term:`BBMULTICONFIG` variable needs to enable two
multiconfigs: "x86" and "arm" by specifying each configuration file::
BBMULTICONFIG = "x86 arm"
.. note::
A "default" configuration already exists by definition. This
configuration is named: "" (i.e. empty string) and is defined by
the variables coming from your ``local.conf``
file. Consequently, the previous example actually adds two
additional configurations to your build: "arm" and "x86" along
with "".
- *Launch BitBake*: Use the following BitBake command form to launch
the multiple configuration build::
$ bitbake [mc:multiconfigname:]target [[[mc:multiconfigname:]target] ... ]
For the example in this section, the following command applies::
$ bitbake mc:x86:core-image-minimal mc:arm:core-image-sato mc::core-image-base
The previous BitBake command builds several components:
- A ``core-image-minimal`` image that is configured through the ``x86.conf``
configuration file
- A ``core-image-sato`` image that is configured through the ``arm.conf``
configuration file
- A ``core-image-base`` that is configured through your ``local.conf``
configuration file
.. note::
Support for multiple configuration builds in the Yocto Project &DISTRO;
(&DISTRO_NAME;) Release does not include Shared State (sstate)
optimizations. Consequently, if a build uses the same object twice
in, for example, two different :term:`TMPDIR`
directories, the build either loads from an existing sstate cache for
that build at the start or builds the object fresh.
Enabling Multiple Configuration Build Dependencies
==================================================
Sometimes dependencies can exist between targets (multiconfigs) in a
multiple configuration build. For example, suppose that in order to
build a ``core-image-sato`` image for an "x86" multiconfig, the root
filesystem of an "arm" multiconfig must exist. This dependency is
essentially that the
:ref:`ref-tasks-image` task in the
``core-image-sato`` recipe depends on the completion of the
:ref:`ref-tasks-rootfs` task of the
``core-image-minimal`` recipe.
To enable dependencies in a multiple configuration build, you must
declare the dependencies in the recipe using the following statement
form::
task_or_package[mcdepends] = "mc:from_multiconfig:to_multiconfig:recipe_name:task_on_which_to_depend"
To better show how to use this statement, consider the example scenario
from the first paragraph of this section. The following statement needs
to be added to the recipe that builds the ``core-image-sato`` image::
do_image[mcdepends] = "mc:x86:arm:core-image-minimal:do_rootfs"
In this example, the `from_multiconfig` is "x86". The `to_multiconfig` is "arm". The
task on which the :ref:`ref-tasks-image` task in the recipe depends is the
:ref:`ref-tasks-rootfs` task from the ``core-image-minimal`` recipe associated
with the "arm" multiconfig.
Once you set up this dependency, you can build the "x86" multiconfig
using a BitBake command as follows::
$ bitbake mc:x86:core-image-sato
This command executes all the tasks needed to create the
``core-image-sato`` image for the "x86" multiconfig. Because of the
dependency, BitBake also executes through the :ref:`ref-tasks-rootfs` task for the
"arm" multiconfig build.
Having a recipe depend on the root filesystem of another build might not
seem that useful. Consider this change to the statement in the
``core-image-sato`` recipe::
do_image[mcdepends] = "mc:x86:arm:core-image-minimal:do_image"
In this case, BitBake must
create the ``core-image-minimal`` image for the "arm" build since the
"x86" build depends on it.
Because "x86" and "arm" are enabled for multiple configuration builds
and have separate configuration files, BitBake places the artifacts for
each build in the respective temporary build directories (i.e.
:term:`TMPDIR`).
Suggested best practices
========================
- :term:`TMPDIR` (other than the default set in bitbake.conf) is only set in
``local.conf`` by the user. This means that we should **not** manipulate
:term:`TMPDIR` in any way within the Machine or Distro :term:`configuration
file`.
- A multiconfig should specify a :term:`TMPDIR`, and should specify it by
appending the multiconfig name with :term:`BB_CURRENT_MC`.
- Recipes that are used to transfer the output from a multiconfig build to
another should use ``do_task[mcdepends]`` to trigger the build of the
component, and then transfer the item to the current configuration in
:ref:`ref-tasks-install` and :ref:`ref-tasks-deploy`, assuming the value of
the deployed item based on :term:`TMPDIR`.
The :ref:`ref-tasks-install` and :ref:`ref-tasks-deploy` tasks should look
like this::
do_install() {
install -m 0644 ${TMPDIR}-<multiconfig>/tmp/deploy/images/<machine>/somefile ${D}/some/path
}
do_deploy() {
install -m 0644 ${TMPDIR}-<multiconfig>/tmp/deploy/images/<machine>/somefile ${DEPLOYDIR}/somefile
}
In the example above:
- ``<multiconfig>`` is the multiconfig name as set by the multiconfig
:term:`configuration file` (see the :ref:`dev-manual/multiconfig:Setting
Up and Running a Multiple Configuration Build` section above).
- ``<machine>`` must be the :term:`MACHINE` for which ``somefile`` was built
and deployed. This value may differ from the current :term:`MACHINE` if
the multiconfig :term:`configuration file` overrides it.
- Firmware recipes can set the :term:`INHIBIT_DEFAULT_DEPS` variable to ``1``
if they don't rely on default dependencies such as the standard C library.
Common use case: building baremetal firmware alongside a Linux build
====================================================================
A common use case for multiconfig is to use the default configuration as the
regular Linux build, while one or more multiconfigs can be used to build special
components, such as baremetal firmware. It would also apply to a scenario where
a microcontroller, for example, is companion to a main processor where Linux is
running. This section details how one can achieve these kinds of scenarios with
a multiconfig build.
Adding a multiconfig configuration file and recipe for a baremetal firmware
---------------------------------------------------------------------------
As described in :ref:`dev-manual/multiconfig:Setting Up and Running a Multiple
Configuration Build`, each multiconfig will require a separate
:term:`Configuration File`. In addition, we will define a separate
:term:`TMPDIR` for our baremetal firmware build configuration.
For example, we will define a new ``conf/multiconfig/baremetal-firmware.conf``
as follows::
TMPDIR .= "-${BB_CURRENT_MC}"
TCLIBC = "newlib"
The ``baremetal-firmware.conf`` file configures a separate :term:`TMPDIR` for
holding binaries compiled with the `newlib <https://sourceware.org/newlib/>`__
toolchain (see :term:`TCLIBC`).
.. note::
Here, the default :term:`MACHINE` is not overridden by the multiconfig
configuration file. As a consequence, the architecture of the built baremetal
binaries will be the same. In other cases, where the firmware runs on a
completely different architecture, the :term:`MACHINE` must be overridden.
We then create a recipe ``my-firmware.bb`` that defines how the baremetal
firmware is built. The recipe should contain enough information for the
:term:`OpenEmbedded build system` to properly compile the firmware with our
toolchain. The building tasks may vary depending on the nature of the firmware.
However, the recipe should define a :ref:`ref-classes-deploy` task that deploys
the output into the :term:`DEPLOYDIR` directory. We will consider in the
following that the file is named ``my-firmware.elf``.
Building the firmware
---------------------
The firmware can be built with BitBake with the following command::
$ bitbake mc:baremetal-firmware:my-firmware
However, we would prefer for ``my-firmware`` to be automatically built when
triggering a normal Linux build.
Using a ``mcdepend``, a recipe belonging to the Linux build can trigger the
build of ``my-firmware``. For example, let's consider that our Linux build needs
to assemble a "special" firmware that uses the output of our ``my-firmware``
recipe - let's call it ``my-parent-firmware.bb``. Then, we should specify this
dependency in ``my-parent-firmware.bb`` with::
do_compile[mcdepends] = "mc::baremetal-firmware:my-firmware:do_deploy"
The above will ensure that when the :ref:`ref-tasks-compile` task of
``my-parent-firmware`` is triggered, the :ref:`ref-tasks-deploy` task of
``my-firmware`` will already have run successfully.
Using the output of ``my-firmware``
-----------------------------------
After ``my-firmware`` recipe has deployed ``my-firmware.elf``, we need to use
the output in some way. We can make a series of assumptions, based on the
default Yocto Project variables in order to get the binary for packaging.
First, we can set the following in ``my-parent-firmware.bb``::
FIRMWARE_FILE ??= "${TMPDIR}-baremetal-firmware/deploy/images/<machine>/my-firmware.elf"
FIRMWARE_FILE[vardepsexclude] += "TMPDIR"
The first assignment stores the value of the path to the firmware built and
deployed by the ``my-firmware.bb`` recipe. The second assignment excludes the
:term:`TMPDIR` variable from being part of ``FIRMWARE_FILE``'s dependencies ---
meaning that changing the value of :term:`TMPDIR` (for example, changing the
host on which the firmware is built) will not invalidate the :ref:`shared state
cache <overview-manual/concepts:shared state cache>`.
Additionally, ``<machine>`` should be replaced by the :term:`MACHINE` for which
we are building in the baremetal-firmware context.
We can then add a :ref:`ref-tasks-install` task to ``my-parent-firmware``::
do_install() {
install -Dm 0644 ${FIRMWARE_FILE} ${D}/lib/firmware/my-firmware.elf
}
Doing the above will allow the firmware binary to be transferred and packaged
into the Linux context and rootfs.

View File

@@ -56,7 +56,7 @@ necessary when adding a recipe to build a new piece of software to be
included in a build.
You can find a complete description of the ``devtool add`` command in
the ":ref:`sdk-manual/extensible:a closer look at \`\`devtool add\`\``" section
the ":ref:`dev-manual/devtool:a closer look at \`\`devtool add\`\``" section
in the Yocto Project Application Development and the Extensible Software
Development Kit (eSDK) manual.
@@ -291,13 +291,13 @@ another example that specifies these types of files, see the
Another way of specifying source is from an SCM. For Git repositories,
you must specify :term:`SRCREV` and you should specify :term:`PV` to include
the revision with :term:`SRCPV`. Here is an example from the recipe
``meta/recipes-core/musl/gcompat_git.bb``::
a ``+`` sign in its definition. Here is an example from the recipe
:oe_git:`meta/recipes-sato/l3afpad/l3afpad_git.bb </openembedded-core/tree/meta/recipes-sato/l3afpad/l3afpad_git.bb>`::
SRC_URI = "git://git.adelielinux.org/adelie/gcompat.git;protocol=https;branch=current"
SRC_URI = "git://github.com/stevenhoneyman/l3afpad.git;branch=master;protocol=https"
PV = "1.0.0+1.1+git${SRCPV}"
SRCREV = "af5a49e489fdc04b9cf02547650d7aeaccd43793"
PV = "0.8.18.1.11+git"
SRCREV ="3cdccdc9505643e50f8208171d9eee5de11a42ff"
If your :term:`SRC_URI` statement includes URLs pointing to individual files
fetched from a remote server other than a version control system,

View File

@@ -16,7 +16,7 @@ This section describes a few tasks that involve packages:
- :ref:`dev-manual/packages:generating and using signed packages`
- :ref:`Setting up and running package test
(ptest) <dev-manual/packages:testing packages with ptest>`
(ptest) <test-manual/ptest:testing packages with ptest>`
- :ref:`dev-manual/packages:creating node package manager (npm) packages`
@@ -84,10 +84,6 @@ the following:
- :term:`PR`: The recipe revision.
- :term:`SRCPV`: The OpenEmbedded
build system uses this string to help define the value of :term:`PV` when
the source code revision needs to be included in it.
- :yocto_wiki:`PR Service </PR_Service>`: A
network-based service that helps automate keeping package feeds
compatible with existing package manager applications such as RPM,
@@ -256,15 +252,14 @@ the software::
SRCREV = "${AUTOREV}"
Furthermore, you need to reference :term:`SRCPV` in :term:`PV` in order to
Furthermore, you need to include a ``+`` sign in :term:`PV` in order to
automatically update the version whenever the revision of the source
code changes. Here is an example::
PV = "1.0+git${SRCPV}"
PV = "1.0+git"
The OpenEmbedded build system substitutes :term:`SRCPV` with the following:
.. code-block:: none
The OpenEmbedded build system will automatically add the source control
information to the end of the variable :term:`PKGV`, in this format::
AUTOINC+source_code_revision
@@ -824,9 +819,19 @@ to use signed package feeds (repositories) when doing a build.
Signing RPM Packages
--------------------
To enable signing RPM packages, you must set up the following
configurations in either your ``local.config`` or ``distro.config``
file::
To enable signing RPM packages, you must modify the ``rpm``
recipe configuration to include support for OpenPGP signing.
That may be done either in a ``.bbappend`` for the ``rpm`` recipe::
PACKAGECONFIG:append = " sequoia"
or in a :term:`Configuration File`::
PACKAGECONFIG:append:pn-rpm-native = " sequoia"
PACKAGECONFIG:append:pn-rpm = " sequoia"
You must also set up the following settings in a
:term:`Configuration File`::
# Inherit sign_rpm.bbclass to enable signing functionality
INHERIT += " sign_rpm"
@@ -887,114 +892,8 @@ related to signed package feeds are available:
Testing Packages With ptest
===========================
A Package Test (ptest) runs tests against packages built by the
OpenEmbedded build system on the target machine. A ptest contains at
least two items: the actual test, and a shell script (``run-ptest``)
that starts the test. The shell script that starts the test must not
contain the actual test --- the script only starts the test. On the other
hand, the test can be anything from a simple shell script that runs a
binary and checks the output to an elaborate system of test binaries and
data files.
The test generates output in the format used by Automake::
result: testname
where the result can be ``PASS``, ``FAIL``, or ``SKIP``, and
the testname can be any identifying string.
For a list of Yocto Project recipes that are already enabled with ptest,
see the :yocto_wiki:`Ptest </Ptest>` wiki page.
.. note::
A recipe is "ptest-enabled" if it inherits the :ref:`ref-classes-ptest`
class.
Adding ptest to Your Build
--------------------------
To add package testing to your build, add the :term:`DISTRO_FEATURES` and
:term:`EXTRA_IMAGE_FEATURES` variables to your ``local.conf`` file, which
is found in the :term:`Build Directory`::
DISTRO_FEATURES:append = " ptest"
EXTRA_IMAGE_FEATURES += "ptest-pkgs"
Once your build is complete, the ptest files are installed into the
``/usr/lib/package/ptest`` directory within the image, where ``package``
is the name of the package.
Running ptest
-------------
The ``ptest-runner`` package installs a shell script that loops through
all installed ptest test suites and runs them in sequence. Consequently,
you might want to add this package to your image.
Getting Your Package Ready
--------------------------
In order to enable a recipe to run installed ptests on target hardware,
you need to prepare the recipes that build the packages you want to
test. Here is what you have to do for each recipe:
- *Be sure the recipe inherits the* :ref:`ref-classes-ptest` *class:*
Include the following line in each recipe::
inherit ptest
- *Create run-ptest:* This script starts your test. Locate the
script where you will refer to it using
:term:`SRC_URI`. Here is an
example that starts a test for ``dbus``::
#!/bin/sh
cd test
make -k runtest-TESTS
- *Ensure dependencies are met:* If the test adds build or runtime
dependencies that normally do not exist for the package (such as
requiring "make" to run the test suite), use the
:term:`DEPENDS` and
:term:`RDEPENDS` variables in
your recipe in order for the package to meet the dependencies. Here
is an example where the package has a runtime dependency on "make"::
RDEPENDS:${PN}-ptest += "make"
- *Add a function to build the test suite:* Not many packages support
cross-compilation of their test suites. Consequently, you usually
need to add a cross-compilation function to the package.
Many packages based on Automake compile and run the test suite by
using a single command such as ``make check``. However, the host
``make check`` builds and runs on the same computer, while
cross-compiling requires that the package is built on the host but
executed for the target architecture (though often, as in the case
for ptest, the execution occurs on the host). The built version of
Automake that ships with the Yocto Project includes a patch that
separates building and execution. Consequently, packages that use the
unaltered, patched version of ``make check`` automatically
cross-compiles.
Regardless, you still must add a ``do_compile_ptest`` function to
build the test suite. Add a function similar to the following to your
recipe::
do_compile_ptest() {
oe_runmake buildtest-TESTS
}
- *Ensure special configurations are set:* If the package requires
special configurations prior to compiling the test code, you must
insert a ``do_configure_ptest`` function into the recipe.
- *Install the test suite:* The :ref:`ref-classes-ptest` class
automatically copies the file ``run-ptest`` to the target and then runs make
``install-ptest`` to run the tests. If this is not enough, you need
to create a ``do_install_ptest`` function and make sure it gets
called after the "make install-ptest" completes.
See the :ref:`test-manual/ptest:Testing Packages With ptest` section of the
Yocto Project Test Environment Manual.
Creating Node Package Manager (NPM) Packages
============================================

View File

@@ -75,7 +75,7 @@ available. Follow these general steps to run QEMU:
your :term:`Build Directory`.
- If you have not built an image, you can go to the
:yocto_dl:`machines/qemu </releases/yocto/yocto-&DISTRO;/machines/qemu/>` area and download a
:yocto_dl:`machines/qemu </releases/yocto/&DISTRO_REL_LATEST_TAG;/machines/qemu/>` area and download a
pre-built image that matches your architecture and can be run on
QEMU.
@@ -280,12 +280,11 @@ present, the toolchain is also automatically used.
networking.
- SSH servers are available in some QEMU images. The ``core-image-sato``
QEMU image has a Dropbear secure shell (SSH) server that runs with
the root password disabled. The ``core-image-full-cmdline`` and
``core-image-lsb`` QEMU images have OpenSSH instead of Dropbear.
Including these SSH servers allow you to use standard ``ssh`` and
``scp`` commands. The ``core-image-minimal`` QEMU image, however,
contains no SSH server.
QEMU image has a Dropbear secure shell (SSH) server that runs with the
root password disabled. The ``core-image-full-cmdline`` QEMU image has
OpenSSH instead of Dropbear. Including these SSH servers allow you to use
standard ``ssh`` and ``scp`` commands. The ``core-image-minimal`` QEMU
image, however, contains no SSH server.
- You can use a provided, user-space NFS server to boot the QEMU
session using a local copy of the root filesystem on the host. In
@@ -368,9 +367,6 @@ command line:
- `VM`: The virtual machine image, which must be a ``.wic.vmdk``
file. Use this option when you want to boot a ``.wic.vmdk`` image.
The image filename you provide must contain one of the following
strings: "qemux86-64", "qemux86", "qemuarm", "qemumips64",
"qemumips", "qemuppc", or "qemush4".
- `ROOTFS`: A root filesystem that has one of the following filetype
extensions: "ext2", "ext3", "ext4", "jffs2", "nfs", or "btrfs". If

View File

@@ -107,18 +107,18 @@ Considerations Specific to the OpenEmbedded Build System
You can take some steps that are specific to the OpenEmbedded build
system to make your images more secure:
- Ensure "debug-tweaks" is not one of your selected
:term:`IMAGE_FEATURES`.
- Ensure that "allow-empty-password", "allow-root-login", or
"empty-root-password" are not one of your selected :term:`IMAGE_FEATURES`.
When creating a new project, the default is to provide you with an
initial ``local.conf`` file that enables this feature using the
initial ``local.conf`` file that enables these features using the
:term:`EXTRA_IMAGE_FEATURES`
variable with the line::
EXTRA_IMAGE_FEATURES = "debug-tweaks"
EXTRA_IMAGE_FEATURES = "allow-empty-password empty-root-password allow-root-login"
To disable that feature, simply comment out that line in your
To disable these features, simply comment out that line in your
``local.conf`` file, or make sure :term:`IMAGE_FEATURES` does not contain
"debug-tweaks" before producing your final image. Among other things,
any of these features before producing your final image. Among other things,
leaving this in place sets the root password as blank, which makes
logging in for debugging or inspection easy during development but
also means anyone can easily log in during production.

View File

@@ -615,7 +615,7 @@ Accessing Source Archives
The Yocto Project also provides source archives of its releases, which
are available on :yocto_dl:`/releases/yocto/`. Then, choose the subdirectory
containing the release you wish to use, for example
:yocto_dl:`yocto-&DISTRO; </releases/yocto/yocto-&DISTRO;/>`.
:yocto_dl:`&DISTRO_REL_LATEST_TAG; </releases/yocto/&DISTRO_REL_LATEST_TAG;/>`.
You will find there source archives of individual components (if you wish
to use them individually), and of the corresponding Poky release bundling

View File

@@ -203,7 +203,7 @@ As mentioned earlier, an alternative method for upgrading recipes to
newer versions is to use
:doc:`devtool upgrade </ref-manual/devtool-reference>`.
You can read about ``devtool upgrade`` in general in the
":ref:`sdk-manual/extensible:use \`\`devtool upgrade\`\` to create a version of the recipe that supports a newer version of the software`"
":ref:`dev-manual/devtool:use \`\`devtool upgrade\`\` to create a version of the recipe that supports a newer version of the software`"
section in the Yocto Project Application Development and the Extensible
Software Development Kit (eSDK) Manual.

View File

@@ -66,37 +66,77 @@ found in ``build/tmp/deploy/cve``.
For example the CVE check report for the ``flex-native`` recipe looks like::
$ cat poky/build/tmp/deploy/cve/flex-native
LAYER: meta
PACKAGE NAME: flex-native
PACKAGE VERSION: 2.6.4
CVE: CVE-2016-6354
CVE STATUS: Patched
CVE SUMMARY: Heap-based buffer overflow in the yy_get_next_buffer function in Flex before 2.6.1 might allow context-dependent attackers to cause a denial of service or possibly execute arbitrary code via vectors involving num_to_read.
CVSS v2 BASE SCORE: 7.5
CVSS v3 BASE SCORE: 9.8
VECTOR: NETWORK
MORE INFORMATION: https://nvd.nist.gov/vuln/detail/CVE-2016-6354
LAYER: meta
PACKAGE NAME: flex-native
PACKAGE VERSION: 2.6.4
CVE: CVE-2019-6293
CVE STATUS: Ignored
CVE SUMMARY: An issue was discovered in the function mark_beginning_as_normal in nfa.c in flex 2.6.4. There is a stack exhaustion problem caused by the mark_beginning_as_normal function making recursive calls to itself in certain scenarios involving lots of '*' characters. Remote attackers could leverage this vulnerability to cause a denial-of-service.
CVSS v2 BASE SCORE: 4.3
CVSS v3 BASE SCORE: 5.5
VECTOR: NETWORK
MORE INFORMATION: https://nvd.nist.gov/vuln/detail/CVE-2019-6293
$ cat ./tmp/deploy/cve/flex-native_cve.json
{
"version": "1",
"package": [
{
"name": "flex-native",
"layer": "meta",
"version": "2.6.4",
"products": [
{
"product": "flex",
"cvesInRecord": "No"
},
{
"product": "flex",
"cvesInRecord": "Yes"
}
],
"issue": [
{
"id": "CVE-2006-0459",
"status": "Patched",
"link": "https://nvd.nist.gov/vuln/detail/CVE-2006-0459",
"summary": "flex.skl in Will Estes and John Millaway Fast Lexical Analyzer Generator (flex) before 2.5.33 does not allocate enough memory for grammars containing (1) REJECT statements or (2) trailing context rules, which causes flex to generate code that contains a buffer overflow that might allow context-dependent attackers to execute arbitrary code.",
"scorev2": "7.5",
"scorev3": "0.0",
"scorev4": "0.0",
"modified": "2024-11-21T00:06Z",
"vector": "NETWORK",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"detail": "version-not-in-range"
},
{
"id": "CVE-2016-6354",
"status": "Patched",
"link": "https://nvd.nist.gov/vuln/detail/CVE-2016-6354",
"summary": "Heap-based buffer overflow in the yy_get_next_buffer function in Flex before 2.6.1 might allow context-dependent attackers to cause a denial of service or possibly execute arbitrary code via vectors involving num_to_read.",
"scorev2": "7.5",
"scorev3": "9.8",
"scorev4": "0.0",
"modified": "2024-11-21T02:55Z",
"vector": "NETWORK",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"detail": "version-not-in-range"
},
{
"id": "CVE-2019-6293",
"status": "Ignored",
"link": "https://nvd.nist.gov/vuln/detail/CVE-2019-6293",
"summary": "An issue was discovered in the function mark_beginning_as_normal in nfa.c in flex 2.6.4. There is a stack exhaustion problem caused by the mark_beginning_as_normal function making recursive calls to itself in certain scenarios involving lots of '*' characters. Remote attackers could leverage this vulnerability to cause a denial-of-service.",
"scorev2": "4.3",
"scorev3": "5.5",
"scorev4": "0.0",
"modified": "2024-11-21T04:46Z",
"vector": "NETWORK",
"vectorString": "AV:N/AC:M/Au:N/C:N/I:N/A:P",
"detail": "upstream-wontfix",
"description": "there is stack exhaustion but no bug and it is building the parser, not running it, effectively similar to a compiler ICE. Upstream no plans to address this."
}
]
}
]
}
For images, a summary of all recipes included in the image and their CVEs is also
generated in textual and JSON formats. These ``.cve`` and ``.json`` reports can be found
generated in the JSON format. These ``.json`` reports can be found
in the ``tmp/deploy/images`` directory for each compiled image.
At build time CVE check will also throw warnings about ``Unpatched`` CVEs::
WARNING: flex-2.6.4-r0 do_cve_check: Found unpatched CVE (CVE-2019-6293), for more information check /poky/build/tmp/work/core2-64-poky-linux/flex/2.6.4-r0/temp/cve.log
WARNING: libarchive-3.5.1-r0 do_cve_check: Found unpatched CVE (CVE-2021-36976), for more information check /poky/build/tmp/work/core2-64-poky-linux/libarchive/3.5.1-r0/temp/cve.log
WARNING: qemu-native-9.2.0-r0 do_cve_check: Found unpatched CVE (CVE-2023-1386)
It is also possible to check the CVE status of individual packages as follows::
@@ -115,10 +155,10 @@ upstream `NIST CVE database <https://nvd.nist.gov/>`__.
The variable supports using vendor and product names like this::
CVE_PRODUCT = "flex_project:flex"
CVE_PRODUCT = "flex_project:flex westes:flex"
In this example the vendor name used in the CVE database is ``flex_project`` and the
product is ``flex``. With this setting the ``flex`` recipe only maps to this specific
In this example we have two possible vendors names, ``flex_project`` and ``westes``,
with the product name ``flex``. With this setting the ``flex`` recipe only maps to this specific
product and not products from other vendors with same name ``flex``.
Similarly, when the recipe version :term:`PV` is not compatible with software versions used by

View File

@@ -513,7 +513,7 @@ or ::
For more information on how to use the ``bmaptool``
to flash a device with an image, see the
":ref:`dev-manual/bmaptool:flashing images using \`\`bmaptool\`\``"
":ref:`dev-manual/bmaptool:flashing images using \`bmaptool\``"
section.
Using a Modified Kickstart File
@@ -721,7 +721,7 @@ the existing kernel, and then inserts a new kernel:
Once the new kernel is added back into the image, you can use the
``dd`` command or :ref:`bmaptool
<dev-manual/bmaptool:flashing images using \`\`bmaptool\`\`>`
<dev-manual/bmaptool:flashing images using \`bmaptool\`>` commands
to flash your wic image onto an SD card or USB stick and test your
target.

View File

@@ -1562,16 +1562,9 @@ Here are some basic steps you can use to work with your own sources:
changed.
- :term:`PV`: The default :term:`PV`
assignment is typically adequate. It combines the
:term:`LINUX_VERSION` with the Source Control Manager (SCM) revision
as derived from the :term:`SRCPV`
variable. The combined results are a string with the following
form::
3.19.11+git1+68a635bf8dfb64b02263c1ac80c948647cc76d5f_1+218bd8d2022b9852c60d32f0d770931e3cf343e2
While lengthy, the extra verbosity in :term:`PV` helps ensure you are
using the exact sources from which you intend to build.
assignment is typically adequate. It combines the value of
:term:`LINUX_VERSION` and the value ``+git`` which adds source control
information to :term:`PKGV` later during the packaging phase.
- :term:`COMPATIBLE_MACHINE`:
A list of the machines supported by your new recipe. This variable

View File

@@ -248,8 +248,8 @@ A new automated image testing framework has been added through the
framework replaces the older ``imagetest-qemu`` framework.
You can learn more about performing automated image tests in the
":ref:`dev-manual/runtime-testing:performing automated runtime testing`"
section in the Yocto Project Development Tasks Manual.
":ref:`test-manual/runtime-testing:performing automated runtime testing`"
section in the Yocto Project Test Environment Manual.
.. _migration-1.5-build-history:

View File

@@ -221,7 +221,7 @@ Package Test (ptest)
Package Tests (ptest) are built but not installed by default. For
information on using Package Tests, see the
":ref:`dev-manual/packages:testing packages with ptest`" section in the
":ref:`test-manual/ptest:testing packages with ptest`" section in the
Yocto Project Development Tasks Manual. See also the ":ref:`ref-classes-ptest`"
section.

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