summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
...
* linux-yocto/6.1: fix uninitialized read in nohz_full/isolcpus setupBruce Ashfield2023-08-223-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating the following commit(s) to linux-yocto/6.1: 4675ec8d0b9a kernel/sched: Fix uninitialized read in nohz_full/isolcpus setup The carry forward of commit from the v5.15 linux-yocto kernel: https://git.yoctoproject.org/linux-yocto/commit/?id=97c96388922 ...in which case the sanity checks are properly *after* the allocation and processing of the bootargs into the cpumask. However, it seems patch (or wiggle?) apparently decided to put the sanity checks *before* the population of the cpumask during the carry-forward and generation of the new v6.1 kernel. Meaning they are validating uninitialized memory and hence nohz_full= and isolcpus= are subject to random failures even for valid input ranges. (From OE-Core rev: 4b349ee66eab8ebe3150ac4c1b449ea5c264a5be) (From OE-Core rev: 92642acd1166b7990fb520337b78a4d37ce7cbe4) Signed-off-by: Adrian Cinal <adriancinal1@gmail.com> Acked-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-tools: include utility to post process config diffsBruce Ashfield2023-08-221-1/+1
| | | | | | | | | | | | | | | | | | | Trevor Woerner contributed a simple utility that cleans up a .config diff to produce a fragment. kconfig-diff2frag.py: introduce a utility to post process a config diff Add a python tool to generate a config fragment from a unified diff of two kernel configurations. The diff is read from stdin and the fragment is printed to stdout. Usage: $ diff -u config1 config2 | kconfig-diff2frag.py (From OE-Core rev: f9fc16e1776452d3f0c4d6dd8f8eece66722128a) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/6.1: update to v6.1.45Bruce Ashfield2023-08-223-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the latest korg -stable release that comprises the following commits: 1321ab403b38 Linux 6.1.45 f2615bb47be4 x86/CPU/AMD: Do not leak quotient data after a division by 0 673cdde74fd1 Revert "drm/i915: Disable DC states for all commits" af7215182417 drm/amdgpu: Use apt name for FW reserved region 3d0a34c42f0d drm/amdgpu: Remove unnecessary domain argument 526defeec474 drm/amdgpu: add vram reservation based on vram_usagebyfirmware_v2_2 99255a2b6849 arm64/ptrace: Don't enable SVE when setting streaming SVE c2fdf827f8fc exfat: check if filename entries exceeds max filename length e2fb24ce37ca f2fs: don't reset unchangable mount option in f2fs_remount() 6ba0594a81f9 f2fs: fix to set flush_merge opt and show noflush_merge e355972affb6 selftests/rseq: Play nice with binaries statically linked against glibc 2.35+ 56562676102e drm/amd/display: skip CLEAR_PAYLOAD_ID_TABLE if device mst_en is 0 63eeb50fa110 drm/amd/display: Ensure that planes are in the same order 740d4cae248a drm/imx/ipuv3: Fix front porch adjustment upon hactive aligning a492b8281c36 powerpc/mm/altmap: Fix altmap boundary check f4b700c71802 mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op() b71c00256da4 mtd: rawnand: rockchip: Align hwecc vs. raw page helper layouts 5a8a35b71bd3 mtd: rawnand: rockchip: fix oobfree offset and description 6c591fce484e mtd: rawnand: omap_elm: Fix incorrect type in assignment 88b1958fb57d io_uring: annotate offset timeout races a78a8bcdc26d f2fs: fix to do sanity check on direct node in truncate_dnode() 23e72231f828 btrfs: remove BUG_ON()'s in add_new_free_space() 56c0d76a9722 ext2: Drop fragment support 295ef44a2aba fs: Protect reconfiguration of sb read-write from racing writes 1bebbd9b8037 net: usbnet: Fix WARNING in usbnet_start_xmit/usb_submit_urb 203d58930d4a debugobjects: Recheck debug_objects_enabled before reporting 29fac1849933 Bluetooth: L2CAP: Fix use-after-free in l2cap_sock_ready_cb 1416eebaad80 fs/sysv: Null check to prevent null-ptr-deref bug ccc6de4d4f34 fs/ntfs3: Use __GFP_NOWARN allocation at ntfs_load_attr_list() 33d9490b27e5 mm: kmem: fix a NULL pointer dereference in obj_stock_flush_required() 4968484ac8ef file: reinstate f_pos locking optimization for regular files 7a1178a3671b bpf, cpumap: Make sure kthread is running before map update returns 8a211e9118d5 clk: imx93: Propagate correct error in imx93_clocks_probe() 37f6073f7db3 drm/i915/gt: Cleanup aux invalidation registers 4db8b39418a6 drm/i915: Fix premature release of request's reusable memory 1fdd16d89c01 drm/ttm: check null pointer before accessing when swapping 4f03b0471ee0 open: make RESOLVE_CACHED correctly test for O_TMPFILE 61f96da37dd4 arm64/fpsimd: Sync FPSIMD state with SVE for SME only systems 654c1dd350c7 arm64/fpsimd: Clear SME state in the target task when setting the VL bae353469a28 arm64/fpsimd: Sync and zero pad FPSIMD state for streaming SVE b8ea2a46913b powerpc/ftrace: Create a dummy stackframe to fix stack unwind 36dd8ca330b7 bpf: Disable preemption in bpf_event_output ec062367fa0c rbd: prevent busy loop when requesting exclusive lock 98cccbd0a19a x86/hyperv: Disable IBT when hypercall page lacks ENDBR instruction 0526119bf59e wifi: mt76: mt7615: do not advertise 5 GHz on first phy of MT7615D (DBDC) 767800fc402d net: tap_open(): set sk_uid from current_fsuid() b6846d7c408b net: tun_chr_open(): set sk_uid from current_fsuid() 367fdf369dc7 arm64: dts: stratix10: fix incorrect I2C property for SCL signal 3654ed5daf49 bpf: Disable preemption in bpf_perf_event_output 680f4d8aec1b mtd: rawnand: meson: fix OOB available bytes for ECC 67327cadba59 mtd: spinand: toshiba: Fix ecc_get_status 724ce05212d0 exfat: release s_lock before calling dir_emit() 1427a7e96fb9 exfat: use kvmalloc_array/kvfree instead of kmalloc_array/kfree bc41119995e4 firmware: arm_scmi: Drop OF node reference in the transport channel setup a062da58ed97 ceph: defer stopping mdsc delayed_work ad82aac732c2 USB: zaurus: Add ID for A-300/B-500/C-700 be52667ba243 libceph: fix potential hang in ceph_osdc_notify() f62faadc791e scsi: storvsc: Limit max_sectors for virtual Fibre Channel devices 645603ab5fa8 scsi: zfcp: Defer fc_rport blocking until after ADISC response f0618c305b41 rust: allocator: Prevent mis-aligned allocation cd4bdf8f98ef tcp_metrics: fix data-race in tcpm_suck_dst() vs fastopen e53917e7efea tcp_metrics: annotate data-races around tm->tcpm_net 6dea95d8caff tcp_metrics: annotate data-races around tm->tcpm_vals[] fee608e80271 tcp_metrics: annotate data-races around tm->tcpm_lock 4a77a0f7526c tcp_metrics: annotate data-races around tm->tcpm_stamp 71f891a25405 tcp_metrics: fix addr_same() helper afac854f8221 prestera: fix fallback to previous version on same major version 72b3aea3450e net/mlx5: fs_core: Skip the FTs in the same FS_TYPE_PRIO_CHAINS fs_prio 1ca50e5de43a net/mlx5: fs_core: Make find_closest_ft more generic 7b8717658dff vxlan: Fix nexthop hash size 691a09eecad9 ip6mr: Fix skb_under_panic in ip6mr_cache_report() 86818409f989 s390/qeth: Don't call dev_close/dev_open (DOWN/UP) ecff20e19320 net: dcb: choose correct policy to parse DCB_ATTR_BCN 421e02bda057 bnxt_en: Fix max_mtu setting for multi-buf XDP e9f11bfc03fb bnxt_en: Fix page pool logic for page size >= 64K 64763dd851fa net: netsec: Ignore 'phy-mode' on SynQuacer in DT mode 8afe27770dea net: korina: handle clk prepare error in korina_probe() 58660666b464 net: ll_temac: fix error checking of irq_of_parse_and_map() 834422b06c8b bpf: sockmap: Remove preempt_disable in sock_map_sk_acquire d4d3b53a4c66 net/sched: cls_route: No longer copy tcf_result on update to avoid use-after-free 7f691439b29b net/sched: cls_fw: No longer copy tcf_result on update to avoid use-after-free aab2d095ce4d net/sched: cls_u32: No longer copy tcf_result on update to avoid use-after-free cbd000451885 bpf, cpumap: Handle skb as well when clean up ptr_ring 4461b2cae326 ice: Fix RDMA VSI removal during queue rebuild 0b45af982a4d net/sched: taprio: Limit TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME to INT_MAX. 12d4ba181424 net: annotate data-races around sk->sk_priority 6326c83ee27e net: add missing data-race annotation for sk_ll_usec dd7a1ff07c6c net: add missing data-race annotations around sk->sk_peek_off b53468041d20 net: annotate data-races around sk->sk_mark c7bb6860645f net: add missing READ_ONCE(sk->sk_rcvbuf) annotation 10c832159622 net: add missing READ_ONCE(sk->sk_sndbuf) annotation 0a40103c9191 net: add missing READ_ONCE(sk->sk_rcvlowat) annotation be43c8f1c916 net: annotate data-races around sk->sk_max_pacing_rate 0317c8322d9a net: annotate data-race around sk->sk_txrehash 60d92bc9c094 net: annotate data-races around sk->sk_reserved_mem 9da9ea9b132c qed: Fix scheduling in a tasklet while getting stats 3c42307abe97 mISDN: hfcpci: Fix potential deadlock on &hc->lock d652c080b67c net: sched: cls_u32: Fix match key mis-addressing 22709d85373f perf test uprobe_from_different_cu: Skip if there is no gcc 5ef5b6e9c17b net: dsa: fix value check in bcm_sf2_sw_probe() 8dfac8071d58 rtnetlink: let rtnl_bridge_setlink checks IFLA_BRIDGE_MODE length 24772cc31f00 bpf: Add length check for SK_DIAG_BPF_STORAGE_REQ_MAP_FD parsing d628ba98eb16 net/mlx5e: Move representor neigh cleanup to profile cleanup_tx 94a0eb9c12be net/mlx5e: Fix crash moving to switchdev mode when ntuple offload is set a7b5f001004c net/mlx5e: fix return value check in mlx5e_ipsec_remove_trailer() 0582a3caaa3e net/mlx5: fix potential memory leak in mlx5e_init_rep_rx 3169c3854397 net/mlx5: DR, fix memory leak in mlx5dr_cmd_create_reformat_ctx c818fff3b6cb net/mlx5e: fix double free in macsec_fs_tx_create_crypto_table_groups 7a6fad03f54c wifi: cfg80211: Fix return value in scan logic 05e0952ddb75 erofs: fix wrong primary bvec selection on deduplicated extents a759972d2549 KVM: s390: fix sthyi error handling f168188174b3 word-at-a-time: use the same return type for has_zero regardless of endianness 5b53b2b44f0c firmware: arm_scmi: Fix chan_free cleanup on SMC 6289d5486d36 lib/bitmap: workaround const_eval test build failure 0ca5de8309f9 firmware: smccc: Fix use of uninitialised results structure 7b0582dddd7e arm64: dts: freescale: Fix VPU G2 clock 5841d3d0c352 arm64: dts: imx8mn-var-som: add missing pull-up for onboard PHY reset pinmux a24f67b71ad2 arm64: dts: phycore-imx8mm: Correction in gpio-line-names 753a927c5841 arm64: dts: phycore-imx8mm: Label typo-fix of VPU 608ac7ea5f05 arm64: dts: imx8mm-venice-gw7904: disable disp_blk_ctrl d060bbb2fed8 arm64: dts: imx8mm-venice-gw7903: disable disp_blk_ctrl 8ddb3183c439 iommu/arm-smmu-v3: Document nesting-related errata 42d04acf1d9b iommu/arm-smmu-v3: Add explicit feature for nesting 57ae3671ece5 iommu/arm-smmu-v3: Document MMU-700 erratum 2812531 e3399bd014e9 iommu/arm-smmu-v3: Work around MMU-600 erratum 1076982 50c24f0c9407 net: ipa: only reset hashed tables when supported 93f5b881125e net/mlx5: Free irqs only on shutdown callback 15c22cd1de50 perf: Fix function pointer case c7920f992840 io_uring: gate iowait schedule on having pending requests (From OE-Core rev: 9cdf022205d4bfe30ed71a4b1ac2edfb88eff560) (From OE-Core rev: e8b3099f472201410cba6c3f30745d3b83e15a21) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/6.4: update to v6.4.10Bruce Ashfield2023-08-223-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the latest korg -stable release that comprises the following commits: b269b0268d41 Linux 6.4.10 c9c0b889e2d3 x86/CPU/AMD: Do not leak quotient data after a division by 0 493c80a4f20b drm/i915/gt: Enable the CCS_FLUSH bit in the pipe control and in the CS 43f5167d2cdc drm/i915/gt: Support aux invalidation on all engines e66e37671c18 drm/i915/gt: Poll aux invalidation register bit on invalidation 10be2cb87f0a drm/i915/gt: Rename flags with bit_group_X according to the datasheet 73400908a97b drm/i915/gt: Add workaround 14016712196 17b66e10b134 drm/i915/gt: Ensure memory quiesced before invalidation c0660d36ecd8 drm/i915: Add the gen12_needs_ccs_aux_inv helper 7f87080d2e97 ARM: dts: nxp/imx6sll: fix wrong property name in usbphy node 544fdf64d698 selftests/rseq: Play nice with binaries statically linked against glibc 2.35+ 33f735ef8dfe drm/amdgpu: Use apt name for FW reserved region 61977b1526ba drm/imx/ipuv3: Fix front porch adjustment upon hactive aligning bbfa34c97d8b powerpc/mm/altmap: Fix altmap boundary check 49e57caf967a mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op() 65df5d2ecc2c mtd: spi-nor: avoid holes in struct spi_mem_op 45d69917a4af clk: mediatek: mt8183: Add back SSPM related clocks 182ac84852a8 mtd: rawnand: rockchip: Align hwecc vs. raw page helper layouts 550322382c5c mtd: rawnand: rockchip: fix oobfree offset and description b3e2e796be07 mtd: rawnand: omap_elm: Fix incorrect type in assignment a126124c86c5 io_uring: annotate offset timeout races af0f716ad3b0 f2fs: fix to do sanity check on direct node in truncate_dnode() f775ceb0cb53 btrfs: remove BUG_ON()'s in add_new_free_space() 27f92aad4f17 ext2: Drop fragment support d160941e1537 mm/gup: do not return 0 from pin_user_pages_fast() for bad args 4abda85197ba fs: Protect reconfiguration of sb read-write from racing writes 0dd3e0c31bf3 net: usbnet: Fix WARNING in usbnet_start_xmit/usb_submit_urb 6da717fc5d90 debugobjects: Recheck debug_objects_enabled before reporting 10426afe65c8 Bluetooth: L2CAP: Fix use-after-free in l2cap_sock_ready_cb e28f376dd8df fs/sysv: Null check to prevent null-ptr-deref bug e0a30f9d1a5e kasan,kmsan: remove __GFP_KSWAPD_RECLAIM usage from kasan/kmsan 664dbb356f67 fs/ntfs3: Use __GFP_NOWARN allocation at ntfs_load_attr_list() 33391c7e1a2a mm: kmem: fix a NULL pointer dereference in obj_stock_flush_required() 11e760b5e7f2 file: reinstate f_pos locking optimization for regular files 158b3678c86b clk: imx93: Propagate correct error in imx93_clocks_probe() ee9968d72af8 sunvnet: fix sparc64 build error after gso code split 5415dde3e76a Revert "page cache: fix page_cache_next/prev_miss off by one" 6df7dd9270c5 drm/i915/gt: Cleanup aux invalidation registers ed7ac41cfcef drm/i915: Fix premature release of request's reusable memory 49b3b979e79f drm/ttm: check null pointer before accessing when swapping e3c24712441e open: make RESOLVE_CACHED correctly test for O_TMPFILE 64b7ae70678b arm64/ptrace: Don't enable SVE when setting streaming SVE 0d22576f1903 arm64/ptrace: Flush FP state when setting ZT0 cfb2b39db538 arm64/fpsimd: Sync FPSIMD state with SVE for SME only systems 789c015d9a18 arm64/fpsimd: Clear SME state in the target task when setting the VL 0693012274fd arm64/fpsimd: Sync and zero pad FPSIMD state for streaming SVE 434ebb3960b7 parisc/mm: preallocate fixmap page tables at init 410b0d2d54e6 powerpc/ftrace: Create a dummy stackframe to fix stack unwind f2556c93c388 smb: client: fix dfs link mount against w2k8 063c9ce8e74e bpf: Disable preemption in bpf_event_output 7bb7b479d111 rbd: prevent busy loop when requesting exclusive lock 73626b70b361 x86/hyperv: Disable IBT when hypercall page lacks ENDBR instruction 01c3a34f5ed7 wifi: mt76: mt7615: do not advertise 5 GHz on first phy of MT7615D (DBDC) ea6cce8d6899 net: tap_open(): set sk_uid from current_fsuid() 36161e7d40e7 net: tun_chr_open(): set sk_uid from current_fsuid() 040d7f19f206 arm64: dts: stratix10: fix incorrect I2C property for SCL signal a0ac32cf61e5 bpf: Disable preemption in bpf_perf_event_output d92b04b2eae0 riscv: Export va_kernel_pa_offset in vmcoreinfo 501a38b801f4 mtd: rawnand: meson: fix OOB available bytes for ECC 6c26c42e076e mtd: spinand: winbond: Fix ecc_get_status fa4cfb7d204c mtd: spinand: toshiba: Fix ecc_get_status e705b1680001 exfat: release s_lock before calling dir_emit() e1a73ba43cf8 exfat: check if filename entries exceeds max filename length 0c5c3e8a2550 exfat: use kvmalloc_array/kvfree instead of kmalloc_array/kfree 3d4d2e55b31c firmware: arm_scmi: Drop OF node reference in the transport channel setup 0b39dfaf255b ceph: defer stopping mdsc delayed_work c29cc7eef96b USB: zaurus: Add ID for A-300/B-500/C-700 7d4b6fd65815 libceph: fix potential hang in ceph_osdc_notify() b31ef844d430 Documentation: kdump: Add va_kernel_pa_offset for RISCV64 d678df66b1af scsi: storvsc: Limit max_sectors for virtual Fibre Channel devices 2c2aa8d0e2a5 scsi: zfcp: Defer fc_rport blocking until after ADISC response 0c8515842b82 rust: allocator: Prevent mis-aligned allocation 3a2543be8a7e test/vsock: remove vsock_perf executable on `make clean` d6d195f2e7b1 tcp_metrics: fix data-race in tcpm_suck_dst() vs fastopen fd147efc9610 tcp_metrics: annotate data-races around tm->tcpm_net 6f27b67fc329 tcp_metrics: annotate data-races around tm->tcpm_vals[] d8064e2859ae tcp_metrics: annotate data-races around tm->tcpm_lock cbe9433586be tcp_metrics: annotate data-races around tm->tcpm_stamp f47cff05d3b3 tcp_metrics: fix addr_same() helper 9defb2b3843c prestera: fix fallback to previous version on same major version ac2b423db9b1 net/mlx5e: Set proper IPsec source port in L4 selector a1e071efa766 net/mlx5: fs_core: Skip the FTs in the same FS_TYPE_PRIO_CHAINS fs_prio b1aa1b267b91 net/mlx5: fs_core: Make find_closest_ft more generic 23c195ce6f4a vxlan: Fix nexthop hash size 3326c711f18d ip6mr: Fix skb_under_panic in ip6mr_cache_report() 29d6fe395087 s390/qeth: Don't call dev_close/dev_open (DOWN/UP) 199fde04bd87 net: dcb: choose correct policy to parse DCB_ATTR_BCN 893096a7e5fd bnxt_en: Fix max_mtu setting for multi-buf XDP ae0e135dc900 bnxt_en: Fix page pool logic for page size >= 64K 5d015db7e60d selftest: net: Assert on a proper value in so_incoming_cpu.c. 0c1763e20c66 net: netsec: Ignore 'phy-mode' on SynQuacer in DT mode d948a2ab44ea net: korina: handle clk prepare error in korina_probe() 18e647c01749 net: ll_temac: fix error checking of irq_of_parse_and_map() 1b7c8cbbd6f6 bpf: sockmap: Remove preempt_disable in sock_map_sk_acquire a836184b670f net/sched: cls_route: No longer copy tcf_result on update to avoid use-after-free 7d848d718aeb net/sched: cls_fw: No longer copy tcf_result on update to avoid use-after-free 4b717802428f net/sched: cls_u32: No longer copy tcf_result on update to avoid use-after-free 937345720d18 bpf, cpumap: Handle skb as well when clean up ptr_ring ecb45b852af5 bpf, cpumap: Make sure kthread is running before map update returns 382535c063de bpf: Centralize permissions checks for all BPF map types 514b9c25ffe6 bpf: Inline map creation logic in map_create() function 3cf214f2755b bpf: Move unprivileged checks into map_create() and bpf_prog_load() 0acc483f9b4d octeon_ep: initialize mbox mutexes 34115ad1e5b5 bnxt: don't handle XDP in netpoll f7cdae9fbda2 ice: Fix RDMA VSI removal during queue rebuild a54bf862ccad net: usb: lan78xx: reorder cleanup operations to avoid UAF bugs 57b3fe08ae06 net/sched: taprio: Limit TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME to INT_MAX. 7e7c4fdee5c7 net: annotate data-races around sk->sk_priority 9ceaff1556dc net: add missing data-race annotation for sk_ll_usec eb2604f073ee net: add missing data-race annotations around sk->sk_peek_off b76d2fa662b7 net: annotate data-races around sk->sk_mark ea47de09819b net: add missing READ_ONCE(sk->sk_rcvbuf) annotation 4b5bda4502dd net: add missing READ_ONCE(sk->sk_sndbuf) annotation 4685a86b9f25 net: add missing READ_ONCE(sk->sk_rcvlowat) annotation 98ee7a0fe181 net: annotate data-races around sk->sk_max_pacing_rate d0e273bc559b net: annotate data-race around sk->sk_txrehash 6269d3eaf443 net: annotate data-races around sk->sk_reserved_mem 5ac34598be7b net: gro: fix misuse of CB in udp socket lookup bbe07adbaf39 net: move gso declarations and functions to their own files 3e0d2545f94a qed: Fix scheduling in a tasklet while getting stats 3a234a486791 net: stmmac: tegra: Properly allocate clock bulk data ea496e48d656 mISDN: hfcpci: Fix potential deadlock on &hc->lock de14cff7164d net: sched: cls_u32: Fix match key mis-addressing 4034838ab0d5 perf test uprobe_from_different_cu: Skip if there is no gcc 76d0f82f68a2 net: dsa: fix value check in bcm_sf2_sw_probe() 00757f58e37b rtnetlink: let rtnl_bridge_setlink checks IFLA_BRIDGE_MODE length 95b2e27b1139 bpf: Add length check for SK_DIAG_BPF_STORAGE_REQ_MAP_FD parsing 471f59b34553 net/mlx5: Unregister devlink params in case interface is down 3280f8a40190 net/mlx5: fs_chains: Fix ft prio if ignore_flow_level is not supported bd964343338e net/mlx5e: kTLS, Fix protection domain in use syndrome when devlink reload 02a84eb2af6b net/mlx5e: xsk: Fix crash on regular rq reactivation 58a113a35846 net/mlx5e: xsk: Fix invalid buffer access for legacy rq 36697c592cd0 net/mlx5e: Move representor neigh cleanup to profile cleanup_tx 90c226e46785 net/mlx5e: Fix crash moving to switchdev mode when ntuple offload is set 2e76da7bda60 net/mlx5e: Don't hold encap tbl lock if there is no encap action 0302414ca593 net/mlx5: Honor user input for migratable port fn attr cc94d516c3a9 net/mlx5e: fix return value check in mlx5e_ipsec_remove_trailer() c265d8c2e255 net/mlx5: fix potential memory leak in mlx5e_init_rep_rx 622d71d99124 net/mlx5: DR, fix memory leak in mlx5dr_cmd_create_reformat_ctx 957702c389a8 net/mlx5e: fix double free in macsec_fs_tx_create_crypto_table_groups 1d23e51cc6a6 wifi: cfg80211: Fix return value in scan logic 0ab6fac37032 perf pmu arm64: Fix reading the PMU cpu slots in sysfs b845249a4e5e erofs: fix wrong primary bvec selection on deduplicated extents 53980121e1a6 KVM: s390: fix sthyi error handling 601e467e29a9 s390/vmem: split pages when debug pagealloc is enabled cfa54fb51357 word-at-a-time: use the same return type for has_zero regardless of endianness 0326a5bd6f58 ARM: dts: at91: sam9x60: fix the SOC detection 08491e1cadd6 ARM: dts: at91: use generic name for shutdown controller ccec3e7f2b79 ARM: dts: at91: use clock-controller name for sckc nodes 51a34cb21fd6 ARM: dts: at91: use clock-controller name for PMC nodes a5bdeb37a053 firmware: arm_scmi: Fix chan_free cleanup on SMC 5dcc40b28c3f soc: imx: imx8mp-blk-ctrl: register HSIO PLL clock as bus_power_dev child 2b41891b9cc1 ARM: dts: nxp/imx: limit sk-imx53 supported frequencies 8626358813be lib/bitmap: workaround const_eval test build failure 9851630bbd45 firmware: arm_scmi: Fix signed error return values handling 32e44b7d7acc firmware: smccc: Fix use of uninitialised results structure 4cfbe33a8897 arm64: dts: freescale: Fix VPU G2 clock 25ee70d51d0a arm64: dts: imx8mn-var-som: add missing pull-up for onboard PHY reset pinmux d5d5cbb0d051 arm64: dts: phycore-imx8mm: Correction in gpio-line-names 3fe4b022bbb5 arm64: dts: phycore-imx8mm: Label typo-fix of VPU 599c6d1ce1b6 arm64: dts: imx8mm-venice-gw7904: disable disp_blk_ctrl 132d600e52a7 arm64: dts: imx8mm-venice-gw7903: disable disp_blk_ctrl 5ed4b021a3ba iommu/arm-smmu-v3: Document nesting-related errata c7af8840f215 iommu/arm-smmu-v3: Add explicit feature for nesting 8f2c8d8a8dec iommu/arm-smmu-v3: Document MMU-700 erratum 2812531 f6a58dbe36d7 iommu/arm-smmu-v3: Work around MMU-600 erratum 1076982 93a0b7d43de5 mm: lock_vma_under_rcu() must check vma->anon_vma under vma lock (From OE-Core rev: e9a34ef96868b64b37d12061e4daef7da978c38d) (From OE-Core rev: 89e78af9657cf41a5e6cedf4addd064b3c4dec28) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/6.1: update to v6.1.44Bruce Ashfield2023-08-223-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the latest korg -stable release that comprises the following commits: 0a4a7855302d Linux 6.1.44 dd5f2ef16e3c x86: fix backwards merge of GDS/SRSO bit fa5b932b77c8 xen/netback: Fix buffer overrun triggered by unusual packet 4f25355540ad x86/srso: Tie SBPB bit setting to microcode patch detection 77cf32d0dbfb x86/srso: Add a forgotten NOENDBR annotation c7f2cd045542 x86/srso: Fix return thunks in generated code c9ae63d773ca x86/srso: Add IBPB on VMEXIT 79c8091888ef x86/srso: Add IBPB 98f62883e751 x86/srso: Add SRSO_NO support 9139f4b6dd4f x86/srso: Add IBPB_BRTYPE support ac41e90d8daa x86/srso: Add a Speculative RAS Overflow mitigation dec3b91f2c4b x86/cpu, kvm: Add support for CPUID_80000021_EAX dfede4cb8ef7 x86/bugs: Increase the x86 bugs vector size to two u32s dacb0bac2edb Documentation/x86: Fix backwards on/off logic about YMM support 051f5dcf144a x86/mm: Initialize text poking earlier e0fd83a193c5 mm: Move mm_cachep initialization to mm_init() 9ae15aaff39c x86/mm: Use mm_alloc() in poking_init() d972c8c08f96 x86/mm: fix poking_init() for Xen PV guests 7f3982de36c6 x86/xen: Fix secondary processors' FPU initialization baa7b7501e41 x86/mem_encrypt: Unbreak the AMD_MEM_ENCRYPT=n build b6fd07c41b4c KVM: Add GDS_NO support to KVM c04579e95492 x86/speculation: Add Kconfig option for GDS 92fc27c79bc7 x86/speculation: Add force option to GDS mitigation c66ebe070d96 x86/speculation: Add Gather Data Sampling mitigation f25ad76d9217 x86/fpu: Move FPU initialization into arch_cpu_finalize_init() e26932942b2c x86/fpu: Mark init functions __init 9e8d9d399094 x86/fpu: Remove cpuinfo argument from init functions c956807d8462 x86/init: Initialize signal frame size late b0837880fa65 init, x86: Move mem_encrypt_init() into arch_cpu_finalize_init() 8183a89caf67 init: Invoke arch_cpu_finalize_init() earlier a3342c60dcc5 init: Remove check_bugs() leftovers 8beabde0ed8d um/cpu: Switch to arch_cpu_finalize_init() ce97072e10cc sparc/cpu: Switch to arch_cpu_finalize_init() 84f585542ec6 sh/cpu: Switch to arch_cpu_finalize_init() 6a90583dbd9b mips/cpu: Switch to arch_cpu_finalize_init() 489ae02c8993 m68k/cpu: Switch to arch_cpu_finalize_init() 08e86d42e2c9 loongarch/cpu: Switch to arch_cpu_finalize_init() 403e4cc67e4c ia64/cpu: Switch to arch_cpu_finalize_init() e2e06240ae47 ARM: cpu: Switch to arch_cpu_finalize_init() 7918a3555a25 x86/cpu: Switch to arch_cpu_finalize_init() d5501f2ff80d init: Provide arch_cpu_finalize_init() (From OE-Core rev: c8b669d53b3444191c83f171768b03f96913f4eb) (From OE-Core rev: ee0f9bb134ed2167bd014aaa0fafa551215a6f28) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-sysroots: Ensure dependency chains are minimalRichard Purdie2023-08-221-0/+4
| | | | | | | | | | | | | We need to ensure this recipe doesn't have dependencies on others. The SPDX classes/tasks introduce dependenies quilt-native and patch-native which can introduce races on files in the sysroots. Avoid the races by removing the tasks we don't need. [YOCTO #15186] (From OE-Core rev: a5dc278b077edba8f4099f0f6dfb97e97f680320) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Add missing DEPENDS on pod2manRichard Purdie2023-08-221-1/+2
| | | | | | | | | | | Otherwise this can be used from the host leading to output determinism issues where the output may have zero length files for man pages without it. Limit it to target only since we don't need this for native/cross. (From OE-Core rev: 77f615fd49efe4b38db030c602eff709e3bc0f14) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime/rust: correct rust testFrederic Martinsons2023-08-211-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Since setUp of RustCompileTest use cls.tc.copyTo, those tests needs the scp command: NOTE: ====================================================================== NOTE: FAIL: test_cargo_compile (rust.RustCompileTest) NOTE: ---------------------------------------------------------------------- NOTE: Traceback (most recent call last): File "/home/jenkins/yocto-poky-master/poky/meta/lib/oeqa/core/case.py", line 53, in _oeSetUp self.setUpMethod() File "/home/jenkins/yocto-poky-master/poky/meta/lib/oeqa/runtime/cases/rust.py", line 17, in setUp cls.tc.target.copyTo(src, dst) File "/home/jenkins/yocto-poky-master/poky/meta/lib/oeqa/core/target/ssh.py", line 132, in copyTo return self._run(scpCmd, ignore_status=False) File "/home/jenkins/yocto-poky-master/poky/meta/lib/oeqa/core/target/ssh.py", line 81, in _run raise AssertionError("Command '%s' returned non-zero exit " AssertionError: Command '['scp', '-o', 'ServerAliveCountMax=2', '-o', 'ServerAliveInterval=30', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-o', 'LogLevel=ERROR', '-r', '-P', '2222', '/home/jenkins/yocto-poky-master/poky/meta/lib/oeqa/files/test.rs', 'root@127.0.0.1:/tmp/']' returned non-zero exit status 1: sh: scp: not found lost connection (From OE-Core rev: 1bf24df9be44c73e5d8e90feb446ecfcd542228c) Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: provide examples for C library generation in rustFrederic Martinsons2023-08-211-0/+12
| | | | | | | | | | | | | | | | | | | | rust-c-lib-example is a little rust code which provide a single function to print a formatted date (via the chrono crate) from an input timestamp in millisecond. It has the necessary FFI annotation and inherit cargo_c class for the C ABI compatible library generation. rust-c-lib-example is meson project for the C code which will call the print_date function from rust-c-lib-example if no argument is provided, if any argument is provided it will print "Hello world in rust from C!" add a runtime test case to check if all went well. (From OE-Core rev: bb177c7764b1bc47157d57d7a34930e59a7acef3) Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes-recipe: add cargo_c.bbclassFrederic Martinsons2023-08-211-0/+41
| | | | | | | | | | | | | This class can be used inside rust recipe to generate a rust library that can be called by C/C++ code. The rust recipe which uses this class has to only replace "inherit cargo" by "inherit cargo_c". (From OE-Core rev: 1e4862db1d6293872b76b62acee1e4a5e2597367) Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: add cargo-c native recipeFrederic Martinsons2023-08-214-0/+2657
| | | | | | | | | | | | | | | This package make it easier to generate C/C++ ABI compatible header, library and also generate package config file. It is built around cbindgen (https://github.com/mozilla/cbindgen) for the header generation, it compiles the library (static or dynamic) through cargo and finally handle the generation of a custom package config file. (From OE-Core rev: dfce5f9ffb5240aadae311c2a2e912a315afc703) Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* stress-ng: upgrade 0.15.08 -> 0.16.04Anuj Mittal2023-08-211-1/+1
| | | | | | | (From OE-Core rev: 5fa07f6e882c35df4bb0d0f13804510ed2bea6f8) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 8.0.1 -> 8.1.1Anuj Mittal2023-08-211-1/+1
| | | | | | | (From OE-Core rev: 4c88fbb45ade45a1002d807aa767de9467f12a9f) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0: upgrade 1.22.4 -> 1.22.5Anuj Mittal2023-08-2111-11/+11
| | | | | | | (From OE-Core rev: a894c9499863f127380c38f0b17d51b356391821) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 68.0.0 -> 68.1.0Trevor Gamblin2023-08-211-1/+1
| | | | | | | | | Changelog: https://github.com/pypa/setuptools/blob/main/NEWS.rst (From OE-Core rev: e7671b34f479989e059fd0baa2028807331988c4) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-trove-classfiers: upgrade 2023.7.6 -> 2023.8.7Trevor Gamblin2023-08-211-1/+1
| | | | | | | | | | | Changelog: https://github.com/pypa/trove-classifiers/releases - Add Trove classifier for Python 3.13 (#150) (From OE-Core rev: a23534e605c0227c3d5f2a4aa74a8164ac0dfea1) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: upgrade 1.25.1 -> 1.25.2Trevor Gamblin2023-08-211-1/+1
| | | | | | | | | Changelog: https://github.com/numpy/numpy/releases/tag/v1.25.2 (From OE-Core rev: 1b28f8109bd61b12c60d7e1c058e4d26ec476ca5) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dbusmock: upgrade 0.29.0 -> 0.29.1Trevor Gamblin2023-08-211-1/+1
| | | | | | | | | | | | Changelog: https://github.com/martinpitt/python-dbusmock/releases - spec: Update License: to SPDX format - Test fixes (thanks Marco Trevisan) (From OE-Core rev: 47e4cd0fe22516b61b9a22552c51d0806f568755) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/gitarchive: add tests about tags lisiting when no remote is ↵Alexis Lothoré2023-08-211-2/+33
| | | | | | | | | | | | | | configured Add specific tests on gitarchive for when tag listing is required but no remote is configured in target directory: it should either succeed if valid url is provided, or fail is url is not provided or wrong (From OE-Core rev: 5e9d84d82fde81d66550d8c694ea70f0911fa4f7) Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/utils/gitarchive: fix tag computation when creating archiveAlexis Lothoré2023-08-211-4/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sporadic errors have been observed in autobuilder when trying to store new tests results: error: failed to push some refs to 'push.yoctoproject.org:yocto-testresults' hint: Updates were rejected because the tag already exists in the remote. The new tag name is generated by gitarchive based on known tags from the repository (learnt with git tag). In autobuilder case, this repository is a shallow clone, so git tag only returns most recent tags, which mean we could miss some older tags which exist in remote but not locally. In this case, gitarchive will likely create a tag which already exists in remote, and so will fail to push Fix this tag duplication by using git ls-remote to learn about existing tags instead of git tag. To do so, create a helper ("get_tags") which manages both nominal case (target directory is a git repository with a proper remote) and fallback case (target directory is not from a clone, no remote has been configured) Fixes [YOCTO #15140] (From OE-Core rev: 9cbbe9689866158825a7ae774b7965b41ff5c461) Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest: introduce gitarchive testsAlexis Lothoré2023-08-211-0/+96
| | | | | | | | | | | | | | Add a test suite for gitarchive.py. For now, only introduce tests on methods which needs to read existing tags The tests rely on tmpdirs to create local, "fake" results repository in order to allow basic git commands (From OE-Core rev: bc9b8ef4bc3e51ba7fca372ab7e532a80975d819) Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* maintainers.inc: Add self for unmaintained Python recipesTrevor Gamblin2023-08-211-11/+11
| | | | | | | | (From OE-Core rev: 3a7021f5029ad30f5cf9adf02c91029e63ef0ef8) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-wheel: upgrade 0.41.0 -> 0.41.1Trevor Gamblin2023-08-211-1/+1
| | | | | | | | | | | | | | | Changelog: https://wheel.readthedocs.io/en/stable/news.html - Fixed naming of the data_dir directory in the presence of local version segment given via egg_info.tag_build (PR by Anderson Bravalheri) - Fixed version specifiers in Requires-Dist being wrapped in parentheses (From OE-Core rev: 3f990f80bc56381a71e3ae231d8006d50b380166) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygments: upgrade 2.15.1 -> 2.16.1Trevor Gamblin2023-08-211-1/+1
| | | | | | | | | | Changelog: https://github.com/pygments/pygments/blob/master/CHANGES (From OE-Core rev: 1358180db001d598a8c4726a162fe4da4c9bd443) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-more-itertools: upgrade 10.0.0 -> 10.1.0Trevor Gamblin2023-08-211-1/+1
| | | | | | | | | | Changelog: https://github.com/more-itertools/more-itertools/blob/master/docs/versions.rst (From OE-Core rev: 1ac3a453d199114b41c4bd36f24ac3e7bc6ce1ee) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.82.0 -> 6.82.5Trevor Gamblin2023-08-211-1/+1
| | | | | | | | | | Changelog: https://github.com/HypothesisWorks/hypothesis/blob/master/hypothesis-python/docs/changes.rst (From OE-Core rev: 10f5c131e5de6363ba9cbd6960717c2943005c0e) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: disable strace on rv32 archDmitry Baryshkov2023-08-211-0/+7
| | | | | | | | | | | | | | | | | | | | | | | strace program is not yet ported to RiscV 32 arch. Disable corresponding dependency and test to remove dependency on the non-existing package, which otherwise breaks building of core images: ERROR: Nothing RPROVIDES 'strace' (but /oe/poky/meta/recipes-extended/mdadm/mdadm_4.2.bb RDEPENDS on or otherwise requires it) strace was skipped: incompatible with host riscv32-poky-linux (not in COMPATIBLE_HOST) NOTE: Runtime target 'strace' is unbuildable, removing... Missing or unbuildable dependency chain was: ['strace'] NOTE: Runtime target 'mdadm' is unbuildable, removing... Missing or unbuildable dependency chain was: ['mdadm', 'strace'] NOTE: Runtime target 'matchbox-terminal' is unbuildable, removing... Missing or unbuildable dependency chain was: ['matchbox-terminal', 'gtk+3', 'glib-2.0', 'util-linux', 'mdadm', 'strace'] ERROR: Required build target 'core-image-weston' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-weston', 'matchbox-terminal', 'gtk+3', 'glib-2.0', 'util-linux', 'mdadm', 'strace'] (From OE-Core rev: 9eca859f3bad9a881162f514d6147be5fd1351d9) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bin_package.bbclass: Inhibit the default dependenciesPeter Kjellerstedt2023-08-211-0/+3
| | | | | | | | | | Nothing is being built so there is no need for the cross-compiler. (From OE-Core rev: d1d09bd4d7be88f0e341d5fccbfbefeb98d4b727) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: add CVE_STATUS for CVE-2023-39018Narpat Mali2023-08-211-0/+7
| | | | | | | | | | | | | | | | | | | | | | CVE-2023-39018 belongs to ffmpeg-cli-wrapper (Java wrapper around the FFmpeg CLI) and not ffmpeg itself. As per CVE description, it is mentioned as FFmpeg 0.7.0 which is the version for ffmpeg-cli-wrapper and ffmpeg don't have 0.7.0 version at all. Debian & Bugzilla trackers have already marked as NOT-FOR-US/RESOLVED-INVALID. As it won't be affecting the ffmpeg package so, we can ignore the CVE-2023-39018 in ffmpeg recipe. References: https://github.com/bramp/ffmpeg-cli-wrapper https://github.com/FFmpeg/FFmpeg https://security-tracker.debian.org/tracker/CVE-2023-39018 https://bugzilla.suse.com/show_bug.cgi?id=CVE-2023-39018 (From OE-Core rev: c21ed498b423c13463a4ae0bb475883cc7901847) Signed-off-by: Narpat Mali <narpat.mali@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: skip running 04update-uuid and 07revert-inplace testcasesOvidiu Panait2023-08-212-0/+40
| | | | | | | | | | | | | | 04update-uuid and 07revert-inplace tests are unreliable and fail intermittently on the autobuilder (BZ#15181 and BZ#15159). Unfortunately, the failures cannot be reproduced locally and the logs cannot be retrieved from the AB. Mark the testcases as BROKEN to skip them when running ptest. (From OE-Core rev: eb219aff7cfe1cff1da93107ac7b22c678c0000f) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cross-localedef-native: fix build on hosts with older glibcMartin Jansa2023-08-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Older glibc on host might be missing __glibc_has_attribute added in glibc-2.34 with: https://sourceware.org/git/?p=glibc.git;a=blobdiff;f=misc/sys/cdefs.h;h=8e244a77cf6271f09cbd26d18b1e07b1d1641404;hp=57ca262bdfb642bf4a945645532f2319ec1ff437;hb=c8ba52ab3350c334d6e34b1439a4c0c1431351f3;hpb=7dd416491e080456fc7742d884c520526509413e Fixes: In file included from ../git/localedef/include/programs/xmalloc.h:21, from glibc/locale/programs/localedef.h:124, from glibc/locale/programs/localedef.c:36: ../git/localedef/include/sys/cdefs.h:85:51: error: missing binary operator before token "(" 85 | #if __GNUC_PREREQ (4, 3) || __glibc_has_attribute (__cold__) | ^ Only commit included: e0eca29 cdefs.h: define __glibc_has_attribute (From OE-Core rev: 62c464bb4e3ebb6b50864ede7b352651b2c81e3c) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: prevent installing another copy of tzdataMartin Jansa2023-08-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It checks build host filesystem and if it doesn't find UTC or GMT files it installs another copy of tzdata files in: /usr/lib/tcl8.6/tzdata Buildhistory shows the difference: -PKGSIZE = 2227075 +PKGSIZE = 3433088 See the autodetection in configure.in: #------------------------------------------------------------------------ # Check whether the timezone data is supplied by the OS or has # to be installed by Tcl. The default is autodetection, but can # be overridden on the configure command line either way. #------------------------------------------------------------------------ AC_MSG_CHECKING([for timezone data]) AC_ARG_WITH(tzdata, AC_HELP_STRING([--with-tzdata], [install timezone data (default: autodetect)]), [tcl_ok=$withval], [tcl_ok=auto]) # # Any directories that get added here must also be added to the # search path in ::tcl::clock::Initialize (library/clock.tcl). # case $tcl_ok in no) AC_MSG_RESULT([supplied by OS vendor]) ;; yes) # nothing to do here ;; auto*) AC_CACHE_VAL([tcl_cv_dir_zoneinfo], [ for dir in /usr/share/zoneinfo \ /usr/share/lib/zoneinfo \ /usr/lib/zoneinfo do if test -f $dir/UTC -o -f $dir/GMT then tcl_cv_dir_zoneinfo="$dir" break fi done]) if test -n "$tcl_cv_dir_zoneinfo"; then tcl_ok=no AC_MSG_RESULT([$dir]) else tcl_ok=yes fi ;; *) AC_MSG_ERROR([invalid argument: $tcl_ok]) ;; esac if test $tcl_ok = yes then AC_MSG_RESULT([supplied by Tcl]) INSTALL_TZDATA=install-tzdata fi (From OE-Core rev: 3ace9fbfeb42ebf920812e3dd6d665b8b20a1ca0) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccache.bbclass: Add allowed list for native recipesAngelo Ribeiro2023-08-212-3/+9
| | | | | | | | | | | | | | | | | Native recipes are not able to use ccache currently, due to a circular dependency between ccache-native and cmake-native. This affects also other native recipes, but not all, imposing a limitation in build time optimizations. The introduction of CCACHE_NATIVE_RECIPES_ALLOWED allows the user to specify which native recipes should use ccache, keeping it disable by default for all native recipes. (From OE-Core rev: 87cb2be71e0c0c123eaae6a5ae135900c95535db) Signed-off-by: Angelo Ribeiro <Angelo.Ribeiro@criticaltechworks.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pixman: Remove duplication of license MITPoonam Jadhav2023-08-211-1/+1
| | | | | | | | | | Remove duplication of license MIT from pixman bbfile. (From OE-Core rev: e6c87b267252376ca85b534e3c9ee9b77ff665ca) Signed-off-by: Poonam Jadhav <poonam.jadhav@kpit.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-sysroots: Add SUMMARY fieldKhem Raj2023-08-211-1/+2
| | | | | | | | | | Fixes build QA warning about [missing-metadata] (From OE-Core rev: 4f4c7130f11c069ab18c374dcbfb1276ef37be60) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* graphene: fix runtime detection of IEEE754 behaviourRoss Burton2023-08-212-0/+30
| | | | | | | | | | | Graphene gates a runtime check on whether it is cross-compiling, when it should be whether it can run target binaries. (From OE-Core rev: 61bb4086bea61a0446f469ed3cb0d525860a1a31) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygobject: add explicit check for qemu-usermode MACHINE_FEATURERoss Burton2023-08-211-2/+5
| | | | | | | | | | When building for the target this recipe absolutely needs gobject-introspection to be enabled, so add an explict (From OE-Core rev: 86941419ef2d315db6bf5645491bf97ec129eb34) Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gi-docgen: depend on qemu-usermode MACHINE_FEATURESRoss Burton2023-08-211-3/+4
| | | | | | | | | | gi-docgen uses GObject Introspection, so depends on qemu-usermode working. (From OE-Core rev: 524eab0e39c53ea9006b95c9e08ea1f071f1d1f2) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* p11-kit: fix build without qemu-usermodeRoss Burton2023-08-213-1/+109
| | | | | | | | | | | | | | If qemu-usermode is not available then p11-kit fails to configure: meson.build:313:24: ERROR: Can not run test applications in this cross environment. This has already been fixed upstream, so backport the patches. (From OE-Core rev: 3de715feaaaab9ac1e882a6913e2202203178170) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-boot: improve cross file generationRoss Burton2023-08-211-4/+3
| | | | | | | | | | | | | | The meson.cross generated by the class already has c and objcopy entries, so these can be removed. Pass the --cross-file option in MESON_CROSS_FILE to ensure the ordering is always correct. (From OE-Core rev: 302551de19edb1eb7333a6d1d5fdddacdbb9c349) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: upgrade 1.34 -> 1.35Wang Mingyu2023-08-212-48/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CVE-2022-48303.patch removed since it's included in 1.35 License-Update: http changed to https Changelog: =========== * Fail when building GNU tar, if the platform supports 64-bit time_t but the build uses only 32-bit time_t. * Leave the devmajor and devminor fields empty (rather than zero) for non-special files, as this is more compatible with traditional tar. * Bug fixes ** Fix interaction of --update with --wildcards. ** When extracting archives into an empty directory, do not create hard links to files outside that directory. ** Handle partial reads from regular files. ** Warn "file changed as we read it" less often. ** Fix --ignore-failed-read to ignore file-changed read errors ** Fix --remove-files to not remove a file that changed while we read it. ** Fix --atime-preserve=replace to not fail if there was no need to replace, either because we did not read the file, or the atime did not change. ** Fix race when creating a parent directory while another process is also doing so. ** Fix handling of prefix keywords not followed by "." in pax headers. ** Fix handling of out-of-range sparse entries in pax headers. ** Fix handling of --transform='s/s/@/2'. ** Fix treatment of options ending in / in files-from list. ** Fix crash on 'tar --checkpoint-action exec=\"'. ** Fix low-memory crash when reading incremental dumps. ** Fix --exclude-vcs-ignores memory allocation misuse. (From OE-Core rev: c63769de05ce08c0627d302d14316ced31816b4d) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libarchive: upgrade 3.6.2 -> 3.7.1Wang Mingyu2023-08-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========= SEGV and stack buffer overflow in verbose mode of cpio bsdunzip updated to match latest upstream code miscellaneous functional bugfixes build fixes on multiple platforms bsdunzip: new tool ported from FreeBSD drop-in replacement for Info-ZIP unzip, not yet ported for Windows 7zip reader: support for Zstandard compression 7zip reader: support for ARM64 filter zstd filter: support for multi-frame zstd archives pax: fix year 2038 problem on platforms with 64-bit time_t Windows: Universal Windows Platform (UWP) fixes and improvements Windows: bcrypt usage fixes and improvements Windows: time function usage fixes and improvements (From OE-Core rev: 186bf084301b3d088dd1f100d870937b39d1389a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-dev: correct qemuarmv5 device tree locationJon Mason2023-08-171-1/+1
| | | | | | | | | | | | | | | | | In Linux kernel commit 724ba6751532055db75992fc6ae21c3e322e94a7 all arm arch device tree files were moved into vendor directories (similar to what was being done in arm64). This is causing the following error when building for qemuarmv5 with linux-yocto-dev: | make[2]: *** No rule to make target 'arch/arm/boot/dts/versatile-pb.dtb'. Stop. Correcting the location to add the vendor directory of "arm" addresses the issue (and is what is being done for arm64 machines already). (From OE-Core rev: 42d5e8ef12934db65c35c1c5f0cabb5c21dbea43) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: Fix to work with glibc 2.38Richard Purdie2023-08-172-0/+73
| | | | | | | | | | | | | | | This adds a horrible hack to get pseudo working with glibc 2.38. We can't drop _GNU_SOURCE to something like _DEFAULT_SOURCE since we need the defines the gnu options bring in. That leaves using internal glibc defines to disable the c23 versions of strtol/fscanf and friends. Which would break pseudo build with 2.38 from running on hosts with older glibc. We'll probably need to come up with something better but this gets glibc 2.38 and working and avoids autobuilder failures. (From OE-Core rev: 596fb699d470d7779bfa694e04908929ffeabcf7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: Upgrade 2.13.9 -> 2.13.10Richard Purdie2023-08-173-158/+1
| | | | | | (From OE-Core rev: 6dffea78a6de286de67524b558bb1527fedd673e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: Upgrade 2.13.9 -> 2.13.10Richard Purdie2023-08-176-402/+1
| | | | | | (From OE-Core rev: bfc0118e21ac8a287f5bc4398a1ca02c788b17ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-uninative: Update to 4.2 for glibc 2.38Michael Halstead2023-08-171-5/+5
| | | | | | | | | Uninative 4.2 adds glibc 2.38. (From OE-Core rev: c6654fab00a1b4e4bb05eec8b77c8c60e1f8a709) Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "oeqa/utils/gitarchive: fix tag computation when creating archive"Richard Purdie2023-08-161-4/+2
| | | | | | | | This reverts commit 5a0a7da85a3acfd4a20a07478eabefdab60f313a. This caused failres on the build performance tests on the autobuilder. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-boot: use MESON_TARGETRoss Burton2023-08-161-4/+2
| | | | | | | | | Instead of re-implementing do_compile, use MESON_TARGET. (From OE-Core rev: d37c0f3449e1a20e3acc490150fa4c7c6ea46bd1) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson.bbclass:: update do_write_config vardepsRoss Burton2023-08-161-1/+1
| | | | | | | | | Add OBJCOPY and EXEWRAPPER_ENABLED, remove LD as it isn't used anymore. (From OE-Core rev: 920f6cb25c06fde679f641a076a8e17dc36a828e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>