]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
3 months agolinux-yocto/6.12: update to v6.12.25
Bruce Ashfield [Tue, 6 May 2025 16:32:58 +0000 (12:32 -0400)] 
linux-yocto/6.12: update to v6.12.25

Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    ef4999852d30 Linux 6.12.25
    f78507c1ef2c block: make struct rq_list available for !CONFIG_BLOCK
    473c5347355f selftests/bpf: extend changes_pkt_data with cases w/o subprograms
    f0946dcccb3d bpf: fix null dereference when computing changes_pkt_data of prog w/o subprogs
    1062b7612cbd selftests/bpf: validate that tail call invalidates packet pointers
    d0e94a5bb99d selftests/bpf: freplace tests for tracking of changes_packet_data
    3846e2bea565 bpf: check changes_pkt_data property for extension programs
    fa1fbb67e081 selftests/bpf: test for changing packet data from global functions
    1d572c60488b bpf: track changes_pkt_data property for global functions
    d30b9c5950e0 bpf: add find_containing_subprog() utility function
    ab7edf42ce80 wifi: ath12k: Fix invalid entry fetch in ath12k_dp_mon_srng_process
    cec26d6bf34a MIPS: ds1287: Match ds1287_set_base_clock() function types
    305dd911dea7 MIPS: cevt-ds1287: Add missing ds1287.h include
    21c6a0ed6ff0 MIPS: dec: Declare which_prom() as static
    45e19beb968e Revert "wifi: ath12k: Fix invalid entry fetch in ath12k_dp_mon_srng_process"
    b906c1ad25ad mm/vma: add give_up_on_oom option on modify/merge, use in uffd release
    7e2d22493939 block: don't reorder requests in blk_add_rq_to_plug
    2ad0f19a4e99 block: add a rq_list type
    5b34f40cdab6 block: remove rq_list_move
    3dd1af8ce34d nvmet-fc: Remove unused functions
    29b2d6f53c78 drm/amd/display: Temporarily disable hostvm on DCN31
    628e6c452139 LoongArch: Eliminate superfluous get_numa_distances_cnt()
    66d182770fbf efi/libstub: Bump up EFI_MMAP_NR_SLACK_SLOTS to 32
    59a30b981a5e misc: pci_endpoint_test: Fix 'irq_type' to convey the correct type
    0557e70e2aeb misc: pci_endpoint_test: Avoid issue of interrupts remaining after request_irq error
    deee01acc6a3 selftests/bpf: Fix raw_tp null handling test
    e2a9f73ee408 md: fix mddev uaf while iterating all_mddevs list
    6ea2e8743ed1 platform/x86: msi-wmi-platform: Workaround a ACPI firmware bug
    1c9e272f9867 platform/x86: msi-wmi-platform: Rename "data" variable
    3802df8552de kbuild: Add '-fno-builtin-wcslen'
    0f1ee79b0fea scripts: generate_rust_analyzer: Add ffi crate
    c1a485c46c67 cpufreq: Reference count policy in cpufreq_update_limits()
    686d8f7b592f arm64/boot: Enable EL2 requirements for FEAT_PMUv3p9
    14eacc808e67 arm64/sysreg: Add register fields for HFGWTR2_EL2
    2ef32d984d35 arm64/sysreg: Add register fields for HFGRTR2_EL2
    c41512745401 arm64/sysreg: Add register fields for HFGITR2_EL2
    051eccf71703 arm64/sysreg: Add register fields for HDFGWTR2_EL2
    740360261688 arm64/sysreg: Add register fields for HDFGRTR2_EL2
    e1a6acacf1ff arm64/sysreg: Update register fields for ID_AA64MMFR0_EL1
    effb4d79b3b1 drm/mgag200: Fix value in <VBLKSTR> register
    7f21bfd6fc16 drm/amdgpu: fix warning of drm_mm_clean
    a43e53e310a4 drm/xe: Set LRC addresses before guc load
    65dc4e3d5b01 drm/xe/userptr: fix notifier vs folio deadlock
    e4ed75e974a8 drm/xe/dma_buf: stop relying on placement in unmap
    e97bf44115e8 drm/amd/display: Add HP Probook 445 and 465 to the quirk list for eDP on DP1
    a5c9107a3e01 drm/amd/display: Protect FPU in dml2_init()/dml21_init()
    9cb744fbee38 drm/amd/display: Do not enable Replay and PSR while VRR is on in amdgpu_dm_commit_planes()
    a53d959fe660 drm/amdgpu: immediately use GTT for new allocations
    4b171d4cbfff drm/i915/gvt: fix unterminated-string-initialization warning
    28477f701b63 drm/xe: Fix an out-of-bounds shift when invalidating TLB
    b2c11fea2680 drm/sti: remove duplicate object names
    c90b95e12eb8 drm/imagination: take paired job reference
    490c30fd5545 drm/imagination: fix firmware memory leaks
    6e2c805996a4 drm/nouveau: prime: fix ttm_bo_delayed_delete oops
    91b646a0b2cb drm/amdgpu/dma_buf: fix page_link check
    228e98e2021c drm/amdgpu/mes11: optimize MES pipe FW version fetching
    596284026c5b drm/amd/display: Protect FPU in dml21_copy()
    74d6fba60f05 drm/amd/display: Protect FPU in dml2_validate()/dml21_validate()
    fe19e04cd96f drm/amd/display: Add HP Elitebook 645 to the quirk list for eDP on DP1
    2ac5f466f628 drm/xe: Use local fence in error path of xe_migrate_clear
    a37e01fe60a3 drm/i915/vrr: Add vrr.vsync_{start, end} in vrr_params_changed
    2b00b32e6137 drm/amdgpu/mes12: optimize MES pipe FW version fetching
    42f7b5d12c28 drm/amd/pm/powerplay/hwmgr/vega20_thermal: Prevent division by zero
    fb803d4bb9ea drm/amd/pm/swsmu/smu13/smu_v13_0: Prevent division by zero
    8e9c4f8d197d drm/amd/pm/powerplay/hwmgr/smu7_thermal: Prevent division by zero
    63a150400194 drm/amd/pm/smu11: Prevent division by zero
    bd4d90adbca1 drm/amd/pm/powerplay: Prevent division by zero
    6413fed01620 drm/amd/pm: Prevent division by zero
    2a2b7b6f90a2 drm/amd/display: Increase vblank offdelay for PSR panels
    776253d9818d drm/amd/display: Actually do immediate vblank disable
    b542559343c9 drm/amd: Handle being compiled without SI or CIK support better
    0363c03672cd drm/amd/display: prevent hang on link training fail
    531d46336417 drm/amdgpu: Prefer shadow rom when available
    68b591d64df4 drm/msm/a6xx: Fix stale rpmh votes from GPU
    359f6cffaecf drm/msm/dsi: Add check for devm_kstrdup()
    31efeca2ef85 drm/ast: Fix ast_dp connection status
    b33386fabb2b drm/repaper: fix integer overflows in repeat functions
    de67afd68808 perf/x86/intel/uncore: Fix the scale of IIO free running counters on SPR
    c5e157032267 perf/x86/intel/uncore: Fix the scale of IIO free running counters on ICX
    8d19c4a3b811 perf/x86/intel/uncore: Fix the scale of IIO free running counters on SNR
    56fdbc091239 perf/x86/intel: Allow to update user space GPRs from PEBS records
    c7b43f09ddc9 platform/x86: amd: pmf: Fix STT limits
    42ded70c1a4e RAS/AMD/FMPM: Get masked address
    b2748ae60943 RAS/AMD/ATL: Include row[13] bit in row retirement
    d23fd7a539ac RDMA/cma: Fix workqueue crash in cma_netevent_work_handler
    6dd9ede5c59b scsi: ufs: exynos: Ensure consistent phy reference counts
    80b2ad121576 scsi: megaraid_sas: Block zero-length ATA VPD inquiry
    6360e4f8509e x86/boot/sev: Avoid shared GHCB page for early memory acceptance
    519718a3384a x86/cpu/amd: Fix workaround for erratum 1054
    a66b6b07d0d3 x86/microcode/AMD: Extend the SHA check to Zen5, block loading of any unreleased standalone Zen5 microcode patches
    c3e31d613951 virtiofs: add filesystem context source name check
    5683eaf4eeed tracing: Fix filter string testing
    5f878db827c0 string: Add load_unaligned_zeropad() code path to sized_strscpy()
    9042efa7f129 smb3 client: fix open hardlink on deferred close file error
    8baa74719359 slab: ensure slab->obj_exts is clear in a newly allocated slab page
    824b7ad9cf49 selftests/mm: generate a temporary mountpoint for cgroup filesystem
    3f1c81ae13dc riscv: Avoid fortify warning in syscall_get_arguments()
    f761eeefd531 Revert "smb: client: fix TCP timers deadlock after rmmod"
    2aa10d26b6f0 Revert "smb: client: Fix netns refcount imbalance causing leaks and use-after-free"
    2a879da5c34a ksmbd: fix the warning from __kernel_write_iter
    396d6e448583 ksmbd: Prevent integer overflow in calculation of deadtime
    d54ab1520d43 ksmbd: fix use-after-free in smb_break_all_levII_oplock()
    6e30c0e10210 ksmbd: Fix dangling pointer in krb_authenticate
    b9e3579213ba ovl: don't allow datadir only
    029458063ebb mm: fix apply_to_existing_page_range()
    8338e0723fbf mm: fix filemap_get_folios_contig returning batches of identical folios
    b609a60e3115 mm/gup: fix wrongly calculated returned value in fault_in_safe_writeable()
    4f34d6f979bc mm/compaction: fix bug in hugetlb handling pathway
    c45ba8393519 loop: LOOP_SET_FD: send uevents for partitions
    694521cb3fad loop: properly send KOBJ_CHANGED uevent for disk device
    56dfffea9fd3 isofs: Prevent the use of too small fid
    1355b5ca4782 i2c: cros-ec-tunnel: defer probe if parent EC is not present
    84e8719c087e hfs/hfsplus: fix slab-out-of-bounds in hfs_bnode_read_key
    813268285600 crypto: caam/qi - Fix drv_ctx refcount bug
    f73731983f28 cpufreq/sched: Explicitly synchronize limits_changed flag handling
    d3995ff08c15 btrfs: correctly escape subvol in btrfs_show_options()
    b62b1406bb61 Bluetooth: vhci: Avoid needless snprintf() calls
    569bbe2fc76f Bluetooth: l2cap: Process valid commands in too long frame
    bde7abe8cfbb drm/msm/a6xx+: Don't let IB_SIZE overflow
    26d5e2377f57 ftrace: fix incorrect hash size in register_ftrace_direct()
    2665a3b1abf9 i2c: atr: Fix wrong include
    a7fce086f6ca nfsd: decrease sc_count directly if fail to queue dl_recall
    33c0f51f1a8d nfs: add missing selections of CONFIG_CRC32
    e22c8b99c8b8 dma-buf/sw_sync: Decrement refcount on error in sw_sync_ioctl_get_deadline()
    81a566a920a5 drm/v3d: Fix Indirect Dispatch configuration for V3D 7.1.6 and later
    c38a005e6efb block: integrity: Do not call set_page_dirty_lock()
    db42e6f28bdf asus-laptop: Fix an uninitialized variable
    c0ce01e0ff8a ASoC: qcom: Fix sc7280 lpass potential buffer overflow
    2612d5548256 ASoC: Intel: sof_sdw: Add quirk for Asus Zenbook S16
    2b72a9e327cc ASoC: codecs:lpass-wsa-macro: Fix logic of enabling vi channels
    43da9eae1b15 ASoC: codecs:lpass-wsa-macro: Fix vi feedback rate
    b2e56391f620 ASoC: fsl: fsl_qmc_audio: Reset audio data pointers on TRIGGER_START event
    f2e2926e9eb1 Revert "PCI: Avoid reset when disabled via sysfs"
    28da4dd84070 writeback: fix false warning in inode_to_wb()
    c1aa71716aa4 rust: kbuild: use `pound` to support GNU Make < 4.3
    baf02dd01e75 rust: disable `clippy::needless_continue`
    4c353fca6296 rust: kasan/kbuild: fix missing flags on first build
    e8980258c029 objtool/rust: add one more `noreturn` Rust function for Rust 1.86.0
    00a1bdb15791 cpufreq/sched: Fix the usage of CPUFREQ_NEED_UPDATE_LIMITS
    27e0143f4d62 riscv: KGDB: Remove ".option norvc/.option rvc" for kgdb_compiled_break
    999bd7bb21ae riscv: KGDB: Do not inline arch_kgdb_breakpoint()
    853345021141 kunit: qemu_configs: SH: Respect kunit cmdline
    3583394b8505 riscv: module: Allocate PLT entries for R_RISCV_PLT32
    a068ea00009d riscv: module: Fix out-of-bounds relocation access
    1d5a8e1fec8f riscv: Properly export reserved regions in /proc/iomem
    c8c3f8e7a7d6 riscv: Use kvmalloc_array on relocation_hashtable
    cfdcd213ddba net: ethernet: mtk_eth_soc: revise QDMA packet scheduler settings
    7ec0265710d2 net: ethernet: mtk_eth_soc: correct the max weight of the queue limit for 100Mbps
    b524a14ec1f6 net: ethernet: mtk_eth_soc: reapply mdc divider on reset
    da5035d7aead net: ti: icss-iep: Fix possible NULL pointer dereference for perout request
    d028c6a80534 net: ti: icss-iep: Add phase offset configuration for perout signal
    352e5a67099b net: ti: icss-iep: Add pwidth configuration for perout signal
    62b795c22d02 ptp: ocp: fix start time alignment in ptp_ocp_signal_set
    a3e4b6ad5f9a net: dsa: avoid refcount warnings when ds->ops->tag_8021q_vlan_del() fails
    5c8066fbdb96 net: dsa: free routing table on probe failure
    8fcc1e6f8089 net: dsa: clean up FDB, MDB, VLAN entries on unbind
    9ee6d3a368ed net: dsa: mv88e6xxx: fix -ENOENT when deleting VLANs and MST is unsupported
    3665695e3572 net: dsa: mv88e6xxx: avoid unregistering devlink regions which were never registered
    635863d93deb net: txgbe: fix memory leak in txgbe_probe() error path
    d9ecaee61739 net: bridge: switchdev: do not notify new brentries as changed
    ad13e95cbc03 net: b53: enable BPDU reception for management port
    1f6916c55402 netlink: specs: rt-link: adjust mctp attribute naming
    250a2fc77a28 netlink: specs: rt-link: add an attr layer around alt-ifname
    dafb6e433ab2 cxgb4: fix memory leak in cxgb4_init_ethtool_filters() error path
    cb74d5b83714 ata: libata-sata: Save all fields from sense data descriptor
    78253d44e9d3 loop: stop using vfs_iter_{read,write} for buffered I/O
    0175902f6e8c loop: aio inherit the ioprio of original request
    21e70f694bc0 eth: bnxt: fix missing ring index trim on error path
    cd64ae07c40e net: ethernet: ti: am65-cpsw: fix port_np reference counting
    8335a3feb9d0 net: ngbe: fix memory leak in ngbe_probe() error path
    0b7d94164dc9 can: rockchip_canfd: fix broken quirks checks
    be80768d4f3b net: openvswitch: fix nested key length validation in the set() action
    15baba109503 netlink: specs: ovs_vport: align with C codegen capabilities
    41e43134ddda block: fix resource leak in blk_register_queue() error path
    3f899bd6dd56 net: mctp: Set SOCK_RCU_FREE
    61765e1b417a ethtool: cmis_cdb: use correct rpl size in ethtool_cmis_module_poll()
    01ad16ddf9d6 pds_core: fix memory leak in pdsc_debugfs_add_qcq()
    45300268e5d3 test suite: use %zu to print size_t
    86d5243ea60a smc: Fix lockdep false-positive for IPPROTO_SMC.
    688f85d1baaa dt-bindings: soc: fsl: fsl,ls1028a-reset: Fix maintainer entry
    724d26215e9f igc: add lock preventing multiple simultaneous PTM transactions
    c15065acc1de igc: cleanup PTP module if probe fails
    698182f03f3c igc: handle the IGC_PTP_ENABLED flag correctly
    8058c895c7c6 igc: move ktime snapshot into PTM retry loop
    b74137e277b7 igc: increase wait time before retrying PTM
    f3516229cd12 igc: fix PTM cycle trigger logic
    5a3ff97d124d Revert "wifi: mac80211: Update skb's control block key in ieee80211_tx_dequeue()"
    fa0d99648cfc xen: fix multicall debug feature
    b02c2ac2f3f6 ipv6: add exception routes to GC list in rt6_insert_exception
    d49798ecd26e Bluetooth: l2cap: Check encryption key size on incoming connection
    aaf356f872a6 Bluetooth: btrtl: Prevent potential NULL dereference
    6ad0acb56b83 Bluetooth: hci_event: Fix sending MGMT_EV_DEVICE_FOUND for invalid address
    0d81bb58a203 RDMA/core: Silence oversized kvmalloc() warning
    0ba76fb62809 ASoC: cs42l43: Reset clamp override on jack removal
    36e0ea1f965e ALSA: hda/realtek - Fixed ASUS platform headset Mic issue
    c01f3741d12d ALSA: hda/realtek: Workaround for resume on Dell Venue 11 Pro 7130
    34875b7a5dc7 ALSA: hda: improve bass speaker support for ASUS Zenbook UM5606WA
    9b019be5890c ALSA: hda/cirrus_scodec_test: Don't select dependencies
    7060bf9100fa RDMA/hns: Fix wrong maximum DMA segment size
    48e5aa222549 RDMA/usnic: Fix passing zero to PTR_ERR in usnic_ib_pci_probe()
    6104cc65fe87 ovl: remove unused forward declaration
    bbad32b83663 crypto: tegra - Fix IV usage for AES ECB
    9ebc2053b89a crypto: tegra - Do not use fixed size buffers
    28ec10e58d8b crypto: tegra - remove redundant error check on ret
    23fde311ea1d ASoC: Intel: avs: Fix null-ptr-deref in avs_component_probe()
    dcba15ed0876 ASoC: dwc: always enable/disable i2s irqs
    eeeba7f43ae2 md/md-bitmap: fix stats collection for external bitmaps
    54e106047fea md/raid10: fix missing discard IO accounting
    7cc670e8ebaa scsi: smartpqi: Use is_kdump_kernel() to check for kdump
    5e8438fd7f11 scsi: replace blk_mq_pci_map_queues with blk_mq_map_hw_queues
    fe2bdefe8644 blk-mq: introduce blk_mq_map_hw_queues
    5ec903970245 driver core: bus: add irq_get_affinity callback to bus_type
    6884cb2f3b06 scsi: iscsi: Fix missing scsi_host_put() in error path
    52f224009ce1 wifi: wl1251: fix memory leak in wl1251_tx_work
    a8df245b5b29 wifi: mac80211: Purge vif txq in ieee80211_do_stop()
    159499c1341f wifi: mac80211: Update skb's control block key in ieee80211_tx_dequeue()
    a9682bfef2cf wifi: at76c50x: fix use after free access in at76_disconnect
    1773fbf7c05b scsi: hisi_sas: Enable force phy when SATA disk directly connected
    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

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agolinux-yocto/6.12: update to v6.12.24
Bruce Ashfield [Tue, 6 May 2025 16:32:57 +0000 (12:32 -0400)] 
linux-yocto/6.12: update to v6.12.24

Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    b6efa8ce222e Linux 6.12.24
    ae5a6a0b425e HSI: ssi_protocol: Fix use after free vulnerability in ssi_protocol Driver Due to Race Condition
    bdbecb2bf531 s390/cpumf: Fix double free on error in cpumf_pmu_event_init()
    281782d2c673 Bluetooth: hci_uart: Fix another race during initialization
    f87626a55c21 media: mediatek: vcodec: mark vdec_vp9_slice_map_counts_eob_coef noinline
    9c03f6194e88 kbuild: Add '-fno-builtin-wcslen'
    5f494f482341 libbpf: Prevent compiler warnings/errors
    bd6eae1f30bf x86/e820: Fix handling of subpage regions when calculating nosave ranges in e820__register_nosave_regions()
    6a59b70fe71e nfsd: don't ignore the return code of svc_proc_register()
    b2b18a9f68f9 NFSD: Fix CB_GETATTR status fix
    560c03189615 NFSD: fix decoding in nfs4_xdr_dec_cb_getattr
    7005fdceff20 ACPI: platform-profile: Fix CFI violation when accessing sysfs files
    20867f094883 x86/paravirt: Move halt paravirt calls under CONFIG_PARAVIRT
    5d9484cd372d iommufd: Fail replace if device has not been attached
    6d11543bf37a iommufd: Make attach_handle generic than fault specific
    9ca4fe357464 arm64: errata: Add newer ARM cores to the spectre_bhb_loop_affected() lists
    d25a240c5a93 thermal/drivers/mediatek/lvts: Disable Stage 3 thermal threshold
    0131251d932f thermal/drivers/mediatek/lvts: Disable monitor mode during suspend
    9580b603654d selftests: mptcp: fix incorrect fd checks in main_loop
    2f1b4d6725b0 selftests: mptcp: close fd_in before returning in main_loop
    0f91e4f69fe6 sched_ext: create_dsq: Return -EEXIST on duplicate request
    7a30bbd36cb4 s390: Fix linker error when -no-pie option is unavailable
    f268ee2fbb53 s390/virtio_ccw: Don't allocate/assign airqs for non-existing queues
    05a0f9c40781 s390/pci: Fix zpci_bus_is_isolated_vf() for non-VFs
    92ca7270fe5e ring-buffer: Use flush_kernel_vmap_range() over flush_dcache_folio()
    de08212061ea pinctrl: samsung: add support for eint_fltcon_offset
    c1368383cd37 pinctrl: qcom: Clear latched interrupt status when changing IRQ type
    beb9a5cb7aa5 phy: freescale: imx8m-pcie: assert phy reset and perst in power off
    869202291aa4 PCI: Fix wrong length of devres array
    9707d0c932f4 PCI: Fix reference leak in pci_register_host_bridge()
    d69ad6e1a579 PCI: Fix reference leak in pci_alloc_child_bus()
    e4a1d7defbc2 PCI: pciehp: Avoid unnecessary device replacement check
    ce9643a541b6 PCI: j721e: Fix the value of .linkdown_irq_regfield for J784S4
    71bf0769a6c6 PCI: brcmstb: Fix missing of_node_put() in brcm_pcie_probe()
    712d84459a53 of/irq: Fix device node refcount leakages in of_irq_init()
    d0f25a99770f of/irq: Fix device node refcount leakage in API irq_of_parse_and_map()
    29cb94963ca9 of/irq: Fix device node refcount leakages in of_irq_count()
    3540164c7594 of/irq: Fix device node refcount leakage in API of_irq_parse_raw()
    dc83eccc93ed of/irq: Fix device node refcount leakage in API of_irq_parse_one()
    60faeef98b99 ntb: use 64-bit arithmetic for the MSI doorbell mask
    34baf1cfd679 net: mana: Switch to page pool for jumbo frames
    a2acc67d6155 misc: pci_endpoint_test: Fix displaying 'irq_type' after 'request_irq' error
    e98f77f74c66 selftests/landlock: Add a new test for setuid()
    76ab50fa6e35 selftests/landlock: Split signal_scoping_threads tests
    b017f2846a3e landlock: Prepare to add second errata
    332facfa8075 landlock: Always allow signals between threads of the same process
    7dd7f87e0711 landlock: Add erratum for TCP fix
    ea980ea4d18a landlock: Add the errata interface
    9b0d24fa64ca landlock: Move code to ease future backports
    7bc5c360375d KVM: x86: Acquire SRCU in KVM_GET_MP_STATE to protect guest memory accesses
    bbf821c35dab KVM: x86: Explicitly zero-initialize on-stack CPUID unions
    99b99032a89e KVM: PPC: Enable CAP_SPAPR_TCE_VFIO on pSeries KVM guests
    fae0a8796c4f KVM: Allow building irqbypass.ko as as module when kvm.ko is a module
    3bc2208c749c gve: handle overflow when reporting TX consumed descriptors
    62024ad4c51e gpio: zynq: Fix wakeup source leaks on device unbind
    2d66517135de gpio: tegra186: fix resource handling in ACPI probe path
    e66fb9b4e9ad ftrace: Properly merge notrace hashes
    1fce9574b9d5 ftrace: Add cond_resched() to ftrace_graph_set_hash()
    3e467f1c74f4 dt-bindings: coresight: qcom,coresight-tpdm: Fix too many 'reg'
    58c453801bb9 dt-bindings: coresight: qcom,coresight-tpda: Fix too many 'reg'
    74f01c2ca802 dm-verity: fix prefetch-vs-suspend race
    dd91458a8443 dm-integrity: fix non-constant-time tag verification
    ba42f98f092b dm-integrity: set ti->error on memory allocation failure
    a1a4fdc33d9c dm-ebs: fix prefetch-vs-suspend race
    08deafddfcb0 dlm: fix error if active rsb is not hashed
    b77f8a17ef6f dlm: fix error if inactive rsb is not hashed
    eaa7014aecb5 crypto: ccp - Fix uAPI definitions of PSP errors
    5116b340cf88 crypto: ccp - Fix check for the primary ASP device
    1f9648e2460b clk: qcom: gdsc: Set retain_ff before moving to HW CTRL
    4d6fb2a43f0d clk: qcom: gdsc: Capture pm_genpd_add_subdomain result code
    12ef07c4bfe4 clk: qcom: gdsc: Release pm subdomains in reverse add order
    809e83a5758e clk: qcom: clk-branch: Fix invert halt status bit check for votable clocks
    56c29847bc4c clk: renesas: r9a07g043: Fix HP clock source for RZ/Five
    4ed194d9bbf7 cifs: Ensure that all non-client-specific reparse points are processed by the server
    2a240405978d cifs: fix integer overflow in match_server()
    e0717385f5c5 cifs: avoid NULL pointer dereference in dbg call
    2eb6e5e0944c CIFS: Propagate min offload along with other parameters from primary to secondary channels.
    63d71ae01092 thermal/drivers/rockchip: Add missing rk3328 mapping entry
    474b3194c8ff tracing: Do not add length to print format in synthetic events
    868df4eb784c tracing: fprobe events: Fix possible UAF on modules
    a7fda1fd6d6c x86/xen: fix balloon target initialization for PVH dom0
    9e7c37fadb3b sctp: detect and prevent references to a freed transport in sendmsg
    65b259e3e06d mm/hwpoison: introduce folio_contain_hwpoisoned_page() helper
    1fd89407d7cb mm/hugetlb: move hugetlb_sysctl_init() to the __init section
    73d17d48df6c mm/hwpoison: do not send SIGBUS to processes with recovered clean pages
    14936034de92 mm/userfaultfd: fix release hang over concurrent GUP
    cc98577f9117 mm: add missing release barrier on PGDAT_RECLAIM_LOCKED unlock
    2532df0a9b74 mm/mremap: correctly handle partial mremap() of VMA starting at 0
    6dd8d9440fd3 mm: fix lazy mmu docs and usage
    83b6b5061ebd mm: make page_mapped_in_vma() hugetlb walk aware
    53dc6b00c02d mm/rmap: reject hugetlb folios in folio_make_device_exclusive()
    ab0af0126023 mm/damon/ops: have damon_get_folio return folio even for tail pages
    5f7f6abd92b6 net: Fix null-ptr-deref by sock_lock_init_class_and_name() and rmmod.
    fba396b79942 sparc/mm: avoid calling arch_enter/leave_lazy_mmu() in set_ptes
    690446dc72d5 sparc/mm: disable preemption in lazy mmu mode
    cb6b9bd66181 iommu/vt-d: Wire up irq_ack() to irq_move_irq() for posted MSIs
    6722a0cb8186 iommu/vt-d: Fix possible circular locking dependency
    e953e11123aa iommu/vt-d: Don't clobber posted vCPU IRTE when host IRQ affinity changes
    c95a438d2c37 iommu/vt-d: Put IRTE back into posted MSI mode if vCPU posting is disabled
    e5dd974d6e00 iommu/tegra241-cmdqv: Fix warnings due to dmam_free_coherent()
    b8b41eac7054 iommufd: Fix uninitialized rc in iommufd_access_rw()
    327e6b8b2816 btrfs: zoned: fix zone finishing with missing devices
    380ba38801eb btrfs: zoned: fix zone activation with missing devices
    b9af27d020e4 btrfs: tests: fix chunk map leak after failure to add it to the tree
    601db4e8bfe8 btrfs: fix non-empty delayed iputs list on unmount due to compressed write workers
    61a5c565fd24 backlight: led_bl: Hold led_access lock when calling led_sysfs_disable()
    a3b36c9da305 arm64: dts: exynos: gs101: disable pinctrl_gsacore node
    ac45d49df9dc arm64: dts: mediatek: mt8173: Fix disp-pwm compatible string
    1dd288783dcb arm64: mm: Correct the update of max_pfn
    21c512430424 arm64: tegra: Remove the Orin NX/Nano suspend key
    eec737e17e55 arm64: mops: Do not dereference src reg for a set operation
    52f251dbfb38 mtd: rawnand: Add status chack in r852_ready()
    5479a6af3c96 mtd: inftlcore: Add error check for inftl_read_oob()
    6554491b4a77 mptcp: only inc MPJoinAckHMacFailure for HMAC failures
    dc81e41a307d mptcp: fix NULL pointer in can_accept_new_subflow
    c7f611e711c8 lib: scatterlist: fix sg_split_phys to preserve original scatterlist offsets
    95f0958240e6 locking/lockdep: Decrease nr_unused_locks if lock unused in zap_class()
    008b90d36d91 mailbox: tegra-hsp: Define dimensioning masks in SoC data
    7b47df6498f2 mfd: ene-kb3930: Fix a potential NULL pointer dereference
    4b037851edd7 leds: rgb: leds-qcom-lpg: Fix calculation of best period Hi-Res PWMs
    5ae9e361e284 leds: rgb: leds-qcom-lpg: Fix pwm resolution max for Hi-Res PWMs
    e94314b72768 kbuild: exclude .rodata.(cst|str)* when building ranges
    9eaec071f111 jbd2: remove wrong sb->s_sequence check
    e6bba328578f i3c: Add NULL pointer check in i3c_master_queue_ibi()
    34aaf448e204 i3c: master: svc: Use readsb helper for reading MDB
    0327683c5571 ima: limit the number of ToMToU integrity violations
    48085ab823f0 ima: limit the number of open-writers integrity violations
    9a264e4a595d smb311 client: fix missing tcon check when mounting with linux/posix extensions
    44a2572a0fdc soc: samsung: exynos-chipid: Add NULL pointer check in exynos_chipid_probe()
    fbda9cac1bb3 svcrdma: do not unregister device for listeners
    f3cb81cb96d5 tpm: do not start chip while suspended
    76cc21a9a40f udf: Fix inode_getblk() return value
    8fd217a99dbb vdpa/mlx5: Fix oversized null mkey longer than 32bit
    a1dde7457d57 f2fs: fix to avoid atomicity corruption of atomic file
    16d9067f00e3 ext4: fix off-by-one error in do_split
    a77955f7704b bus: mhi: host: Fix race between unprepare and queue_buf
    7d12a7d43c7b accel/ivpu: Fix deadlock in ivpu_ms_cleanup()
    5c200b7ebdf9 accel/ivpu: Fix warning in ivpu_ipc_send_receive_internal()
    7022946773d7 ALSA: hda/realtek: Enable Mute LED on HP OMEN 16 Laptop xd000xx
    d2a2076d9cb7 ASoC: qdsp6: q6asm-dai: fix q6asm_dai_compr_set_params error path
    17f1e4213113 ASoC: qdsp6: q6apm-dai: fix capture pipeline overruns.
    aa7e9eabe68c ASoC: qdsp6: q6apm-dai: set 10 ms period and buffer alignment.
    a28217b064f8 ASoC: q6apm-dai: make use of q6apm_get_hw_pointer
    f5891f204d13 ASoC: q6apm-dai: schedule all available frames to avoid dsp under-runs
    d383051f8293 ASoC: q6apm: add q6apm_get_hw_pointer helper
    acadb2e2b3c5 ASoC: codecs: wcd937x: fix a potential memory leak in wcd937x_soc_codec_probe()
    3e0356857ed5 io_uring/kbuf: reject zero sized provided buffers
    b7c6d081c19a io_uring/net: fix io_req_post_cqe abuse by send bundle
    0828d6e9add6 io_uring/net: fix accept multishot handling
    00026f80c430 wifi: mt76: mt7925: fix the wrong simultaneous cap for MLO
    374f2bf7b3ff wifi: mt76: mt7925: fix the wrong link_idx when a p2p_device is present
    0dd6c62c1370 wifi: mt76: mt7925: fix country count limitation for CLC
    1706a07b38ae wifi: mt76: mt7925: ensure wow pattern command align fw format
    eb434adf79dd wifi: mac80211: fix integer overflow in hwmp_route_info_get()
    ef44c9e81172 wifi: mt76: Add check for devm_kstrdup()
    9d6b789a8ff9 clocksource/drivers/stm32-lptimer: Use wakeup capable instead of init wakeup
    9d99358349e4 mtd: Replace kcalloc() with devm_kcalloc()
    2b27df685244 net: dsa: mv88e6xxx: fix internal PHYs for 6320 family
    020404265b87 net: dsa: mv88e6xxx: workaround RGMII transmit delay erratum for 6320 family
    39fc12742292 mtd: Add check for devm_kcalloc()
    91e1405088a9 mptcp: sockopt: fix getting freebind & transparent
    1b4ecd033e30 mptcp: sockopt: fix getting IPV6_V6ONLY
    c59dc7c425cc media: chips-media: wave5: Fix timeout while testing 10bit hevc fluster
    d595713de7f8 media: chips-media: wave5: Fix a hang after seeking
    76cab9f540cc media: chips-media: wave5: Avoid race condition in the interrupt handler
    7fafaf00cc5f media: chips-media: wave5: Fix gray color on screen
    6f77a6d2ea31 media: i2c: imx214: Rectify probe error handling related to runtime PM
    8dd2d1561c6a media: i2c: imx219: Rectify runtime PM handling in probe and remove
    99f929914713 media: i2c: imx319: Rectify runtime PM handling probe and remove
    bb3fd8b7906a media: venus: hfi_parser: refactor hfi packet parsing logic
    53e376178cea media: venus: hfi_parser: add check to avoid out of bound access
    3da0d7318730 media: nuvoton: Fix reference handling of ece_pdev
    4b1bdaadbf19 media: nuvoton: Fix reference handling of ece_node
    e22fa60bcd85 media: i2c: ov7251: Introduce 1 ms delay between regulators and en GPIO
    b155aecd7f0f media: i2c: ov7251: Set enable GPIO low in probe
    ad466aacb17f media: i2c: ccs: Set the device's runtime PM status correctly in probe
    983b5434a66b media: i2c: ccs: Set the device's runtime PM status correctly in remove
    3ff4feef7af3 Revert "media: imx214: Fix the error handling in imx214_probe()"
    baea1762cdf2 media: v4l2-dv-timings: prevent possible overflow in v4l2_detect_gtf()
    b933486f6b80 media: imx219: Adjust PLL settings based on the number of MIPI lanes
    dd0d323b472f media: platform: stm32: Add check for clk_enable()
    3f1f712f80db media: visl: Fix ERANGE error when setting enum controls
    f67c3f84520b media: hi556: Fix memory leak (on error) in hi556_check_hwcfg()
    df6ef66cc3ff media: streamzap: prevent processing IR data on URB failure
    afada73000be accel/ivpu: Fix PM related deadlocks in MS IOCTLs
    4c8056fbb17d tpm, tpm_tis: Fix timeout handling when waiting for TPM status
    7266066b9469 mtd: rawnand: brcmnand: fix PM resume warning
    33607e924023 spi: cadence-qspi: Fix probe on AM62A LP SK
    c32278961340 KVM: arm64: Tear down vGIC on failed vCPU creation
    20c105f58769 arm64: errata: Add KRYO 2XX/3XX/4XX silver cores to Spectre BHB safe list
    3b0f2526c87e arm64: errata: Assume that unknown CPUs _are_ vulnerable to Spectre BHB
    4af285843525 arm64: errata: Add QCOM_KRYO_4XX_GOLD to the spectre_bhb_k24_list
    2ff58c5b260f arm64: cputype: Add MIDR_CORTEX_A76AE
    7e619d4d2715 xenfs/xensyms: respect hypervisor's "next" indication
    88962f197876 media: rockchip: rga: fix rga offset lookup
    ceb23f66ef8f media: siano: Fix error handling in smsdvb_module_init()
    7631d176086c media: vim2m: print device name after registering device
    679424f8b314 media: venus: hfi: add check to handle incorrect queue size
    530f623f56a6 media: venus: hfi: add a check to handle OOB in sfr region
    72629a582db7 media: intel/ipu6: set the dev_parent of video device to pdev
    f598940803cd media: mgb4: Fix switched CMT frequency range "magic values" sets
    66e35600f726 media: i2c: adv748x: Fix test pattern selection mask
    1c673fa8889e media: mgb4: Fix CMT registers update logic
    ced0ddecc04b media: uapi: rkisp1-config: Fix typo in extensible params example
    8c64a2cfdbb8 media: mtk-vcodec: venc: avoid -Wenum-compare-conditional warning
    9f009fa823c5 media: mediatek: vcodec: Fix a resource leak related to the scp device in FW initialization
    956c5e4965d5 dt-bindings: media: st,stmipid02: correct lane-polarities maxItems
    a9a73da6e014 auxdisplay: hd44780: Fix an API misuse in hd44780.c
    bdbc38bd12eb HID: pidff: Fix set_device_control()
    1565ead12f5c HID: pidff: Fix 90 degrees direction name North -> East
    5318556ed31f HID: pidff: Compute INFINITE value instead of using hardcoded 0xffff
    b15301f28960 HID: pidff: Clamp effect playback LOOP_COUNT value
    42ec3b5bf7e6 HID: pidff: Rename two functions to align them with naming convention
    b782892cd264 HID: pidff: Remove redundant call to pidff_find_special_keys
    239c8ac58cfc HID: pidff: Support device error response from PID_BLOCK_LOAD
    2d698115f9b3 HID: pidff: Comment and code style update
    35ebc643aff9 HID: hid-universal-pidff: Add Asetek wheelbases support
    211861869766 HID: pidff: Make sure to fetch pool before checking SIMULTANEOUS_MAX
    13d15dd6175e HID: pidff: Factor out pool report fetch and remove excess declaration
    6fbf2ac6d5b6 HID: pidff: Use macros instead of hardcoded min/max values for shorts
    87783d301e98 HID: pidff: Simplify pidff_rescale_signed
    61e4de1728ac HID: pidff: Move all hid-pidff definitions to a dedicated header
    8f0b2d791e0f HID: pidff: Factor out code for setting gain
    5243ca2a5c67 HID: pidff: Rescale time values to match field units
    7009a060ffef HID: pidff: Define values used in pidff_find_special_fields
    9cdd95f9a4f3 HID: pidff: Simplify pidff_upload_effect function
    433c4234ff73 HID: pidff: Completely rework and fix pidff_reset function
    2b1e13ed295a HID: pidff: Stop all effects before enabling actuators
    629405d18543 HID: pidff: Clamp PERIODIC effect period to device's logical range
    43e5e2879dee s390/pci: Fix s390_mmio_read/write syscall page fault handling
    dd3edffae868 ext4: don't treat fhandle lookup of ea_inode as FS corruption
    806908d5d978 bpf: support SKF_NET_OFF and SKF_LL_OFF on skb frags
    7b9bdd705911 erofs: set error to bio if file-backed IO fails
    61f590c6771b pwm: fsl-ftm: Handle clk_get_rate() returning 0
    a2786a82de0c pwm: rcar: Improve register calculation
    4cb15042b5f3 pwm: mediatek: Prevent divide-by-zero in pwm_mediatek_config()
    2bef78f9622d tpm: End any active auth session before shutdown
    01c2ed3f7dce tpm, tpm_tis: Workaround failed command reception on Infineon devices
    a4e3c80cecbe ktest: Fix Test Failures Due to Missing LOG_FILE Directories
    9a6be23eb0ff tracing: probe-events: Add comments about entry data storing code
    52eafaa56f8f fbdev: omapfb: Add 'plane' value check
    fb4c507bf24a drm/amdgpu: grab an additional reference on the gang fence v2
    5c3cfcf0b4bf PCI: vmd: Make vmd_dev::cfg_lock a raw_spinlock_t type
    73d2b9625031 PCI: Check BAR index for validity
    e64be12f8401 drm/amdgpu: Fix the race condition for draining retry fault
    8feefd106afb PCI: Enable Configuration RRS SV early
    dc4380f34613 drm/amdgpu: handle amdgpu_cgs_create_device() errors in amd_powerplay_create()
    7a872981c69d PCI: Add Rockchip Vendor ID
    6e415cb823b1 drm/mediatek: mtk_dpi: Explicitly manage TVD clock in power on/off
    39a7576d113c drm/mediatek: mtk_dpi: Move the input_2p_en bit to platform data
    831c4017f4ab drm/xe/xelp: Move Wa_16011163337 from tunings to workarounds
    1a322b330dc0 drm/amdkfd: debugfs hang_hws skip GPU with MES
    10ce36501f1e drm/amdkfd: Fix pqm_destroy_queue race with GPU reset
    ffd37d7d44d7 drm/amdkfd: Fix mode1 reset crash issue
    96757c085bd9 drm/amdkfd: clamp queue size to minimum
    1c38108a49aa drivers: base: devres: Allow to release group on device release
    c9323cbc94d5 drm/amd/display: stop DML2 from removing pipes based on planes
    b22cb42a5ee1 drm/bridge: panel: forbid initializing a panel with unknown connector type
    f04612890c56 drm/debugfs: fix printk format for bridge index
    ba5a998f84cd drm: panel-orientation-quirks: Add quirk for OneXPlayer Mini (Intel)
    a64e0974266e drm: panel-orientation-quirks: Add new quirk for GPD Win 2
    5dd6fdb88953 drm: panel-orientation-quirks: Add quirk for AYA NEO Slide
    6fe4ed94ee82 drm: panel-orientation-quirks: Add quirks for AYA NEO Flip DS and KB
    df33b535f0de drm: panel-orientation-quirks: Add support for AYANEO 2S
    357ba4ed6980 drm/amdgpu: Unlocked unmap only clear page table leaves
    c15a9c84494c drm/amd/display: Update Cursor request mode to the beginning prefetch always
    2eec2fa8666d drm/xe/vf: Don't try to trigger a full GT reset if VF
    4a5f14246bc4 drm/xe/bmg: Add new PCI IDs
    044c1b352841 drm: allow encoder mode_set even when connectors change for crtc
    09246dfb5c87 Bluetooth: Add quirk for broken READ_PAGE_SCAN_TYPE
    035e1bffc063 Bluetooth: Add quirk for broken READ_VOICE_SETTING
    feed98579d40 Bluetooth: qca: simplify WCN399x NVM loading
    fe6f1f349d6e Bluetooth: hci_qca: use the power sequencer for wcn6750
    a4d49212e316 Bluetooth: btusb: Add 2 HWIDs for MT7922
    6b7a32fa9bac Bluetooth: hci_uart: fix race during initialization
    082ae971a1db Bluetooth: btintel_pcie: Add device id of Whale Peak
    40c70ff44b70 tracing: fix return value in __ftrace_event_enable_disable for TRACE_REG_UNREGISTER
    299d7d27af6b net: vlan: don't propagate flags on open
    fe51630ba2ba wifi: mt76: mt76x2u: add TP-Link TL-WDN6200 ID to device table
    bf089c4d1141 btrfs: harden block_group::bg_list against list_del() races
    0519ba030c3e ahci: Marvell 88SE9215 controllers prefer DMA for ATAPI
    7fe3b4deed8b scsi: st: Fix array overflow in st_setup()
    a8a8076210c2 cdc_ether|r8152: ThinkPad Hybrid USB-C/A Dock quirk
    eb59cc31b6ea ext4: ignore xattrs past end
    aa39d45071ec Revert "f2fs: rebuild nat_bits during umount"
    5f815757e6de ext4: protect ext4_release_dquot against freezing
    202ba2f483cd ahci: add PCI ID for Marvell 88SE9215 SATA Controller
    163e8c1083b4 net: sfp: add quirk for FS SFP-10GM-T copper SFP+ module
    ecc461331604 f2fs: fix to avoid out-of-bounds access in f2fs_truncate_inode_blocks()
    3abe15e75648 wifi: ath12k: Fix invalid data access in ath12k_dp_rx_h_undecap_nwifi
    1833e1650059 net: sfp: add quirk for 2.5G OEM BX SFP
    04c0c555049f ata: libata-eh: Do not use ATAPI DMA for a device limited to PIO mode
    ccd97c8a4f90 jfs: add sanity check for agwidth in dbMount
    aeb926e605f9 jfs: Prevent copying of nlink with value 0 from disk inode
    c802a6a4009f fs/jfs: Prevent integer overflow in AG size calculation
    319877db0aa9 fs/jfs: cast inactags to s64 to prevent potential overflow
    63148ce4904f jfs: Fix uninit-value access of imap allocated in the diMount() function
    8e7bb6636082 can: flexcan: add NXP S32G2/S32G3 SoC support
    fba5f41f1536 can: flexcan: Add quirk to handle separate interrupt lines for mailboxes
    7204335d1991 page_pool: avoid infinite loop to schedule delayed worker
    de94d0ca9ea5 net: usb: asix_devices: add FiberGecko DeviceID
    93a562eedcd5 scsi: target: spc: Fix RSOC parameter data header size
    4ae2c7c7d369 wifi: mac80211: ensure sdata->work is canceled before initialized.
    cca16fbd17b0 wifi: mac80211: add strict mode disabling workarounds
    c6e50cb8bf57 f2fs: don't retry IO for corrupted data scenario
    a6bf0fd322ab net: page_pool: don't cast mp param to devmem
    65ba18c84dbd scsi: mpi3mr: Synchronous access b/w reset and tm thread for reply queue
    6a35449df867 scsi: mpi3mr: Avoid reply queue full condition
    b1e0b4f494c5 ata: libata-core: Add 'external' to the libata.force kernel parameter
    535b666118f6 wifi: ath12k: Fix invalid entry fetch in ath12k_dp_mon_srng_process
    3cb47b50926a wifi: ath12k: fix memory leak in ath12k_pci_remove()
    a3981850f14e wifi: ath11k: fix memory leak in ath11k_xxx_remove()
    b92c5179db4b wifi: ath11k: Fix DMA buffer allocation to resolve SWIOTLB issues
    90a5892d8531 platform/x86: x86-android-tablets: Add select POWER_SUPPLY to Kconfig
    7f04c9e8fffe ASoC: amd: yc: update quirk data for new Lenovo model
    3a03a7f0f872 ASoC: amd: Add DMI quirk for ACP6X mic support
    cb1c6cb11056 ALSA: usb-audio: Fix CME quirk for UF series keyboards
    fe74885e3609 mmc: dw_mmc: add a quirk for accessing 64-bit FIFOs in two halves
    6d32a30fa1b5 media: s5p-mfc: Corrected NV12M/NV21M plane-sizes
    3c057a49045f media: uvcvideo: Add quirk for Actions UVC05
    d4fcd06e1231 ASoC: fsl_audmix: register card device depends on 'dais' property
    d981c3d2980a ALSA: hda: intel: Add Lenovo IdeaPad Z570 to probe denylist
    97ae1d5080f7 ALSA: hda: intel: Fix Optimus when GPU has no sound
    25490b45d17c ASoC: amd: ps: use macro for ACP6.3 pci revision id
    f8f4d77710e1 HID: pidff: Fix null pointer dereference in pidff_find_fields
    0301b85fe6f9 HID: pidff: Add PERIODIC_SINE_ONLY quirk
    f45f26a6b3e7 HID: Add hid-universal-pidff driver and supported device ids
    116d4f67aeb5 HID: pidff: Add FIX_WHEEL_DIRECTION quirk
    ed806fd80eba HID: pidff: Add hid_pidff_init_with_quirks and export as GPL symbol
    6a20fae104ef HID: pidff: Add PERMISSIVE_CONTROL quirk
    fd608e2a06c2 HID: pidff: Add MISSING_PBO quirk and its detection
    fab3dbb604be HID: pidff: Add MISSING_DELAY quirk and its detection
    d21ccf544ca1 HID: pidff: Do not send effect envelope if it's empty
    1c0785f16472 HID: pidff: Convert infinite length from Linux API to PID standard
    5330ce1ee2be ASoC: SOF: topology: Use krealloc_array() to replace krealloc()
    377b041c22ac platform/chrome: cros_ec_lpc: Match on Framework ACPI device
    97f68e7287e0 zstd: Increase DYNAMIC_BMI2 GCC version cutoff from 4.8 to 11.0 to work around compiler segfault
    8d0f280e7aec xen/mcelog: Add __nonstring annotations for unterminated strings
    cb58e909203e arm64: cputype: Add QCOM_CPU_PART_KRYO_3XX_GOLD
    ead1fc9f93e2 Flush console log from kernel_power_off()
    11ae4fec1f4b PM: hibernate: Avoid deadlock in hibernate_compressor_param_set()
    89a4db7a67e7 perf/dwc_pcie: fix some unreleased resources
    1b3ebfb15dc0 perf: arm_pmu: Don't disable counter in armpmu_add()
    f48625eeeb29 x86/cpu: Don't clear X86_FEATURE_LAHF_LM flag in init_amd_k8() on AMD when running in a virtual machine
    48e705652db9 x86/ia32: Leave NULL selector values 0~3 unchanged
    640bb2252158 x86/percpu: Disable named address spaces for UBSAN_BOOL with KASAN for GCC < 14.2
    837f5cb7be9a x86/mm: Clear _PAGE_DIRTY for kernel mappings when we clear _PAGE_RW
    f8d28fa305b7 pm: cpupower: bench: Prevent NULL dereference on malloc failure
    67e85cfa951c umount: Allow superblock owners to force umount
    52535688c27f fs: consistently deref the files table with rcu_dereference_raw()
    fa1827fa968c perf: Fix hang while freeing sigtrap event
    7ef5aa081f98 perf/core: Simplify the perf_event_alloc() error path
    c61feda37350 perf/core: Add aux_pause, aux_resume, aux_start_paused
    a0842539e8ef iommu/mediatek: Fix NULL pointer deference in mtk_iommu_device_group
    5efd53900acc iommu/exynos: Fix suspend/resume with IDENTITY domain
    7640c2abb647 nft_set_pipapo: fix incorrect avx2 match of 5th field octet
    b4c836d33ca8 net: ppp: Add bound checking for skb data on ppp_sync_txmung
    cc16f7402a91 ipv6: Align behavior across nexthops during path selection
    a6ed6f8ec81b net: phy: allow MDIO bus PM ops to start/stop state machine for phylink-controlled PHY
    6d98cd63426e net: phy: move phy_link_change() prior to mdio_bus_phy_may_suspend()
    aa5a1e4b8829 smb: client: fix UAF in decryption with multichannel
    f86293adce0c net_sched: sch_sfq: move the limit validation
    70449ca40609 net_sched: sch_sfq: use a temporary work area for validating configuration
    ec12da4bcc44 nvmet-fcloop: swap list_add_tail arguments
    c5a906806162 drm/i915/huc: Fix fence not released on early probe errors
    0ae84adbc9cc ata: sata_sx4: Add error handling in pdc20621_i2c_read()
    ad81d666e114 net: libwx: handle page_pool_dev_alloc_pages error
    c81306c9d6d9 drm/tests: probe-helper: Fix drm_display_mode memory leak
    80f4dc6e1f5b drm/tests: modes: Fix drm_display_mode memory leak
    c7a0a32e6cf7 drm/tests: cmdline: Fix drm_display_mode memory leak
    f951d643bc26 drm/tests: helpers: Create kunit helper to destroy a drm_display_mode
    71dd750a0834 drm/tests: modeset: Fix drm_display_mode memory leak
    a065b9960526 net: ethtool: Don't call .cleanup_data when prepare_data fails
    b2f3c3d57a83 tc: Ensure we have enough buffer space when sending filter netlink notifications
    f0bb06b9f1d0 octeontx2-pf: qos: fix VF root node parent queue index
    9fcbca0f8015 net: tls: explicitly disallow disconnect
    4d55144b12e7 codel: remove sch->q.qlen check before qdisc_tree_reduce_backlog()
    7c5957f7905b tipc: fix memory leak in tipc_link_xmit
    1b7685256db2 objtool: Fix INSN_CONTEXT_SWITCH handling in validate_unret()
    ee2b0301d6bf ata: pata_pxa: Fix potential NULL pointer dereference in pxa_ata_probe()
    9e0bdc15579e drm/xe/hw_engine: define sysfs_ops on all directories
    857e9432dab9 x86/acpi: Don't limit CPUs to 1 for Xen PV guests due to disabled ACPI
    9ddc7edc558a drm/i915: Disable RPG during live selftest
    caa5c8a23586 ublk: fix handling recovery & reissue in ublk_abort_queue()
    cb8372e54fdb ublk: refactor recovery configuration flag helpers
    206d0df7b6a5 selftests/futex: futex_waitv wouldblock test should fail
    179ef2f8109e gpiolib: of: Fix the choice for Ingenic NAND quirk
    cdb6e724e7c5 cgroup/cpuset: Fix race between newly created partition and dying one
    1b06f00edaaa cgroup/cpuset: Further optimize code if CONFIG_CPUSETS_V1 not set
    6b145f8b2201 cgroup/cpuset: Enforce at most one rebuild_sched_domains_locked() call per operation
    2dbd1b166034 cgroup/cpuset: Revert "Allow suppression of sched domain rebuild in update_cpumasks_hier()"
    9701dcbf5fce cgroup/cpuset: Fix error handling in remote_partition_disable()
    40bc55e4fcbd cgroup/cpuset: Fix incorrect isolated_cpus update in update_parent_effective_cpumask()
    b980b832318c ASoC: Intel: adl: add 2xrt1316 audio configuration
    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

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agolinux-yocto-dev: update to v6.15
Bruce Ashfield [Tue, 6 May 2025 16:32:56 +0000 (12:32 -0400)] 
linux-yocto-dev: update to v6.15

Bumping our development version to 6.15.

Note: preempt-rt is still TODO

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agokernel-yocto: allow annotated options to be modified
Bruce Ashfield [Tue, 6 May 2025 16:32:55 +0000 (12:32 -0400)] 
kernel-yocto: allow annotated options to be modified

Bumping the kern-tools SRCREV to pickup the following commits:

    tools: allow fixups to conditionally change options

    Sometimes we have options that should either be =y or =m depending
    on the use case.

    Rather than force the options into multiple parallel and very similar
    fragments (which is error prone and labour intensive), we can allow
    an annotation in the configuration fragment that allows the default
    value to be overriden by a variable.

    The variable in question comes from a -D<var>=<value> on the scc
    or spp command line. If the define evaluates to a non-zero value
    a fixup is created that will modify the value when scc finishes
    gathering meta-data.

    An example of a notation would be:

      CONFIG_INET_TUNNEL=y # OVERRIDE:$MODULE_OR_Y

    CONFIG_INET_TUNNEL will be =y when standard tools (like merge-config)
    are used. But when scc/spp see this notation, they check the value
    of the variable MODULE_OR_Y, if that variable evalutes to a non-zero
    value, a fixup is created that will change CONFIG_INET_TUNNEL to
    that value before the kernel is configured.

To use the annotations, scc needs to be passed a value that is used
in the override expression. This has always been possible with defines
(-Dx=y), so we leverage that to control these conditional overrides.

In kernel-yocto, we now have a variable: KMETA_CONFIG_FEATURES

  KMETA_CONFIG_FEATURES ?= ""

Which defaults to empty, the only feature that is currently
implemented is "prefer-modules". When prefer-modules is detected
in the kmeta config features, the following define is passed to
scc:

   -DMODULE_OR_Y=m

Which as you can see from the above INET_TUNNEL example, will
evaluate to "m" and will override the default of "y".

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agocompiler-rt: Always use clang for compiler
Khem Raj [Tue, 6 May 2025 20:11:27 +0000 (13:11 -0700)] 
compiler-rt: Always use clang for compiler

This makes it build for all architectures e.g. riscv/mips/ppc etc.

Using clang-native to build all variants of recipe makes it easier to
handle compiling with various distros choosing different runtimes

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>
3 months agomodule.bbclass: add KBUILD_EXTRA_SYMBOLS to install
Alon Bar-Lev [Tue, 6 May 2025 17:10:27 +0000 (20:10 +0300)] 
module.bbclass: add KBUILD_EXTRA_SYMBOLS to install

Symbols are used during install as well, adding KBUILD_EXTRA_SYMBOLS enables
successful installation.

    | DEBUG: Executing shell function do_install
    | NOTE: make -j 22 KERNEL_SRC=xxx/kernel-source -C xxx/drivers
    KDIR=xxx/kernel-source DEPMOD=echo
    MODLIB=xxx/image/lib/modules/6.6.75-yocto-standard-00189-g530c419bc9db
    INSTALL_FW_PATH=xxx/image/lib/firmware CC=aarch64-poky-linux-gcc
    -fuse-ld=bfd -fcanon-prefix-map  LD=aarch64-poky-linux-ld.bfd
    OBJCOPY=aarch64-poky-linux-objcopy  STRIP=aarch64-poky-linux-strip
    O=xxx/kernel-build-artifacts modules_install
    | make: Entering directory 'xxx/drivers'
    | make -C xxx/kernel-source M=xxx/drivers modules
    | make[1]: Entering directory 'xxx/kernel-source'
    | make[2]: Entering directory 'xxx/kernel-build-artifacts'
    |   MODPOST xxx/drivers/Module.symvers
    | ERROR: modpost: "xxx" [xxx/xxx.ko] undefined!

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agoglibc: stable 2.41 branch update
Deepesh Varatharajan [Tue, 6 May 2025 11:56:31 +0000 (04:56 -0700)] 
glibc: stable 2.41 branch update

Below commits on glibc-2.41 stable branch are updated.
5cb575ca9a elf: tst-audit10: split AVX512F code into dedicated functions [BZ #32882]
046b33800c x86: Detect Intel Diamond Rapids
a53e764657 x86: Handle unknown Intel processor with default tuning
aca31d2712 x86: Add ARL/PTL/CWF model detection support
f68b407d4b x86: Optimize xstate size calculation
d6d56af6e7 elf: Fix arm-linux-gnueabihf build break from b861755a84
b861755a84 elf: Extend glibc.rtld.execstack tunable to force executable stack (BZ 32653)
200d20123c x86: Link tst-gnu2-tls2-x86-noxsave{,c,xsavec} with libpthread
80cd656649 x86: Use separate variable for TLSDESC XSAVE/XSAVEC state size (bug 32810)
a282e2c0ae x86: Skip XSAVE state size reset if ISA level requires XSAVE
bcd4cf9d5f x86_64: Add atanh with FMA
7e72fa7577 x86_64: Add sinh with FMA
6a3a4a5e58 x86_64: Add tanh with FMA
ce9b765522 nptl: Check if thread is already terminated in sigcancel_handler (BZ 32782)
98c712855d nptl: PTHREAD_COND_INITIALIZER compatibility with pre-2.41 versions (bug 32786)
e22c132484 nptl: clear the whole rseq area before registration
33bfd9020f Linux: Remove attribute access from sched_getattr (bug 32781)
66fc3bd758 math: Remove an extra semicolon in math function declarations
1a3083b999 posix: Move environ helper variables next to environ definition (bug 32541)
91f8cff2c4 configure: Fix spelling of -Wl,--no-error-execstack option
fd202462c5 elf: Check if __attribute__ ((aligned (65536))) is supported
746ef8e939 static-pie: Skip the empty PT_LOAD segment at offset 0 [BZ #32763]
56609f8df1 Pass -Wl,--no-error-execstack for tests where -Wl,-z,execstack is used [PR32717]
89be78704e AArch64: Use prefer_sve_ifuncs for SVE memset
c47c3890f1 AArch64: Add SVE memset
e0bc5f64ea math: Improve layout of exp/exp10 data
009c5a2dca aarch64: Add GCS test with signal handler
8d98ee8d70 aarch64: Add GCS tests for dlopen
61ba3cdfa9 aarch64: Add GCS tests for transitive dependencies
fda5730898 aarch64: Add tests for Guarded Control Stack
6d1f97bb06 aarch64: Add configure checks for GCS support
7774a9d07a AArch64: Improve codegen for SVE powf
2025e27a81 AArch64: Improve codegen for SVE pow
f3d9c116cb AArch64: Improve codegen for SVE erfcf
94859e8680 Aarch64: Improve codegen in SVE exp and users, and update expf_inline
7c9a086807 Aarch64: Improve codegen in SVE asinh
30992cb5e9 RISC-V: Fix IFUNC resolver cannot access gp pointer
07288c7445 math: Add optimization barrier to ensure a1 + u.d is not reused [BZ #30664]
2cb04444b9 math: Fix `unknown type name '__float128'` for clang 3.4 to 3.8.1 (bug 32694)
a900dbaf70 x86 (__HAVE_FLOAT128): Defined to 0 for Intel SYCL compiler [BZ #32723]
1e0e33e1b1 Fix tst-aarch64-pkey to handle ENOSPC as not supported
69fda28279 assert: Add test for CVE-2025-0395
cf88351b68 math: Fix tanf for some inputs (BZ 32630)
cb7f206537 nptl: Correct stack size attribute when stack grows up [BZ #32574]
d85a771953 math: Fix sinhf for some inputs (BZ 32627)
bdccbfbc52 math: Fix log10p1f internal table value (BZ 32626)

Testresults:
Before update |After update  |Difference
PASS:  5816 |PASS:  5826  |PASS: +10
FAIL:  239 |FAIL:  239  |FAIL:  0
XPASS: 4 |XPASS: 4  |XPASS: 0
XFAIL: 16 |XFAIL: 16  |XFAIL: 0
UNSUPPORTED: 164|UNSUPPORTED: 164|UNSUPPORTED: 0

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agosend-error-report: make output align with original design when debug disabled
Changqing Li [Tue, 6 May 2025 10:53:37 +0000 (18:53 +0800)] 
send-error-report: make output align with original design when debug disabled

First, it is better to output the error report web link by default when
the report is uploaded successfully like before. This is useful, user
can find the detail the log info from the return link. Yocto Autobuilder
also benifit from this return link.

Second, why don't set level to logging.INFO to make the error report web
link outputed? Because "-j" option want to "Return the result in json
format, silences all other output", So "INFO:" added by logging system
is not wanted, so use print directly.

Example output:
Without "-j":
Preparing to send errors to: http://x.x.x.x:8000
Your entry can be found here: http://x.x.x.x:8000/Errors/Build/25/

With "-j":
{"build_id": 27, "build_url": "http://x.x.x.x:8000/Errors/Build/27/", "failures": [{"id": 26, "url": "http://x.x.x.x:8000/Errors/Details/26/"}], "num_similar_errors": 20, "similar_errors_url": "http://x.x.x.x:8000/Errors/SimilarTo/26/"}

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agocoreutils: remove outdated comment
Etienne Cordonnier [Tue, 6 May 2025 10:20:55 +0000 (12:20 +0200)] 
coreutils: remove outdated comment

The comment about hostname not being included in base_bindir_progs is wrong after https://git.yoctoproject.org/poky/commit/?id=b9bf37ec6792f82753fe265fdcfc19db7dd51ab6 ,
so remove it to avoid confusion.

Also improve comment about bindir_progs.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agomusl: Enable riscv32
Khem Raj [Tue, 6 May 2025 06:10:48 +0000 (23:10 -0700)] 
musl: Enable riscv32

Musl recipe points to recent tip of trunk (1.2.5+) where we now have riscv32
port merged [1], Enable riscv32 as supported arch for musl systems.

[1] https://git.musl-libc.org/cgit/musl/commit/?id=377c363fb5519a224682692004ecd3703c19df93

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>
3 months agoarch-mips.inc: Use -EB/-EL for denoting endianness
Khem Raj [Tue, 6 May 2025 05:57:02 +0000 (22:57 -0700)] 
arch-mips.inc: Use -EB/-EL for denoting endianness

While -meb/-mel works it is not documented as supported and using -EL/-EB
also makes clang work without tweaking TUNE_CCARGS

Fixes
 mips-poky-linux-musl-clang: error: unknown argument: '-meb'

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>
3 months agocompiler-rt-sanitizers: Omit the musl architecture restrictions
Khem Raj [Tue, 6 May 2025 04:03:38 +0000 (21:03 -0700)] 
compiler-rt-sanitizers: Omit the musl architecture restrictions

sanitizers are working fine on arm/aarch64 as well. Remove the
compatible host restriction

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>
3 months agomesa: Do not use envvar BINDGEN_EXTRA_CLANG_ARGS
Khem Raj [Tue, 6 May 2025 02:22:31 +0000 (19:22 -0700)] 
mesa: Do not use envvar BINDGEN_EXTRA_CLANG_ARGS

Its now set in meson bbclass for native, nativesdk and target recipes
correctly.

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>
3 months agomeson: correct bindgen_clang_argments
Dmitry Baryshkov [Tue, 6 May 2025 02:22:30 +0000 (19:22 -0700)] 
meson: correct bindgen_clang_argments

Follow the changes in Clang search paths and specify sysroot via the
TOOLCHAIN_OPTIONS, otherwise clang will fail to find system headers when
executed by bindgen.

For SDK packages TOOLCHAIN_OPTIONS don't contain full sysroot path, so
specify the correct directory explicitly.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
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>
3 months agoclang: split SPIRV-LLVM-Translator to its own recipe
Dmitry Baryshkov [Tue, 6 May 2025 00:03:59 +0000 (03:03 +0300)] 
clang: split SPIRV-LLVM-Translator to its own recipe

The translator is not a part of the same source tree. As such it has
tendency to break on clang upgrades. Split it to its own recipe in order
to ease handling of clang.

This also makes it use SPIR-V headers provided by the spirv-headers
recipe instead of vendoring them in.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agovex: fix rootfs manifest
Peter Marko [Mon, 5 May 2025 10:27:56 +0000 (12:27 +0200)] 
vex: fix rootfs manifest

Rootfs VEX file is created by gathering files from CVE_CHECK_DIR
(deploy directory), however recipes generate the files only in
CVE_CHECK_DIR (log directory).
This make the rootfs VEX be always empty without any message.

The code is copied from cve_check class, which writes to both, so let
keep them aligned and make also vex write both files.

Also add a warning for case that a cve file would be still missing.

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>
3 months agommc-utils: upgrade to latest revision
Dario Binacchi [Wed, 30 Apr 2025 12:51:31 +0000 (14:51 +0200)] 
mmc-utils: upgrade to latest revision

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agospdx30: Provide software_packageUrl field in SPDX 3.0 SBOM
Hongxu Jia [Mon, 28 Apr 2025 05:57:17 +0000 (13:57 +0800)] 
spdx30: Provide software_packageUrl field in SPDX 3.0 SBOM

Define var-SPDX_PACKAGE_URL to provide software_packageUrl field [1][2]
in SPDX 3.0 SBOM, support to override with package name
SPDX_PACKAGE_URL:<pkgname>

Currently, the format of purl is not defined in Yocto, set empty for now
until we have a comprehensive plan for what Yocto purls look like.
But users could customize their own purl by setting var-SPDX_PACKAGE_URL

[1] https://spdx.github.io/spdx-spec/v3.0.1/model/Software/Properties/packageUrl/
[2] https://spdx.github.io/spdx-spec/v3.0.1/annexes/pkg-url-specification/

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>
3 months agosassc: fix runtime version
Yi Zhao [Fri, 25 Apr 2025 07:37:57 +0000 (15:37 +0800)] 
sassc: fix runtime version

The sassc_version.h should be generated from sassc_version.h.in. But
there is already a sassc_version.h file in source directory. When ${S}
!= ${B}, the sassc_version.h is generated in build directory, and the
original sassc_version.h in source directory is not overwritten.
However, the latter is used during the build, resulting in a missing
runtime version. Remove sassc_version.h from source directory to ensure
that the one in build directory is used during the build.

Before the fix:
$ sassc --version
sassc: [NA]
libsass: [NA]
sass2scss: 1.1.1
sass: 3.5

After the fix:
$ sassc  --version
sassc: 3.6.2
libsass: 3.6.6
sass2scss: 1.1.1
sass: 3.5

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>
3 months agolibsass: fix runtime version
Yi Zhao [Fri, 25 Apr 2025 07:37:56 +0000 (15:37 +0800)] 
libsass: fix runtime version

The version.h should be generated from version.h.in. But there is
already a version.h file in source directory. When ${S} != ${B}, the
version.h is generated in build directory, and the original version.h in
source directory is not overwritten. However, the latter is used during
the build, resulting in a missing runtime version. Remove version.h from
source directory to ensure that the one in build directory is used
during the build.

Before the fix:
$ sassc --version
sassc: [NA]
libsass: [NA]
sass2scss: 1.1.1
sass: 3.5

After the fix:
$ sassc  --version
sassc: 3.6.2
libsass: 3.6.6
sass2scss: 1.1.1
sass: 3.5

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>
3 months agopseudo: Upgrade to version 1.9.1
Richard Purdie [Tue, 6 May 2025 09:01:21 +0000 (10:01 +0100)] 
pseudo: Upgrade to version 1.9.1

This brings in:
 * nftw, nftw64: add wrapper
 * ftw, nftw, ftw64, nftw64: add tests
 * Move ftw and ftw64 to calling ntfw and nftw64
 * makewrappers: Introduce 'array' support
 * pseudo_util.c: Avoid warning when we intentionally discard const
 * pseudo_client.c: Fix warning
 * yocto-older-glibc-symbols.path: Add as a reference patch
 * pseudo/pseudo_client: Add wrapper functions to operate correctly with glibc 2.38 onwards
 * configure: Prune PIE flags
 * test/test-parallel-rename.sh: Add parallel rename test
 * test/test-parallel-symlinks.sh: Add parallel symlink test
 * ports/linux/guts: Add .gitignore to ignore generated files

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agomesa: Fix header search paths
Khem Raj [Fri, 2 May 2025 16:55:18 +0000 (09:55 -0700)] 
mesa: Fix header search paths

mesa build currently emits CLANG_RESOURCE_DIR into compiled objects and
meson calculates it from llvm cmake files from sysroot and it points to
absolute paths in target sysroot. To fix this backport a patch that does
not rely on CLANG_RESOURCE_DIR, however, this patch still leaves it in
code as fallback via FALLBACK_CLANG_RESOURCE_DIR, we are on LLVM 20.x
which will not use this variable, lets just remove detection so it does
not encode hardcoded paths.

Fixes

ERROR: mesa-2_25.0.2-r0 do_package_qa: QA Issue: File /usr/lib/libMesaOpenCL.so.1.0.0 in package libopencl-mesa contains reference to TMPDIR [buildpaths]
ERROR: mesa-2_25.0.2-r0 do_package_qa: Fatal QA errors were found, failing task.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agolibsolv: Upgrade to 0.7.32 release
Khem Raj [Mon, 5 May 2025 04:15:18 +0000 (21:15 -0700)] 
libsolv: Upgrade to 0.7.32 release

Brings these changes

- build both static and dynamic libraries on new suse distros
- require cmake >= 3.5
- new features:
  * support the apk package and repository format (both v2 and v3)
  * new dataiterator_final_{repo,solvable} functions

- Enable static libs for OE as well, this fixes a crash/signsegv seen
  in stringpool_strn2id () especially when multithreading is in play,
  this is brought forward with clang merge patchset when using ipk
  backend

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agolibcxx,compiler-rt-sanitizers: Add cflags to build with clang compiler
Khem Raj [Mon, 5 May 2025 04:15:17 +0000 (21:15 -0700)] 
libcxx,compiler-rt-sanitizers: Add cflags to build with clang compiler

We are using clang-native to build the native versions of these recipes
but we are missing the needed compiler flags to let it c/c++ runtime
appropriately. This also ensures that meta-clang does not have to worry
about the compiler settings for nativesdk/native pieces separately.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agoclang: Upgrade to 20.1.3
Khem Raj [Mon, 5 May 2025 04:15:16 +0000 (21:15 -0700)] 
clang: Upgrade to 20.1.3

Brings following fixes

923a5c4f83d2 Revert "[ARM][ConstantIslands] Correct MinNoSplitDisp calculation (#114590)"
86f5891c5986 [llvm][Hexagon] Promote operand v2i1 to v2i32 (#135409)
d55c3c20520a [libc++] Fix misplaced _LIBCPP_POP_MACROS (#134874)
9420327ad768 [Clang] Fix a lambda pattern comparison mismatch after ecc7e6ce4 (#133863)
4da7285e636e Silence -Wcast-function-type warnings on idiomatic Windows code (#135660)
c5109be53b7e [LV] Disable epilogue vectorization for FindLastIV if start is poison.
91a3f14d9497 [LV] Add tests with FindLastIV and epilogue vectorization.
2131242240f7 [LLVM][MemCpyOpt] Unify alias tags if we optimize allocas (#129537)
86c98536380b [libc++] Fix deployment targets that were incorrectly bumped (#134278)
dfd6f123362a [libc++] Guard additional headers with _LIBCPP_HAS_LOCALIZATION (#131921)
dc9d4f9a7008 [lldb] Respect LaunchInfo::SetExecutable in ProcessLauncherPosixFork (#133093)
9c7d72869876 [LoongArch] Move fix-tle-le-sym-type test to test/MC. NFC (#133839)
0c30835a63db [X86][AVX10] Remove VAES and VPCLMULQDQ feature from AVX10.1 (#135489)
2e0966408283 [X86] Backport saturate-convert intrinsics renaming & YMM rounding intrinsics removal in AVX10.2
0dd4235473d4 [SCEV] Use ashr to adjust constant multipliers (#135534)
a141e58685fd [llvm][CodeGen] avoid repeated interval calculation in window scheduler (#132352)
d88cd35023b4 [llvm][CodeGen] Fix the empty interval issue in Window Scheduler (#129204)
73d1e8598eda [CodeGen] Avoid repeated hash lookups (NFC) (#130237)
7034995f1029 [clang] Handle Binary StingLiteral kind in one more place (#132201)
2e7710eaffdd [clang] Introduce "binary" StringLiteral for #embed data (#127629)
e0db588f3db4 [IR] Fix assertion error in User new/delete edge case (#129914)
d5bb7b866e59 Avoid a race condition in opt-viewer/optrecord (#131214)
d15fef4209f1 [IndVarSimplify] Handle the case where both operands are the same when widening IV (#135207)
91647ae0dffe [X86][SSE] Don't emit SSE2 load instructions in SSE1-only mode (#134547)
d05543ed0796 [clang-format] Keep the space between `not` and a unary operator (#135035)
81220e68a496 [fatlto] Add coroutine passes when using FatLTO with ThinLTO (#134434)
edb54a7821fe Release/20.x: [clang-format] Set C11 instead of C17 for LK_C
4181e829d1db [LLDB][LoongArch] Fix build errors about NT_LOONGARCH_HW_{BREAK,WATCH} (#126020)
7436329bfee9 Revert "[clang] [ARM] Explicitly enable NEON for Windows/Darwin targets (#122095)"
a0c8959cc880 [X86] When expanding LCMPXCHG16B_SAVE_RBX, substitute RBX in base (#134109)
a8b5fe017a5e [libc++] Add missing release note for LLVM 20 about zip_view (#134144)
41aefdbebe64 cuda clang: Fix argument order for __reduce_max_sync (#132881)
19c2e1c12d47 [clang-tidy] Fix broken HeaderFilterRegex when read from config file (#133582)
ac31db0463c0 [Sanitizers][Darwin][Test] XFAIL malloc_zone.cpp
53141e4e3c65 [clang] Do not infer lifetimebound for functions with void return type (#131997)
cf7bb13f0c7f [TailDuplicator] Determine if computed gotos using `blockaddress` (#132536)
656289ffa0a6 Bump version to 20.1.3 (#134187)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agomaintainers.inc: Add myself as maintainer for clang family of recipes
Khem Raj [Mon, 5 May 2025 04:15:15 +0000 (21:15 -0700)] 
maintainers.inc: Add myself as maintainer for clang family of recipes

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agomesa: Pass needed clang flags via BINDGEN_EXTRA_CLANG_ARGS
Khem Raj [Mon, 5 May 2025 04:15:13 +0000 (21:15 -0700)] 
mesa: Pass needed clang flags via BINDGEN_EXTRA_CLANG_ARGS

This is needed for clang to find the c++ headers when invoked via
bindgen

Fixes
| /mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux/mesa/25.0.2/recipe-sysroot/usr/include/llvm/ADT/DenseMapInfo.h:17:10: fatal error: 'cassert' file not found
| Unable to generate bindings: clang diagnosed error: /mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux/mesa/25.0.2/recipe-sysroot/usr/include/llvm/ADT/DenseMapInfo.h:17:10: fatal error: 'cassert' file not found
|

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agoclang: RPROVIDE spirv-llvm-translator and libclc
Khem Raj [Mon, 5 May 2025 04:15:12 +0000 (21:15 -0700)] 
clang: RPROVIDE spirv-llvm-translator and libclc

This paves the way to spin out these packages out of clang in future
specifically spirv-llvm-translator which is not yet part of llvm monorepo

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agoclang: Merge llvm/clang family recipes from meta-clang
Khem Raj [Mon, 5 May 2025 04:15:11 +0000 (21:15 -0700)] 
clang: Merge llvm/clang family recipes from meta-clang

This can ensure that meta-clang does not carry them and can rely on core layer
while mesa can use them too.

Omit time stamps in openmp from generated files to improve
reproducibility

fix the issue that:
| file /usr/include/llvm/Config/llvm-config.h conflicts between attempted installs of lib32-llvm-dev-20.1.2-r0.core2_32 and llvm-dev-20.1.2-r0.core2_64

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agogtk4: update 4.18.4 -> 4.18.5
Markus Volk [Sun, 4 May 2025 21:01:02 +0000 (23:01 +0200)] 
gtk4: update 4.18.4 -> 4.18.5

Overview of Changes in 4.18.5, 03-05-2025
=========================================

* Bugs fixed:
  - #5844 `gdk_surface_get_device_position: assertion 'GDK_IS_SURFACE (surface)'
    failed` on popover close (Alessandro Astone)
  - #7451 Cairo device scale changes lead to significant performance regression
    in cairo blur (Sebastian Keller)
  - #7479 gtkmm programs fail to start on Windows with AccessKit support enabled
    (Matthias Clasen)
  - #7482 Epiphany Crash in GTK file chooser when last used directory has
    insufficient filesystem permissions: "GFileInfo created without
    standard::type" (Philip Withnall)
  - #7495 Failed to link with the mold linker (Matthias Clasen)
  - #7513 Broken boxed-list ListBox (Sergey Bugaev)
  - #7520 XCompose preventing GTK4 applications from launching (again) (Matthias
    Clasen)
  - #7522 critical when selecting label with use-underline but mnemonic with
    screenreader enabled (Markus Göllnitz)
  - !8432 GTK 4.18.4
  - !8461 Some cherry-picked fixes for 4.18 (Sebastian Keller, Benjamin Otte,
    Florian "sp1rit"​)
  - !8487 early exit  if the clipped bound rectangle's area is zero after
    snapping (Benjamin Otte)
  - !8496 macos: fix crash when unfullscreening windows (4.18 backport) (Arjan
    Molenaar)
  - !8505 Backport: update macOS job for new CI runner (René de Hesselle)
  - !8526 build: pin the msvc build to meson 1.7 (Matthias Clasen)
  - !8527 build: pin the msvc build to meson 1.7 (Alessandro Astone, Sébastien
    Wilmet, Sergey Bugaev, Vladimir Vaskov, Markus Göllnitz, Michael Weghorn,
    Philip Withnall, Lukáš Tyrychtr, Benjamin Otte, Matthias Clasen, Liu
    Jinchang, kolunmi, FeRD (Frank Dana))

* Translation updates:
  - Bulgarian (Alexander Shopov)
  - Catalan (Jordi Mas i Hernandez)
  - Chinese (China) (Luming Zh)
  - Czech (Daniel Rusek)
  - Georgian (Ekaterine Papava)
  - Hungarian (Balázs Úr)
  - Lithuanian (Aurimas Černius)
  - Persian (Danial Behzadi)
  - Polish (Piotr Drąg)
  - Portuguese (Hugo Carvalho)
  - Portuguese (Brazil) (Álvaro Burns)
  - Romanian (Antonio Marin)
  - Russian (Artur S0)
  - Slovenian (Martin)
  - Spanish (Daniel Mustieles)
  - Swedish (Anders Jonsson)
  - Turkish (Emin Tufan Çetin)
  - Ukrainian (Yuri Chornoivan)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agoglib-2.0: update 2.84.0 -> 2.84.1
Markus Volk [Mon, 5 May 2025 06:51:51 +0000 (08:51 +0200)] 
glib-2.0: update 2.84.0 -> 2.84.1

- remove backport patch

Overview of changes in GLib 2.84.1, 2025-04-03
==============================================

* Fix test failure when building against gobject-introspection ≥1.83.4 (#3634,
  work by Philip Withnall)

* Bugs fixed:
  - #3630 2.84.0 build failure on Linux: ../gio/gnetworkmonitornetlink.c:47:10:
    fatal error: netlink/netlink_route.h: No such file or directory (Philip
    Withnall)
  - #3634 test failure with gobject-introspection 1.83.4: warning: element
    doc:format from state 3 is unknown, ignoring (Philip Withnall)
  - #3636 gio/trash does not handle special characters well
  - #3642 `g_cancellable_connect()` documentation incorrect (Marco Trevisan
    (Treviño))
  - #3643 g_cancellable_connect(): is it safe to unref cancellable from
    callback? (Marco Trevisan (Treviño))
  - #3649 Crash with some registry key values in GWin32AppInfo (Philip Withnall)
  - !4484 Memory sanitizer fixes
  - !4489 gobject: Be consistent in using atomic logic to handle the
    GParamSpecPool
  - !4541 gsettings: Port docs to gi-docgen format, add missing annotations and
    make various improvements
  - !4544 tests: Don't install runner scripts without installed_tests
  - !4545 Update French translation
  - !4547 Update Catalan translation
  - !4548 Update Turkish translation
  - !4551 Updated Danish translation
  - !4552 Update Persian translation
  - !4553 docs: Document GSignalFlags members added after 2.0
  - !4554 Update Indonesian translation
  - !4555 tests: Add a test for g_object_freeze_notify() being called too often
  - !4557 gfileinfo: Slightly expand docs for
    g_file_info_get_attribute_as_string()
  - !4558 gi: Dynamically set doc-format
  - !4561 tests: Various fixes to create temporary files in /tmp rather than the
    build directory
  - !4562 gdbusnameowning: Convert docs to gi-docgen linking syntax
  - !4563 giounix-private: Fix macro for checking for epoll_create1()
  - !4565 Fix LGPL in header
  - !4567 gutils: make documentation of g_set_prgname() clearer
  - !4568 docs: Add some detail
  - !4569 Update Romanian translation
  - !4570 gspawn-win32: Fix potential integer overflows in argv handling
  - !4571 gvarianttype: Improve docs on type validation

* Translation updates:
  - Catalan (Jordi Mas)
  - Danish (Ask Hjorth Larsen)
  - French (Vincent Chatelain)
  - Indonesian (Andika Triwidada)
  - Persian (Danial Behzadi)
  - Romanian (Antonio Marin)
  - Turkish (Sabri Ünal)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agobinutils: mark CVE-2025-1153 as fixed
Peter Marko [Sat, 3 May 2025 16:59:54 +0000 (18:59 +0200)] 
binutils: mark CVE-2025-1153 as fixed

We had this CVE patched but the patch was removed with last 2.44 branch
updates as it is now included.
Since there is no new version which could be set in NVD DB, this needs
to be explicitly handled.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agobinutils: drop obsolete CVE_STATUS
Peter Marko [Sat, 3 May 2025 16:59:53 +0000 (18:59 +0200)] 
binutils: drop obsolete CVE_STATUS

NVD has CVE-2023-25584 listed as < 2.40, so we don't need to ignore it
for version 2.44 anymore.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agomesa: upgrade 25.0.2 -> 25.0.5
Dmitry Baryshkov [Fri, 2 May 2025 22:28:53 +0000 (01:28 +0300)] 
mesa: upgrade 25.0.2 -> 25.0.5

Several fixes, mostly targeting AMD and Qualcomm platforms.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agoqemu: Upgrade 9.2.3 -> 10.0.0
Richard Purdie [Thu, 1 May 2025 06:15:57 +0000 (06:15 +0000)] 
qemu: Upgrade 9.2.3 -> 10.0.0

In version 10, emulation of 64 bit targets on 32 bit
systems is no longer supported. The target list is tweaked accordingly.

https://github.com/qemu/qemu/commit/acce728cbc6c154b215dfc8d05c12d8fcc2483d5

Running qemu on *any* 32 bit host is also deprecated and going to be
removed upstream in a later version soon:

https://github.com/qemu/qemu/commit/6d701c9bac1d3571e9ad511e01b27df7237f0b13

The pixman configuration option now needs to be specified so add a
PACKAGECONFIG entry, defautling to enabled. This is a required dependency
of some of the graphical backends like gtk.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agolttng-ust: upgrade 2.13.8 -> 2.13.9
Richard Purdie [Thu, 1 May 2025 06:59:02 +0000 (06:59 +0000)] 
lttng-ust: upgrade 2.13.8 -> 2.13.9

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agoclasses/yocto-check-layer: add check for tasks that allow network access
Ross Burton [Thu, 1 May 2025 14:02:34 +0000 (15:02 +0100)] 
classes/yocto-check-layer: add check for tasks that allow network access

Add a new test that checks that no tasks between do_fetch (exclusive)
and do_build (inclusive) are allowed to use the network, with rare
exceptions.

The only exception currently is build-appliance-image's do_image task,
as that currently usese pip to install the required Toaster dependencies.

Note that this will mean layers that have Go-based recipes will fail
unless they're using the gomod fetcher and have a complete list of
modules in the SRC_URI.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agoclasses/yocto-check-layer: refactor to be extended easily
Ross Burton [Thu, 1 May 2025 14:02:33 +0000 (15:02 +0100)] 
classes/yocto-check-layer: refactor to be extended easily

Rearrange the class so that the check is a separate function, to make it
neater to add further tests in the future.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agogcc: Upgrade GCC to 15 release
Khem Raj [Sat, 26 Apr 2025 23:30:51 +0000 (16:30 -0700)] 
gcc: Upgrade GCC to 15 release

* Nios2 has been removed and aarch64/ilp32 is deprecated
* Default C dialect is switched to C23
* {0} initializer in C or C++ for unions no longer guarantees clearing of the whole union
* Compile speed improvements with LTO
* Vectorizer can support loops with early exists but it is limited to loops
  with fixed vector lengths

This is major release of gcc, the changes are noted [1]

[1] https://gcc.gnu.org/gcc-15/changes.html

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agoutil-linux: ignore mkfds BPF related ptests
Khem Raj [Wed, 30 Apr 2025 17:53:04 +0000 (10:53 -0700)] 
util-linux: ignore mkfds BPF related ptests

They do not pass with GCC-15, ignore them for now

[RP: Fix formatting of exclude to be whitespace separated]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agogdb: Upgrade to 16.3
Khem Raj [Wed, 30 Apr 2025 17:53:05 +0000 (10:53 -0700)] 
gdb: Upgrade to 16.3

Add couple of readline patches to fix build with internal readline

Other Changes

* PR symtab/32309 ([gdb/symtab, fission] gdb/dwarf2/read.h:289:
internal-error: version: Assertion `m_dwarf_version != 0' failed)

 * PR corefiles/32441 (gdb segfaults when generating a core file if
target_fileio_read_alloc fails)

 * PR tui/32623 (TUI console window doesn't update while inferior is running)

 * PR corefiles/32634 ([gdb/corefiles] segfault in
gdb.arch/i386-biarch-core.exp)

 * PR backtrace/32757 ("Assertion `stashed' failed" when inline frame #0 is
duplicated)

 * PR tdep/32770 ([gdb/tdep, i386] FAIL: gdb.reverse/recvmsg-reverse.exp:
continue to breakpoint: marker2)

 * PR gdb/32775 ([AArch64] gdbserver crashes on SVE/SME-enabled systems)

 * PR record/32784 ([gdb/record, aarch64] Stack smashing detected in
aarch64_record_asimd_load_store)

 * PR tui/32797 (Escape sequences to only reset foreground or background color
to default fail)

 * PR gdb/32828 (gstack regression: missing file names and line numbers)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agolibmatchbox: upgrade 1.13 -> 1.14
Gyorgy Sarvari [Thu, 1 May 2025 08:54:03 +0000 (10:54 +0200)] 
libmatchbox: upgrade 1.13 -> 1.14

Includes a fix for the library version to match the tagged version in git.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agorust: Fix build with GCC-15 on aarch64/musl
Khem Raj [Thu, 1 May 2025 06:33:39 +0000 (23:33 -0700)] 
rust: Fix build with GCC-15 on aarch64/musl

GCC-15 has _CHKFEAT_GCS defined in arm_acle.h to indicate gcs intrinsics
support, this trips llvm libunwind gcs feature detection logic to set
gcs feature on. However the contructs used in unwindlib are assuming clang
and the needed target attribute is not available in gcc it should be +gcs
to work with both clang and gcc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agolibsoup-2.4: fix CVE-2025-32911
Changqing Li [Wed, 30 Apr 2025 07:50:21 +0000 (15:50 +0800)] 
libsoup-2.4: fix CVE-2025-32911

CVE-2025-32911:
A use-after-free type vulnerability was found in libsoup, in the
soup_message_headers_get_content_disposition() function. This flaw
allows a malicious HTTP client to cause memory corruption in the libsoup
server.

Backport patches to fix it

[1] https://nvd.nist.gov/vuln/detail/CVE-2025-32911
[2] https://gitlab.gnome.org/GNOME/libsoup/-/issues/433

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agogobject-introspection: Fix wrong PN used in MULTILIB_SCRIPTS
Jiaying Song [Wed, 30 Apr 2025 07:25:22 +0000 (15:25 +0800)] 
gobject-introspection: Fix wrong PN used in MULTILIB_SCRIPTS

The current MULTILIB_SCRIPTS entry incorrectly assigns
g-ir-annotation-tool and g-ir-scanner to the ${PN} package. However,
these scripts are actually installed in the gobject-introspection-tools
package. This leads to incorrect symlinks being created when multilib is
enabled. Therefore, this patch correctly moves them to the ${PN}-tools
package.

Error log:

root@intel-x86-64:~# ls -l /usr/bin/g-ir-scanner
lrwxrwxrwx 1 root root 27 Mar  9  2018 /usr/bin/g-ir-scanner -> /usr/bin/g-ir-scanner-lib64
root@intel-x86-64:~# ls -l /usr/bin/g-ir-scanner-lib64
ls: cannot access '/usr/bin/g-ir-scanner-lib64': No such file or directory

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agooeqa/selftest/wic: Add ext4 to IMAGE_FSTYPES in test_exclude_path_with_extra_space
Mikko Rapeli [Wed, 30 Apr 2025 12:27:01 +0000 (15:27 +0300)] 
oeqa/selftest/wic: Add ext4 to IMAGE_FSTYPES in test_exclude_path_with_extra_space

All qemu machines have ext4 in IMAGE_FSTYPES which makes
native mkfs.ext4 available at wic image build time.
genericarm64 defaults to only wic in IMAGE_FSTYPES
and this test was failing:

| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing python function set_image_size
| DEBUG: 148548.400000 = 114268 * 1.300000
| DEBUG: 652644.400000 = max(148548.400000, 8192)[148548.400000] + 504096
| DEBUG: 652645.000000 = int(652644.400000)
| DEBUG: 652645 = aligned(652645)
| DEBUG: returning 652645
| DEBUG: Python function set_image_size finished
| DEBUG: Executing shell function do_image_wic
| INFO: Creating image(s)...
|
| ERROR: A native program mkfs.ext4 required to build the image was not found (see details above).
|
| Please make sure wic-tools have e2fsprogs-native in its DEPENDS, build it with 'bitbake wic-tools' and try again.
|
| WARNING: exit code 1 from a shell command.
NOTE: recipe core-image-minimal-1.0-r0: task do_image_wic: Failed

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agooeqa/selftest/wic: Increase rootfs size in test_offset
Mikko Rapeli [Wed, 30 Apr 2025 12:27:00 +0000 (15:27 +0300)] 
oeqa/selftest/wic: Increase rootfs size in test_offset

This test is failing on genericarm64 which includes all kernel
modules on rootfs by default. Recently added kernel modules
triggered the size limits to be exceeded. Fixes:

ERROR: Actual rootfs size (112884 kB) is larger than allowed size 102400 kB

Doubling the size to avoid issues like this on machines which
may include a lot of packages on default images. Size of the
rootfs does not matter for the test, only that the offsets are
correct in various usecases.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agooe-selftest.wic: add native sysroot handling
Trevor Woerner [Thu, 1 May 2025 02:35:15 +0000 (22:35 -0400)] 
oe-selftest.wic: add native sysroot handling

The wic test_exclude_path_with_extra_space does not succeed on debian-based
AB workers since they, by default, do not install the 'parted' utility. This
test installs the 'wic-tools' package, which includes the 'parted' utility,
but it is not being found/used for some unknown reason.

In the previous patch it was believed that doing some extra PATH handling
(as performed by some other tests with a python try...finally block) would
solve the issue. That turned out to not be the case. This patch starts by
reverting that change, since it has no benefit.

In order to use the native tools from the 'wic-tools' package, wic's
'--native-sysroot' can be used (as demonstrated in other tests). In fact
the wic help message explaining the purpose of this flag states that it is
for passing "...the path to the native sysroot containing the tools(parted
and mtools) to use"[sic].

Removing the host's 'parted' utility better simulates the situation found
on the debian workers for testing. This patch is seen to make this test pass
with no host 'parted' utility in place.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agovalgrind: Upgrade from 3.24.0 to 3.25.0
Randy MacLeod [Wed, 30 Apr 2025 16:37:30 +0000 (12:37 -0400)] 
valgrind: Upgrade from 3.24.0 to 3.25.0

Declare riscv64 as a COMPATIBLE_HOST since upstream now support it.
For that target 'valgrind /bin/ls' warns with:
   --253-- WARNING: unhandled riscv64-linux syscall: 258
   --253-- You may be able to write your own handler.
   --253-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
   --253-- Nevertheless we consider this a bug.  Please report
   --253-- it at http://valgrind.org/support/bug_reports.html.
This is a known issue:
   https://bugs.kde.org/show_bug.cgi?id=503253
but the tool does work, despite this warning with glibc.
For riscv64 with musl, the build is fine but running:
   # valgrind /bin/ls
produces the fatal error:
   ==306== Process terminating with default action of signal 4 (SIGILL)
   ==306==  Illegal opcode at address 0x1002015952
   ==306==    at 0x40E5F26: map_library (dynlink.c:845)
   ==306==    by 0x40E6C97: load_library (dynlink.c:1183)
   ==306==    by 0x40E7B63: load_preload (dynlink.c:1365)
   ==306==    by 0x40E7B63: __dls3 (dynlink.c:1963)
   ==306==    by 0x40E75D9: __dls2 (dynlink.c:1767)
   ==306==    by 0xFFFFFFFFFFFFFFFF: ???
which is not yet reported.

Patches reviewed, manually fix-up one word change in:
   0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch
and refresh patches with devtool.

* ==================== CORE CHANGES ===================

* The valgrind gdbserver now supports the GDB remote protocol packet
  'x addr,len' (available in GDB release >= 16).
  The x packet can reduce the time taken by GDB to read memory from valgrind.

* Valgrind now supports zstd compressed debug sections.

* The Linux Test Project (ltp) is integrated in the testsuite try
  'make ltpchecks' (this will take a while and will point out various
  missing syscalls and valgrind crashes!)

* ================== PLATFORM CHANGES =================

* Added RISCV64 support for Linux. Specifically for the RV64GC
  instruction set.

* Numerous bug fixes for Illumos, in particular fixed a Valgrind crash
  whenever a signal handler was called.

* On FreeBSD, a change to the libc code that runs atexit handlers was
  causing Helgrind to produce an extra error about exiting threads
  still holding locks for. This applied to every multithreaded application.
  The extra error is now filtered out. A syscall wrapper had been added
  for getrlimitusage.

* On Linux various new syscalls are supported (landlock*, io_pgetevents,
  open_tree, move_mount, fsopen, fsconfig, fsmount, fspick, userfaultfd).

* s390x has support for various new instructions (BPP, BPRP, PPA and NIAI).

* ==================== TOOL CHANGES ===================

* The --track-fds=yes and --track-fds=all options now treat all
  inherited file descriptors the same as 0, 1, 2 (stdin/out/err).
  And when the stdin/out/err descriptors are reassigned they are
  now treated as normal (non-inherited) file descriptors.

* A new option --modify-fds=high can be used together with
  --track-fds=yes to create new file descriptors with the highest
  possible number (and then decreasing) instead of always using the
  lowest possible number (which is required by POSIX). This will help
  catch issues where a file descriptor number might normally be reused
  between a close and another open call.

* Helgrind:
  There is a change to warnings about calls to pthread_cond_signal and
  pthread_cond_broadcast when the associated mutex is unlocked. Previously
  Helgrind would always warn about this. Now this error is controlled by
  a command line option, --check-cond-signal-mutex=yes|no. The default is
  no. This change has been made because some C and C++ standard libraries
  use pthread_cond_signal/pthread_cond_broadcast in this way. Users are
  obliged to use suppressions if they wish to avoid this noise.

The full 3.25.0 bug fix list can be found here:
   https://valgrind.org/docs/manual/dist.news.html

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agocve-check: fix debug message
Daniel Turull [Wed, 30 Apr 2025 14:06:58 +0000 (16:06 +0200)] 
cve-check: fix debug message

Debug level was not added as a parameter, causing a warning.

Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agomakedumpfile: upgrade 1.7.6 -> 1.7.7
Yi Zhao [Tue, 29 Apr 2025 13:05:58 +0000 (21:05 +0800)] 
makedumpfile: upgrade 1.7.6 -> 1.7.7

ChangeLog:
https://github.com/makedumpfile/makedumpfile/releases/tag/1.7.7

This version supports the following new kernels:
  - 6.12, 6.13, 6.14

Drop backport patch.

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>
3 months agolibxml2: upgrade 2.13.6 -> 2.13.8
Divya Chellam [Tue, 29 Apr 2025 11:33:59 +0000 (11:33 +0000)] 
libxml2: upgrade 2.13.6 -> 2.13.8

This includes CVE-fix for CVE-2025-32414 and CVE-2025-32415.

Changelog:
===========
https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.7
https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.8

Regressions

* tree: Fix xmlTextMerge with NULL args
* io: Fix compressed flag for uncompressed stdin
* parser: Fix parsing of DTD content

Security

* [CVE-2025-32415] schemas: Fix heap buffer overflow inxmlSchemaIDCFillNodeTables
* [CVE-2025-32414] python: Read at most len/4 characters. (Maks Verver)

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>
3 months agomeson: upgrade to 1.8.0
Ross Burton [Tue, 29 Apr 2025 11:20:56 +0000 (12:20 +0100)] 
meson: upgrade to 1.8.0

- New argument android_exe_type for executables
- Changes to the b_sanitize option
- New C standard c2y (and gnu2y)
- i18n module xgettext
- version_compare now accept multiple compare strings
- Improvements to Objective-C and Objective-C++
- Per project subproject options rewrite
- objects added correctly to Rust executables
- rust.test now supports link_whole
- Meson can run "rustdoc" on Rust projects
- The Wayland module is stable
- New swift_std compiler option
- New option to execute a slice of tests
- Valgrind now fails tests if errors are found

Full release notes: https://mesonbuild.com/Release-notes-for-1-8-0.html.

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>
3 months agobinutils: Specify sysroot for libtool during build
Khem Raj [Tue, 29 Apr 2025 09:27:01 +0000 (02:27 -0700)] 
binutils: Specify sysroot for libtool during build

libbfd is enabled and it invokes libtool relink step to get rid of
rpaths during install step. libtool 2.4 patches rightly prepend
lt_sysroot to target libdir which relink step would use, such a patch
is also upstreamed into libtool [1]

However, when we do not specify --with-libtool-sysroot, lt_sysoot prefix
turns out to be empty and relink step adds -L/usr/lib to linker command
line. it cause all sort of problems e.g. when the build host has zlib
installed then libbfd tries to link with /usr/lib/libz.so instead of the
one in target sysroot, fortunately OE linker reports host path contamination
and fails the build. Second problem seen when building target binutils on
musl, it links with libc.so correctly but libtool relink step resolves
libc.so in /usr/lib due to this path and expands it into libc.so.6 and
ld-linux-x86-64.so.2 ( glibc host's libc.so is a linker stub ) in
DT_NEEDED ELF section which does not work with
musl linker and build QA detects this anamoly as well.

ERROR: binutils-2.44-r0 do_package_qa: QA Issue: /usr/lib/libbfd-2.44.so contained in package libbfd requires libc.so.6(GLIBC_2.34)(64bit), but no providers found in RDEPENDS:libbfd? [file-rdeps]

This inconsistency may cause produced binaries mistakenly linked against
libraries from the host distro.

Add libtool sysroot to point libtool to correct sysroot location during
build.

[1] https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=3221f9f0fb98d5740ab5d0e8db6a731302520644

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>
3 months agoglibc-y2038-tests: remove glibc-y2038-tests_2.41.bb recipe
rajmohan r [Tue, 29 Apr 2025 07:32:12 +0000 (13:02 +0530)] 
glibc-y2038-tests: remove glibc-y2038-tests_2.41.bb recipe

This recipe takes longer time >20min when bitbake for package
write stage. When cross-verified for longer time duration, found
that do_check() stage taking 20min while other stages completes
before 6min.

This recipe gives only below two test binaries in the packages to
test (ptest: glibc-y2038-tests):
     io/ftwtest
     io/ftwtest-time64

The above test binaries are already included for testing in recipe
glibc-testsuite_2.41.bb.

It is by now well established that glibc itself works as it should,
that all affected 32 bit targets are configured to use 64 bit time_t,
and that any lingering y2038 issues are in components other than the c
library, and usually come from C programming mistakes (e.g. storing
timestamps in long). Maybe we can simply remove the recipe?

Review comments for fixing above longer time duration ended up in
removing this recipe as a proposal is below
https://lists.openembedded.org/g/openembedded-core/topic/112188476#msg214636

Removed lines having reference to glibc-y2038-tests in the files.

Signed-off-by: rajmohan r <semc.2042@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agolib/classes/conf: refactor qemu.bbclass functions into library functions
Chen Qi [Tue, 29 Apr 2025 04:29:40 +0000 (12:29 +0800)] 
lib/classes/conf: refactor qemu.bbclass functions into library functions

Move the functions in qemu.bbclass to meta/lib/oe/qemu.py as they are
generally useful.

The qemu.bbclass is still kept, and recipes can continue to use functions
from it, though they have become wrapper functions on qemu.py functions.

Note that the QEMU_OPTIONS settings are still kept in qemu.bbclass.
This sets a clear barrier for people to use qemu user mode.

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>
3 months agoqemu.inc: make use of virtual/libsdl2
Markus Volk [Sun, 27 Apr 2025 16:39:10 +0000 (18:39 +0200)] 
qemu.inc: make use of virtual/libsdl2

Fix to ensure it would work with both libsdl2 and libsdl2-compat

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>
3 months agogzip: upgrade 1.13 -> 1.14
Liu Yiding [Sun, 27 Apr 2025 07:59:36 +0000 (15:59 +0800)] 
gzip: upgrade 1.13 -> 1.14

1. Add coreutils to RDEPENDS:gzip-ptest to fix ptest error:
| od: invalid option -- 'A'
| BusyBox v1.37.0 () multi-call binary.

2. Delete BUILD_LDFLAGS to fix issue:
|ERROR: gzip-1.14-r0 do_package_qa: QA Issue: File /usr/lib/gzip/ptest/src/tests/Makefile in package gzip-ptest contains reference to TMPDIR ildpaths]
|ERROR: gzip-1.14-r0 do_package_qa: Fatal QA errors were found, failing task.

error point in /usr/lib/gzip/ptest/src/tests/Makefile of gzip-ptest:
|BUILD_LDFLAGS = -L/gzip/1.14/recipe-sysroot-native/usr/lib                         -L/gzip/1.14/recipe-sysroot-native/lib
|      -Wl,--enable-new-dtags                         -Wl,-rpath-link,/gzip/1.14/recipe-sysroot-native/usr/lib                         -Wl,-r
|path-link,/gzip/1.14/recipe-sysroot-native/lib                         -Wl,-rpath,/gzip/1.14/recipe-sysroot-native/usr/lib
|       -Wl,-rpath,/gzip/1.14/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/mnt
|/test/build_auh/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -pthread

ptest pass after delete BUILD_LDFLAGS in Makefile

ptest result:
|============================================================================
|Testsuite summary for gzip 1.14
|============================================================================
|# TOTAL: 30
|# PASS:  28
|# SKIP:  2
|# XFAIL: 0
|# FAIL:  0
|# XPASS: 0
|# ERROR: 0

License-Update: copyright years update and simplifies compliance by replacing
physical contact instructions with a permanent web reference

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agorecipes: Drop remaining md5sum checksums
Richard Purdie [Wed, 30 Apr 2025 15:12:12 +0000 (16:12 +0100)] 
recipes: Drop remaining md5sum checksums

We have long since obsoleted md5sum in favour of sha256sum. Drop the remaining
56 entries (which were showing many recipes hadn't been touched in a long time).
They all do have the corresponding sha256sum entries as is clear from the diff.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agoautoconf: set PKGV to avoid version-goes-backwards
Ross Burton [Tue, 29 Apr 2025 19:43:25 +0000 (20:43 +0100)] 
autoconf: set PKGV to avoid version-goes-backwards

I previously upgrade autoconf 2.72e (the fifth release candidate) to the
final release 2.72, but unfortunately failed to notice that the version
appears to go backwards as the package managers sort 2.72e _after_ 2.72.

We could resolve this with an epoch (via PE) but epochs are forever and
this mistake is temporary. We could set a convoluted PV but that gets
messy as it then means SRC_URI needs to set manually.  Instead, set a
convoluted PKGV to fix the sorting order in a way that only alters the
output packages and nothing else, which can be removed when the next
major release is made.

[1] oe-core 11ff8dba0ce ("autoconf: upgrade to final 2.72 release")

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agopython3-numpy: fix ptests
Trevor Gamblin [Tue, 29 Apr 2025 18:38:01 +0000 (14:38 -0400)] 
python3-numpy: fix ptests

Fix the numpy ptests by doing the following:

- Add meson to ptest RDEPENDS in the recipe;
- Add python3-unittest-automake-output as a ptest RDEPENDS;
- Convert run-ptest to a shell script that sets PYTEST_DEBUG_TEMPROOT to
  a directory inside the same path that contains the script, create that
  directory, and then invoke the tests with `pytest --automake` pointed
  at the numpy path in site-packages (copying the tests into the normal
  PTEST_DIRECTORY seems to cause module import breakages in some tests).
  This also includes skipping two problematic tests which require a C
  compiler and use up a lot of space, respectively;
- Set 'IMAGE_ROOTFS_EXTRA_SPACE = "3048576"' for python3-numpy in
  core-image-ptest.bb;
- Also set 'QB_MEM:virtclass-mcextend-python3-numpy = "-m 4096"' in
  core-image-ptest.bb;
- Move python3-numpy from the PTESTS_PROBLEMS list to the PTESTS_SLOW
  one.

Results on qemux86-64:

Testsuite summary
DURATION: 87
END: /usr/lib/python3-numpy/ptest
2025-04-29T17:35
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Note that many of the skipped tests are due to the absence of
python3-mypy (which is currently in meta-python) and of a Fortran
compiler.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agosystemd: Password agents shouldn't be optional
Vyacheslav Yurkov [Tue, 29 Apr 2025 17:46:50 +0000 (19:46 +0200)] 
systemd: Password agents shouldn't be optional

If extra-utils package is not included in the image, you'll always see a
warning that password agent is missing whenever you start/stop a service:
Failed to execute /usr/bin/systemd-tty-ask-password-agent: No such file or directory

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agobinutils: stable 2.44 branch updates
Deepesh Varatharajan [Tue, 29 Apr 2025 12:54:56 +0000 (05:54 -0700)] 
binutils: stable 2.44 branch updates

Below commits on binutils-2.44 stable branch are updated.

fe459e33c67 PR 32603, revert message changes in 0b7f992b78fe and 31e9e2e8d109
37d12dd25d8 gdb/compile: add missing entry in bfd_link_callbacks array
31e9e2e8d10 PR 32603, more ld -w misbehaviour
0b7f992b78f PR 32603, ld -w misbehaviour
8cb98edf123 s390: Add support for z17 as CPU name
ed70d86b491 x86: Remove AVX10.2 256 bit rounding support
e1af7e590a5 elf: Clear the SEC_ALLOC bit for NOLOAD note sections
35db8c6dd2f ld: Pass -Wl,-z,lazy to compiler for i386 lazy binding tests
cc7ec316a45 Updated translations for bfd and gold
bf088ee09a7 PR 32731 ub sanitizer accessing filenames_reversed
78082591ec7 score-elf gas SEGV
d4c7ee9fbc1 gas: fix rs_fill_nop listing
a68d096a0ab Open the 2.44 branch for further development

Dropped: 0015-CVE-2025-1153.patch

Testing was done and there were no regressions found

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agopython3: backport the full fix for importlib scanning invalid distributions
Ross Burton [Tue, 29 Apr 2025 15:29:30 +0000 (16:29 +0100)] 
python3: backport the full fix for importlib scanning invalid distributions

Even with our fixes in deterministic_imports.patch the
importlib.metadata package scan was still returning Distribution objects
for empty directories.  This interacts badly with rebuilds when recipes
are changing as when a recipe is removed from the sysroot directories
are not removed[1].

In particular this breaks python3-meson-python-native rebuilds when
Meson upgrades from 1.7 to 1.8: the site-packages directory has an empty
meson-1.7.dist-info/ and populated meson-1.8.dist-info/. Whilst it's
deterministic to return the empty 1.7 first, this breaks pypa/build as
it looks through the distributions in order.

We had discussed this with upstream previously and there's a more
comprehensive fix upstream (actually in importlib_metadata, not cpython)
which ensures that valid distribution objects are listed first.  So we
can drop our patch and replace it with a backport to fix these rebuilds.

[1] oe-core 4f94d929639 ("sstate/staging: Handle directory creation race issue")

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agoselftest-ed: Upgrade to version 1.21/1.20.2
Richard Purdie [Sun, 27 Apr 2025 03:44:23 +0000 (20:44 -0700)] 
selftest-ed: Upgrade to version 1.21/1.20.2

Older versions do not compile with GCC 15. We had different versions to test
GPLv3 exclusion.

1.21 compiles with gcc 15 and 1.20.2 has a CFLAGS tweak to allow it to work
with gcc 15 too.

1.21 is licensed under GPL-2.0 so we need to rework some of the tests.

Tweak the gplv3 test by adding a special override of LICENSE to then test
the license exclusion code.

Modify the archiver selftests to use the new version.

Based on a patch from Khem Raj <raj.khem@gmail.com>

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agokernel-arch.bbclass: Do not use weak assignment for TOOLCHAIN
Khem Raj [Mon, 28 Apr 2025 21:26:20 +0000 (14:26 -0700)] 
kernel-arch.bbclass: Do not use weak assignment for TOOLCHAIN

If a distro sets TOOLCHAIN with ?= or = then it overrides this
too, however, we demand GCC to be in there due to KERNEL_CC etal
Make it hard assignment, it can still be overturned via a bbappend
in that case it is intentional to use non-gcc compiler for kernel

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agomultilib.conf: Add llvm-project-source recipe to NON_MULTILIB_RECIPES
Khem Raj [Mon, 28 Apr 2025 21:26:19 +0000 (14:26 -0700)] 
multilib.conf: Add llvm-project-source recipe to NON_MULTILIB_RECIPES

llvm sourcebase is large and like gcc, it reuses same source tree to
build all recipes using clang+llvm sourcebase

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agosstatesig: Handle special case of llvm-project-source shared-workdir
Khem Raj [Mon, 28 Apr 2025 21:26:18 +0000 (14:26 -0700)] 
sstatesig: Handle special case of llvm-project-source shared-workdir

bitbake-dumpsig or bitbake-diffsig tools do not work on any of tasks
exposed by llvm-project-source recipe. This is due to it being a
shared-workdir recipe.

Fixes

bitbake-diffsigs -t llvm-project-source-20.1.2 do_preconfigure
NOTE: Starting bitbake server...
ERROR: No sigdata files found matching llvm-project-source-20.1.2 do_preconfigure

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agocmake.bbclass: Enhance to emit a native toolchain cmake file
Khem Raj [Mon, 28 Apr 2025 21:26:16 +0000 (14:26 -0700)] 
cmake.bbclass: Enhance to emit a native toolchain cmake file

Some components e.g. clang and its runtime needs the native toolchain
defines especially when doing nativesdk builds it uses
CROSS_TOOLCHAIN_FLAGS_NATIVE to pass native toolchain file, which is
then used to build native llvm tools needed during nativesdk builds

Moreover this would enable using OE built native toolchain e.g.
clang-native to build cmake based packages. e.g. libcxx and other llvm
runtime plus it can be used for build native packages which require clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agomeson: Allow user to override setup command options
Tom Hochstein [Thu, 17 Apr 2025 18:08:28 +0000 (13:08 -0500)] 
meson: Allow user to override setup command options

The user cannot override the setup command options --cross-file and
--native-file because the meson-wrapper places these options on the
command line after the user options. This problem was noticed when
trying to build with an SDK using a custom cross-file.

Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agoicu: set ac_cv_path_install to ensure install tool reproducibility
Changqing Li [Tue, 22 Apr 2025 13:07:02 +0000 (21:07 +0800)] 
icu: set ac_cv_path_install to ensure install tool reproducibility

icu will check program install path during do_configure, eg:
checking for a BSD-compatible install... /path/to/install -c

And this path will be writen into pkgdata.inc:
INSTALL_CMD=$(INSTALL-L)

Decided by if install is installed into recipe-sysroot-native during
do_configure stage, the INSTALL_CMD could be
/build/tmp/work/corei7-64-wrs-linux/icu/76-1/recipe-sysroot-native/usr/bin/install
or /build/tmp/hosttools/install if the build is rerun after the sysroot was
extended.

set ac_cv_path_install to install under hosttools to make a deterministic
result of INSTALL_CMD, avoid vary caused by the execute sequence of
another task which DEPENDS on coreutils-native and independent with
do_configure

[RP: Removed paths from ac_cv_path_install to simplify and avoid QA error too]
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agoharfbuzz: Fix build with gcc-15
Khem Raj [Mon, 28 Apr 2025 17:02:43 +0000 (10:02 -0700)] 
harfbuzz: Fix build with gcc-15

GCC-15 inliner at O2 seems to be able to analyse more
This is a workaround to compile the one file where it fails
to use -Os

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agooe-selftest.wic: add PATH handling
Trevor Woerner [Mon, 28 Apr 2025 15:13:35 +0000 (11:13 -0400)] 
oe-selftest.wic: add PATH handling

The wic test_exclude_path_with_extra_space test succeeds on non-debian AB
workers. Add PATH handling so parted from the wic-tools can be found on
debian-based AB workers.

Fixes [YOCTO #15838]

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agosyslinux: improve isohybrid to process extra sector count for ISO 9660 image
Hongxu Jia [Sat, 26 Apr 2025 08:03:52 +0000 (16:03 +0800)] 
syslinux: improve isohybrid to process extra sector count for ISO 9660 image

Due to commit [cdrtools-native: fix booting EFI ISO live failed]
applied to improve mkisofs to fix nsectors exceeds 0xffff situation
which set selection criteria type = 2 and save extra nsectors to
vendor unique selection criteria

In following case, add 64MB extra space to bootable image efi.img,
and the partition table of EFI is truncated to 32M

$ echo 'IMAGE_FSTYPES:pn-core-image-minimal = " live"' >> conf/local.conf
$ echo 'MACHINE_FEATURES:append = " efi pcbios"' >> conf/local.conf
$ echo '# 64MB extra space to bootable image efi.img' >> conf/local.conf
$ echo 'BOOTIMG_EXTRA_SPACE = "65535"' >> conf/local.conf
$ bitbake core-image-minimal
$ fdisk -l tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso
...
Device                                                                 Boot Start    End Sectors  Size Id Type
tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso1 *        0 376831  376832  184M  0 Empty
tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso2        120  65654   65535   32M ef EFI (FAT-12/16/32)

After applying this patch to process extra sector count, the partition
table of EFI is 90.3M

$ fdisk -l tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso
...
Device                                                                 Boot Start    End Sectors  Size Id Type
tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso1 *        0 376831  376832  184M  0 Empty
tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso2        120 185151  185032 90.3M ef EFI (FAT-12/16/32)

[1]https://pdos.csail.mit.edu/6.828/2017/readings/boot-cdrom.pdf

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>
3 months agocdrtools-native: fix booting EFI ISO live failed
Hongxu Jia [Sat, 26 Apr 2025 08:03:51 +0000 (16:03 +0800)] 
cdrtools-native: fix booting EFI ISO live failed

In ISO live, if the size of efi.img > 32MB, and copy EFI application
(bootx64.efi) to efi.img behind of kernel and initrd, UEFI system
could not find EFI application bootx64.efi

Using QEMU+OVMF to boot ISO live image, press ESC to enter UEFI shell:
...
Shell> ls FS0:\
Directory of: FS0:\
04/05/2011  23:00          12,985,344  bzImage
04/05/2011  23:00 <DIR>         2,048  EFI
04/05/2011  23:00          20,494,696  initrd
04/05/2011  23:00                  26  startup.nsh
          3 File(s)  33,480,066 bytes
          1 Dir(s)

Shell> ls FS0:\EFI
Directory of: FS0:\EFI
          0 File(s)           0 bytes
          0 Dir(s)
...

In following case, add 64MB extra space to bootable image efi.img,
and the partition table of EFI is truncated to 26.3M

$ echo 'IMAGE_FSTYPES:pn-core-image-minimal = " live"' >> conf/local.conf
$ echo 'MACHINE_FEATURES:append = " efi pcbios"' >> conf/local.conf
$ echo '# 64MB extra space to bootable image efi.img' >> conf/local.conf
$ echo 'BOOTIMG_EXTRA_SPACE = "65535"' >> conf/local.conf
$ bitbake core-image-minimal
$ fdisk -l tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso
...
Device                                                                 Boot Start    End Sectors  Size Id Type
tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso1 *        0 376831  376832  184M  0 Empty
tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso2        120  54079   53960 26.3M ef EFI (FAT-12/16/32)

According to page 11: `Figure 5 - Section Entry' in El Torito Bootable
CD-ROM Format Specification [1]. The sector count takes 2 byte which
means max sector count is 0xffff (65535), for 512-byte sector, the
size of bootable image is no more than 32MB (65536 * 512 / 1024 / 1024)

This commit truncate to 32MB if image size larger than 32MB, and
report a warning, then save the extra image sector count to
vendor unique selection criteria

After apply this commit, the partition table of EFI is truncated to 32M
$ fdisk -l tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso
...
Device                                                                 Boot Start    End Sectors  Size Id Type
tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso1 *        0 376831  376832  184M  0 Empty
tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso2        120  65654   65535   32M ef EFI (FAT-12/16/32)

[1]https://pdos.csail.mit.edu/6.828/2017/readings/boot-cdrom.pdf

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>
3 months agoscripts/cve-json-to-text.py: fix missing -o option
Antonin Godard [Fri, 25 Apr 2025 13:40:42 +0000 (15:40 +0200)] 
scripts/cve-json-to-text.py: fix missing -o option

Add the missing condition on '-o', which allows changing the output
path.

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>
3 months agoscripts/cve-json-to-text.py: remove unused options
Antonin Godard [Fri, 25 Apr 2025 13:40:41 +0000 (15:40 +0200)] 
scripts/cve-json-to-text.py: remove unused options

Remove --all and -a and they are unused in the file.
Remove long options as they don't actually exist when using getopt.

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>
3 months agolttng-modules: fix build failure on genericarm64
Mikko Rapeli [Mon, 28 Apr 2025 12:32:43 +0000 (15:32 +0300)] 
lttng-modules: fix build failure on genericarm64

Workaround to unblock genericarm64 builds.
Upstream is working on a better fix
https://bugs.lttng.org/issues/1426

Fixes: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15840
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agolinux-firmware: fix FILES to drop RDEPENDS on full package
Patryk Seregiet [Wed, 23 Apr 2025 13:02:45 +0000 (15:02 +0200)] 
linux-firmware: fix FILES to drop RDEPENDS on full package

linux-firmware-rtl8723 and linux-firmware-adsp-sst
contain symlinks to files that were previously
packaged only in the main linux-firmware package.
This caused both subpackages to inherit an unintended
RDEPENDS on the full package. This change resolves the
issue by ensuring all required files are correctly
included in their respective subpackages.

Thanks to Peter Kjellerstedt for figuring out the rootcause.

Signed-off-by: Patryk Seregiet <patryk.seregiet@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agoefi-uki-bootdisk.wks.in: reduce ESP boot partition size
Mikko Rapeli [Wed, 23 Apr 2025 08:46:23 +0000 (11:46 +0300)] 
efi-uki-bootdisk.wks.in: reduce ESP boot partition size

This sample ESP partition is used mostly for testing purposes.
It's not expected to host multiple UKI binaries for example.
Thus reduce size from 500 Mb to size of needed boot binaries
72 Mb plus around 20% free space 88Mb. This is enough for
all test cases and fits to RAM when using PMEM memory based
block device on real target boards with just a few Gb of RAM.

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>
3 months agoptest-cargo: fix incorrect FAIL count when multiple tests are run
Ines KCHELFI [Thu, 24 Apr 2025 12:32:17 +0000 (14:32 +0200)] 
ptest-cargo: fix incorrect FAIL count when multiple tests are run

When using the ptest-cargo class with multiple Rust test binaries, ptest-runner
may report FAIL: 0 even if one of the tests fails, as long as the last test passes.

This happens because the run-ptest script, as generated by the class, does not
track failures and simply returns the exit code of the last test.
To fix this, each test binary is checked individually for failure. If any test fails,
a non-zero exit code is returned.

This ensures that test failures are not silently ignored and are properly reported
by ptest-runner in multi-test scenarios.

Signed-off-by: Ines KCHELFI <ines.kchelfi@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agoptest-cargo: refactor run-ptest generation to remove redundancy
Ines KCHELFI [Thu, 24 Apr 2025 12:32:16 +0000 (14:32 +0200)] 
ptest-cargo: refactor run-ptest generation to remove redundancy

This refactoring simplifies the generation of the run-ptest script by
removing redundant logic and improving readability.

Signed-off-by: Ines KCHELFI <ines.kchelfi@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agouninative: show errors if installing fails
Ross Burton [Wed, 23 Apr 2025 17:26:41 +0000 (18:26 +0100)] 
uninative: show errors if installing fails

We call the installer script but if it fails the user doesn't see the
reason, which makes resolving the problem hard.  Capture both stdout and
stderr as text, and display it to the user when it fails.

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>
3 months agobmaptool: put the PV in the filename
Ross Burton [Wed, 23 Apr 2025 15:47:27 +0000 (16:47 +0100)] 
bmaptool: put the PV in the filename

We're shipping a release but the filename suggests it is a git snapshot.

To avoid version-going-backwards errors we need to continue to put +git
in the PV, so add a comment to remind the upgrader to remove it.

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>
3 months agodbus: Remove 'dbus-x11' from RPROVIDES
Niko Mauno [Sun, 27 Apr 2025 12:10:08 +0000 (12:10 +0000)] 
dbus: Remove 'dbus-x11' from RPROVIDES

Since runtime dependencies to the old 'dbus-x11' compatibility label
are now no longer used in either poky or meta-openembedded provided
layers, we can remove it.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agolinux/cve-exclusion: do not shift first_affected
Peter Marko [Sun, 27 Apr 2025 09:43:02 +0000 (11:43 +0200)] 
linux/cve-exclusion: do not shift first_affected

Stop shifting first_affected if backport is indicated. This does not
have effect on generated list, but makes the logic cleaner as it will
not shift it to "first affected on our branch" and also make it behave
like in defaultStatus==affected case.

Cc: daniel.turull@ericsson.com
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agolinux/cve-exclusion: update exclusions after script fixes
Peter Marko [Sun, 27 Apr 2025 09:43:01 +0000 (11:43 +0200)] 
linux/cve-exclusion: update exclusions after script fixes

This will shift fixed version of many CVEs, it does not change status of
any CVE.

Note that the current format of cvelistV5 does not allow us to determine
real value of "fixed_in" without also checking the hashes, but the
result are still fine.
The reason is that many entries are missing original_commit_for_fix
field and thus we see the final "fixed_in" version to be set to backport
to previous branch (e.g. 6.12.23 instead of 6.13).

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agolinux/cve-exclusion: correct fixed-version calculation
Peter Marko [Sun, 27 Apr 2025 09:43:00 +0000 (11:43 +0200)] 
linux/cve-exclusion: correct fixed-version calculation

Current code takes the first version found as "fixed-version".
That is not correct as it is almost always only the oldest backport.
Fix it by unconditionally shift the assigmnet of variable "fixed" so
that we take last instead of first version.

Cc: daniel.turull@ericsson.com
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agolinux/cve-exclusion: update with latest cvelistV5
Peter Marko [Sun, 27 Apr 2025 09:42:59 +0000 (11:42 +0200)] 
linux/cve-exclusion: update with latest cvelistV5

This is preparation for fix in the script so that next update shows only
entries updated by the script change.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agoharfbuzz: Upgrade to 11.1.0 release
Khem Raj [Sun, 27 Apr 2025 02:32:32 +0000 (19:32 -0700)] 
harfbuzz: Upgrade to 11.1.0 release

Changes are:

Include bidi mirroring variants of the requested codepoints when subsetting. The new HB_SUBSET_FLAGS_NO_BIDI_CLOSURE can be used to disable this behaviour.
Various bug fixes.
Various build fixes and improvements.
Various test suite improvements.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agobash: use -std=gnu17 also for native CFLAGS
Martin Jansa [Sat, 26 Apr 2025 17:08:23 +0000 (19:08 +0200)] 
bash: use -std=gnu17 also for native CFLAGS

* fixes builds on host with gcc-15:
  http://errors.yoctoproject.org/Errors/Details/853016/

../../bash-5.2.37/builtins/mkbuiltins.c:268:29: error: too many arguments to function ‘xmalloc’; expected 0, have 1
  268 |           error_directory = xmalloc (2 + strlen (argv[arg_index]));
      |                             ^~~~~~~  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agoghostscript: fix build with gcc-15 on host
Martin Jansa [Sat, 26 Apr 2025 17:08:22 +0000 (19:08 +0200)] 
ghostscript: fix build with gcc-15 on host

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agoflex: fix build with gcc-15 on host
Martin Jansa [Sat, 26 Apr 2025 17:08:21 +0000 (19:08 +0200)] 
flex: fix build with gcc-15 on host

* fixes:
  http://errors.yoctoproject.org/Errors/Details/853017/

../../flex-2.6.4/src/../lib/malloc.c:6:12: warning: conflicting types for built-in function ‘malloc’; expected ‘void *(long unsigned int)’ [-Wbuiltin-declaration-mismatch]
    6 |      void *malloc ();
      |            ^~~~~~
../../flex-2.6.4/src/../lib/malloc.c:5:1: note: ‘malloc’ is declared in header ‘<stdlib.h>’
    4 |      #include <sys/types.h>
  +++ |+#include <stdlib.h>
    5 |
../../flex-2.6.4/src/../lib/malloc.c: In function ‘rpl_malloc’:
../../flex-2.6.4/src/../lib/malloc.c:16:15: error: too many arguments to function ‘malloc’; expected 0, have 1
   16 |        return malloc (n);
      |               ^~~~~~  ~
../../flex-2.6.4/src/../lib/malloc.c:6:12: note: declared here
    6 |      void *malloc ();
      |            ^~~~~~
make[2]: *** [Makefile:1431: ../lib/stage1flex-malloc.o] Error 1

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agopkgconfig: fix build with gcc-15
Martin Jansa [Sat, 26 Apr 2025 13:41:53 +0000 (15:41 +0200)] 
pkgconfig: fix build with gcc-15

* on hosts with gcc-15 or whenever glib PACKAGECONFIG isn't enabled
  and pkgconfig uses own old bundled glib

* fixes:
  http://errors.yoctoproject.org/Errors/Details/853015/
../../../git/glib/glib/goption.c:169:14: error: two or more data types in declaration specifiers
  169 |     gboolean bool;
      |              ^~~~
../../../git/glib/glib/goption.c:169:18: warning: declaration does not declare anything
  169 |     gboolean bool;
      |                  ^

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agowget: use libpcre2
Ross Burton [Fri, 25 Apr 2025 12:00:37 +0000 (13:00 +0100)] 
wget: use libpcre2

libpcre is obsolete and unmaintained, as wget supports libpcre2 now we
should use that instead.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agolibunwind: fix the build with GCC 15
Ross Burton [Fri, 25 Apr 2025 11:43:22 +0000 (12:43 +0100)] 
libunwind: fix the build with GCC 15

Backport a patch from upstream to fix the build when GCC 15 is used.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agolibunwind: fix build when unused sections are garbage collected
Ross Burton [Fri, 25 Apr 2025 11:43:21 +0000 (12:43 +0100)] 
libunwind: fix build when unused sections are garbage collected

poky-tiny uses gcsections.inc to strip unused sections from the
binaries.  However, on qemuarm5/qemuarm64 with poky-tiny this appears to
result in too much being removed and the link fails:

  ld: .libs/Gtest-trace: hidden symbol `__aarch64_cas8_acq_rel' in
  libgcc.a(cas_8_4.o) is referenced by DSO

Work around this by disabling gcsections.inc.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agolibunwind: check if libatomic is needed at configure time
Ross Burton [Fri, 25 Apr 2025 11:43:20 +0000 (12:43 +0100)] 
libunwind: check if libatomic is needed at configure time

Backport a patch submitted upstream to conditionally link explicitly to
libatomic, so we don't need to that in the recipe.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agolibunwind: refresh ppc32/musl patch
Ross Burton [Fri, 25 Apr 2025 11:43:19 +0000 (12:43 +0100)] 
libunwind: refresh ppc32/musl patch

There was a precedence order problem in the patch so update to the latest
version in the pull request.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 months agotoolchain/clang: Remove duplicate RANLIB setting
Khem Raj [Fri, 25 Apr 2025 05:43:23 +0000 (22:43 -0700)] 
toolchain/clang: Remove duplicate RANLIB setting

Its already assigned couple of lines above

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>