...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.
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>
Bruce Ashfield [Mon, 21 Aug 2023 15:44:39 +0000 (11:44 -0400)]
kern-tools: include utility to post process config diffs
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.
Bruce Ashfield [Mon, 21 Aug 2023 15:44:38 +0000 (11:44 -0400)]
linux-yocto/6.1: update to v6.1.45
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
Bruce Ashfield [Mon, 21 Aug 2023 15:44:37 +0000 (11:44 -0400)]
linux-yocto/6.4: update to v6.4.10
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
Richard Purdie [Mon, 21 Aug 2023 15:04:42 +0000 (16:04 +0100)]
build-sysroots: Ensure dependency chains are minimal
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]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rust: provide examples for C library generation in rust
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.
Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Trevor Gamblin [Thu, 17 Aug 2023 19:53:56 +0000 (15:53 -0400)]
oe-buildenv-internal: update required Python version
The system requirements in the current version of the reference manual
state that Python 3.8.0 is the minimum version, but oe-buildenv-internal
still only checks for 3.5.0 or newer. Update the script to match.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alexis Lothoré [Fri, 18 Aug 2023 14:17:12 +0000 (16:17 +0200)]
oeqa/selftest/gitarchive: add tests about tags lisiting when no remote is 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
Alexis Lothoré [Fri, 18 Aug 2023 14:17:11 +0000 (16:17 +0200)]
oeqa/utils/gitarchive: fix tag computation when creating archive
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)
- 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
Dmitry Baryshkov [Fri, 18 Aug 2023 16:57:38 +0000 (19:57 +0300)]
mdadm: disable strace on rv32 arch
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']
Narpat Mali [Fri, 18 Aug 2023 14:59:59 +0000 (14:59 +0000)]
ffmpeg: add CVE_STATUS for CVE-2023-39018
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.
Ovidiu Panait [Fri, 18 Aug 2023 12:59:20 +0000 (15:59 +0300)]
mdadm: skip running 04update-uuid and 07revert-inplace testcases
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.
Markus Niebel [Fri, 18 Aug 2023 11:44:13 +0000 (13:44 +0200)]
wic: fix wrong attempt to create file system in upartitioned regions
The kickstart parser defaults fstype to "vfat". This leads to an attempt
to create an empty file system even for regions configured with "--no-table"
if used without fstype when no --sourceparams given.
The fix tests for fstype "none" or no_table in Partition prepare method.
This will omit the file system creation an the potential error for small
region with --no-table option.
Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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
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>
Martin Jansa [Thu, 17 Aug 2023 13:46:04 +0000 (15:46 +0200)]
tcl: prevent installing another copy of tzdata
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.
#------------------------------------------------------------------------
#
# 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
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>
Angelo Ribeiro [Thu, 17 Aug 2023 09:01:15 +0000 (10:01 +0100)]
ccache.bbclass: Add allowed list for native recipes
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.
Wang Mingyu [Tue, 1 Aug 2023 07:41:18 +0000 (15:41 +0800)]
tar: upgrade 1.34 -> 1.35
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.
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>
Wang Mingyu [Tue, 1 Aug 2023 07:41:15 +0000 (15:41 +0800)]
libarchive: upgrade 3.6.2 -> 3.7.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
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>
Jon Mason [Thu, 17 Aug 2023 14:23:49 +0000 (10:23 -0400)]
linux-yocto-dev: correct qemuarmv5 device tree location
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).
Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 17 Aug 2023 06:40:47 +0000 (07:40 +0100)]
pseudo: Fix to work with glibc 2.38
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Thu, 10 Aug 2023 16:24:43 +0000 (17:24 +0100)]
meson.bbclass: add MESON_TARGET
Add a variable to control what target gets built in do_compile. By
default this value is unset so meson builds the default target, but by
setting MESON_TARGET a specific target can be built.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Mon, 14 Aug 2023 02:25:50 +0000 (19:25 -0700)]
kernel.bbclass: Use KERNEL_STRIP instead of STRIP
Kernel uses its own variables KERNEL_* instead of general toolchain env
variables, therefore use KERNEL_STRIP here explicitly, Problems happen
when using llvm-strip as default STRIP in distro settings, since kernel
defaults to using gcc, system does not stage llvm/clang toolchain into
kernel's staging sysroot and this function ends up with
FileNotFoundError: [Errno 2] No such file or directory: 'riscv64-yoe-linux-llvm-strip'
Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Markus Volk [Tue, 15 Aug 2023 14:52:18 +0000 (16:52 +0200)]
gtk4: upgrade 4.10.5 -> 4.12.0
gtk.h: gtkscrollinfo.h was added, no change of license
gdk.h: gdkpixbuf.h was deprecated, no change of license
update renamed build-options
Overview of Changes in 4.12.0, 05-08-2023
=========================================
* List widgets:
- Add scroll_to APIs
* GtkFileLauncher:
- Add an always-ask property
* GtkTextView:
- Make backspace behavior match GtkEntry
* gsk:
- Fix handling of luminance in mask nodes
* Text rendering:
- Automate the setting of gtk-hint-font-metrics from the
scale factor. This improves font rendering in flatpaks
* Wayland:
- Fix behavior of stylus buttons
- Support suspended window state
* Vulkan:
- Many improvements
* Tools:
- Add gtk4-rendernode-tool
* Debugging:
- Drop the GTK_DEBUG_TOUCHSCREEN flag
* Build:
- Some build options have been renamed:
gtk_doc -> documentation
update_screenshots -> screenshots
The old names still work
Overview of Changes in 4.11.4, 03-07-2023
=========================================
* GtkFileChooser:
- Default to sorting folders first
- Fix a crash when visiting recent files
* GtkTextView:
- Fix corner cases in word navigation
* GtkMenuButton:
- Normalize label layout
* GtkDropDown:
- Add support for sections
* GtkVideo:
- Make the overlay icon clickable
* GtkWindow:
- Clear the resize cursors to avoid artifacts
* GtkFileDialog:
- Always set initial-folder
* GtkDropDown:
- Update on expression changes
* GtkMapListModel:
- Implement GtkSectionModel
* Accessibility:
- Improvements all over the place: GtkButton, GtkPasswordEntry,
GtkFontChooserDialog, GtkColorChooserDialog, GtkShortcutsWindow,
GtkMenuButton, GtkAboutDialog, GtkFileChooserDialog, GtkStackSidebar,
GtkStackSwitcher, GtkMediaControls, GtkColorDialogButton, GtkDropDown,
GtkInfoBar, GtkNotebook, GtkPrintUnixDialog, GtkModelButton
- Make name computation follow the ARIA spec more closely
- Adapt name computation for the common 'nested button' scenario
- Change many containers to use `generic` instead of `group`
- Use `generic` as the default role
- Use `application` instead of `window` for windows
- Add properties for accessible names of not directly exposed
widgets in GtkListView, GtkGridView and GtkColumnView
* DND:
- Fix criticals when drops are rejected
* X11:
- Fix regressions in GLX setup
* Windows:
- Center newly created transient windows
* Vulkan:
- Add antialising for gradients
- Do less work on clipped away nodes
- Redo image uploading
- Support different image depths and formats
- Add a pipeline cache
* Tools:
- gtk4-builder-tool: Make render an alias screenshot
* Inspector:
- Show more information in the a11y tab
- Add an accessibility overlay with warnings and recommendations
- Limit the width of the a11y tab
* Build:
- Require GLib 2.76
- Make asan builds work again
- Fix the build if ld is not ld.bdf
Overview of Changes in 4.11.3, 05-06-2023
=========================================
* GtkNotebook:
- Make the pages model implement GtkSelectionModel
* GtkScrolledWindow:
- Propagate child measure size whenever possible
* GtkPopoverMenu:
- Avoid unnecessary left padding
* GtkSearchEntry:
- Improve size allocation for the clear icon
* GtkBoxLayout:
- Fix a regression from recent baseline work
* CSS:
- Add new binding-friendly css provider apis
* Theme:
- Show focus in the shortcuts window
* GDK:
- Support grayscale and alpha texture formats for loading
and saving to png and tiff, and in GL
- Fix some regressions in GL context initialization
* GSK:
- Support grayscale and alpha texture formats in the GL renderer
- Support straight alpha textures in the GL renderer
- Many improvements to the experimental Vulkan renderer
* Wayland:
- Make exporting surface handles more flexible
* X11:
- Trap XRandr errors
- Stop using passive grabs during DND
* Windows:
- Many cleanups and simplifications
* Tests:
- Improve test coverage
* Build:
- Some build options have been renamed:
demos -> build-demos
profile -> demo-profile
The old names still work
Overview of Changes in 4.11.2, 09-05-2023
=========================================
* GtkGLArea:
- Add an allowed-apis property
* GtkListBox:
- Fix a problem with gtk_list_box_remove_all
* Add the GtkSectionModel interface, and implement it in most
of our list models
* GtkListView:
- Support displaying sections
* GtkCenterBox:
- Add a shrink-center-last property
* GtkButton, GtkMenuButton:
- Add a can-shrink property
* GtkPopover:
- Fix problems with grabs
* GtkFileChooser:
- Fix a problem with removing files
- Make the date, time and location columns work
- Fix filtering in the save entry popup
- A few memory leak fixes
- Handle webdav in the pathbar
* GtkBox:
- Support baselines in vertical orientation with GtkBox:baseline-child
* Dialogs:
- Destroy windows promptly when the async callback finishes
- Detect absence of the OpenURI portal and fall back
* Theme:
- Add explicit style classes to a number of widgets
- Fix some contrast issues in the dark theme
* Accessibility:
- Fix alert dialogs in the a11y tree
- Improve accessibility of GtkShortcutsWindow
* Layout:
- Some fixes to baseline alignment
- Separate GTK_ALIGN_BASELINE_CENTER and _FILL
* CSS:
- Fix a crash with color transitions
* GSK:
- Fix problems with negative scales
- Improve scaling of offscreens for (cross-fades, masks, blends)
* GL:
- Add GdkGLTextureBuilder, a more flexible api for creating textures
- Support setting update regions for GL textures
- Ensure that we work with GLES 2
* Vulkan:
- More fixes to the experimental Vulkan renderer
- Rework glyph caching
* Wayland:
- Don't destroy wl_surfaces on hide
- Plug leaks of compositor-side resources
* X11:
- Fix artifacts in gnome-shell frame decorations
* Windows:
- Fix GL context initialization
* Inspector:
- Improve the action list
- Improve the accessibility pane
- Fix a crash
* Tools:
- gtk4-node-editor: Improve scaling
- gtk4-node-editor: Preserve aspect ratio of textures
- gtk4-node-editor: Add some smarter editing
- gtk4-demo: Make the stylus demo work with mice
Overview of Changes in 4.11.1, 03-04-2023
=========================================
* GtkLabel, GtkLinkButton:
- Make file:// uris work again
* GtkListView/GtkColumnView/GtkGridView:
- Fix clipping issues
- Handle focus movement better
- Introduce ::tab-behavior properties
- Introduce GtkListItem::focusable
- Introduce GtkColumnViewCell
- Introduce row factories in GtkColumnView
- Make list grid and column views inert when not rendering
* Drag-and-Drop:
- Support resizing drag surfaces, using the new
GdkDragSurface::compute-size signal
* Theme:
- Port .boxed-list style from Adwaita
- Make insensitive pictures appear grayed out
* Accessibility:
- Fix memory leaks
- Fix a crash
* GDK:
- Add gdk_surface_get_scale to get the fractional scale
- Use fractional scales on Wayland with cairo
- Use fractional scales on Wayland with GL if GDK_DEBUG=gl-fractional
is set. This support is still experimental
* GSK:
- Allow limiting texture sizes with GSK_MAX_TEXTURE_SIZE
- Use samplers for GL texture filtering
- Fix problems with texture slicing
- Avoid re-uploading textures when possible
- Use mipmaps when it is beneficial
* Wayland:
- Fix handling of Drag hotspots
- Fix a crash with cursor size 0
- Support absolute paths in WAYLAND_DISPLAY
- Use the fractional scale protocol
- Use a viewporter to set buffer scale
* Windows:
- Fix problems with WGL
* Vulkan:
- Some fixes to the experimental Vulkan renderer
- Support fractional scaling
* Debugging:
- Show more Wayland-specific information in the inspector
Peter Marko [Tue, 1 Aug 2023 16:36:41 +0000 (18:36 +0200)]
openssl: Upgrade 3.1.1 -> 3.1.2
https://github.com/openssl/openssl/blob/openssl-3.1/NEWS.md#major-changes-between-openssl-311-and-openssl-312-1-aug-2023
Major changes between OpenSSL 3.1.1 and OpenSSL 3.1.2 [1 Aug 2023]
* Fix excessive time spent checking DH q parameter value (CVE-2023-3817)
* Fix DH_check() excessive time with over sized modulus (CVE-2023-3446)
* Do not ignore empty associated data entries with AES-SIV (CVE-2023-2975)
* When building with the enable-fips option and using the resulting FIPS provider, TLS 1.2 will, by default, mandate the use of an extended master secret and the Hash and HMAC DRBGs will not operate with truncated digests.
Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you run an arm build followed by an x86 one and then ask for a
full repo to be created, it will include all of the arm and x86 packages.
testexport will then find the arm socat package rather than the x86 one
and try and run arm binaries within an x86 qemu image with no success.
This patch only symlinks in the compatible package archictures rather
than all of them which fixes the failure and the resulting autobuilder
intermittent failure too.
[YOCTO #15190]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We split the qemu package [1] to add support to make user can install
one qemu arch emulation rpm to ease the concerns who care much about
the rpm size in embedded device.
But for the user who only install the qemu-*.rpm can't do anything
except they install the qemu emulation rpm like qemu-system-x86-64-*.rpm
explicitly.
So add qemu-common package to package all thing into qemu-common when
not split the package, and package only the basic into qemu-common and
other arch related to each qemu arch emulation rpm when split the package
to fix the backward compatibility.
qenu-*.rpm which is meta package rdepends on qemu-common and the available
qemu arch emulation rpm like qemu-system-x86-64-*.rpm and etc.
Richard Purdie [Sun, 13 Aug 2023 09:36:27 +0000 (10:36 +0100)]
oeqa/runtime/parselogs: Exclude preempt-rt error for now
With the new 6.4 kernel we see this preempt-rt error. It is blocking changing
to the new kernel and has sat on mailing lists unresolved for a long time. Ignore
it in testing for now and allow upgrading until we can better understand the
issues.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sun, 13 Aug 2023 09:24:05 +0000 (10:24 +0100)]
gcc: Add patch to improve testsuite failures, particularly mips
Disable loongson-mmi runtine, qemu doesn't appear to fully support them even if some
of the instruction decoding is there.
Also disable MSA mips runtime extensions. For some reason qemu appears to accept the test
code when it shouldn't. Our selected MIPS cpu for QEMU doesn't support them.
MIPS is unusual in the gcc testsuite as it uses EFFECTIVE_TARGETS and loops
multiple times through the vector testsuite. In the case of the two above, we can
compile/link them but not run them. Even with the runtime disabled, if the code
marks it as a runtime test, it will elevate itself to that. Setting the default
target to compile therefore isn't enough.
Therefore add code to downgrade runtime tests to link tests if the hardware
support isn't there to run them. This avoids thousands of test failures. To do
this we have to hook downgrade code into the main test runner.
Enable that downgrading for other cases where hardware to run vector extensions is
unavailable to remove test failures on other architectures too.
Also, for gcc.target tests, add checks on wheter loongson or msa code can
be run before trying that, allowing downgrading of tests there to work too.
Parts of the patch may be able to be split off and acceptable to upstream with
discussion. Need to investigate why qemu-user passes the 'bad' instructions'.
For now, this should at least remove hundreds of test failures and improve test
failures on non-mips too now a root cause of some was identified.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sun, 13 Aug 2023 09:22:17 +0000 (10:22 +0100)]
arch-mips: Ensure TUNE_LDARGS is set correctly
Similarly to x86, ensure we have the flags to the linker operating correctly (it
defaults to 32 bit). Normally it is driven by gcc so this hasn't shown up but
it does lead to hundreds of binutils test failures.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sun, 13 Aug 2023 09:20:40 +0000 (10:20 +0100)]
binutils-cross-testsuite: Pass TUNE_LDARGS to tests
In some cases we need to pass the linker arguments to the linker, particularly when
the default in LD differs to that which gcc and our compiler flags are using (mips
defaults to 32 bit). Ensure these are passed in.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code doesn't do what it first might appear to, it would for example remove
'm' characters from the left side of qemu-mips leaving 'ips'. Fix it to stop
anyone else being confused by the subtle logic error.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Fri, 11 Aug 2023 06:31:01 +0000 (23:31 -0700)]
systemd-boot: Fix build on musl
systemd efi.h defines wchar_t from compiler provided __WCHAR_TYPE__
therefore we do not want it to come from alltypes.h in musl case which
otherwise will end up with conflicting definitions of wchar_t, defining
__DEFINED_wchar_t ensures that alltypes.h does not provide it
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alexis Lothoré [Fri, 11 Aug 2023 12:55:32 +0000 (14:55 +0200)]
oeqa/utils/gitarchive: fix tag computation when creating archive
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. Two places which wrongly read only local tags has
been identified in gitarchive: expand_tag_strings and get_test_runs
Fixes [YOCTO #15140]
Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Tue, 1 Aug 2023 07:41:27 +0000 (15:41 +0800)]
sudo: upgrade 1.9.14p2 -> 1.9.14p3
Changelog:
===========
* Fixed a crash with Python 3.12 when the sudo Python python is
unloaded. This only affects "make check" for the Python plugin.
* Adapted the sudo Python plugin test output to match Python 3.12.
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>
Wang Mingyu [Tue, 1 Aug 2023 07:41:26 +0000 (15:41 +0800)]
shaderc: upgrade 2023.4 -> 2023.5
Changelog:
==========
- Update dependencies
- Update to Android NDK r25c
- Update Android API level for test project (#1333)
- For testing, add a dependency on Abseil's C++ library
- Fix MSVC runtime library linking in CMake (#1339)
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>
Wang Mingyu [Tue, 1 Aug 2023 07:41:25 +0000 (15:41 +0800)]
re2c: upgrade 3.0 -> 3.1
Changelog:
==========
- Added capturing groups with leftmost greedy semantics:
- Added non-capturing groups:
- Regenerated Unicode include header to support a newer standard
- Published TDFA paper: https://arxiv.org/abs/2206.01398, co-authored with
Angelo Borsotti
- Removed experimental algorithms that are superseded by TDFA(1) and
generally less efficient:
- Fixed parsing of raw UTF-8 characters in Flex compatibility mode
- Added header file to the dependencies generated with "--depfile" option
- Fixed stack overflow on large regular expressions by rewriting recursive
functions in iterative form and limited stack to 256K on GithubActions CI
- Added minimal http://bazel.build integration
- Added configure option "--enable-parsers" that regenerates bison parsers
- Added CMake option "RE2C_REBUILD_PARSERS"
- Moved the entire codebase to C++11.
- Added uniform error handling (return codes are now properly checked and
returned to the caller).
- Reorganized codegen subsystem in four well-defined phases (analyze,
generate, fixup, render) and separated codegen from parsing phase.
- Improved memory allocation by using slab allocators instead of global free
lists.
- Moved to pure API for bison parsers.
- Unified code style.
- Added "--verbose" flag to run_tests.py and suppressed verbose output by
default.
- Multiple improvements of continuous testing with GithubActions.
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>
Wang Mingyu [Tue, 1 Aug 2023 07:41:24 +0000 (15:41 +0800)]
python3-pyparsing: upgrade 3.1.0 -> 3.1.1
Changelog:
============
- Fixed regression in Word(min)
- Fixed bug in bad exception messages raised by Forward expressions.
- Fixed regression in SkipTo, where ignored expressions were not checked when looking
for the target expression.
- Fixed type annotation for enable_packrat
- Some general internal code cleanup.
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>
Wang Mingyu [Tue, 1 Aug 2023 07:41:22 +0000 (15:41 +0800)]
python3-pathspec: upgrade 0.11.1 -> 0.11.2
Changelog:
=========
- Issue #80: match_files with negated path spec. pathspec.PathSpec.match_*()
now have a negate parameter to make using .gitignore logic easier and more efficient.
- Pull #76: Add edge case: patterns that end with an escaped space
- Issue #77/Pull #78: Negate with caret symbol as with the exclamation mark.
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>
Wang Mingyu [Tue, 1 Aug 2023 07:41:21 +0000 (15:41 +0800)]
python3-markdown: upgrade 3.4.3 -> 3.4.4
Changelog:
==========
Add a special case for initial 's to smarty extension (#1305).
Unescape any backslash escaped inline raw HTML (#1358).
Unescape backslash escaped TOC token names (#1360).
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>
Wang Mingyu [Tue, 1 Aug 2023 07:41:14 +0000 (15:41 +0800)]
gmp: upgrade 6.2.1 -> 6.3.0
cve-2021-43618.patch
removed since it's included in 6.3.0
Changelog:
============
BUGS FIXED
* A possible overflow of type int is avoided for mpz_cmp on huge operands.
* A possible error condition when a malformed file is read with
mpz_inp_raw is now correctly handled.
FEATURES
* New public function mpz_prevprime, companion of the existing
mpz_nextprime.
* New documented pointer types mpz_ptr, mpz_srcptr, and similar for
other GMP types. Refer to the manual for full list and suggested
usage. These types have been present in gmp.h at least since
GMP-4.0, but previously not advertised to users.
* Support for 64-bit Arm under Macos.
* Support for the loongarch64 CPU family.
* Support for building with LTO, link-time optimisations.
SPEEDUPS
* New special code for base = 2 in mpz_powm reduces the average time
for the functions that test primality.
* Speedup for the function mpz_nextprime on large operands.
* Speedup for multiplications (some sizes only) thanks to new
internal functions to compute small negacyclic products.
* Special assembly code for IBM z13 and later "mainframe" CPUs, resulting in
a huge speedup.
* Improved assembly for several 64-bit x86 CPUs, Risc-V, 64-bit Arm.
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>
Wang Mingyu [Tue, 1 Aug 2023 07:41:13 +0000 (15:41 +0800)]
file: upgrade 5.44 -> 5.45
Changelog:
==========
-PR/465: psrok1: Avoid muslc asctime_r crash
-add SIMH tape format support
-bump the max size of the elf section notes to be read to 128K
and make it configurable
-PR/415: Fix decompression with program returning empty
-PR/408: fix -p with seccomp
-PR/412: fix MinGW compilation
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>
Wang Mingyu [Tue, 1 Aug 2023 07:41:12 +0000 (15:41 +0800)]
curl: upgrade 8.2.0 -> 8.2.1
Changelog:
=========
amigaos: fix sys/mbuf.h m_len macro clash
amissl: add missing signal.h include
amissl: fix AmiSSL v5 detection
cfilters: rename close/connect functions to avoid clashes
ciphers.d: put URL in first column
cmake: add `libcurlu`/`libcurltool` for unit tests
cmake: update ngtcp2 detection
configure: check for nghttp2_session_get_stream_local_window_size
CONTRIBUTE: drop mention of copyright year ranges
CONTRIBUTE: fix syntax in commit message description
curl_multi_wait.3: fix arg quoting to doc macro .BR
docs: mark two TLS options for TLS, not SSL
docs: provide more see also for cipher options
hostip: return IPv6 first for localhost resolves
http2: fix regression on upload EOF handling
http: VLH, very large header test and fixes
libcurl-errors.3: add CURLUE_OK
os400: correct EXPECTED_STRING_LASTZEROTERMINATED
quiche: fix lookup of transfer at multi
quiche: fix segfault and other things
rustls: update rustls-ffi 0.10.0
socks: print ipv6 address within brackets
src/mkhelp: strip off escape sequences
tool: fix tool_seek_cb build when SIZEOF_CURL_OFF_T > SIZEOF_OFF_T
transfer: do not clear the credentials on redirect to absolute URL
unittest: remove unneeded *_LDADD
websocket: rename arguments/variables to match docs
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>
Wang Mingyu [Tue, 1 Aug 2023 07:41:11 +0000 (15:41 +0800)]
btrfs-tools: upgrade 6.3.1 -> 6.3.3
Changelog:
===========
* mkfs: option -R deprecated, options unified in -O (-R still works)
* mkfs: fix potential race with udev leading to EBUSY due to repeatedly
opened file descriptors
* block-group-tree is out of experimental mode
* available as 'mkfs.btrfs -O block-group-tree'
* btrfstune can do in-place conversion to/from (use with care)
* balance: fix recognizing old and new syntax
* subvol snapshot: specific error if a failure is caused by an active swapfile
* tree-stats: rephrase warning when run on a mounted filesystem
* completion: 'filesystem du' also completes files
* check: fix docs, help text and warning that --force + --repair works on a
mounted filesystem
* build: fix static build when static libudev is available
* documentation:
* more updates from wiki, developer docs, changelogs
* reformatting
* updates and fixes
* other:
* test updates and fixes
* CI cleanups and old files removed
* integration with Github actions
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>
Khem Raj [Wed, 9 Aug 2023 20:56:30 +0000 (13:56 -0700)]
gnu-efi: Fix build on musl
Build with musl emits extra warnings about pointer incompatibility due
to different type of wchar_t than glibc which turns to be error in the
end, disable -Werror for musl.
Ross Burton [Wed, 9 Aug 2023 14:08:15 +0000 (15:08 +0100)]
connman-conf: don't take over any ethernet devices, not just eth0
The goal of connman-conf in qemu environments is to stop connman from
trying to control the network device, because runqemu will set it up
appropriately.
It currently hardcodes eth0, but 6.2 kernels onwards will rename eth0 to
en* even when the interface is already up[1]. So that this recipe
continues to work as intended, expand the list to "eth,en" so that
connman ignores _all_ ethernet devices with either the new or old names.
Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jose Quaresma [Mon, 7 Aug 2023 14:26:06 +0000 (14:26 +0000)]
systemd: fix efi dependency
Last version of systemd dpends now on pyelftools to build the efi support
but the required tool is the native ones and not the target.
The systemd-boot has the corrected dependencie so fix this in the main recipe.
| Program python3 (jinja2) found: YES (/build/tmp-lmp/work/corei7-64-lmp-linux/systemd/1_254-r0/recipe-sysroot-native/usr/bin/python3-native/python3) modules: jinja2
| Checking if "32bit build possible" : links: NO
| Program python3 (elftools) found: NO
|
| ../git/meson.build:2147:8: ERROR: Problem encountered: EFI bootloader support requires pyelftools.
|
| A full log can be found at /build/tmp-lmp/work/corei7-64-lmp-linux/systemd/1_254-r0/build/meson-logs/meson-log.txt
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 10 Aug 2023 16:26:28 +0000 (17:26 +0100)]
bitbake.conf: Drop PE and PR from WORKDIR and STAMP
Once, we relied upon stamps changing to rebuild. PE and PR are packaging
variables and are reflected in the taskhashes when/where they're used so
they do not need to be in STAMP.
Similarly, once, multiple versions were something which was useful in
WORKDIR but this is really just noise causing long pathnames now.
Drop PR and PE from these variables to clean up the paths a bit.
This may break some tool assumptions about paths but those are probably
things we need to fix.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Luca Boccassi [Sat, 5 Aug 2023 21:35:51 +0000 (22:35 +0100)]
systemd: add usrmerge to REQUIRED_DISTRO_FEATURES
Support for unmerged-usr is deprecated upstream, taints the system and
has been removed for v255 (next release).
Enforce building merged-usr images when using systemd. This allows one
release cycle where it can be tested for any remaining issue, and can
still be overridden, before it stops working completely.
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>