]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
2 years agodnf: upgrade 4.14.0 -> 4.16.1
Alexander Kanavin [Wed, 14 Jun 2023 09:28:39 +0000 (11:28 +0200)] 
dnf: upgrade 4.14.0 -> 4.16.1

Correct the query for locations of rpm package files in the local repo:
upstream has changed it to a separate cmdline parameter.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodiffoscope: upgrade 236 -> 242
Alexander Kanavin [Wed, 14 Jun 2023 09:28:38 +0000 (11:28 +0200)] 
diffoscope: upgrade 236 -> 242

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoglib-2.0: backport a patch to address ptest fails caused by coreutils 9.2+
Alexander Kanavin [Wed, 14 Jun 2023 09:28:36 +0000 (11:28 +0200)] 
glib-2.0: backport a patch to address ptest fails caused by coreutils 9.2+

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoattr: package /etc/xattr.conf with the library that consumes it
Alexander Kanavin [Wed, 14 Jun 2023 09:28:35 +0000 (11:28 +0200)] 
attr: package /etc/xattr.conf with the library that consumes it

This matters for example with latest coreutils where cp
wouldn't copy extended attributes by default if the config
file specifying that policy is not there, and so ptest fails.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobtrfs-tools: upgrade 6.3 -> 6.3.1
Alexander Kanavin [Wed, 14 Jun 2023 09:28:34 +0000 (11:28 +0200)] 
btrfs-tools: upgrade 6.3 -> 6.3.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoat-spi2-core: upgrade 2.48.0 -> 2.48.3
Alexander Kanavin [Wed, 14 Jun 2023 09:28:33 +0000 (11:28 +0200)] 
at-spi2-core: upgrade 2.48.0 -> 2.48.3

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoapr: upgrade 1.7.3 -> 1.7.4
Alexander Kanavin [Wed, 14 Jun 2023 09:28:32 +0000 (11:28 +0200)] 
apr: upgrade 1.7.3 -> 1.7.4

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogrub: submit determinism.patch upstream
Alexander Kanavin [Wed, 14 Jun 2023 09:28:30 +0000 (11:28 +0200)] 
grub: submit determinism.patch upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto/6.1: fix intermittent x86 boot hangs
Bruce Ashfield [Thu, 15 Jun 2023 03:16:08 +0000 (23:16 -0400)] 
linux-yocto/6.1: fix intermittent x86 boot hangs

The commit in question appeared as -stable backport in 6.1.28, which is
where we started to see intermittent boot hangs on x86.

Richard noted that others are seeing this is well, as can be seen in
this thread:

    https://lkml.org/lkml/2023/6/13/1460

We bump our SRCREVs to pick up the revert:

    947f660bde07 Revert "tick/common: Align tick period with the HZ tick."

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto/6.1: update to v6.1.33
Bruce Ashfield [Thu, 15 Jun 2023 11:56:44 +0000 (07:56 -0400)] 
linux-yocto/6.1: update to v6.1.33

Updating  to the latest korg -stable release that comprises
the following commits:

    2f3918bc53fb Linux 6.1.33
    c3fcfe8931e1 ext4: enable the lazy init thread when remounting read/write
    84683a2cf5ed selftests: mptcp: join: avoid using 'cmp --bytes'
    fbb6db561dd4 selftests: mptcp: simult flows: skip if MPTCP is not supported
    4bc022b95392 selftests: mptcp: diag: skip if MPTCP is not supported
    e8631d84c01e arm64: efi: Use SMBIOS processor version to key off Ampere quirk
    b026755cc9a8 tls: rx: strp: don't use GFP_KERNEL in softirq context
    a2961463d74f xfs: verify buffer contents when we skip log replay
    4042d7ad40f1 drm/amd/display: Have Payload Properly Created After Resume
    4a9d63181f8d iommu/amd/pgtbl_v2: Fix domain max address
    3264d875f58a tpm, tpm_tis: Request threaded interrupt handler
    77ee4f8c02b8 regmap: Account for register length when chunking
    a8eaa9a06add fs/ntfs3: Validate MFT flags before replaying logs
    0b28edf227e3 KEYS: asymmetric: Copy sig and digest in public_key_verify_signature()
    4f303c0b9d5d ksmbd: fix multiple out-of-bounds read during context decoding
    522a9417f649 ksmbd: fix slab-out-of-bounds read in smb2_handle_negotiate
    4c6bdaacb3cb ksmbd: fix incorrect AllocationSize set in smb2_get_info
    f7add4d1598a ksmbd: fix UAF issue from opinfo->conn
    8072ea674374 ksmbd: fix credit count leakage
    5f4d3810ca9c KVM: x86: Account fastpath-only VM-Exits in vCPU stats
    b1d5667afad1 KVM: arm64: Populate fault info for watchpoint
    0659aee089da test_firmware: fix the memory leak of the allocated firmware buffer
    eef67dfdc050 test_firmware: fix a memory leak with reqs buffer
    33aebb014893 powerpc/xmon: Use KSYM_NAME_LEN in array size
    97211945ef68 serial: cpm_uart: Fix a COMPILE_TEST dependency
    7493392a375c serial: 8250_tegra: Fix an error handling path in tegra_uart_probe()
    3270095f6eb5 fbcon: Fix null-ptr-deref in soft_cursor
    ef8aeffb2c50 ext4: add lockdep annotations for i_data_sem for ea_inode's
    140aa33f96d6 ext4: disallow ea_inodes with extended attributes
    277cea6f7786 ext4: set lockdep subclass for the ea_inode in ext4_xattr_inode_cache_find()
    b112babc565e ext4: add EA_INODE checking to ext4_iget()
    9ce0319b0599 mptcp: fix active subflow finalization
    977a63afd401 mptcp: fix connect timeout handling
    97ecfe67f5ca selftests: mptcp: userspace pm: skip if MPTCP is not supported
    f324df8de0b5 selftests: mptcp: sockopt: skip if MPTCP is not supported
    0fea987ccf5f selftests: mptcp: join: skip if MPTCP is not supported
    17ddf2a54eff selftests: mptcp: pm nl: skip if MPTCP is not supported
    68ecc09a148c selftests: mptcp: connect: skip if MPTCP is not supported
    3f731926a1b0 tracing/probe: trace_probe_primary_from_call(): checked list_first_entry
    7403630eb94c tracing/histograms: Allow variables to have some modifiers
    2a1195f0e085 tracing/timerlat: Always wakeup the timerlat thread
    007c04225697 mtdchar: mark bits of ioctl handler noinline
    d7c34c8f6005 selinux: don't use make's grouped targets feature yet
    6fb0b098f690 io_uring: undeprecate epoll_ctl support
    94f97b8df005 riscv: perf: Fix callchain parse error with kernel tracepoint events
    c40dc6e26646 tpm, tpm_tis: correct tpm_tis_flags enumeration values
    b0e21c42c1fb iommu/amd: Fix domain flush size when syncing iotlb
    251cf7fd5a1b powerpc/iommu: Limit number of TCEs to 512 for H_STUFF_TCE hcall
    2a72e6814f55 block: fix revalidate performance regression
    867ad8cba251 phy: qcom-qmp-pcie-msm8996: fix init-count imbalance
    5daf7a171d27 phy: qcom-qmp-combo: fix init-count imbalance
    1af8dd540347 btrfs: fix csum_tree_block page iteration to avoid tripping on -Werror=array-bounds
    380d2da555a8 tty: serial: fsl_lpuart: use UARTCTRL_TXINV to send break instead of UARTCTRL_SBK
    2c8aa1163a21 mmc: pwrseq: sd8787: Fix WILC CHIP_EN and RESETN toggling order
    f25568e0801c mmc: vub300: fix invalid response handling
    03974abbf2a1 x86/mtrr: Revert 90b926e68f50 ("x86/pat: Fix pat_x_mtrr_type() for MTRR disabled case")
    8db2ea7b80d6 drm/amd/pm: reverse mclk and fclk clocks levels for renoir
    f05f3fcc7824 drm/amd/pm: reverse mclk and fclk clocks levels for yellow carp
    1c729bd5b30f drm/amd/pm: reverse mclk clocks levels for SMU v13.0.5
    0f8f233ed767 drm/amd/pm: resolve reboot exception for si oland
    e0a0f5d2ba59 drm/amd/pm: reverse mclk and fclk clocks levels for vangogh
    00abb872ef0f drm/amd/pm: reverse mclk and fclk clocks levels for SMU v13.0.4
    2f91f92bd870 drm/amdgpu: enable tmz by default for GC 11.0.1
    009886965e04 ata: libata-scsi: Use correct device no in ata_find_dev()
    63a44b01df36 scsi: stex: Fix gcc 13 warnings
    2e787e5153b7 misc: fastrpc: reject new invocations during device removal
    93f2aa05af2d misc: fastrpc: return -EPIPE to invocations on device removal
    cbfed647fd19 md/raid5: fix miscalculation of 'end_sector' in raid5_read_one_chunk()
    704842c97aa3 usb: gadget: f_fs: Add unbind event before functionfs_unbind
    cc8c9864da69 usb: cdns3: fix NCM gadget RX speed 20x slow than expection at iMX8QM
    08e8ff68a3f6 dt-bindings: usb: snps,dwc3: Fix "snps,hsphy_interface" type
    ef12610ff5fa net: usb: qmi_wwan: Set DTR quirk for BroadMobi BM818
    3cfdc3fc1801 iio: dac: build ad5758 driver when AD5758 is selected
    f453753900e9 iio: adc: stm32-adc: skip adc-diff-channels setup if none is present
    735d033bedc3 iio: adc: ad7192: Change "shorted" channels to differential
    84f4d63ae184 iio: addac: ad74413: fix resistance input processing
    ab0c2dffe80f iio: dac: mcp4725: Fix i2c_master_send() return value handling
    89f92d435352 iio: adc: ad_sigma_delta: Fix IRQ issue by setting IRQ_DISABLE_UNLAZY flag
    2eb269605113 iio: adc: stm32-adc: skip adc-channels setup if none is present
    54d737d79672 iio: light: vcnl4035: fixed chip ID check
    2896a356ed07 dt-bindings: iio: adc: renesas,rcar-gyroadc: Fix adi,ad7476 compatible value
    cb2a612c397d iio: imu: inv_icm42600: fix timestamp reset
    3fb021f5c114 HID: wacom: avoid integer overflow in wacom_intuos_inout()
    254be1f64819 HID: google: add jewel USB id
    23c241676f32 iio: adc: mxs-lradc: fix the order of two cleanup operations
    b6867ce5fb35 iio: accel: st_accel: Fix invalid mount_matrix on devices without ACPI _ONT method
    47cc3cae303c media: uvcvideo: Don't expose unsupported formats to userspace
    4d776371127e drivers: base: cacheinfo: Fix shared_cpu_map changes in event of CPU hotplug
    7d233f93594f mailbox: mailbox-test: fix a locking issue in mbox_test_message_write()
    4124000cf4c5 media: mediatek: vcodec: Only apply 4K frame sizes on decoder formats
    bafe94ac9950 KVM: arm64: vgic: Fix locking comment
    150a5f74a597 KVM: arm64: vgic: Wrap vgic_its_create() with config_lock
    4129d71e5bda KVM: arm64: vgic: Fix a circular locking issue
    7df6008b8726 block: Deny writable memory mapping if block is read-only
    16ddd3bc6741 nvme-pci: Add quirk for Teamgroup MP33 SSD
    a731273f3c22 ublk: fix AB-BA lockdep warning
    68ce1d57e52c drm/amdgpu: skip disabling fence driver src_irqs when device is unplugged
    baa8901ad70d ceph: silence smatch warning in reconnect_caps_cb()
    56e5d63e4e2d atm: hide unused procfs functions
    47d0f626795f drm/msm: Be more shouty if per-process pgtables aren't working
    c62a9a6bea0c ALSA: oss: avoid missing-prototype warnings
    e4f1532a9cd9 nvme: do not let the user delete a ctrl before a complete initialization
    f481c2af4916 nvme-multipath: don't call blk_mark_disk_dead in nvme_mpath_remove_disk
    d0013470677f netfilter: conntrack: define variables exp_nat_nla_policy and any_addr with CONFIG_NF_NAT
    def67e27f2b7 net: wwan: t7xx: Ensure init is completed before system sleep
    ae72bd1a4b04 wifi: b43: fix incorrect __packed annotation
    c061e13c7297 scsi: core: Decrease scsi_device's iorequest_cnt if dispatch failed
    7402fb48efff wifi: iwlwifi: mvm: Add locking to the rate read flow
    788f129f6370 wifi: mac80211: recalc chanctx mindef before assigning
    a03460061164 wifi: mac80211: consider reserved chanctx for mindef
    aefa37aa32cb wifi: mac80211: simplify chanctx allocation
    bdd97c99b346 arm64: vdso: Pass (void *) to virt_to_page()
    6bf0f6bfcd35 arm64/mm: mark private VM_FAULT_X defines as vm_fault_t
    e0b5316e2ead ARM: dts: stm32: add pin map for CAN controller on stm32f7
    de16dfe7cab5 wifi: rtl8xxxu: fix authentication timeout due to incorrect RCR value
    329da6d07cc9 ACPI: resource: Add IRQ override quirk for LG UltraPC 17U70P
    905b247f6e13 s390/topology: honour nr_cpu_ids when adding CPUs
    26cfe2faa82d s390/pkey: zeroize key blobs
    9f2f538cd8c3 ASoC: SOF: pm: save io region state in case of errors in resume
    eb708aee4126 ASoC: SOF: sof-client-probes: fix pm_runtime imbalance in error handling
    1cc6301dfcd2 ASoC: SOF: pcm: fix pm_runtime imbalance in error handling
    a6637d5a8f19 ASoC: SOF: debug: conditionally bump runtime_pm counter on exceptions
    d5d61f747e3f media: dvb-core: Fix use-after-free due to race condition at dvb_ca_en50221
    d0088ea444e6 media: dvb-core: Fix kernel WARNING for blocking operation in wait_event*()
    4a8ecfb2207c media: dvb-core: Fix use-after-free due to race at dvb_register_device()
    93b5dfebcb18 media: dvb-core: Fix use-after-free due on race condition at dvb_net
    bf3b6f82fd4c media: mn88443x: fix !CONFIG_OF error by drop of_match_ptr from ID table
    ea2938c27b02 media: ttusb-dec: fix memory leak in ttusb_dec_exit_dvb()
    dd6839936115 media: dvb_ca_en50221: fix a size write bug
    058822591b78 media: netup_unidvb: fix irq init by register it at the end of probe
    b769fbf04a91 media: dvb-usb: dw2102: fix uninit-value in su3000_read_mac_address
    5d2923fb0b72 media: dvb-usb: digitv: fix null-ptr-deref in digitv_i2c_xfer()
    6906e613e6b7 media: dvb-usb-v2: rtl28xxu: fix null-ptr-deref in rtl28xxu_i2c_xfer
    4e896b226311 media: dvb-usb-v2: ce6230: fix null-ptr-deref in ce6230_i2c_master_xfer()
    336ca9b37104 media: dvb-usb-v2: ec168: fix null-ptr-deref in ec168_i2c_xfer()
    1027c8c068f0 media: dvb-usb: az6027: fix three null-ptr-deref in az6027_i2c_xfer()
    8914ae00db45 media: dvb_demux: fix a bug for the continuity counter
    59dad726de2d ASoC: ssm2602: Add workaround for playback distortions
    7fbdd3bd7bbf ALSA: hda/realtek: Add quirks for ASUS GU604V and GU603V
    603f239216ca ASoC: dt-bindings: Adjust #sound-dai-cells on TI's single-DAI codecs
    f6d2aa322ca7 xfrm: Check if_id in inbound policy/secpath match
    40798c566b56 um: harddog: fix modular build
    c03dd9390514 ASoC: dwc: limit the number of overrun messages
    0960fb87cdaf ASoC: amd: yc: Add DMI entry to support System76 Pangolin 12
    7d98a36b101f nvme-pci: add quirk for missing secondary temperature thresholds
    53786bfadc43 nvme-pci: add NVME_QUIRK_BOGUS_NID for HS-SSD-FUTURE 2048G
    46193dd43dce block/rnbd: replace REQ_OP_FLUSH with REQ_OP_WRITE
    5af920e4d1d1 nbd: Fix debugfs_create_dir error checking
    f83c32ed05d4 fbdev: stifb: Fix info entry in sti_struct on error path
    be2aefa202a5 fbdev: modedb: Add 1920x1080 at 60 Hz video mode
    c6c0a9f61958 fbdev: imsttfb: Fix use after free bug in imsttfb_probe
    3e336ad6f517 drm/amdgpu: set gfx9 onwards APU atomics support to be true
    5ae4a618a155 gfs2: Don't deref jdesc in evict
    61c3962ab1f9 platform/mellanox: fix potential race in mlxbf-tmfifo driver
    809efd7a69a4 platform/x86: intel_scu_pcidrv: Add back PCI ID for Medfield
    18913fc7c1dd media: rcar-vin: Select correct interrupt mode for V4L2_FIELD_ALTERNATE
    705f4dcc41c2 hwmon: (k10temp) Add PCI ID for family 19, model 78h
    6578e0f196e8 ARM: 9295/1: unwind:fix unwind abort for uleb128 case
    0433baa89318 btrfs: abort transaction when sibling keys check fails for leaves
    e2d161c539a4 drm/ast: Fix ARM compatibility
    cad1abbe488d mailbox: mailbox-test: Fix potential double-free in mbox_test_message_write()
    88a042d599c3 drm/amdgpu: Use the default reset when loading or reloading the driver
    6a40da600750 ASoC: Intel: soc-acpi-cht: Add quirk for Nextbook Ares 8A tablet
    a7ec48a419fe ALSA: hda: Glenfly: add HD Audio PCI IDs and HDMI Codec Vendor IDs.
    867dae554780 watchdog: menz069_wdt: fix watchdog initialisation
    787e74b21394 drm/amdgpu: release gpu full access after "amdgpu_device_ip_late_init"
    e2feb39312a6 mptcp: add annotations around sk->sk_shutdown accesses
    0b9e6d64cd10 mptcp: fix data race around msk->first access
    519f16d96c2d mptcp: consolidate passive msk socket initialization
    fa2cbd1d689a mptcp: simplify subflow_syn_recv_sock()
    9872e8c63252 mptcp: avoid unneeded address copy
    1b9e3ab669a3 mptcp: add annotations around msk->subflow accesses
    c5ebb5cec9fb mptcp: avoid unneeded __mptcp_nmpc_socket() usage
    ea9d7382d5d3 rtnetlink: call validate_linkmsg in rtnl_create_link
    62dcac528be7 mtd: rawnand: marvell: don't set the NAND frequency select
    2187cb72b98b mtd: rawnand: marvell: ensure timing values are written
    a0843347a96a net: dsa: mv88e6xxx: Increase wait after reset deactivation
    c3fc733798c7 tcp: fix mishandling when the sack compression is deferred.
    eac615ed3c6d net/sched: flower: fix possible OOB write in fl_set_geneve_opt()
    4fc2724f445f iommu/mediatek: Flush IOTLB completely only if domain has been attached
    9316fdd57f25 net/mlx5: Read embedded cpu after init bit cleared
    4156c6ff331a net/mlx5e: Fix error handling in mlx5e_refresh_tirs
    7c3e271626d1 nvme: fix the name of Zone Append for verbose logging
    4e5a5cda3dfd nfsd: fix double fget() bug in __write_ports_addfd()
    401a1cf50bfa udp6: Fix race condition in udp6_sendmsg & connect
    507182f132a8 net/netlink: fix NETLINK_LIST_MEMBERSHIPS length report
    5c05ef3630ca net: sched: fix NULL pointer dereference in mq_attach
    f8884108a2fe net/sched: Prohibit regrafting ingress or clsact Qdiscs
    be3e1f71cb6f net/sched: Reserve TC_H_INGRESS (TC_H_CLSACT) for ingress (clsact) Qdiscs
    1ec1434630b3 net/sched: sch_clsact: Only create under TC_H_CLSACT
    89a0f4dcae43 net/sched: sch_ingress: Only create under TC_H_INGRESS
    d67a5a587c45 net/smc: Don't use RMBs not mapped to new link in SMCRv2 ADD LINK
    8c3ec8e7895e net/smc: Scan from current RMB list when no position specified
    752836e1a206 tcp: Return user_mss for TCP_MAXSEG in CLOSE/LISTEN state if user_mss set
    c2251ce0483d tcp: deny tcp_disconnect() when threads are waiting
    0dec22a09da1 af_packet: do not use READ_ONCE() in packet_bind()
    906134664f33 RDMA/irdma: Fix Local Invalidate fencing
    07322c8a12d6 RDMA/irdma: Prevent QP use after free
    3cf774741459 mtd: rawnand: ingenic: fix empty stub helper definitions
    789394f1df8b perf ftrace latency: Remove unnecessary "--" from --use-nsec option
    7164961a9ce0 amd-xgbe: fix the false linkup in xgbe_phy_status
    d615070b0eb8 tls: improve lockless access safety of tls_err_abort()
    0b64a2bf1699 af_packet: Fix data-races of pkt_sk(sk)->num.
    a2c2364e5f53 netrom: fix info-leak in nr_write_internal()
    ae0ef97f1e2b net: mellanox: mlxbf_gige: Fix skb_panic splat under memory pressure
    724aa4fd9e36 net/mlx5e: Don't attach netdev profile while handling internal error
    9c7ae143a01b net/mlx5: fw_tracer, Fix event handling
    e73b7de4bf96 net/mlx5: SF, Drain health before removing device
    9e49af9766ec net/mlx5: Drain health before unregistering devlink
    ddd8d552a8f8 riscv: Fix unused variable warning when BUILTIN_DTB is set
    72fef70abe18 dmaengine: pl330: rename _start to prevent build error
    bd424277a1f8 nfsd: make a copy of struct iattr before calling notify_change
    dac09fec5b57 iommu/amd: Fix up merge conflict resolution
    817ce9b1d27e iommu/amd: Handle GALog overflows
    c3ff24625a42 iommu/amd: Don't block updates to GATag if guest mode is on
    bf1f3f4aa47d iommu/rockchip: Fix unwind goto issue
    0021441cbbf0 RDMA/bnxt_re: Fix return value of bnxt_re_process_raw_qp_pkt_rx
    dcaa61b73d9c RDMA/bnxt_re: Fix a possible memory leak
    44fc5eb0e267 dmaengine: at_xdmac: fix potential Oops in at_xdmac_prep_interleaved()
    ef8c7616939d RDMA/hns: Modify the value of long message loopback slice
    736e1c4e54e9 RDMA/hns: Fix base address table allocation
    38771c0eefa6 RDMA/hns: Fix timeout attr in query qp for HIP08
    241de3fec11f RDMA/efa: Fix unsupported page sizes in device
    21c0eb064890 phy: amlogic: phy-meson-g12a-mipi-dphy-analog: fix CNTL2_DIF_TX_CTL0 value
    836f874d43ed RDMA/bnxt_re: Fix the page_size used during the MR creation

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodevtool: Fix the wrong variable in srcuri_entry
Charlie Wu [Tue, 13 Jun 2023 12:56:18 +0000 (12:56 +0000)] 
devtool: Fix the wrong variable in srcuri_entry

devtool crashes when running "update-recipe" and append changes on the recipe.
"$ devtool update-recipe -a <layer> <recipe>"
Traceback (most recent call last):
...
File "/ovss/ovss_quanta/poky/scripts/lib/devtool/standard.py", line 1636, in srcuri_entry
    return 'file://%s%s' % (basepath, paramstr)
                            ^^^^^^^^
NameError: cannot access free variable 'basepath' where it is not associated with a value in enclosing scope

The input variable 'fname' should have the same meaning as the variable 'basepath'.
Modify the 'fname' to 'basepath' and solve the issue.

Signed-off-by: Charlie Wu <chiachiwu@google.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogstreamer1.0-plugins-bad: use oneVPL instead of intel-mediasdk for msdk
Markus Volk [Wed, 14 Jun 2023 03:46:05 +0000 (05:46 +0200)] 
gstreamer1.0-plugins-bad: use oneVPL instead of intel-mediasdk for msdk

According to intel, mediasdk is obsolete and should be replaced by oneVPL

https://www.intel.com/content/www/us/en/developer/tools/oneapi/onevpl.html#gs.0kgkse

This also adds video processing support for intel alchemist (in combination with dev-kernel)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agovulkan-validation-layers: cleanup recipe
Vincent Davis Jr [Wed, 14 Jun 2023 06:45:20 +0000 (01:45 -0500)] 
vulkan-validation-layers: cleanup recipe

Commit doesn't change build behavior

* Removes ${libdir} from FILES:${PN} as its not required.
* Updates PACKAGECONFIG to uses just one @bb.utils.filter call.
* Updates GLSLANG_INSTALL_DIR to <recipe-sysroot>/lib${64} as
  that contains the actual directory of the glslang .cmake
  config files.

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoeudev: Upgrade 3.2.11 -> 3.2.12
Alex Kiernan [Tue, 13 Jun 2023 12:46:20 +0000 (13:46 +0100)] 
eudev: Upgrade 3.2.11 -> 3.2.12

Drop upstreamed remove dead g-i-r configuration.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoselftest reproducible.py: support different build targets
Mikko Rapeli [Tue, 13 Jun 2023 08:14:51 +0000 (11:14 +0300)] 
selftest reproducible.py: support different build targets

Allow users to set different build reproducibility targets than
the defaults using OEQA_REPRODUCIBLE_TEST_TARGET and
OEQA_REPRODUCIBLE_TEST_SSTATE_TARGETS variables in local.conf.

Fixing all issues from "world" builds is not possible in some
complex build environments with lots of layers. Limiting the focus to
a smaller subset allows using this test to detect and fix build
reproduction issues incrementally.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agouseradd-staticids.bbclass: improve error message
Mikko Rapeli [Tue, 13 Jun 2023 08:02:16 +0000 (11:02 +0300)] 
useradd-staticids.bbclass: improve error message

Current error message is difficult to read:

ERROR: Nothing PROVIDES 'image'
trs-image was skipped: image - image: normal username test does not have a static ID defined. Add test to one of these files

It's not clear that first "image" is recipe name, second "image" is
binary package name and that "test" is the user account which does not
have a static ID defined. Improve the error message so that these are
more explicit. Now the error message looks like:

image was skipped: Recipe image, package image: normal username "test" does not have a static ID defined.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogtk4: upgrade 4.10.3 -> 4.10.4
Markus Volk [Tue, 13 Jun 2023 06:46:02 +0000 (08:46 +0200)] 
gtk4: upgrade 4.10.3 -> 4.10.4

Overview of Changes in 4.10.4, 05-06 2023
=========================================

* GtkFileChooser
 - Fix some memory leaks

* GtkUriLauncher
 - Validate the uri

* GtkStack
 - Fix a crash

* GtkGridView
 - Respect css border-spacing

* GtkScrolledWindow
 - Propagate child measure size whenever possible

* GtkPopoverMenu:
 - Avoid unnecessary left padding

* GtkSearchEntry:
 - Improve size allocation for the clear icon

* X11
 - Avoid black flickering with xwayland window decorations
 - Trap XRandr errors

* CSS
 - Various fixes to transitions

* Translation updates:
 Basque
 Catalan
 Chinese (China)
 French
 Galician
 Indonesian
 Lithuanian
 Persian
 Russian
 Swedish
 Turkish
 Ukrainian

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoparted: Add missing libuuid to linker cmdline for libparted-fs-resize.so
Khem Raj [Mon, 12 Jun 2023 18:10:54 +0000 (11:10 -0700)] 
parted: Add missing libuuid to linker cmdline for libparted-fs-resize.so

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibstd-rs, rust: use bfd linker instead of gold
Martin Jansa [Mon, 12 Jun 2023 16:33:19 +0000 (18:33 +0200)] 
libstd-rs, rust: use bfd linker instead of gold

* it started to fail only after the upgrade to 1.70.0

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogobject-introspection: remove obsolete DEPENDS
Ross Burton [Mon, 12 Jun 2023 15:37:48 +0000 (16:37 +0100)] 
gobject-introspection: remove obsolete DEPENDS

This recipe uses meson, so doesn't need to DEPEND on autoconf-archive.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogi-docgen: correct comment
Ross Burton [Mon, 12 Jun 2023 15:37:47 +0000 (16:37 +0100)] 
gi-docgen: correct comment

The logic was changed in 874dc891 but the comment was not.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoperl: fix CVE-2023-31484
Soumya [Mon, 12 Jun 2023 03:47:36 +0000 (03:47 +0000)] 
perl: fix CVE-2023-31484

CPAN.pm before 2.35 does not verify TLS certificates when downloading
distributions over HTTPS.

Signed-off-by: Soumya <soumya.sambu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agospirv-tools: Use baselib instead of base_libdir
Vincent Davis Jr [Mon, 12 Jun 2023 03:41:10 +0000 (22:41 -0500)] 
spirv-tools: Use baselib instead of base_libdir

Its only the lib name and not absolute base
libpath thats needed here.

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agobabeltrace2: Always use BFD linker when building tests with ld-is-lld distro feature
Khem Raj [Mon, 12 Jun 2023 02:39:56 +0000 (19:39 -0700)] 
babeltrace2: Always use BFD linker when building tests with ld-is-lld distro feature

lld results in textrels in some .so used in tests, fixes

babeltrace2-ptest: ELF binary /usr/lib/babeltrace2/ptest/tests/lib/test-plugin-plugins/plugin-minimal.so has relocations in .text
babeltrace2-ptest: ELF binary /usr/lib/babeltrace2/ptest/tests/lib/test-plugin-plugins/plugin-sfs.so has relocations in .text [textrel]
ERROR: babeltrace2-2.0.5-r0 do_package_qa: QA Issue: babeltrace2: ELF binary /usr/lib/babeltrace2/plugins/babeltrace-plugin-ctf.so has relocations in .text
babeltrace2: ELF binary /usr/lib/babeltrace2/plugins/babeltrace-plugin-utils.so has relocations in .text
babeltrace2: ELF binary /usr/lib/babeltrace2/plugins/babeltrace-plugin-text.so has relocations in .text [textrel]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoefivar: Upgrade to tip of trunk
Khem Raj [Mon, 12 Jun 2023 01:41:35 +0000 (18:41 -0700)] 
efivar: Upgrade to tip of trunk

Drop all the patches accepted upstream
Additional important changes it fixes build with lld linker

Following changes are brought over from trunk

90e88b2 Allow -a to create a non-existent variable
9306e0b Allow passing of hex values to -A
328f584 Allow overriding PKG_CONFIG
cfd686d Revamp efi_well_known_* variable handling
914c686 Use off_t instead of off64_t
dd901c1 Fix IPv4 and IPv6 Device Path printing
c4138d0 efidp_ipv6_addr: fix gateway size
bfe9a6b format_ipv6_addr_helper(): fix bad port-printing conditional
7c39722 format_ipv6_addr_helper: fix dp_type usage
9a5e710 File device paths: don't print "File(" or ")"
bc65d63 Fix glibc 2.36 build (mount.h conflicts)
1f24726 LLD: fix detection and remove not needed workarounds
01de743 Set LC_ALL=C to force English output from ld
26ad685 Adjust dependency for libefivar and libefiboot objects
ca48d39 src/Makefile: build util.c separately for makeguids
b23aba1 Remove deprecated --add-needed linker flag
6be2cb1 Fix invalid free in main()
df09b47 efisecdb: do not free optarg
cece3ff efisecdb: fix build with musl libc
aab4e9b Fix the -march issue for riscv64
15622b7 Avoid format error on i686
28789d1 Add `extern "C"` to headers for easier use by C++
197a087 Add -T workaround for GNU ld 2.36

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agosystemd-systemctl: support instance expansion in WantedBy
Ian Ray [Sun, 11 Jun 2023 18:17:47 +0000 (21:17 +0300)] 
systemd-systemctl: support instance expansion in WantedBy

Refactor _process_deps to expand systemd instance specifier "%i" to the
template instance.

This change expands on prior commit e510222b57 ("systemd-systemctl: fix
instance template WantedBy symlink construction") by substituting every
"%i" pattern-match with the instance name.

The regexp handles the following cases:

* svc-wants@%i.service

* sys-subsystem-net-devices-%i.device

Signed-off-by: Ian Ray <ian.ray@ge.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agomaintainers.inc: unassign Ricardo Neri from ovmf
Alexander Kanavin [Wed, 14 Jun 2023 09:28:00 +0000 (11:28 +0200)] 
maintainers.inc: unassign Ricardo Neri from ovmf

We were not able to get a response about availability over email, and so the recipe
has to be unassigned.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomaintainers.inc: unassign Oleksandr Kravchuk from python3 and all other items
Alexander Kanavin [Wed, 14 Jun 2023 09:27:59 +0000 (11:27 +0200)] 
maintainers.inc: unassign Oleksandr Kravchuk from python3 and all other items

We were not able to get a response about availability over email, and so the recipes
have to be unassigned.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomaintainers.inc: unassign Chase Qi from libc-test
Alexander Kanavin [Wed, 14 Jun 2023 09:27:58 +0000 (11:27 +0200)] 
maintainers.inc: unassign Chase Qi from libc-test

We were not able to get a response about availability over email, and so the recipe
has to be unassigned.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomaintainers.inc: unassign Alistair Francis from opensbi
Alexander Kanavin [Wed, 14 Jun 2023 09:27:57 +0000 (11:27 +0200)] 
maintainers.inc: unassign Alistair Francis from opensbi

We were not able to get a response about availability over email, and so the recipe
has to be unassigned.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomaintainers.inc: unassign Adrian Bunk from wireless-regdb
Alexander Kanavin [Wed, 14 Jun 2023 09:27:56 +0000 (11:27 +0200)] 
maintainers.inc: unassign Adrian Bunk from wireless-regdb

We were not able to get a response about availability over email, and so the recipe
has to be unassigned.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqemu: a pending patch was submitted and accepted upstream
Alexander Kanavin [Wed, 14 Jun 2023 09:28:27 +0000 (11:28 +0200)] 
qemu: a pending patch was submitted and accepted upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoapmd: remove recipe and apm MACHINE_FEATURE
Alexander Kanavin [Wed, 14 Jun 2023 09:28:26 +0000 (11:28 +0200)] 
apmd: remove recipe and apm MACHINE_FEATURE

APM has been obsolete for a very long time, and debian no longer
packages it or carries the source tarball.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoweston-init: add profile to point users to global socket
Randolph Sapp [Wed, 14 Jun 2023 15:33:31 +0000 (10:33 -0500)] 
weston-init: add profile to point users to global socket

Add profile script to point users capable of interacting with the global
socket to it by default.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoweston-init: guard against systemd configs
Randolph Sapp [Wed, 14 Jun 2023 15:33:30 +0000 (10:33 -0500)] 
weston-init: guard against systemd configs

Just as sysvinit scripts shouldn't be present in a distro using systemd,
systemd scripts shouldn't be present in a system not using systemd.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoweston-init: fix the mixed indentation
Randolph Sapp [Wed, 14 Jun 2023 15:33:29 +0000 (10:33 -0500)] 
weston-init: fix the mixed indentation

I know my text editor is going to get angry at me if this continues.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/selftest/bbtests: add non-existent prefile/postfile tests
Fabien Mahot [Wed, 14 Jun 2023 15:47:49 +0000 (17:47 +0200)] 
oeqa/selftest/bbtests: add non-existent prefile/postfile tests

Fixes [YOCTO #10725]

Signed-off-by: Fabien Mahot <fabien.mahot@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoscripts/runqemu: allocate unfsd ports in a way that doesn't race or clash with unrela...
Alexander Kanavin [Wed, 14 Jun 2023 13:00:47 +0000 (15:00 +0200)] 
scripts/runqemu: allocate unfsd ports in a way that doesn't race or clash with unrelated processes

There is already a neat check_free_port() function for finding an available port
atomically, so use that and make two additional tweaks:

- no need to allocate two separate ports; per unfsd documentation they can be the same

- move lockfile release until after unfsd has been shut down and the port(s) used has been freed

[YOCTO #15077]

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoscripts/runqemu: split lock dir creation into a reusable function
Alexander Kanavin [Wed, 14 Jun 2023 13:00:46 +0000 (15:00 +0200)] 
scripts/runqemu: split lock dir creation into a reusable function

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocve-extra-exclusions: remove 2019 blanket ignores
Ross Burton [Mon, 12 Jun 2023 13:10:31 +0000 (14:10 +0100)] 
cve-extra-exclusions: remove 2019 blanket ignores

Remove the blanket ignore and handle the CVEs individually.

CVE-2019-14899 is related to network interface configuration across
multiple operating systems, so leave this as unresolved.

-3016, -3819 and -3887 are pending CPE updates, so ignore them.

The others have accurate CPE information now so are handled correctly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocve-extra-exclusions: add more ignores for 2023 kernel CVEs
Ross Burton [Mon, 12 Jun 2023 13:10:30 +0000 (14:10 +0100)] 
cve-extra-exclusions: add more ignores for 2023 kernel CVEs

All of these CVEs have been fixed in the kernel point release that we
currently ship, so ignore them.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agouseradd-example: package typo correction
Fabien Mahot [Tue, 13 Jun 2023 15:33:44 +0000 (17:33 +0200)] 
useradd-example: package typo correction

Fixes [YOCTO #15143]

Signed-off-by: Fabien Mahot <fabien.mahot@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocups: Fix CVE-2023-32324
schitrod=cisco.com@lists.openembedded.org [Tue, 13 Jun 2023 11:04:39 +0000 (04:04 -0700)] 
cups: Fix CVE-2023-32324

OpenPrinting CUPS is an open source printing system. In versions 2.4.2
and prior, a heap buffer overflow vulnerability would allow a remote
attacker to launch a denial of service (DoS) attack. A buffer overflow
vulnerability in the function `format_log_line` could allow remote
attackers to cause a DoS on the affected system. Exploitation of the
vulnerability can be triggered when the configuration file `cupsd.conf`
sets the value of `loglevel `to `DEBUG`. No known patches or
workarounds exist at time of publication.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-32324
https://security-tracker.debian.org/tracker/CVE-2023-32324

Upstream Patch:
https://github.com/OpenPrinting/cups/commit/fd8bc2d32589

Signed-off-by: Sanjay Chitroda <schitrod@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibgcc: Always use BFD linker
Khem Raj [Sat, 10 Jun 2023 15:50:22 +0000 (08:50 -0700)] 
libgcc: Always use BFD linker

libgcc is linked with GNU BFD linker make sure it does not assume
default ld to be BFD linker rather demand it explicitly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoglibc: Pass linker choice via compiler flags
Khem Raj [Sat, 10 Jun 2023 15:50:21 +0000 (08:50 -0700)] 
glibc: Pass linker choice via compiler flags

glibc configury tries to detect ld version and assumes BFD or gold
linker but when system ld is pointing to lld or mold it might fail the
linker check, therefore pass LD variable to explicitly point at ld.bfd
we are using BFD linker only to link glibc after all.

Second problem in such a case is that some partial objects are linked
with CC -r which will fail if we do not inform the compiler to use BFD
linker thusly pass it via appending to CC variable

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopsplash: replace Yocto .h by .png splashscreen
Michael Opdenacker [Sat, 10 Jun 2023 06:03:49 +0000 (08:03 +0200)] 
psplash: replace Yocto .h by .png splashscreen

This makes the image easier to modify.

People may not realize they can pass a .png image
to SPLASH_IMAGES, and producing a .h file is more
complicated.

Also provide the source SVG file (though the recipe doesn´t
use it, for easier modification) and support for higher resolutions
than the initial 640x480 image. This SVG file was reconstituted manually
to reproduce what was shown on the qemu86-64 image.

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoweston-init: add the weston user to the wayland group
Randolph Sapp [Sat, 10 Jun 2023 01:13:36 +0000 (20:13 -0500)] 
weston-init: add the weston user to the wayland group

Add the weston user to the wayland group so all users accessing the
global weston socket in /run all share a group.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoweston-init: add weston user to the render group
Randolph Sapp [Sat, 10 Jun 2023 01:13:35 +0000 (20:13 -0500)] 
weston-init: add weston user to the render group

The weston user must be in the render group in order to access render
device nodes for standard user-space graphics.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoweston-init: make sure the render group exists
Randolph Sapp [Sat, 10 Jun 2023 01:13:34 +0000 (20:13 -0500)] 
weston-init: make sure the render group exists

Add the render group explicitly here to make sure it exists for the
useradd command.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agobinutils: move packaging of gprofng static lib into common .inc
Denys Dmytriyenko [Fri, 9 Jun 2023 23:57:26 +0000 (23:57 +0000)] 
binutils: move packaging of gprofng static lib into common .inc

Commit f72fd51e0d (binutils: package static libs from gprofng) added
corresponding FILES:${PN}-staticdev entry to the main .bb recipe.
But binutils-cross-canadian fails with exactly the same QA issue,
hence move FILES:${PN}-staticdev to the common shared .inc file.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agobaremetal-helloworld: Update SRCREV to fix entry addresses for ARM architectures
Alejandro Hernandez Samaniego [Fri, 9 Jun 2023 22:12:42 +0000 (16:12 -0600)] 
baremetal-helloworld: Update SRCREV to fix entry addresses for ARM architectures

Update to the latest SRCREV to bring fixes using the proper entry
addresses for ARM architectures [1], as well as fixing a race condition
in the Makefile during assembly [2].

Fix url in case automatic redirects stop working.

[1] https://github.com/ahcbb6/baremetal-helloqemu/commit/602e82aee7ae95ee50eedb7f40c4a225ec5a3fb9
[2] https://github.com/ahcbb6/baremetal-helloqemu/commit/ea7f59b02467ed1fb36c3b4c6d5cabe702df26ec

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agorunqemu-ifupdown/get-tapdevs: Add support for ip tuntap
Jörg Sommer [Fri, 9 Jun 2023 08:51:06 +0000 (10:51 +0200)] 
runqemu-ifupdown/get-tapdevs: Add support for ip tuntap

The *ip* command supports the creation and destruction of TAP devices since
2009 and might be more likely installed on systems then *tunctl*. Therefore
it should be tried to setup or teardown the TAP interface with *ip* before
falling back to *tunctl*.

https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=580fbd88f75cc9eea0d28a48c025b090eb9419a7

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agorunqemu-gen-tapdevs: Refactoring
Jörg Sommer [Fri, 9 Jun 2023 08:51:05 +0000 (10:51 +0200)] 
runqemu-gen-tapdevs: Refactoring

The changes are mostly about early exit which causes indentation changes;
check with `git diff -w`. Another change is the check for ip by simply
calling it and deciding upon the exit code, if it's fine or not.

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agollvm: Upgrade to 16.0.5
Khem Raj [Fri, 9 Jun 2023 07:33:06 +0000 (00:33 -0700)] 
llvm: Upgrade to 16.0.5

Release notes

16.0.4 - https://discourse.llvm.org/t/16-0-4-release/70692

16.0.5 - https://discourse.llvm.org/t/16-0-5-releae/71097

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibwebp: Fix CVE-2023-1999
nikhil [Wed, 7 Jun 2023 05:23:16 +0000 (10:53 +0530)] 
libwebp: Fix CVE-2023-1999

Add patch to fix CVE-2023-1999

Link: https://github.com/webmproject/libwebp/commit/a486d800b60d0af4cc0836bf7ed8f21e12974129
Signed-off-by: Nikhil R <nikhil.r@kpit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agocommon-licenses: Add LGPL-3.0-with-zeromq-exception
Remi Peuvergne [Tue, 6 Jun 2023 11:41:40 +0000 (13:41 +0200)] 
common-licenses: Add LGPL-3.0-with-zeromq-exception

ZeroMQ is not exactly LGPL-3.0 and has a specific exception.

Signed-off-by: Remi Peuvergne <remi.peuvergne@non.se.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agomtd-utils: export headers and libraries for MTD and UBI
Stefano Babic [Fri, 2 Jun 2023 11:24:26 +0000 (13:24 +0200)] 
mtd-utils: export headers and libraries for MTD and UBI

Mtd-utils has internal libraries (libmtd and libubi) that simplify the
usage and access, and they can be used by applications to access MTD
devices without reinventing the code.

Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agometa: lib: oe: npm_registry: Add more safe caracters
BELOUARGA Mohamed [Wed, 31 May 2023 18:48:19 +0000 (20:48 +0200)] 
meta: lib: oe: npm_registry: Add more safe caracters

NPM registry cache should support caracaters like '(' and ')'
Explanation: NPM packages can contains these caracters like : @(._.)/execute

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibubootenv: upgrade 0.3.3 -> 0.3.4
Stefano Babic [Mon, 5 Jun 2023 07:53:25 +0000 (09:53 +0200)] 
libubootenv: upgrade 0.3.3 -> 0.3.4

Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agocmake: upgrade to v3.26.4
Sudip Mukherjee [Fri, 2 Jun 2023 22:38:23 +0000 (23:38 +0100)] 
cmake: upgrade to v3.26.4

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agodpkg: upgrade to v1.21.22
Sudip Mukherjee [Fri, 2 Jun 2023 21:30:27 +0000 (22:30 +0100)] 
dpkg: upgrade to v1.21.22

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoqemu: Split the qemu package
Mingli Yu [Fri, 9 Jun 2023 03:04:18 +0000 (11:04 +0800)] 
qemu: Split the qemu package

Currently all files as below packaged into one package such as
qemu-7.2.0-*.rpm. After the qemu package installed on the target,
it will take up about 464M which includes not only the one matches
the arch of the target but aslo all available built qemu targets
which set by QEMU_TARGETS.

 # ls tmp-glibc/work/core2-64-wrs-linux/qemu/7.2.0-r0/image/usr/bin/
 qemu-aarch64  qemu-img          qemu-mips64el   qemu-ppc64
 qemu-sh4    qemu-system-loongarch64  qemu-system-ppc      qemu-system-x86_64
 qemu-arm      qemu-io           qemu-mipsel     qemu-ppc64le
 qemu-storage-daemon  qemu-system-mips         qemu-system-ppc64
 qemu-x86_64 qemu-edid     qemu-loongarch64  qemu-mips.real
 qemu-pr-helper  qemu-system-aarch64  qemu-system-mips64
 qemu-system-riscv32 qemu-ga       qemu-mips         qemu-nbd
 qemu-riscv32    qemu-system-arm      qemu-system-mips64el
 qemu-system-riscv64 qemu-i386     qemu-mips64       qemu-ppc
 qemu-riscv64    qemu-system-i386     qemu-system-mipsel qemu-system-sh4

Split the qemu package into qemu-7.2.0-*.rpm, qemu-system-*.rpm,
qemu-user-*.rpm and etc. And let user can only choose the corresponding
qemu arch package they want to install should ease the concerns who
cares much about the size in embedded device as it decreases the qemu rpm
(qemu-7.2.0*.rpm) size from about 65M to about 19M and the size of the
extracted qemu RPM decreased from about 464M to about 248M.

For the users who want to install all arch packages, they can install
qemu-system-all and qemu-user-all to meet their need.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agometa: introduce KCONFIG_CONFIG_ENABLE_MENUCONFIG
Ming Liu [Sat, 13 May 2023 16:05:09 +0000 (18:05 +0200)] 
meta: introduce KCONFIG_CONFIG_ENABLE_MENUCONFIG

Currently, uboot do_menuconfig task is breaking when UBOOT_CONFIG is
chosen rather than UBOOT_MACHINE, it simply fails with the following
errors:
| make: *** No rule to make target 'menuconfig'. Stio.
| Command failed.
| Press any key to continue...

this is due to the work directory of do_menuconfig is set to ${B} but
not ${B}/$config.

We should distinguish two situations:
1) When there is only one config item in UBOOT_CONFIG, do_menuconfig
   should work just like how it works for UBOOT_MACHINE.
2) When there are multiple config items in UBOOT_CONFIG, do_menuconfig
   should print out some information saying it's not supported other
   than just failing.

This patch mainly aims to fix that by introducing a extra variable
KCONFIG_CONFIG_ENABLE_MENUCONFIG, it would be set to 'false' for
situation 2), and when it's set to 'true', then set
KCONFIG_CONFIG_ROOTDIR correctly in uboot-config.bbclass to let
do_menuconfig task work.

DEVTOOL_DISABLE_MENUCONFIG could be replaced by this new variable
KCONFIG_CONFIG_ENABLE_MENUCONFIG.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoweston-init: introduce xwayland PACKAGECONFIG
Ming Liu [Tue, 6 Jun 2023 11:11:50 +0000 (13:11 +0200)] 
weston-init: introduce xwayland PACKAGECONFIG

Some BSPs dont support xwayland in weston, this is easier for them to
control that.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogo: Upgrade 1.20.4 -> 1.20.5
Sakib Sajal [Wed, 7 Jun 2023 22:07:08 +0000 (18:07 -0400)] 
go: Upgrade 1.20.4 -> 1.20.5

Upgrade to latest 1.20.x release:
go.git$ git log --oneline go1.20.4..go1.20.5
e827d41c0a (tag: go1.20.5) [release-branch.go1.20] go1.20.5
c0ed873cd8 [release-branch.go1.20] cmd/go: disallow package directories containing newlines
356a419e2f [release-branch.go1.20] cmd/go: enforce flags with non-optional arguments
fa60c381ed [release-branch.go1.20] cmd/go,cmd/cgo: in _cgo_flags use one line per flag
36144ba429 [release-branch.go1.20] runtime: implement SUID/SGID protections
5036ba77eb [release-branch.go1.20] net: skip TestFileFdBlocks if the "unix" network is not supported
b249ec5655 [release-branch.go1.20] cmd/go/internal: update documentation of go test and go generate
4b95fc1e6c [release-branch.go1.20] cmd/go: save checksums for go.mod files needed for go version lines
31a1e19a59 [release-branch.go1.20] net, os: net.Conn.File.Fd should return a blocking descriptor
450c8021a5 [release-branch.go1.20] runtime: change fcntl to return two values
22741120ee [release-branch.go1.20] runtime: consistently define fcntl
9270e3be8f [release-branch.go1.20] os: if descriptor is non-blocking, retain that in Fd method
600636e931 [release-branch.go1.20] crypto/rsa: use BoringCrypto for 4096 bit keys
afbe101950 [release-branch.go1.20] cmd/compile: fix bswap/load rewrite rules

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agovulkan-validation-layers: add new recipe v1.3.243.0
Vincent Davis Jr [Tue, 6 Jun 2023 15:13:37 +0000 (10:13 -0500)] 
vulkan-validation-layers: add new recipe v1.3.243.0

Add a recipe to build the Khronos official Vulkan validation
layers that can assist developers in verifying that their
applications correctly use the Vulkan APIs.

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agospirv-tools: fix INTERFACE_LINK_LIBRARIES cmake prop
Vincent Davis Jr [Tue, 6 Jun 2023 15:13:35 +0000 (10:13 -0500)] 
spirv-tools: fix INTERFACE_LINK_LIBRARIES cmake prop

The output of spirv-tools specifically SPIRV-ToolsTarget.cmake is
utilized in other recipes. If other recipe utilize cmake and include
SPIRV-Tools in target_link_libraries. I leads to errors such as

error: '../recipe-sysroot/usr/lib',
needed by 'layers/libVkLayer_khronos_validation.so',
missing and no known rule to make it

This is due to cmake pulling in the properties set in
SPIRV-ToolsTarget.cmake. Key property being
INTERFACE_LINK_LIBRARIES.

With the current setup do_install:append:class-target updates
SPIRV-ToolsTarget.cmake package installed file to bellow

set_target_properties(SPIRV-Tools PROPERTIES
    INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
    INTERFACE_LINK_LIBRARIES "${_IMPORT_PREFIX}/lib"
)

set_target_properties(SPIRV-Tools-shared PROPERTIES
    INTERFACE_COMPILE_DEFINITIONS "SPIRV_TOOLS_SHAREDLIB"
    INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
    INTERFACE_LINK_LIBRARIES "${_IMPORT_PREFIX}/lib"
)

If base_libdir isn't lib, but lib64 you get the error
described at the being of commit message as lib directory
doesn't exists.

Solution replace hardcoded "lib" with "${base_libdir}".

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoglib-2.0: upgrade 2.76.2 -> 2.76.3
Anuj Mittal [Wed, 7 Jun 2023 03:25:16 +0000 (11:25 +0800)] 
glib-2.0: upgrade 2.76.2 -> 2.76.3

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agonettle: inherit lib_package
Ross Burton [Thu, 8 Jun 2023 11:59:16 +0000 (12:59 +0100)] 
nettle: inherit lib_package

Nettle is primarily a library that ships some tools, so inherit the
lib_package class to package the tools in nettle-bin, and add a
dependency on it to nettle-ptest.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agonettle: rewrite ptest integration
Ross Burton [Thu, 8 Jun 2023 11:59:15 +0000 (12:59 +0100)] 
nettle: rewrite ptest integration

Instead of patching a relative path to an unversioned libnettle.so to be
a bare filename which then needs nettle-dev to be installed, create a
symlink in the expected place which points to the actual library. This
means nettle-ptest no longer needs to depend on nettle-dev.

Explicitly skip symbols-test, it has been silently failing as nm isn't
available and also needs a static libnettle.a to run.

Install two rsa-* example binaries that are needed for pkcs1-conv-test
to pass.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolighttpd: upgrade 1.4.69 -> 1.4.71
Petr Gotthard [Thu, 8 Jun 2023 11:53:10 +0000 (11:53 +0000)] 
lighttpd: upgrade 1.4.69 -> 1.4.71

lighttpd 1.4.70 omits building separate (unused) modules for:
mod_access mod_alias mod_evhost mod_expire mod_fastcgi mod_indexfile
mod_redirect mod_rewrite mod_scgi mod_setenv mod_simple_vhost mod_staticfile
https://www.lighttpd.net/2023/5/10/1.4.70/

Therefore, the lighttpd-module-indexfile, lighttpd-module-staticfile and
lighttpd-module-access no longer exist and must be removed from
RDEPENDS and RRECOMMENDS.

lighttpd 1.4.71 split out the http/2 support into optional separate
module (mod_h2). By default the mod_h2 is not enabled.
https://www.lighttpd.net/2023/5/27/1.4.71/

Signed-off-by: Petr Gotthard <petr.gotthard@advantech.cz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoselftest/reproducible: Allow native/cross reuse in test
Richard Purdie [Wed, 7 Jun 2023 16:27:36 +0000 (17:27 +0100)] 
selftest/reproducible: Allow native/cross reuse in test

We don't compare reproducibility of the native/cross components, only the
target ones. With the long build times of rust-native, the test now takes
crazy lengths of time so this tweak should allow us to reuse native/cross
artefacts from sstate whilst still testing the target output is
reproducible.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-poetry-core: upgrade 1.5.2 -> 1.6.1
Trevor Gamblin [Fri, 2 Jun 2023 19:04:08 +0000 (15:04 -0400)] 
python3-poetry-core: upgrade 1.5.2 -> 1.6.1

Changelog: https://github.com/python-poetry/poetry-core/blob/main/CHANGELOG.md

Notably, the project replaced its use of tomlkit with tomli, so the
LICENSEs and associated checksums had to be changed.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-webcolors: upgrade 1.12 -> 1.13
Trevor Gamblin [Fri, 2 Jun 2023 16:48:22 +0000 (12:48 -0400)] 
python3-webcolors: upgrade 1.12 -> 1.13

Replaced the inherit of setuptools3 with python_setuptools_build_meta to
make the new version build.

Changelog (see https://webcolors.readthedocs.io/en/latest/changelog.html):

- Supported Python versions are now 3.7, 3.8, 3.9, 3.10, and 3.11
- The codebase was significantly reorganized and modernized. Public API
  is unchanged. Imports should continue to be directly from the
  top-level webcolors module; attempting to import from submodules is not
  supported.
- Now packaging declaratively via pyproject.toml with PEP 517 support
  from setuptools.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agorust: Upgrade 1.69.0 -> 1.70.0
Alex Kiernan [Fri, 2 Jun 2023 15:59:21 +0000 (16:59 +0100)] 
rust: Upgrade 1.69.0 -> 1.70.0

Drop 0035-cmake-Enable-64bit-off_t-on-32bit-glibc-systems.patch as this
is merged upstream in rust-llvm.

https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoopenssh: Remove BSD-4-clause contents completely from codebase
Riyaz Khan [Thu, 1 Jun 2023 10:08:54 +0000 (15:38 +0530)] 
openssh: Remove BSD-4-clause contents completely from codebase

Below upstream commit removed BSD-4-Clause from the LICENSE variable,
Link: https://git.yoctoproject.org/poky/commit/?id=2c86f586d55d0f6b99053e3e4d14c9ee36fa8aa8
But actually if we check from the source code of the openssh for this
version (8.9p1), there are some files (openbsd-compat/libressl-api-compat.c)
still affected.

As upstream removed this BSD-4-clause license, there are still some files
has this license. Below file is affected by this BSD-4-clause contents when
the below command is executed
grep -rl "All advertising materials mentioning features or use of this software" *|grep -v \.1|grep -v \.5|grep -v \.8 | sort
openbsd-compat/libressl-api-compat.c

All advertising materials mentioning features or use of this software

Reason for backporting is some of the product restrict the BSD-4-Clause usage and the purpose of this commit is
to completely remove the BSD-4-Clause license from the openssh.

When checked in the master branch, openssh upstream removes the bsd-4 license compeletely from this commit
https://github.com/openssh/openssh-portable/commit/7280401bdd77ca54be6867a154cc01e0d72612e0
Hence Backport this commit completely to remove license of BSD-4-clause contents from code. Hunks are refreshed.

Signed-off-by: Riyaz Khan <Riyaz.Khan@kpit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Wed, 7 Jun 2023 10:09:20 +0000 (11:09 +0100)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoimage_types: Fix reproducible builds for initramfs and UKI img
Frieder Paape [Mon, 5 Jun 2023 09:00:33 +0000 (09:00 +0000)] 
image_types: Fix reproducible builds for initramfs and UKI img

I've encountered issues reproducing initramfs and UKI image builds,
which will be fixed with this patch.

1. initramfs
There's a symbolic link to /sbin/init, which is appended to the cpio archive after creation.
The links timestamp needs to be static and the cpio append command needs the '--reproducible' flag to produce deterministic outcomes.

2. Unified Kernel Image
'--preserve-dates' is required for a static 'Time/Date' entry.
I've added '--enable-deterministic-archives' although in my case this
didn't change anything.

Signed-off-by: Frieder Paape <frieder@konvera.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopackagegroup: Handle SPDX signature issues
Richard Purdie [Thu, 1 Jun 2023 21:45:04 +0000 (22:45 +0100)] 
packagegroup: Handle SPDX signature issues

Packagegroups have "special" sstate signature behaviour in that they don't rebuild
when their dependencies do. This causes problems for SPDX task signatures. Since
packagegroups don't actually have any code in them, we don't need the standard
dependencies anyway so cancel out and allow the sstate signatures to function
correctly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosstatesig: Drop SPDX special casing
Richard Purdie [Thu, 1 Jun 2023 21:43:51 +0000 (22:43 +0100)] 
sstatesig: Drop SPDX special casing

Other changes in create-spdx code mean we shouldn't need to do this now. We
need the various exclusions to allow the task hashes to behave correctly
for the SPDX tasks too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoopenssl: fix building on riscv32
Dmitry Baryshkov [Mon, 5 Jun 2023 22:15:25 +0000 (01:15 +0300)] 
openssl: fix building on riscv32

On riscv32 configurations OpenSSL fails to build with "undefined
reference to `__atomic_foo'" kind of errors. Change OpenSSL recipe to
use linux-latomic configuration instead of linux-generic32.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocve-extra-exclusions: add more linux-yocto CVE ignores
Ross Burton [Mon, 5 Jun 2023 16:25:46 +0000 (17:25 +0100)] 
cve-extra-exclusions: add more linux-yocto CVE ignores

These CVEs have all been fixed <6.1.30, which is the default linux-yocto
kernel version.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoglib-networking: upgrade 2.74.0 -> 2.76.0
Anuj Mittal [Tue, 6 Jun 2023 05:16:48 +0000 (13:16 +0800)] 
glib-networking: upgrade 2.74.0 -> 2.76.0

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agostress-ng: upgrade 0.15.07 -> 0.15.08
Anuj Mittal [Tue, 6 Jun 2023 05:16:47 +0000 (13:16 +0800)] 
stress-ng: upgrade 0.15.07 -> 0.15.08

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0: upgrade 1.22.2 -> 1.22.3
Anuj Mittal [Tue, 6 Jun 2023 05:16:46 +0000 (13:16 +0800)] 
gstreamer1.0: upgrade 1.22.2 -> 1.22.3

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosystemtap: upgrade 4.8 -> 4.9
Victor Kamensky [Tue, 6 Jun 2023 04:30:05 +0000 (21:30 -0700)] 
systemtap: upgrade 4.8 -> 4.9

SystemTap 4.9 release went out with a little hick up: release date was not
set correctly and fix for it was added as ebb424eee5599fcc131901c0d82d0bfc0d2f57ab
commit and tagged as 'release-4.9'. Unfortunately by that time 'master'
branch already has moved on, and it turns out that now 'release-4.9' tag does
not belong to any branch. On other hand OE SRC_URI does complain about git
uri without branch. To deal with it we will use SRCREV set to
418f0a45ca4473491385b5c7eef777607bbdb3b7, commit one that precedes
ebb424eee5599fcc131901c0d82d0bfc0d2f57ab, and add separate patch for
ebb424eee5599fcc131901c0d82d0bfc0d2f57ab as 0001-release-date-fix.patch.

Note for any future version move: please remove 0001-release-date-fix.patch

Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agov86d: Improve kernel dependency
Richard Purdie [Tue, 6 Jun 2023 10:41:42 +0000 (11:41 +0100)] 
v86d: Improve kernel dependency

Working with enabling SPDX, an issue was observerd where v86d wasn't rebuilding
when the kernel was changed from linux-yocto to linux-yocto-rt.

This is due to the code in sstatesig.py which was seeing the RRECOMMENDS on a
kernel module and ignoring the DEPENDS. The v86d is technically a kernel module
since it uses kernel header files.

There are two ways to address this, we could inherit the module-base class and
the dependency code does the correct thing. It appears the code doesn't look into
STAGING_KERNEL_DIR though and doesn't use the kernel sources. We can therefore drop
the DEPENDS and the code will the do the correct thing.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqemurunner.py: fix error message about qmp
Chen Qi [Mon, 5 Jun 2023 09:00:02 +0000 (02:00 -0700)] 
qemurunner.py: fix error message about qmp

The error message is a little misleading as the qmp module is a
directory with __init__.py file, not qmp.py file. Also, put the
path where we try to import it from in the error message to make
the message more indicative.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobinutils: fix CVE-2023-1972
Ross Burton [Mon, 5 Jun 2023 16:24:13 +0000 (17:24 +0100)] 
binutils: fix CVE-2023-1972

Backport a patch from upstream to fix CVE-2023-1972.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogit: upgrade to 2.39.3
Ross Burton [Mon, 5 Jun 2023 15:33:33 +0000 (16:33 +0100)] 
git: upgrade to 2.39.3

This minor point release fixes CVE-2023-25652 and CVE-2023-29007.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoghostscript: upgrade to 10.01.1
Ross Burton [Mon, 5 Jun 2023 14:43:44 +0000 (15:43 +0100)] 
ghostscript: upgrade to 10.01.1

Drop the merged fix for CVE-2023-28879.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopkgconf: upgrade 1.9.4 -> 1.9.5
Ross Burton [Mon, 5 Jun 2023 13:52:41 +0000 (14:52 +0100)] 
pkgconf: upgrade 1.9.4 -> 1.9.5

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopiglit: upgrade to latest revision
Ross Burton [Mon, 5 Jun 2023 13:52:40 +0000 (14:52 +0100)] 
piglit: upgrade to latest revision

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogtk+3: upgrade 3.24.37 -> 3.24.38
Ross Burton [Mon, 5 Jun 2023 13:52:39 +0000 (14:52 +0100)] 
gtk+3: upgrade 3.24.37 -> 3.24.38

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agovulkan-samples: fix build on 32-bit platforms
Ross Burton [Mon, 5 Jun 2023 13:52:38 +0000 (14:52 +0100)] 
vulkan-samples: fix build on 32-bit platforms

Backport a patch from upstream to fix the build on 32-bit platforms, and
remove the COMPATIBLE_HOST restriction.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto/6.1: update to v6.1.32
Bruce Ashfield [Mon, 5 Jun 2023 16:28:55 +0000 (12:28 -0400)] 
linux-yocto/6.1: update to v6.1.32

Updating  to the latest korg -stable release that comprises
the following commits:

    76ba310227d2 Linux 6.1.32
    cd51ba98aeaa tools headers UAPI: Sync the linux/in.h with the kernel sources
    2cd02ae65654 netfilter: ctnetlink: Support offloaded conntrack entry deletion
    55ce796e9b0a cpufreq: amd-pstate: Add ->fast_switch() callback
    c18f6919b4e7 cpufreq: amd-pstate: Update policy->cur in amd_pstate_adjust_perf()
    efc8ec1636fa block: fix bio-cache for passthru IO
    5d08604754e8 Revert "thermal/drivers/mellanox: Use generic thermal_zone_get_trip() function"
    2333dbc88f38 bluetooth: Add cmd validity checks at the start of hci_sock_ioctl()
    6c1fad655b40 drm/amd: Don't allow s0ix on APUs older than Raven
    83a7f27c5b94 octeontx2-af: Add validation for lmac type
    3236221bb8e4 RDMA/rxe: Fix the error "trying to register non-static key in rxe_cleanup_task"
    592af07ac0c8 wifi: iwlwifi: mvm: fix potential memory leak
    0c469078bde4 wifi: iwlwifi: mvm: support wowlan info notification version 2
    b5ceb6aac607 wifi: rtw89: correct 5 MHz mask setting
    07c8c1a3cfcf net: phy: mscc: enable VSC8501/2 RGMII RX clock
    7c95f56995c6 page_pool: fix inconsistency for page_pool_ring_[un]lock()
    7dccd5fa7edb net: page_pool: use in_softirq() instead
    cd3c5e4e0d60 vfio/type1: check pfn valid before converting to struct page
    6793a3c6326e blk-mq: fix race condition in active queue accounting
    fe735073a50e bpf, sockmap: Incorrectly handling copied_seq
    dd628fc697ee bpf, sockmap: Wake up polling after data copy
    ab90b68f650e bpf, sockmap: TCP data stall on recv before accept
    3a2129ebae35 bpf, sockmap: Handle fin correctly
    ba4fec5bd6f8 bpf, sockmap: Improved check for empty queue
    1e4e379ccde8 bpf, sockmap: Reschedule is now done through backlog
    9f4d7efb3345 bpf, sockmap: Convert schedule_work into delayed_work
    4ae2af3e59e2 bpf, sockmap: Pass skb ownership through read_skb
    49b5b5bfeef1 gpio-f7188x: fix chip name and pin count on Nuvoton chip
    085f27f48c84 net/mlx5: E-switch, Devcom, sync devcom events and devcom comp register
    3347ac7a8160 tls: rx: strp: preserve decryption status of skbs when needed
    ba93977437e7 tls: rx: strp: factor out copying skb data
    52a89de3e9f2 tls: rx: strp: force mixed decrypted records into copy mode
    c48b8399e430 tls: rx: strp: fix determining record length in copy mode
    ecd9f6ed9ed2 tls: rx: strp: set the skb->len of detached / CoW'ed skbs
    e734a693a24c tls: rx: device: fix checking decryption status
    b3e54fb3a35d platform/x86/amd/pmf: Fix CnQF and auto-mode after resume
    8e8c33cc89a0 selftests/bpf: Fix pkg-config call building sign-file
    ca39992f1048 firmware: arm_ffa: Fix usage of partition info get count flag
    3f5413c95445 ipv{4,6}/raw: fix output xfrm lookup wrt protocol
    6728486447ee inet: Add IP_LOCAL_PORT_RANGE socket option

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto/6.1: update to v6.1.31
Bruce Ashfield [Mon, 5 Jun 2023 16:28:54 +0000 (12:28 -0400)] 
linux-yocto/6.1: update to v6.1.31

Updating  to the latest korg -stable release that comprises
the following commits:

    d2869ace6eeb Linux 6.1.31
    2f32b89d8120 net: phy: mscc: add VSC8502 to MODULE_DEVICE_TABLE
    3bcb97e4241b 3c589_cs: Fix an error handling path in tc589_probe()
    9540765d1882 net/smc: Reset connection when trying to use SMCRv2 fails.
    be4022669e66 regulator: mt6359: add read check for PMIC MT6359
    22157f744581 firmware: arm_ffa: Set reserved/MBZ fields to zero in the memory descriptors
    1ae70faa86fd arm64: dts: imx8mn-var-som: fix PHY detection bug by adding deassert delay
    3e8a82fb55a6 net/mlx5: Devcom, serialize devcom registration
    eaa365c10459 net/mlx5: Devcom, fix error flow in mlx5_devcom_register_device
    411e4d6caa7f net/mlx5: Collect command failures data only for known commands
    390aa5c006b3 net/mlx5: Fix error message when failing to allocate device memory
    59dd110ca241 net/mlx5: DR, Check force-loopback RC QP capability independently from RoCE
    b17294e7aa8c net/mlx5: Handle pairing of E-switch via uplink un/load APIs
    e501ab136691 net/mlx5: DR, Fix crc32 calculation to work on big-endian (BE) CPUs
    6f0dce5f7822 net/mlx5e: do as little as possible in napi poll when budget is 0
    00959a1bad58 net/mlx5e: Use correct encap attribute during invalidation
    362063df6cee net/mlx5e: Fix deadlock in tc route query code
    2051f762c508 net/mlx5e: Fix SQ wake logic in ptp napi_poll context
    47b4f741a3f6 platform/mellanox: mlxbf-pmc: fix sscanf() error checking
    04238c23853a forcedeth: Fix an error handling path in nv_probe()
    0392c9185d71 sctp: fix an issue that plpmtu can never go to complete state
    c9e09b070d0b cxl: Wait Memory_Info_Valid before access memory related info
    ad72cb5899ce ASoC: Intel: avs: Access path components under lock
    6ae9cf40b4e0 ASoC: Intel: avs: Fix declaration of enum avs_channel_config
    5eaaad19c82c ASoC: Intel: Skylake: Fix declaration of enum skl_ch_cfg
    d8cfe5ccc98e x86/show_trace_log_lvl: Ensure stack pointer is aligned, again
    a7edc86e149e xen/pvcalls-back: fix double frees with pvcalls_new_active_socket()
    53384076f743 x86/pci/xen: populate MSI sysfs entries
    84b211b02894 ARM: dts: imx6qdl-mba6: Add missing pvcie-supply regulator
    225a5f394b09 coresight: Fix signedness bug in tmc_etr_buf_insert_barrier_packet()
    55224690958c platform/x86: ISST: Remove 8 socket limit
    f34428b5a373 regulator: pca9450: Fix BUCK2 enable_mask
    ccc6e9ded63b fs: fix undefined behavior in bit shift for SB_NOUSER
    dfc5aaa57f52 firmware: arm_ffa: Fix FFA device names for logical partitions
    ad73dc7263ea firmware: arm_ffa: Check if ffa_driver remove is present before executing
    06ec5be89118 optee: fix uninited async notif value
    9c744c6ff238 power: supply: sbs-charger: Fix INHIBITED bit for Status reg
    71e60a58d7f6 power: supply: bq24190: Call power_supply_changed() after updating input current
    1f02bfd5d94c power: supply: bq25890: Call power_supply_changed() after updating input current or voltage
    57842035d298 power: supply: bq27xxx: After charger plug in/out wait 0.5s for things to stabilize
    221f7cb12285 power: supply: bq27xxx: Ensure power_supply_changed() is called on current sign changes
    3c573e7910c6 power: supply: bq27xxx: Move bq27xxx_battery_update() down
    9108ede08d7a power: supply: bq27xxx: Add cache parameter to bq27xxx_battery_current_and_status()
    d952a1eaafcc power: supply: bq27xxx: Fix poll_interval handling and races on remove
    e65fee45687f power: supply: bq27xxx: Fix I2C IRQ race on remove
    d746fbf4f09c power: supply: bq27xxx: Fix bq27xxx_battery_update() race condition
    e1073f81478f power: supply: mt6360: add a check of devm_work_autocancel in mt6360_charger_probe
    2ac38f130e5b power: supply: leds: Fix blink to LED on transition
    94373413e13d cifs: mapchars mount option ignored
    91dd8aab9c9f ipv6: Fix out-of-bounds access in ipv6_find_tlv()
    9bc1dbfd9158 lan966x: Fix unloading/loading of the driver
    1a9e80f757bb bpf: fix a memory leak in the LRU and LRU_PERCPU hash maps
    177ee41f6162 bpf: Fix mask generation for 32-bit narrow loads of 64-bit fields
    a1d7c357f4dc octeontx2-pf: Fix TSOv6 offload
    4883d9e2a221 selftests: fib_tests: mute cleanup error message
    722af06e6100 drm: fix drmm_mutex_init()
    cc18b4685910 net: fix skb leak in __skb_tstamp_tx()
    8d81d3b0ed36 ASoC: lpass: Fix for KASAN use_after_free out of bounds
    53764a17f5d8 media: radio-shark: Add endpoint checks
    d5dba4b7bf90 USB: sisusbvga: Add endpoint checks
    09e9d1f52f97 USB: core: Add routines for endpoint checks in old drivers
    2a112f04629f udplite: Fix NULL pointer dereference in __sk_mem_raise_allocated().
    ed66e6327a69 net: fix stack overflow when LRO is disabled for virtual interfaces
    c8fdf7feca77 fbdev: udlfb: Fix endpoint check
    d7fff52c99d5 debugobjects: Don't wake up kswapd from fill_pool()
    8694853768e3 irqchip/mips-gic: Use raw spinlock for gic_lock
    dc1b7641a989 irqchip/mips-gic: Don't touch vl_map if a local interrupt is not routable
    4ca6b06e9be2 x86/topology: Fix erroneous smp_num_siblings on Intel Hybrid platforms
    ed0ef89508d2 perf/x86/uncore: Correct the number of CHAs on SPR
    f3078be2febb drm/amd/amdgpu: limit one queue per gang
    34570f85a282 selftests/memfd: Fix unknown type name build failure
    931ea1ed31be binder: fix UAF of alloc->vma in race with munmap()
    e1e198eff1fb binder: fix UAF caused by faulty buffer cleanup
    d7cee853bcb0 binder: add lockless binder_alloc_(set|get)_vma()
    72a94f8c14a1 Revert "android: binder: stop saving a pointer to the VMA"
    7e6b8548549e Revert "binder_alloc: add missing mmap_lock calls when using the VMA"
    8069bcaa5b39 drm/amd/pm: Fix output of pp_od_clk_voltage
    6acfbdda4d06 drm/amd/pm: add missing NotifyPowerSource message mapping for SMU13.0.7
    8756863c7fe0 drm/radeon: reintroduce radeon_dp_work_func content
    3897ac532af0 drm/mgag200: Fix gamma lut not initialized.
    3970ee926e7e dt-binding: cdns,usb3: Fix cdns,on-chip-buff-size type
    937264cd9aab btrfs: use nofs when cleaning up aborted transactions
    63e12910b7f5 gpio: mockup: Fix mode of debugfs files
    b49706d1799a parisc: Handle kprobes breakpoints only in kernel context
    5596e2ef5f1a parisc: Enable LOCKDEP support
    d935edd510d7 parisc: Allow to reboot machine after system halt
    c49ffd89b66e parisc: Fix flush_dcache_page() for usage from irq context
    c0993b463fe7 parisc: Handle kgdb breakpoints only in kernel context
    e1f14a407140 parisc: Use num_present_cpus() in alternative patching code
    bd90ac0002d1 xtensa: add __bswap{si,di}2 helpers
    522bbbfcb612 xtensa: fix signal delivery to FDPIC process
    084566050891 m68k: Move signal frame following exception on 68020/030
    6147745d43ff net: cdc_ncm: Deal with too low values of dwNtbOutMaxSize
    da1e8adab366 ASoC: rt5682: Disable jack detection interrupt during suspend
    72c28207c19c power: supply: bq25890: Fix external_power_changed race
    0456b912121e power: supply: axp288_fuel_gauge: Fix external_power_changed race
    7d5e0150eeec mmc: block: ensure error propagation for non-blk
    a24aec210aa5 mmc: sdhci-esdhc-imx: make "no-mmc-hs400" works
    0d97634ad498 SUNRPC: Don't change task->tk_status after the call to rpc_exit_task
    40599969ff58 ALSA: hda/realtek: Enable headset onLenovo M70/M90
    7d3d306f159e ALSA: hda: Fix unhandled register update during auto-suspend period
    5222e81afa26 ALSA: hda/ca0132: add quirk for EVGA X299 DARK
    688c9af6e5fc platform/x86/intel/ifs: Annotate work queue on stack so object debug does not complain
    c26b9e193172 x86/mm: Avoid incomplete Global INVLPG flushes
    4eb600f386ef arm64: Also reset KASAN tag if page is not PG_mte_tagged
    8bdf47f9dbea ocfs2: Switch to security_inode_init_security()
    28ee628fff1e drm/amd/display: hpd rx irq not working with eDP interface
    7bfd4c0ebcb4 net: dsa: mv88e6xxx: Add RGMII delay to 88E6320
    66ede2e4235f platform/x86: hp-wmi: Fix cast to smaller integer type warning
    0dbc898f5917 skbuff: Proactively round up to kmalloc bucket size
    ac2f5739fdca drm/amdgpu/mes11: enable reg active poll
    a2fe4534bb38 drm/amd/amdgpu: update mes11 api def
    ae9e65319f99 watchdog: sp5100_tco: Immediately trigger upon starting.
    7cd46930b8bf tpm: Prevent hwrng from activating during resume
    25d38d5eaa1f tpm: Re-enable TPM chip boostrapping non-tpm_tis TPM drivers
    e76f61a2c523 tpm, tpm_tis: startup chip before testing for interrupts
    9953dbf65f92 tpm_tis: Use tpm_chip_{start,stop} decoration inside tpm_tis_resume
    c5a5d33886a7 tpm, tpm_tis: Only handle supported interrupts
    5c4c8075bc8a tpm, tpm_tis: Avoid cache incoherency in test for interrupts
    1ec145277a26 usb: dwc3: fix gadget mode suspend interrupt handler issue

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/selftest/wic: Fix host contamination issue
Richard Purdie [Fri, 2 Jun 2023 17:00:46 +0000 (18:00 +0100)] 
oeqa/selftest/wic: Fix host contamination issue

If wic.Wic2.test_gpt_partition_name is run on a system without sfdisk, the test
will currently fail. As done in another test, it needs to use sfdisk from the
wic-tools sysroot. This patch fixes that host contamination issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoninja: ignore CVE-2021-4336, wrong ninja
Ross Burton [Mon, 5 Jun 2023 15:35:27 +0000 (16:35 +0100)] 
ninja: ignore CVE-2021-4336, wrong ninja

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoclasses/create-spdx-2.2: Make license errors fatal
Joshua Watt [Thu, 1 Jun 2023 20:32:20 +0000 (15:32 -0500)] 
classes/create-spdx-2.2: Make license errors fatal

Otherwise the task is still put into sstate, which means the error can
effectively be hidden by ignoring it.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>