summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* linux-yocto/6.1: update to v6.1.56Bruce Ashfield2023-10-133-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the latest korg -stable release that comprises the following commits: ecda77b46871 Linux 6.1.56 8c515d4f2d66 ASoC: amd: yc: Fix a non-functional mic on Lenovo 82TL a3c1da448353 mm, memcg: reconsider kmem.limit_in_bytes deprecation b8901b6c2e9b memcg: drop kmem.limit_in_bytes ee335e0094ad drm/meson: fix memory leak on ->hpd_notify callback b60028c81e46 drm/amdkfd: Use gpu_offset for user queue's wptr 48a22f13fb1b fs: binfmt_elf_efpic: fix personality for ELF-FDPIC 69e61ee8ea8a power: supply: ab8500: Set typing and props c038ebffbb48 power: supply: rk817: Add missing module alias 69dd84470b4d drm/i915/gt: Fix reservation address in ggtt_reserve_guc_top 60d2e06ad6e3 ata: libata-sata: increase PMP SRST timeout to 10s 886f387db1e6 ata: libata-core: Do not register PM operations for SAS ports 5cfbe6da8354 ata: libata-core: Fix port and device removal 0b7aaf2058ba ata: libata-core: Fix ata_port_request_pm() locking f555a508087a fs/smb/client: Reset password pointer to NULL 1983fd78701a net: thunderbolt: Fix TCPv6 GSO checksum calculation 4fb56e82d939 bpf: Fix BTF_ID symbol generation collision in tools/ 4f1e3e02777b bpf: Fix BTF_ID symbol generation collision b1041cab4726 bpf: Add override check to kprobe multi link attach 09635bf4cdd4 media: uvcvideo: Fix OOB read d6a749e4cab2 btrfs: properly report 0 avail for very full file systems f3ad8874541d ring-buffer: Update "shortest_full" in polling 6bacdb914a99 mm: memcontrol: fix GFP_NOFS recursion in memory.high enforcement a5569bb18752 mm/slab_common: fix slab_caches list corruption after kmem_cache_destroy() 9a4fe81a8644 mm/damon/vaddr-test: fix memory leak in damon_do_test_apply_three_regions() 68a63a077e02 arm64: defconfig: remove CONFIG_COMMON_CLK_NPCM8XX=y b29756aefe03 drm/tests: Fix incorrect argument in drm_test_mm_insert_range a90eafbf165f timers: Tag (hr)timer softirq as hotplug safe f32340c70eb9 Revert "SUNRPC dont update timeout value on connection reset" 1e4c03d530d8 netfilter: nf_tables: fix kdoc warnings after gc rework 49903f70d728 sched/rt: Fix live lock between select_fallback_rq() and RT push 787256ec9b44 kernel/sched: Modify initial boot task idle setup afa2bbd682c7 ASoC: amd: yc: Fix non-functional mic on Lenovo 82QF and 82UG 829ff08be566 i2c: i801: unregister tco_pdev in i801_probe() error path 75c307d9f2fb io_uring/fs: remove sqe->rw_flags checking from LINKAT 06fba8a8dea2 ata: libata-scsi: ignore reserved bits for REPORT SUPPORTED OPERATION CODES 476fd029e700 ata: libata-scsi: link ata port and scsi device 490f3b805ee3 LoongArch: numa: Fix high_memory calculation 7bc8585aa071 LoongArch: Define relocation types for ABI v2.10 f04ded9ae268 ALSA: hda: Disable power save for solving pop issue on Lenovo ThinkCentre M70q 9af8bb2afea3 netfilter: nf_tables: disallow rule removal from chain binding 980663f1d189 nilfs2: fix potential use after free in nilfs_gccache_submit_read_data() e14f68a48fd4 serial: 8250_port: Check IRQ data before use c61d0b87a702 Revert "tty: n_gsm: fix UAF in gsm_cleanup_mux" 37435ddfadc6 misc: rtsx: Fix some platforms can not boot and move the l1ss judgment to probe 5d6613ed2b7d mptcp: fix bogus receive window shrinkage with multiple subflows 00c27bffdba6 KVM: x86/mmu: Do not filter address spaces in for_each_tdp_mmu_root_yield_safe() cd41db6cb285 KVM: x86/mmu: Open code leaf invalidation from mmu_notifier 733d7a5451fc KVM: SVM: Fix TSC_AUX virtualization setup e86a3a622633 KVM: SVM: INTERCEPT_RDTSCP is never intercepted anyway 6ce2f297a716 x86/srso: Add SRSO mitigation for Hygon processors 811ba2ef0cb6 x86/sgx: Resolves SECS reclaim vs. page fault for EAUG race f90f4c562003 iommu/arm-smmu-v3: Fix soft lockup triggered by arm_smmu_mm_invalidate_range a09446ac0414 smack: Retrieve transmuting information in smack_inode_getsecurity() cbb16d0f4996 smack: Record transmuting in smk_transmuted 4b8ef68e39d2 nvme-pci: always return an ERR_PTR from nvme_pci_alloc_dev 1d7bc76b5849 scsi: qla2xxx: Fix NULL pointer dereference in target mode 1a51d35ba729 wifi: ath11k: Don't drop tx_status when peer cannot be found a60768c05b58 nvme-pci: do not set the NUMA node of device if it has none 6b2165cae403 nvme-pci: factor out a nvme_pci_alloc_dev helper 69bc295d0e0b nvme-pci: factor the iod mempool creation into a helper 9ebee88a8911 perf build: Define YYNOMEM as YYNOABORT for bison < 3.81 8e85af2c682e fbdev/sh7760fb: Depend on FB=y f105e893a8ed LoongArch: Set all reserved memblocks on Node#0 at initialization 146ba159f5a6 tsnep: Fix NAPI polling with budget 0 78ac1e7dec24 tsnep: Fix NAPI scheduling b09c1359e4f0 net: hsr: Add __packed to struct hsr_sup_tlv. 97788f0757bd ncsi: Propagate carrier gain/loss events to the NCSI controller c93aa8cfaec4 powerpc/watchpoints: Annotate atomic context in more places 3632e9fd82d0 powerpc/watchpoint: Disable pagefaults when getting user instruction 16722418cbe3 powerpc/watchpoints: Disable preemption in thread_change_pc() ee8bbb2a31d3 ASoC: SOF: Intel: MTL: Reduce the DSP init timeout 3608be186ae5 NFSv4.1: fix zero value filehandle in post open getattr e9f05ae6f636 media: vb2: frame_vector.c: replace WARN_ONCE with a comment 28c369324922 ASoC: imx-rpmsg: Set ignore_pmdown_time for dai_link 1c88886587d3 memblock tests: fix warning ‘struct seq_file’ declared inside parameter list 729757fe9718 memblock tests: fix warning: "__ALIGN_KERNEL" redefined 53618d56bfe4 firmware: cirrus: cs_dsp: Only log list of algorithms in debug build 110e6f575028 ASoC: cs42l42: Don't rely on GPIOD_OUT_LOW to set RESET initially low cbc43ddd5ce2 ASoC: cs42l42: Ensure a reset pulse meets minimum pulse width. 019f01f81887 ALSA: hda: intel-sdw-acpi: Use u8 type for link index 92f24f98d5ff bpf: Clarify error expectations from bpf_clone_redirect 60446b5e7486 spi: intel-pci: Add support for Granite Rapids SPI serial flash 12716449289e ASoC: fsl: imx-pcm-rpmsg: Add SNDRV_PCM_INFO_BATCH flag 85ca138f922c spi: stm32: add a delay before SPI disable 84592ec591be spi: nxp-fspi: reset the FLSHxCR1 registers d5ae9d9f0c41 ata: libata-eh: do not clear ATA_PFLAG_EH_PENDING in ata_eh_reset() 2132ea3f9f5a smb3: correct places where ENOTSUPP is used instead of preferred EOPNOTSUPP 2259e1901b2d scsi: pm80xx: Avoid leaking tags when processing OPC_INB_SET_CONTROLLER_CONFIG command 82f575a7e811 scsi: pm80xx: Use phy-specific SAS address when sending PHY_START command 6e392ff88476 riscv: errata: fix T-Head dcache.cva encoding 91b6845ef387 drm/amdgpu: Handle null atom context in VBIOS info ioctl ad3c37f90bae drm/amdgpu/nbio4.3: set proper rmmio_remap.reg_offset for SR-IOV cca15a827907 drm/amdgpu/soc21: don't remap HDP registers for SR-IOV b9971393d4c9 drm/amd/display: Don't check registers, if using AUX BL control 49bdfc83c74a thermal/of: add missing of_node_put() d6a68f163246 platform/x86: asus-wmi: Support 2023 ROG X16 tablet mode d1f916c6eb0c platform/mellanox: mlxbf-bootctl: add NET dependency into Kconfig dfbcef80dda9 ata: sata_mv: Fix incorrect string length computation in mv_dump_mem() 797d75bd575c net/smc: bugfix for smcr v2 server connect success statistic b08a4938229d ring-buffer: Do not attempt to read past "commit" baa1634bc936 selftests: fix dependency checker script 45ad79c9cb50 btrfs: assert delayed node locked when removing delayed item 11054f0b889f ring-buffer: Avoid softlockup in ring_buffer_resize() a687e817d814 selftests/ftrace: Correctly enable event in instance-event.tc 5fb322df090e scsi: ufs: core: Poll HCS.UCRDY before issuing a UIC command 81a6cdfcfd23 scsi: ufs: core: Move __ufshcd_send_uic_cmd() outside host_lock 843348f9e4aa scsi: qedf: Add synchronization between I/O completions and abort 655e9d209c06 parisc: irq: Make irq_stack_union static to avoid sparse warning 8a2c2630e18d parisc: drivers: Fix sparse warning 60caeaf090d5 parisc: iosapic.c: Fix sparse warnings 632e0fcf409b parisc: sba: Fix compile warning wrt list of SBA devices be90c9e29dd5 nvme-fc: Prevent null pointer dereference in nvme_fc_io_getuuid() 36b29974a7ad spi: sun6i: fix race between DMA RX transfer completion and RX FIFO drain e15bb292b246 spi: sun6i: reduce DMA RX transfer width to single byte 5685f8a6fae1 bpf: Annotate bpf_long_memcpy with data_race be8f49029eca dma-debug: don't call __dma_entry_alloc_check_leak() under free_entries_lock 89744b649144 ceph: drop messages from MDS when unmounting 1375d9600c38 x86/reboot: VMCLEAR active VMCSes before emergency reboot 85fafa7ef0ac i2c: npcm7xx: Fix callback completion ordering 0d6c2f0942c3 gpio: pmic-eic-sprd: Add can_sleep flag for PMIC EIC chip e578a26084eb firmware: arm_ffa: Don't set the memory region attributes for MEM_LEND 099cfc6e5d1b arm64: dts: imx: Add imx8mm-prt8mm.dtb to build 328efccc7847 soc: imx8m: Enable OCOTP clock for imx8mm before reading registers aab681bcb13a selftests/powerpc: Fix emit_tests to work with run_kselftest.sh 763f029f8c0f selftests/powerpc: Pass make context to children b9dc3d6b761d selftests/powerpc: Use CLEAN macro to fix make warning fe6406238d5a power: supply: rk817: Fix node refcount leak 1005010b732b xtensa: boot/lib: fix function prototypes 6438653ad1f2 xtensa: umulsidi3: fix conditional expression 45661247d117 xtensa: boot: don't add include-dirs fca1b09645e5 xtensa: iss/network: make functions static b4e666fa38fd xtensa: add default definition for XCHAL_HAVE_DIV32 7cad56459964 firmware: imx-dsp: Fix an error handling path in imx_dsp_setup_channels() 33ed60d8b961 power: supply: ucs1002: fix error code in ucs1002_get_property() 1ec48a9fac7d bus: ti-sysc: Fix SYSC_QUIRK_SWSUP_SIDLE_ACT handling for uart wake-up dd19672aaac4 ARM: dts: ti: omap: motorola-mapphone: Fix abe_clkctrl warning on boot fe1379c0f61d ARM: dts: Unify pinctrl-single pin group nodes for omap4 16455bed4f86 ARM: dts: Unify pwm-omap-dmtimer node names 4ccb05618b4d ARM: dts: ti: omap: Fix bandgap thermal cells addressing for omap3/4 fe4da07a7f1b ARM: dts: omap: correct indentation ea4efaf54685 clk: tegra: fix error return case for recalc_rate efad31b6c062 clk: sprd: Fix thm_parents incorrect configuration 1ea6975aa68a power: supply: mt6370: Fix missing error code in mt6370_chg_toggle_cfo() 64adb41644fc firmware: arm_scmi: Fixup perf power-cost/microwatt support a135c8813815 firmware: arm_scmi: Harden perf domain info access 3a21635aed62 bus: ti-sysc: Fix missing AM35xx SoC matching 771eb7c3f3fb bus: ti-sysc: Use fsleep() instead of usleep_range() in sysc_reset() e6389d61b720 drm/bridge: ti-sn65dsi83: Do not generate HFP/HBP/HSA and EOT packet 404b8bc41872 spi: spi-gxp: BUG: Correct spi write return value d3dc8acb60f8 MIPS: Alchemy: only build mmc support helpers if au1xmmc is enabled c01b2e0ee22e vfio/mdev: Fix a null-ptr-deref bug for mdev_unregister_parent() cca10592ffd5 btrfs: reset destination buffer when read_extent_buffer() gets invalid range cdfcaa4e8043 drm/amdkfd: Insert missing TLB flush on GFX10 and later 9becfff9f91e drm/amdkfd: Flush TLB after unmapping for GFX v9.4.3 52c7b41ad6ee scsi: qla2xxx: Use raw_smp_processor_id() instead of smp_processor_id() 35c02a333d52 scsi: qla2xxx: Select qpair depending on which CPU post_cmd() gets called 3a8ac77a70cc wifi: ath11k: Cleanup mac80211 references on failure during tx_complete 1cccd28aa591 wifi: ath11k: fix tx status reporting in encap offload mode dc1ab6577475 arm64: dts: qcom: sdm845-db845c: Mark cont splash memory region as reserved 03b808058a88 s390/pkey: fix PKEY_TYPE_EP11_AES handling in PKEY_CLR2SECK2 IOCTL a84ac8995ac7 f2fs: get out of a repeat loop when getting a locked data page 8b3b859bf8be f2fs: optimize iteration over sparse directories 3134156e3421 ARM: dts: qcom: msm8974pro-castor: correct touchscreen syna,nosleep-mode 064f57151dff ARM: dts: qcom: msm8974pro-castor: correct touchscreen function names 21e5e3c3f71c ARM: dts: qcom: msm8974pro-castor: correct inverted X of touchscreen 05951f5c26b4 ARM: dts: samsung: exynos4210-i9100: Fix LCD screen's physical size 226590fbd967 ARM: dts: BCM5301X: Extend RAM to full 256MB for Linksys EA6500 V2 70a1df9e0b44 i2c: xiic: Correct return value check for xiic_reinit() fb9cfb28bdde i2c: mux: gpio: Add missing fwnode_handle_put() 976c8c1c4073 i2c: mux: demux-pinctrl: check the return value of devm_kstrdup() 50a096aab61f gpio: tb10x: Fix an error handling path in tb10x_gpio_probe() 908b3b5e97d2 cifs: Fix UAF in cifs_demultiplex_thread() 7e4f49cd2bd7 proc: nommu: fix empty /proc/<pid>/maps 1d45e6d9951d proc: nommu: /proc/<pid>/maps: release mmap read lock c5c9ee388723 igc: Expose tx-usecs coalesce setting to user cae59ae73106 octeontx2-pf: Do xdp_do_flush() after redirects. 98ebbdefe490 bnxt_en: Flush XDP for bnxt_poll_nitroa0()'s NAPI 26f1829c8538 net: ena: Flush XDP packets on error. d64e738adc5c locking/seqlock: Do the lockdep annotation before locking in do_write_seqcount_begin_nested() 987a7f5311ba i915/pmu: Move execlist stats initialization to execlist specific setup ea5a61d58886 netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP c4b0facd5c20 netfilter: nf_tables: disable toggling dormant table state more than once 51fa66024a5e net: rds: Fix possible NULL-pointer dereference 2f0acb0736ec team: fix null-ptr-deref when team device type is changed 89f9f20b1cbd net: bridge: use DEV_STATS_INC() 69d7eef31ee1 net: hns3: add 5ms delay before clear firmware reset irq source b1b85b3d767e net: hns3: fix fail to delete tc flower rules during reset issue d3f7af41de52 net: hns3: only enable unicast promisc when mac table full ed6a0b21b6ac net: hns3: fix GRE checksum offload issue 430f18eed1c1 net: hns3: add cmdq check for vf periodic service task adbcec23c842 x86/srso: Fix SBPB enablement for spec_rstack_overflow=off 755195b2d2df x86/srso: Fix srso_show_state() side effect 7f301aa243b9 platform/x86: intel_scu_ipc: Fail IPC send if still busy b34121a8fec1 platform/x86: intel_scu_ipc: Don't override scu in intel_scu_ipc_dev_simple_command() 962444595841 platform/x86: intel_scu_ipc: Check status upon timeout in ipc_wait_for_interrupt() 98a5a7f344fa platform/x86: intel_scu_ipc: Check status after timeout in busy_loop() 8ef5cc6b4ef0 net: hsr: Properly parse HSRv1 supervisor frames. eef16bfdb212 x86/mm, kexec, ima: Use memblock_free_late() from ima_free_kexec_buffer() 73be49248a04 dccp: fix dccp_v4_err()/dccp_v6_err() again c2019f0a6816 powerpc/perf/hv-24x7: Update domain value check 5734d22c9ea0 scsi: iscsi_tcp: restrict to TCP sockets 2712545e535d ipv4: fix null-deref in ipv4_link_failure 54228157fb57 igc: Fix infinite initialization loop with early XDP redirect 40b5032c9951 ionic: fix 16bit math issue when PAGE_SIZE >= 64KB f2c6e5945da5 netfilter, bpf: Adjust timeouts of non-confirmed CTs in bpf_ct_insert_entry() d98bad2998fd i40e: Fix VF VLAN offloading when port VLAN is configured 0546cd573404 iavf: schedule a request immediately after add/delete vlan 00bbedbd7c5a iavf: add iavf_schedule_aq_request() helper 16fd3c37d1ca ASoC: SOF: core: Only call sof_ops_free() on remove if the probe was successful 211aac2ef6ff iavf: do not process adminq tasks when __IAVF_IN_REMOVE_TASK is set 65976385d49f octeon_ep: fix tx dma unmap len values in SG 66823a9025bc ASoC: imx-audmix: Fix return error with devm_clk_get() ee79256b1615 ASoC: hdaudio.c: Add missing check for devm_kstrdup 488ea2a3e266 net/core: Fix ETH_P_1588 flow dissector bf560c8a83ca selftests: tls: swap the TX and RX sockets in some tests f5a75b3d31d3 netfilter: conntrack: fix extension size table 09424e88126e ALSA: hda/realtek: Splitting the UX3402 into two separate models 1698854b03a5 ASoC: rt5640: Fix IRQ not being free-ed for HDA jack detect mode 293e4920f715 ASoC: rt5640: Revert "Fix sleep in atomic context" e388671635ac bpf: Avoid deadlock when using queue and stack maps from NMI 1e01b127685f netfilter: nf_tables: disallow element removal on anonymous sets 7a7fd891022a ASoC: meson: spdifin: start hw on dai probe 7e5d732e6902 netfilter: nf_tables: fix memleak when more than 255 elements expired be4fbbbcd2f2 netfilter: nft_set_hash: try later when GC hits EAGAIN on iteration 973288e9d988 netfilter: nft_set_pipapo: stop GC iteration if GC transaction allocation fails 8c643a8e040d netfilter: nft_set_pipapo: call nft_trans_gc_queue_sync() in catchall GC 92b4b4bde940 netfilter: nft_set_rbtree: use read spinlock to avoid datapath contention 9a8c544158f6 netfilter: nft_set_rbtree: skip sync GC for new elements in this transaction a42ac74c9666 netfilter: nf_tables: defer gc run if previous batch is still pending 620e594be334 netfilter: nf_tables: use correct lock to protect gc_list 5d319f7a8143 netfilter: nf_tables: GC transaction race with abort path afa584c35065 netfilter: nf_tables: GC transaction race with netns dismantle 41113aa5698a netfilter: nf_tables: fix GC transaction races with netns and netlink event exit path 59ee68c437c5 netfilter: nf_tables: don't fail inserts if duplicate has expired 0b9af4860a61 netfilter: nf_tables: remove busy mark and gc batch API 4ead4f74b3a9 netfilter: nft_set_hash: mark set element as dead when deleting from packet path df650d6a4bf4 netfilter: nf_tables: adapt set backend to use GC transaction API ea3eb9f2192e netfilter: nf_tables: GC transaction API to avoid race with control plane 59dab3bf0b8f netfilter: nf_tables: don't skip expired elements during walk 6bb88a0344c0 ext4: do not let fstrim block system suspend b4d5db1c77fa ext4: move setting of trimmed bit into ext4_try_to_trim_range() 1e3c25df7d40 ext4: replace the traditional ternary conditional operator with with max()/min() 39c4a9522db0 btrfs: remove BUG() after failure to insert delayed dir index item 0d1a761dec22 btrfs: improve error message after failure to add delayed dir index item dbf1a7198505 dm: fix a race condition in retrieve_deps df9950d37df1 netfs: Only call folio_start_fscache() one time for each folio 2d9757480b43 media: via: Use correct dependency for camera sensor drivers ae68541d5285 media: v4l: Use correct dependency for camera sensor drivers a997d583571b NFSv4.1: fix pnfs MDS=DS session trunking f86a2c2ea085 NFSv4.1: use EXCHGID4_FLAG_USE_PNFS_DS for DS server 839e07de9a0a SUNRPC: Mark the cred for revalidation if the server rejects it 13acbca81eee NFS/pNFS: Report EINVAL errors from connect() to the server edd1f0614510 NFS: More fixes for nfs_direct_write_reschedule_io() d4729af1c73c NFS: Use the correct commit info in nfs_join_page_group() 1f49386d6779 NFS: More O_DIRECT accounting fixes for error paths 4d98038e5bd9 NFS: Fix O_DIRECT locking issues f16fd0b11f0f NFS: Fix error handling for O_DIRECT write scheduling (From OE-Core rev: 5d66067b39e7f9d442d44d8025fe20a0fa7efba7) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: update 1.20.9 -> 1.20.10Jose Quaresma2023-10-128-4/+4
| | | | | | | | | | | | | | | | | Upgrade to latest 1.20.x release [1]: $ git log --oneline go1.20.9..go1.20.10 8042fd87f3 (tag: go1.20.10) [release-branch.go1.20] go1.20.10 e175f27f58 [release-branch.go1.20] net/http: regenerate h2_bundle.go [1] https://github.com/golang/go/compare/go1.20.9...go1.20.10 Fixes CVE-2023-39325 (From OE-Core rev: 262d5386c6293dbd6b9c677fbb7ed7431651db5e) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: update 1.20.8 -> 1.20.9Jose Quaresma2023-10-128-4/+4
| | | | | | | | | | | | | | | | | | Upgrade to latest 1.20.x release [1]: $ git log --oneline go1.20.8..go1.20.9 68f9a6e2ad (tag: go1.20.9) [release-branch.go1.20] go1.20.9 31d5b604ac [release-branch.go1.20] cmd/compile: use absolute file name in isCgo check 83dce45959 [release-branch.go1.20] cmd/link: suppress -bind_at_load deprecation warning for ld-prime 08c544db98 [release-branch.go1.20] cmd/link: disable DWARF by default in c-shared mode on darwin 071f03a8e5 [release-branch.go1.20] cmd/link: force old Apple linker in plugin mode [1] https://github.com/golang/go/compare/go1.20.8...go1.20.9 (From OE-Core rev: 7962b93a53f928cd618016fa600ccefb2d57c28d) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: update 1.20.7 -> 1.20.8Jose Quaresma2023-10-1213-24/+24
| | | | | | | | | | | | | | | | | | | | | | | | | Upgrade to latest 1.20.x release [1]: $ git log --oneline go1.20.7..go1.20.8 d5b8518043 (tag: go1.20.8) [release-branch.go1.20] go1.20.8 2070531d2f [release-branch.go1.20] html/template: properly handle special tags within the script context 023b542edf [release-branch.go1.20] html/template: support HTML-like comments in script contexts 612da32fb5 [release-branch.go1.20] cmd/compile: in expandCalls, move all arg marshalling into call block f0b8768dbc [release-branch.go1.20] path/filepath: don't drop .. elements when cleaning invalid Windows paths b463668275 [release-branch.go1.20] runtime: profiling on Darwin cannot use blocking reads 974a3c9af7 [release-branch.go1.20] go/types, types2: don't panic during interface completion 14e3c7338d [release-branch.go1.20] cmd/api: rename api.go to main_test.go 095cfba86b [release-branch.go1.20] crypto/tls: add GODEBUG to control max RSA key size 1a91bb94b0 [release-branch.go1.20] cmd/go: do not index std as a module in modcache ede3e278ae [release-branch.go1.20] net/http: permit requests with invalid Host headers 201f8b40dc [release-branch.go1.20] cmd/go: refuse to build Go 1.22 code [1] https://github.com/golang/go/compare/go1.20.7...go1.20.8 (From OE-Core rev: 25d0870ae045a6f7845ebc905f2d6602a2ce854d) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nghttp2: update 1.56.0 -> 1.57.0Alexander Kanavin2023-10-121-1/+1
| | | | | | | | | | | This release has a fix to mitigate CVE-2023-44487: HTTP/2 Rapid Reset: https://nghttp2.org/blog/2023/10/10/nghttp2-v1-57-0/ (From OE-Core rev: c24b75f027f2609dac935e8981f2eb58394b1cc6) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* curl: 8.3.0 -> 8.4.0Jose Quaresma2023-10-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | curl and libcurl 8.4.0 Public curl releases: 252 Command line options: 258 curl_easy_setopt() options: 303 Public functions in libcurl: 93 Contributors: 2995 This release includes the following changes: o curl: add support for the IPFS protocols via HTTP gateway [46] o curl_multi_get_handles: get easy handles from a multi handle [20] o mingw: delete support for legacy mingw.org toolchain [45] This release includes the following bugfixes: o acinclude.m4: Document proper system truststore on FreeBSD [83] o appveyor: fix yamlint issues, indent [67] o appveyor: rewrite batch in PowerShell + CI improvements [109] o autotools: adjust `CURL_CA_PATH` value to CMake [53] o autotools: restore `HAVE_IOCTL_*` detections [111] o base64: also build for curl [78] o bufq: remove Curl_bufq_skip_and_shift (unused) [47] o build: delete checks for C89 standard headers [65] o build: do not publish `HAVE_BORINGSSL`, `HAVE_AWSLC` macros [114] o cf-socket: simulate slow/blocked receives in debug [120] o cmake, configure: also link with CoreServices [32] o cmake: add check for suseconds_t [91] o cmake: add feature checks for `memrchr` and `getifaddrs` [57] o cmake: add missing checks [86] o cmake: delete old `HAVE_LDAP_URL_PARSE` logic [105] o cmake: detect `HAVE_CLOCK_GETTIME_MONOTONIC_RAW` [75] o cmake: detect `HAVE_GETADDRINFO_THREADSAFE` [76] o cmake: detect `sys/wait.h` and `netinet/udp.h` [61] o cmake: detect TLS-SRP in OpenSSL/wolfSSL/GnuTLS [93] o cmake: disable unity mode with Windows Unicode + TrackMemory [108] o cmake: fix `HAVE_LDAP_SSL`, `HAVE_LDAP_URL_PARSE` on non-Windows [110] o cmake: fix `HAVE_WRITABLE_ARGV` detection [77] o cmake: fix duplicate symbols when linking tests [73] o cmake: fix missing `zlib.h` when compiling `libcurltool` [72] o cmake: fix stderr initialization in unity builds [71] o cmake: fix the help text to the static build option in CMakeLists.txt [10] o cmake: fix unity builds for more build combinations [96] o cmake: fix unity symbol collisions in h2 builds [48] o cmake: fix unity with Windows Unicode + TrackMemory [107] o cmake: improve OpenLDAP builds [92] o cmake: lib `CURL_STATICLIB` fixes (Windows) [74] o cmake: move global headers to specific checks [58] o cmake: pre-cache `HAVE_BASENAME` for mingw-w64 and MSVC [85] o cmake: pre-cache `HAVE_POLL_FINE` on Windows [36] o cmake: tidy-up `NOT_NEED_LBER_H` detection o cmake: validate `CURL_DEFAULT_SSL_BACKEND` config value [50] o configure: check for the capath by default [63] o configure: remove unused checks [87] o configure: replace adhoc domain with `localhost` in tests [79] o configure: sort AC_CHECK_FUNCS o connect: expire the timeout when trying next [54] o connect: only start the happy eyeballs timer when needed [95] o cookie: do not store the expire or max-age strings [16] o cookie: remove unnecessary struct fields [17] o cookie: set ->running in cookie_init even if data is NULL [5] o create-dirs.d: clarify it also uses --output-dirs [66] o curl.h: mark CURLSSLBACKEND_NSS as deprecated since 8.3.0 [18] o curl_easy_pause.3: mention h2/h3 buffering [113] o curl_easy_pause.3: mention it works within callbacks [112] o curl_easy_pause: set "in callback" true on exit if true [100] o CURLOPT_DEBUGFUNCTION.3: warn about internal handles [122] o docs/libcurl/opts/Makefile.inc: add missing manpage files o docs: adapt SEE ALSO sections to new requirements [52] o docs: explain how PINNEDPUBLICKEY is independent of VERIFYPEER [68] o docs: replace made up domains with example.com [82] o docs: update curl man page references [89] o docs: use CURLSSLBACKEND_NONE [19] o doh: inherit DEBUGFUNCTION/DATA [12] o escape: replace Curl_isunreserved with ISUNRESERVED [2] o FAQ: How do I upgrade curl.exe in Windows? [84] o GHA/linux: run singleuse to detect single-use global functions [35] o GHA: add workflow to compare configure vs cmake outputs [102] o h2-proxy: remove left-over mistake in drain_tunnel() [7] o h2: testcase and fix for pausing h2 streams [49] o h3: add support for ngtcp2 with AWS-LC builds [103] o http2: refused stream handling for retry [121] o http: fix CURL_DISABLE_BEARER_AUTH breakage [28] o http: h1/h2 proxy unification [21] o http: remove wrong comment for http_should_fail [55] o http: use per-request counter to check too large headers [6] o http_aws_sigv4: fix sorting with empty parts [13] o idn: fix WinIDN null ptr deref on bad host [90] o idn: if idn2_check_version returns NULL, return error [27] o inet_ntop: add typecast to silence Coverity [51] o lib: disambiguate Curl_client_write flag semantics [24] o lib: enable hmac for digest as well [26] o lib: failf/infof compiler warnings [8] o lib: let the max filesize option stop too big transfers too [44] o lib: move handling of `data->req.writer_stack` into Curl_client_write() [97] o lib: provide and use Curl_hexencode [62] o lib: remove TIME_WITH_SYS_TIME [88] o lib: use wrapper for curl_mime_data fseek callback [30] o libssh2: fix error message on failed pubkey-from-file [22] o libssh: cap SFTP packet size sent [14] o Makefile.mk: always set `CURL_STATICLIB` for lib (Windows) [42] o MANUAL.md: change domain to example.com [11] o misc: better random strings [15] o MQTT: improve receive of ACKs [125] o multi: do CURLM_CALL_MULTI_PERFORM at two more places [99] o multi: fix small timeouts [70] o multi: remove Curl_multi_dump [37] o multi: round the timeout up to prevent early wakeups [98] o multi: set CURLM_CALL_MULTI_PERFORM after switch to DOING_MORE [115] o openssl: improve ssl shutdown handling [69] o openssl: use X509_ALGOR_get0 instead of reaching into X509_ALGOR [104] o pytest: exclude test_03_goaway in CI runs due to timing dependency [23] o quic: set ciphers/curves the same way regular TLS does [43] o quiche: fix build error with --with-ca-fallback [1] o RELEASE-PROCEDURE.md: updated coming release dates o runtests: display the test status if tests appear hung [81] o runtests: eliminate a warning on old perl versions o socks: return error if hostname too long for remote resolve [118] o src/mkhelp: make generated code pass `checksrc` [59] o test1056: disable on Windows o test1474: disable test on NetBSD, OpenBSD and Solaris 10 [31] o test1592: greatly increase the maximum test timeout o test1903: actually verify the cookies after the test [116] o test1906: set a lower timeout since it's hit on Windows [117] o test2600: remove special case handling for USE_ALARM_TIMEOUT [3] o test650: fix an end tag typo o test661: return from test early in case of curl error o test: add missing <feature>s o tests: close the shell used to start sshd [41] o tests: fix a race condition in ftp server disconnect [101] o tests: fix compiler warnings [38] o tests: Fix zombie processes left behind by FTP tests. [80] o tests: improve SLOWDOWN test reliability by reducing sent data o tests: increase lib571 timeout from 3s to 30s [106] o tests: log the test result code after each libtest o tests: propagate errors in libtests o tests: set --expect100-timeout to improve test reliability o tests: show which curl tool `runtests.pl` is using [60] o tests: stop overriding the lock timeout o tftpd: always use curl's own tftp.h [25] o tool: use our own stderr variable [94] o tool_cb_wrt: fix debug assertion [4] o tool_getparam: accept variable expansion on file names too [123] o tool_setopt: remove unused function tool_setopt_flags [56] o upload-file.d: describe the file name slash/backslash handling [9] o url: fall back to http/https proxy env-variable if ws/wss not set [119] o url: fix netrc info message [39] o warnless: remove unused functions [33] o wolfssh: do cleanup in Curl_ssh_cleanup [40] o wolfssl: allow capath with CURLOPT_CAINFO_BLOB [29] o wolfssl: if CURLOPT_CAINFO_BLOB is set, ignore the CA files [34] o wolfssl: ignore errors in CA path [64] (From OE-Core rev: aeab27305b3f207530ad1c749f6668c0df6cbed1) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime/_qemutiny: rewrite test to be functionalRoss Burton2023-10-111-3/+8
| | | | | | | | | | | | The _qemutiny is a small test case that was explicitly designed to do a minimal level of testing for poky-tiny images. These typically don't have SSH servers so we need to assume that qemu is being used and access the serial console directly. (From OE-Core rev: 2245b2754d6f4798127ce85a2ab7cb48f458c1f7) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox-inittab: fix console handlingRoss Burton2023-10-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | A testing failure meant that the inittab changes made in 6c65544 didn't actually work. A copy-paste problems meant that start_getty was being invoked instead of getty, but start_getty is sysvinit-inittab-specific. Revert this inittab to calling getty directly. Remove the terminal type, this wasn't specified in the original inittab. Busybox's init has non-standard behaviour for the inittab's ID field. With SysV this is a four-character identifier and nothing more, but with busybox init this is the controlling terminal (minus /dev). If the terminal doesn't exist then busybox doesn't gracefully handle the failure but instead repeatedly fails to spawn. As getty will immediately issue a setsid() this isn't needed for getty entries, so the ID can be empty and ttyrun does the terminal detection. (From OE-Core rev: 71202782a06ed1f0a17e00072b74b21195f2f5f9) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/conf/machine: remove SERIAL_CONSOLES_CHECKRoss Burton2023-10-113-3/+0
| | | | | | | | | | | There's no need for this variable anymore, as all consoles listed in SERIAL_CONSOLES are checked for their existence before a getty is started. (From OE-Core rev: 8a1060952f8b6956acf747f3853401ac8a981fc3) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest: don't skip test_read_only_image on qemuarm64Ross Burton2023-10-111-2/+0
| | | | | | | | | | | | There's no need to skip this test anymore, as skipping on qemuarm64 was a proxy for "uses SERIAL_CONSOLES_CHECK" which no longer exists. [ YOCTO #14962 ] (From OE-Core rev: 1b8b1cb74c8f5f387a14d86f03f37f68c07dd9aa) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/utils/gitarchive: ensure tag matches regex before getting its fieldsAlexis Lothoré2023-10-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whenever we ask gitarchive to retrieve test results for specific revisions, we first do a "large" search in get_tags, which uses glob patterns with git ls-remote, and then we filter received tags with a regex to parse the tags fields. Currently gitarchive assumes that all tags returned by get_tags will match the regex. This assumption is wrong (for example searching "master-next" in get_tags may return some tags like "abelloni/master-next), and leads then to exception when we try to retrieve tags fields: Traceback (most recent call last): File "/home/pokybuild/yocto-worker/a-full/build/scripts/resulttool", line 78, in <module> sys.exit(main()) ^^^^^^ File "/home/pokybuild/yocto-worker/a-full/build/scripts/resulttool", line 72, in main ret = args.func(args, logger) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pokybuild/yocto-worker/a-full/build/scripts/lib/resulttool/regression.py", line 315, in regression_git revs2 = gitarchive.get_test_revs(logger, repo, tag_name, branch=args.branch2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pokybuild/yocto-worker/a-full/build/meta/lib/oeqa/utils/gitarchive.py", line 246, in get_test_revs fields, runs = get_test_runs(log, repo, tag_name, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pokybuild/yocto-worker/a-full/build/meta/lib/oeqa/utils/gitarchive.py", line 238, in get_test_runs groups = m.groupdict() Fix this exception by merely skipping those additionals tags which won't match the regex (From OE-Core rev: 8b5ace47372e958db9e4abb23378947fb02f6fc2) Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/utils/gitarchive: fix tag pattern searchingAlexis Lothoré2023-10-111-1/+1
| | | | | | | | | | | | | | | | Whenever we ask gitarchive to search for tags, we can provide it with a pattern (containing glob patterns). However, when searching for example for tags matching branch master-next, it can find more tags which does not correspond exactly to branch master-next (e.g. abelloni/master-next tags will match). Prevent those additional tags from being fetched by gitarchive by using a more specific pattern: prefix user-provided pattern with "refs/tags" (From OE-Core rev: c24b7ea28021da48aa8f3498a9b899f595efde56) Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/qemurunner: Ensure we retry after BrokenPipeErrorRichard Purdie2023-10-111-1/+1
| | | | | | | | | | | | If the BrokenPipeError occurs when writing to the serial port to wake it up, defer the write and try again (which will happen on the 5s timeout of the select call). Why it should return ESHUTDOWN and then work later I'm not sure but it does appear to make it work. For now we need 'working' QA tests whilst the issue is debugged. (From OE-Core rev: ea9e6ba0ab31a0b20012c283aa768496a50b527a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: reproducibility issue fixSundeep KOKKONDA2023-10-112-2/+1
| | | | | | | | | | | | | | | | | | | | The '--remap-path-prefix' option removes all references to build directory structure in the debug information within the compiled output for Cargo dependencies and the project's binary. However, some references to build directories remains in the final binary in .rustc section in the form of compressed metadata and this makes the build output dependent on the folder structure of the computer it's compiled on. So, for reproducible builds, use the configuration option 'remap-debuginfo = true' along with the '--remap-path-prefix'. [YOCTO# 14875] (From OE-Core rev: 6ae62259afbbe861ed74211dab18a27b8c8d8b7a) Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: fix a typo in help outputAndré Draszik2023-10-101-1/+1
| | | | | | | (From OE-Core rev: 1c35beb935d42e200370b54f9aa3848b940966dd) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky/poky-tiny: Switch to the 6.5 kernelRichard Purdie2023-10-102-3/+3
| | | | | | | | 6.4 is EOL so switch to the 6.5 kernel. (From meta-yocto rev: 2b6624b894c8a458be7d4b13b1691a89ead44120) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/qemurunner: Add extra logging when console doesn't appearRichard Purdie2023-10-101-0/+10
| | | | | | | | | | | | | If the console doesn't appear, breifly sleep and try an extra read. This is a useful debugging trick which we may as well preserve in the code. We're already failing at this point so extra data is useful. This means if we perturb things on the other port, we may gain useful logging insight. (From OE-Core rev: be3724854947ded160789d0353b7efb8c593040f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu/qemurunner: Use nodelay with tcp serial connectionsRichard Purdie2023-10-106-6/+7
| | | | | | | | | This disables Nagle's algorithm for our tcp serial connections which may be causing data transfer issues. (From OE-Core rev: f8eff4c427881a98333fdf7c42f66ed6603e4f03) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/qemurunner: Add newlines serial workaroundRichard Purdie2023-10-101-0/+12
| | | | | | | | | | | We're struggling with the 6.5 kernel as the serial port getty doesn't appears sometimes leading to failures in CI. Add a workaround of sending some newlines as a way of unblocking the kernel/release issues whilst we try and work out how to get to the bottom of the issue. (From OE-Core rev: 0a65f0d272895ba13c8c133ee71f3605d765a8a7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemux86/qemuarm: Drop kernel version overridesRichard Purdie2023-10-103-6/+0
| | | | | | | | | | | Drop the version overrides for the kernel for the x86 and arm machines so we can go back to following the distro versions. The reasons for these versions is mostly historical at this point as the issues were resolved. (From OE-Core rev: 298fa078fab58b64246376ffd70ad6a0c7589876) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/bblock: add self test for bblock toolJulien Stephan2023-10-091-0/+203
| | | | | | | | | | | | it implements various combination of locking single/multiple recipe(s)/task(s) it also tests that locked sig are architecture dependant (From OE-Core rev: 7047a067548acd592a834d4315579fb606b4b9d7) Signed-off-by: Julien Stephan <jstephan@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/bblock: add a script to lock/unlock recipesJulien Stephan2023-10-091-0/+184
| | | | | | | | | | | | | | | | | | | | | | | | | bblock script allows to lock/unlock recipes to latest task signatures. The idea is to prevent some recipes to be rebuilt during development. For example when working on rust recipe, one may not want rust-native to be rebuilt. This tool can be used, with proper environment set up, using the following command: bblock <recipe_name> See help for more details if a <recipe_name>'s task signature change, this task will not be built again and sstate cache will be used. [YOCTO #13425] (From OE-Core rev: 2d9ab0cfd7f3cacc347954676f1323342a6b286f) Signed-off-by: Julien Stephan <jstephan@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstatesig: add a new info level for SIGGEN_LOCKEDSIGS_TASKSIG_CHECKJulien Stephan2023-10-091-1/+17
| | | | | | | | | | | | | | | | | | | | | | | as of now, SIGGEN_LOCKEDSIGS_TASKSIG_CHECK can take 2 values: "warn" and "error", displaying respectively a warning or a fatal error message only when a task is locked and the task signature is different from the locked one. The "info" level is introduced to add a "note" message to remind the user that a recipe is locked even if the signature is equivalent to the locked one. The "warn" and "error" level display the warn/error message for each task having a mismatch of the signature. Doing this with the "info" level would result in very verbose output if there are several tasks locked, so the info level will only print once the list of recipes that have locked signature. (From OE-Core rev: 840402181d36ca3f60119984478979afb5bb3bbf) Signed-off-by: Julien Stephan <jstephan@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: include bblock.confJulien Stephan2023-10-091-0/+1
| | | | | | | | | | | | include conf/bblock.conf. This file is generated by the bblock tool. It locks some package tasks by fixing their signatures. See bblock -h for more details (From OE-Core rev: fb85282476f9dee2b0364c305ca75b096a76b1ae) Signed-off-by: Julien Stephan <jstephan@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* migration-guides: add release notes for 4.0.13Lee Chee Yang2023-10-092-0/+272
| | | | | | | | (From yocto-docs rev: ceb1812e63b9fac062f886c2a1dde23137c0e1ed) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* overview: Add note about non-reproducibility side effectsJoshua Watt2023-10-091-0/+9
| | | | | | | | | | | Adds an additional note about some of the side effects that can occur if recipes are not reproducible and hash equivalence is enabled. (From yocto-docs rev: 1ccc8eefe21bc432c903bb245bd0dab06e67cc14) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: fix testimage usage instructionsTrevor Gamblin2023-10-092-3/+3
| | | | | | | | | | | | | | | | The proper way to inherit the testimage class is now IMAGE_CLASSES += "testimage" so change lines with 'INHERIT += "testimage"' to match. This makes the dev-manual consistent with the migration guide, which already specifies that the old way causes an error. (From yocto-docs rev: 2a3e2c6e48be6f7ec2b3ff0817144dd1036961ba) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: releases.svg: Scarthgap is now version 5.0Michael Opdenacker2023-10-091-1/+1
| | | | | | | | | According to https://wiki.yoctoproject.org/wiki/Releases (From yocto-docs rev: 88348eb6eaa589a735b35b8ee726b9523f46e54f) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssh: drop sudo from ptest dependenciesMikko Rapeli2023-10-092-2/+2
| | | | | | | | | | | | | | The tests don't actually need sudo on core-image-ptest-openssh. Based on logs seen in https://bugzilla.yoctoproject.org/show_bug.cgi?id=15178 it seems that socket errors from sudo are creeping into stderr which are failing the banner ptest from openssh. Removing sudo should help removing the stderr messages and possibly cure the banner test failures. (From OE-Core rev: 47e754f483b674b207bfddcc8d4c5d9a3008e102) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: skip so_peerpidfd testRandy MacLeod2023-10-092-0/+26
| | | | | | | | | | | | The so_peerpidfd test is failing in every linux-yocto-6.5 ptest run due to a difference of square brackets in part of the log file. Skip the failing test until the difference is understood and fixed. (From OE-Core rev: d7c9afbef0b440f5dbd16b3e8a3cb1ac5c513836) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cryptodev: Update to latest git for 6.5 kernel fixesRichard Purdie2023-10-091-1/+2
| | | | | | | | | Update to pull in recent git changes which allow cryptodev to work with 6.5 kernels. (From OE-Core rev: cbc2e92ff3bbf1921f6a56dfe024dfbf82178dc0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: use ttyrun to run getty only if the terminal existsRoss Burton2023-10-091-34/+12
| | | | | | | | | | | | | | | | | | | Wrap calls to start_getty with ttyrun, so that getty isn't started if the device doesn't exist. As we know start_getty is only called when the device exists we can remove the partial workaround for this problem in that scripts too. This neatly obsoletes SERIAL_CONSOLES_CHECK, whose sole purpose was to check what terminals are present at boot and rewrite inittab. Notably, this meant that SERIAL_CONSOLES_CHECK made using a read-only rootfs impossible. (From OE-Core rev: 950ecaabc04836efc346be0ac7e0331e2378872b) (From OE-Core rev: 6c655441ff5cd0d8877891ff37f8cfa983363a2a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit-inittab: use ttyrun to run getty only if the terminal existsRoss Burton2023-10-092-34/+7
| | | | | | | | | | | | | | | | | | | Wrap calls to start_getty with ttyrun, so that getty isn't started if the device doesn't exist. As we know start_getty is only called when the device exists we can remove the partial workaround for this problem in that scripts too. This neatly obsoletes SERIAL_CONSOLES_CHECK, whose sole purpose was to check what terminals are present at boot and rewrite inittab. Notably, this meant that SERIAL_CONSOLES_CHECK made using a read-only rootfs impossible. (From OE-Core rev: f4fd17d5a5e4eaa31995d3ca52c871cfbdc0df68) (From OE-Core rev: 8e48297621311116d3edd7e3aa0de1b8ef2431b1) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ttyrun: add new recipeRoss Burton2023-10-092-0/+34
| | | | | | | | | | | | | | | | | ttyrun is a small tool from IBM's s390-tools package to run a command if the specified TTY is present, and hang if not. This is useful so that you can list all of the potential terminals in inittab and not have getty quiting instantly when a device isn't present, resulting in the "respawning too fast" errors. Note that DISTRELEASE has to be set as otherwise "build$(DATE)" is used, which is non-reproducible. (From OE-Core rev: 41a8a2e0817c7f73d3a4514fd158141ee5627ad8) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit-initab: rewrite loop to generate inittabRoss Burton2023-10-091-7/+7
| | | | | | | | | | | | Instead of one-letter variables and arcane sed expressions, use English words and 'cut'. (From OE-Core rev: de9833792dd0cfac6f17d5c733c263b976e89cf6) (From OE-Core rev: c79f6e66283e506453d1643259d18e2d13eb10ea) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemuboot: reduce default size of software I/O translation bufferRoss Burton2023-10-091-0/+7
| | | | | | | | | | | | | | With 6.5+ (specifically, if DMA_BOUNCE_UNALIGNED_KMALLOC is set) the SWIOTLB is used, and it defaults to 64MB. This is too much when there's only 256MB of RAM, so request 0 slabs and lets the kernel round up to the appropriate minimum (1MB on aarch64, typically). In virtual hardware there's very little need for these bounce buffers, so the 64MB would be mostly wasted. (From OE-Core rev: 369e768d87b80be9efe76937bfafeddabc35f559) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake.bbclass: Add *.cmake to CONFIGURE_FILESPeter Kjellerstedt2023-10-091-1/+1
| | | | | | | | | | This makes do_configure depend on changes to any cmake file when externalsrc is active. (From OE-Core rev: dae2757bf0fea6ae821a28bd6ea9d0232694c177) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake-hashclient: Add clean-unused subcommandJoshua Watt2023-10-091-0/+9
| | | | | | | | | | Adds a subcommand to clean unused outhash entries from the server based on age (Bitbake rev: 29c310be2c00d0e192923a4b90c60771ef0c620c) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hashserv: Add API to clean unused entriesJoshua Watt2023-10-093-1/+43
| | | | | | | | | | Adds an API to remove unused entries in the outhash database based on age and if they are referenced by any unihash (Bitbake rev: a169ac523d166c6cbba918b152a76782176c3e88) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hashserv: Extend get_outhash API to optionally include unihashJoshua Watt2023-10-092-17/+32
| | | | | | | | | | | Extends the get_outhash API with a flag indicating whether to include the unihash in the output. This is means that the query doesn't require the unihash entry to be present to return a result (Bitbake rev: b8d6abfeb4a0765727a62b3d8d83276335c7c7d6) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake-hashclient: Add remove subcommandJoshua Watt2023-10-091-0/+13
| | | | | | | | | Adds a subcommand to invoke the remove API on the server (Bitbake rev: a778b99e6a2a1a1e1b7eb26d48313fadcd34de54) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hashserv: Add remove APIJoshua Watt2023-10-093-0/+66
| | | | | | | | | | Adds a `remove` API to the client and server that can be used to remove hash equivalence entries that match a particular critera (Bitbake rev: 861d068b3a9fb5e91a01dbec54996a5a6f93ef29) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* devtool/upgrade: check all git config locationsMarcus Flyckt2023-10-081-1/+1
| | | | | | | | | | | | | | | | | Fixes [YOCTO #15222] In some situations its more practical to keep git configuration at `/etc/gitconfig` instead of `$HOME/.gitconfig` (e.g., when mounting git configuration into a docker container). This change makes `devtool upgrade` consider any available git configuration instead of only checking `--global`. (From OE-Core rev: 30a9f7de45050c8bac49d4b37419cc2e067a75fa) Signed-off-by: Marcus Flyckt <marcus.flyckt@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemurunner.py: detect login prompt without without utf-8 conversionMikko Rapeli2023-10-081-2/+1
| | | | | | | | | | | In case utf-8 conversion of the serial console data is flaky due to bad characters in the stream. (From OE-Core rev: 3f4921ced1e2aae546ff7cef232eec3e214c28be) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Set PATH in syslog initscriptMartijn de Gouw2023-10-061-0/+2
| | | | | | | | | | | | | This script is not always called with /sbin and /usr/sbin in the PATH already, for example when called via ssh. Explicitly set PATH to make sure it includes /sbin and /usr/sbin since that's where start-stop-daemon is located. (From OE-Core rev: fa53f898eaba15dff030f9eadf86e5bca7d954fa) Signed-off-by: Martijn de Gouw <martijn.de.gouw@prodrive-technologies.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix CVE-2023-42467Yogita Urade2023-10-062-0/+50
| | | | | | | | | | | | | | | | | QEMU through 8.0.0 could trigger a division by zero in scsi_disk_reset in hw/scsi/scsi-disk.c because scsi_disk_emulate_mode_select does not prevent s->qdev.blocksize from being 256. This stops QEMU and the guest immediately. References: https://nvd.nist.gov/vuln/detail/CVE-2023-42467 https://gitlab.com/qemu-project/qemu/-/issues/1813 (From OE-Core rev: 7c42b976d7a72acf917bae9d055768a1350e507d) Signed-off-by: Yogita Urade <yogita.urade@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: create separate package for cirrus and cnm firmwaresFahad Arslan2023-10-061-0/+28
| | | | | | | | | | | | | | | Some licenses only allow usage of corresponding firmwares when a specific hardware is present. This requires split of such firmwares from linux-firmware package to firmware specific sub package. As this split is based off of licensing, it makes sense to group firmware blobs having the same license in the same package. This commit is a first step in this direction, and creates separate packages for cirrus and cnm firmware. (From OE-Core rev: 53d9d8789efc701609a5a1e985287344c2209d62) Signed-off-by: Fahad Arslan <fahad.arslan@siemens.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer: upgrade 1.22.5 -> 1.22.6Archana Polampalli2023-10-0611-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This release only contains bugfixes and security fixes. Highlighted bugfixes in 1.22.6: Security fixes for the MXF demuxer and H.265 video parser Fix latency regression in H.264 hardware decoder base class androidmedia: fix HEVC codec profile registration and fix coded_data handling decodebin3: fix switching from a raw stream to an encoded stream gst-inspect: prettier and more correct signal and action signals printing rtmp2: Allow NULL flash version, omitting the field, for better RTMP server compatibility rtspsrc: better compatibility with buggy RTSP servers that don't set a clock-rate rtpjitterbuffer: fix integer overflow that led to more packets being declared lost than have been lost v4l2: fix video encoding regression on RPi and fix support for left and top padding waylandsink: Crop surfaces to their display width height cerbero: recognise Manjaro; add Rust support for MSVC ARM64; cmake detection fixes various bug fixes, build fixes, memory leak fixes, and other stability and reliability improvements https://nvd.nist.gov/vuln/detail/CVE-2023-40475 https://nvd.nist.gov/vuln/detail/CVE-2023-40476 https://gstreamer.freedesktop.org/releases/1.22/#1.22.6 (From OE-Core rev: ff2fc789e08c42903f5e528d4836dd482227291c) Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtirpc: conditionally enable gssapiDaniel McGregor2023-10-061-1/+2
| | | | | | | | | | | This is for upcoming work to support gssapi in nfs-utils for nfsv4 and kerberos mountpoints. (From OE-Core rev: ae9c64cd2291f4b24ac442816a4e354e47c70933) Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 1.2.1 -> 1.2.2Daniel McGregor2023-10-061-1/+1
| | | | | | | | | | | | The newly released version 1.2.2 adds version 17 to CMake LLVM detection, so we will now choose the OE provided LLVM version instead of the one on host during native builds. (From OE-Core rev: 90edba29f9f4c115af5202c566eaa935656de1eb) Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>