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>
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>
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)
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/
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>
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.
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.
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>
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
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>
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>
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.
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>
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>
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>
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
|
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
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>
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>
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>
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>
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>
* 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>
[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>
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>
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.
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>
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>
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>
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>
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.
* 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!)
* 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).
* 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>
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>
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.
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>
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>
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>
- 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.
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>
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>
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.
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>
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>
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>
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>
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>
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>
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)
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)
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)
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>
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.
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>
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.
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>
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>
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>
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>
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>
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>
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>
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>
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>