summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* linux-yocto/6.1: update to v6.1.12Bruce Ashfield2023-03-033-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the latest korg -stable release that comprises the following commits: 129c15b60627 Linux 6.1.12 da1ae884562c Documentation/hw-vuln: Add documentation for Cross-Thread Return Predictions 40c4fdfc942e KVM: x86: Mitigate the cross-thread return address predictions bug cc95b5d240b6 x86/speculation: Identify processors vulnerable to SMT RSB predictions 7fa83855852e drm/i915: Fix VBT DSI DVO port handling baaed8c92927 drm/i915: Initialize the obj flags for shmem objects bfa700d12274 drm/i915: Move fd_install after last use of fence 5af27a53a881 drm/amd/display: fix cursor offset on rotation 180 8d81e1c6865e drm/amd/display: properly handling AGP aperture in vm setup 4609e1773222 drm/amdgpu/smu: skip pptable init under sriov 2bcbbef9cace drm/amdgpu/fence: Fix oops due to non-matching drm_sched init/fini d82e6903b395 drm/amd/pm: bump SMU 13.0.7 driver_if header version e379d5662c26 drm/amdgpu: Add unique_id support for GC 11.0.1/2 daaa0760cd0b drm/amd/pm: bump SMU 13.0.0 driver_if header version 346631d52a42 arm64: efi: Force the use of SetVirtualAddressMap() on eMAG and Altra Max machines 3b4c045a98f5 Fix page corruption caused by racy check in __free_pages 274d9a28527d arm64: dts: meson-axg: Make mmc host controller interrupts level-sensitive 222b1070b0fa arm64: dts: meson-g12-common: Make mmc host controller interrupts level-sensitive a01ad536becb arm64: dts: meson-gx: Make mmc host controller interrupts level-sensitive 446ac8dd8997 rtmutex: Ensure that the top waiter is always woken up 386a8d694f95 tracing: Fix TASK_COMM_LEN in trace event format file a2e60fee4b76 drm/amdgpu: Use the TGID for trace_amdgpu_vm_update_ptes 6f097c24815e powerpc/64s/interrupt: Fix interrupt exit race with security mitigation switch 026cae99d064 riscv: kprobe: Fixup misaligned load text 7d151eccd07a riscv: Fixup race condition on PG_dcache_clean in flush_icache_pte 9f55a0a2d94f nvdimm: Support sizeof(struct page) > MAX_STRUCT_PAGE_SIZE a89868254cd2 ceph: flush cap releases when the session is flushed 62890f3eabf8 drm/amd/pm: add SMU 13.0.7 missing GetPptLimit message mapping 7d2cd4736d1a pinctrl: qcom: sm8450-lpass-lpi: correct swr_rx_data group ab6fd64dda2b clk: ingenic: jz4760: Update M/N/OD calculation algorithm 15f9f8eb3b8b cxl/region: Fix passthrough-decoder detection a04c7d062b53 cxl/region: Fix null pointer dereference for resetting decoder 01815a1caf2f usb: typec: altmodes/displayport: Fix probe pin assign check db9c4a94b629 usb: core: add quirk for Alcor Link AK9563 smartcard reader 51aa10112b12 btrfs: free device in btrfs_close_devices for a single device filesystem 1ab4bed3fc8b btrfs: simplify update of last_dir_index_offset when logging a directory f676c8a69588 selftests: mptcp: stop tests earlier b7692fb9a2b0 selftests: mptcp: allow more slack for slow test-case ba36772a1cc9 mptcp: be careful on subflow status propagation on errors e266ad04ec39 mptcp: do not wait for bare sockets' timeout 0d2cf3fae701 net: USB: Fix wrong-direction WARNING in plusb.c 3684a2f6affa cifs: Fix use-after-free in rdata->read_into_pages() 33dd18fbbb2d pinctrl: intel: Restore the pins that used to be in Direct IRQ mode 3319d7292568 pinctrl: aspeed: Revert "Force to disable the function's signal" ebe63349cd48 spi: dw: Fix wrong FIFO level setting for long xfers bcc487001a15 pinctrl: single: fix potential NULL dereference 9eab7b053947 pinctrl: aspeed: Fix confusing types in return value b048b969b362 pinctrl: mediatek: Fix the drive register definition of some Pins 6353ebac4612 clk: microchip: mpfs-ccc: Use devm_kasprintf() for allocating formatted strings dcfe5431fb0f ASoC: topology: Return -ENOMEM on memory allocation failure 3b858f23cefb ASoC: fsl_sai: fix getting version from VERID 84560e33cea5 ASoC: tas5805m: add missing page switch. 3e984873e4ac ASoC: tas5805m: rework to avoid scheduling while atomic. 0f3d5c12b612 arm64: dts: mediatek: mt8195: Fix vdosys* compatible strings 12773070b09b riscv: stacktrace: Fix missing the first frame 885f729b249f ALSA: pci: lx6464es: fix a debug loop 65473ade5062 arm64: dts: rockchip: set sdmmc0 speed to sd-uhs-sdr50 on rock-3a 10150d350917 arm64: dts: rockchip: fix input enable pinconf on rk3399 81685c59dc4b selftests: forwarding: lib: quote the sysctl values 399f1cccc447 net: mscc: ocelot: fix all IPv6 getting trapped to CPU when PTP timestamping is used 1d52bbfd469a rds: rds_rm_zerocopy_callback() use list_first_entry() da32c2d9f64b selftests: Fix failing VXLAN VNI filtering test 0ae9d81109e9 txhash: fix sk->sk_txrehash default 44a265af4aa9 net: ethernet: mtk_eth_soc: fix wrong parameters order in __xdp_rxq_info_reg() 5f9c656ab2c4 igc: Add ndo_tx_timeout support 190296d51b46 net/mlx5: Serialize module cleanup with reload and remove b266f3158171 net/mlx5: fw_tracer, Zero consumer index when reloading the tracer 525e29974e3c net/mlx5: fw_tracer, Clear load bit when freeing string DBs buffers ee128b700fd0 net/mlx5: Expose SF firmware pages counter bbdfebb08ff5 net/mlx5: Store page counters in a single array 5ccc3707e975 net/mlx5e: IPoIB, Show unknown speed instead of error 026eb3e01a3d net/mlx5e: Fix crash unsetting rx-vlan-filter in switchdev mode 1e9b6d279db1 net/mlx5: Bridge, fix ageing of peer FDB entries aee099bb0cd4 net/mlx5e: Update rx ring hw mtu upon each rx-fcs flag change 4d15289c22fa net: mscc: ocelot: fix VCAP filters not matching on MAC with "protocol 802.1Q" 139c759823b0 net: dsa: mt7530: don't change PVC_EG_TAG when CPU port becomes VLAN-aware 47f4ff6f23f0 ice: switch: fix potential memleak in ice_add_adv_recipe() 8eeca43d8e7e ice: Fix disabling Rx VLAN filtering with port VLAN enabled df59e0540145 ice: Do not use WQ_MEM_RECLAIM flag for workqueue 437f8892ece7 nvidiafb: detect the hardware support before removing console. c47c2b173d0c cpuset: Call set_cpus_allowed_ptr() with appropriate mask for task 5489930113dc drm/virtio: exbuf->fence_fd unmodified on interrupted wait d05b72328810 drm/i915: Don't do the WM0->WM1 copy w/a if WM1 is already enabled 16da5f6d38ac HID: amd_sfh: if no sensors are enabled, clean up c0eb3c0cdd1b net: microchip: sparx5: fix PTP init/deinit not checking all ports 89c0c69fc739 uapi: add missing ip/ipv6 header dependencies for linux/stddef.h c97c7c3103a3 cpufreq: qcom-hw: Fix cpufreq_driver->get() for non-LMH systems 07154f94c213 ionic: missed doorbell workaround a16f6ea194fe ionic: refactor use of ionic_rx_fill() db34b5352e92 ionic: clean interrupt before enabling queue to avoid credit race 95e29c11abe5 net: phy: meson-gxl: use MMD access dummy stubs for GXL, internal PHY 9c6a896b8d40 net: macb: Perform zynqmp dynamic configuration only for SGMII interface d974330c1d99 bonding: fix error checking in bond_debug_reregister() a65723e299dc net: phylink: move phy_device_free() to correctly release phy device a7f0ec26cd67 of: Make OF framebuffer device names unique 5954eaab6bb7 xfrm: fix bug with DSCP copy to v6 from v4 tunnel d53903cc2396 RDMA/usnic: use iommu_map_atomic() under spin_lock() 360682fe7df2 RDMA/irdma: Fix potential NULL-ptr-dereference f6d8b6762bee xfrm: annotate data-race around use_time 7197460dcd43 IB/IPoIB: Fix legacy IPoIB due to wrong number of queues 419674224390 xfrm/compat: prevent potential spectre v1 gadget in xfrm_xlate32_attr() 0a4f811f2e5d IB/hfi1: Restore allocated resources on failed copyout cf118814ae89 xfrm: compat: change expression for switch in xfrm_xlate64 3fc0b7b7e9a5 HID: logitech: Disable hi-res scrolling on USB c86e6d30c522 can: j1939: do not wait 250 ms if the same addr was already claimed ad7e46427f92 of/address: Return an error when no valid dma-ranges are found 0a3e60b3fe49 tracing: Fix poll() and select() do not work on per_cpu trace_pipe and trace_pipe_raw 5c4bd3f2f6eb Revert "PCI/ASPM: Refactor L1 PM Substates Control Register programming" 3361eb2256f9 Revert "PCI/ASPM: Save L1 PM Substates Capability for suspend/resume" 63380b631f3d ALSA: hda/realtek: fix mute/micmute LEDs don't work for a HP platform. fdc304eef6e8 ALSA: hda/realtek: Add quirk for ASUS UM3402 using CS35L41 566cad13beb6 ALSA: hda/realtek: Enable mute/micmute LEDs on HP Elitebook, 645 G9 49f4284ab3b5 ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro 360 9d26f571df4d ALSA: emux: Avoid potential array out-of-bound in snd_emux_xg_control() ab9b01a7acd5 ALSA: hda/realtek: Add Positivo N14KP6-TG 8ab575add354 btrfs: zlib: zero-initialize zlib workspace 66cf3a8273ab btrfs: limit device extents to the device size 6b2aaf302ce8 hv_netvsc: Allocate memory in netvsc_dma_map() with GFP_ATOMIC d60c95efffe8 Linux 6.1.11 74eec8266f37 bpf: Skip invalid kfunc call in backtrack_insn d458a0984429 gfs2: Always check inode size of inline inodes 62b11a34a98c gfs2: Cosmetic gfs2_dinode_{in,out} cleanup f06de1bb6d61 wifi: brcmfmac: Check the count value of channel spec to prevent out-of-bounds reads 5b25035fb888 f2fs: fix to do sanity check on i_extra_isize in is_alive() 1b4c08844628 fbdev: smscufx: fix error handling code in ufx_usb_probe ddeff03bb338 f2fs: initialize locks earlier in f2fs_fill_super() 07a96977b2f4 ovl: Use "buf" flexible array for memcpy() destination 543bba3be262 fs/ntfs3: Validate attribute data and valid sizes 0153009a7e65 powerpc/imc-pmu: Revert nest_init_lock to being a mutex 5a9fe6b7f4c1 powerpc/64s: Fix local irq disable when PMIs are disabled 18bac7de2459 powerpc/64s/radix: Fix crash with unaligned relocated kernel 54fb38bcaaa0 iio:adc:twl6030: Enable measurement of VAC f6c0ebc10c0b ASoC: SOF: sof-audio: prepare_widgets: Check swidget for NULL on sink failure 02b9d653531d platform/x86/amd: pmc: add CONFIG_SERIO dependency 9d25aea2ab4f serial: 8250_dma: Fix DMA Rx rearm race bd8d2ba9d9e0 serial: 8250_dma: Fix DMA Rx completion race 5f3dedbc3bf4 phy: qcom-qmp-combo: fix runtime suspend 5288d522a987 nvmem: core: fix return value 1dcd68c9cc5c nvmem: core: fix cell removal on error d78f5d46fc2a nvmem: core: fix device node refcounting 897dfd346223 nvmem: core: fix registration vs use race 39708bc8da78 nvmem: core: fix cleanup after dev_set_name() 1e2a745a896e nvmem: core: remove nvmem_config wp_gpio 28829e5f1c88 nvmem: core: initialise nvmem->id early 86dbbc8f6ba7 drm/amdgpu: update wave data type to 3 for gfx11 91ef43f6b65b drm/amd/pm: drop unneeded dpm features disablement for SMU 13.0.4/11 814d83a710e8 drm/amd: Fix initialization for nbio 4.3.0 0769f997a7b6 drm/i915: Fix potential bit_17 double-free 764accc2c1b8 drm/i915: Avoid potential vm use-after-free 52c6d3a84a3e serial: stm32: Merge hard IRQ and threaded IRQ handling into single IRQ handler e48a8ad77be3 dma-buf: actually set signaling bit for private stub fences d8b46cc1cf9b migrate: hugetlb: check for hugetlb shared PMD in node migration 82587c0e2735 maple_tree: fix mas_empty_area_rev() lower bound validation a7da7d01ac5c Squashfs: fix handling and sanity checking of xattr_ids count c4fd07cd5e7e ia64: fix build error due to switch case label appearing next to declaration ef8a286338c4 highmem: round down the address passed to kunmap_flush_on_unmap() 96aaaf866601 mm/MADV_COLLAPSE: catch !none !huge !bad pmd lookups 97f17a737270 mm, mremap: fix mremap() expanding for vma's with vm_ops->close() acb08187b5a8 mm/khugepaged: fix ->anon_vma race 49178d4d61e7 mm/swapfile: add cond_resched() in get_swap_pages() 2d11727655bf mm/uffd: fix pte marker when fork() without fork event b10990bee73c fpga: stratix10-soc: Fix return value check in s10_ops_write_init() 74cff472d3d6 fpga: m10bmc-sec: Fix probe rollback 32beac7a3d0f x86/debug: Fix stack recursion caused by wrongly ordered DR7 accesses 0b570a059cf4 HV: hv_balloon: fix memory leak with using debugfs_lookup() cf1c917bf1c7 kernel/irq/irqdomain.c: fix memory leak with using debugfs_lookup() 512d1ed968d5 usb: gadget: udc: do not clear gadget driver.bus fdd11d7136fd usb: typec: ucsi: Don't attempt to resume the ports before they exist dd63f6f0d946 usb: gadget: f_uac2: Fix incorrect increment of bNumEndpoints b79ba5953f6f mm: memcg: fix NULL pointer in mem_cgroup_track_foreign_dirty_slowpath() 139f866e420a mm: hugetlb: proc: check for hugetlb shared PMD in /proc/PID/smaps 04448022311c mm: multi-gen LRU: fix crash during cgroup migration b40680220b13 Revert "mm: kmemleak: alloc gray object for reserved region with direct map" 4afacf17ff0f riscv: disable generation of unwind tables 3028c3a169a2 parisc: Wire up PTRACE_GETREGS/PTRACE_SETREGS for compat case a6a5b7067018 parisc: Replace hardcoded value with PRIV_USER constant in ptrace.c d386bc5bf1cd parisc: Fix return code of pdc_iodc_print() 96d3b446680e nvmem: qcom-spmi-sdam: fix module autoloading 68ce2c8f9d0e nvmem: sunxi_sid: Always use 32-bit MMIO reads f5249bbae0e7 nvmem: brcm_nvram: Add check for kzalloc 4092267ad66a iio: imu: fxos8700: fix MAGN sensor scale and unit ad3c145485b2 iio: imu: fxos8700: remove definition FXOS8700_CTRL_ODR_MIN 8ac10e1cb0f5 iio: imu: fxos8700: fix failed initialization ODR mode assignment 555daa41074d iio: imu: fxos8700: fix incorrect ODR mode readback efc3dc3812cf iio: imu: fxos8700: fix swapped ACCEL and MAGN channels readback af7b50e4f6ee iio: imu: fxos8700: fix map label of channel type to MAGN sensor 3a91ef914ab1 iio: imu: fxos8700: fix IMU data bits returned to user space 8f1b6aa3bf0f iio: imu: fxos8700: fix incomplete ACCEL and MAGN channels readback fb06fc5af496 iio: imu: fxos8700: fix ACCEL measurement range selection 1a48ba20a551 iio: light: cm32181: Fix PM support on system with 2 I2C resources 930351148181 iio:adc:twl6030: Enable measurements of VUSB, VBAT and others e05b41391ab3 iio: imx8qxp-adc: fix irq flood when call imx8qxp_adc_read_raw() 9e480211d0f8 iio: adc: berlin2-adc: Add missing of_node_put() in error path 0b2f949909a3 iio: adc: xilinx-ams: fix devm_krealloc() return value check f9e5c6d9ac6c iio: hid: fix the retval in gyro_3d_capture_sample 37b5824545e6 iio: hid: fix the retval in accel_3d_capture_sample 8c3203f47d33 rtc: efi: Enable SET/GET WAKEUP services as optional 661bb546c4d5 efi: Accept version 2 of memory attributes table ac515839b1f3 ASoC: SOF: keep prepare/unprepare widgets in sink path 18691bdd5db5 ASoC: SOF: sof-audio: skip prepare/unprepare if swidget is NULL b6552a76015a ASoC: SOF: sof-audio: unprepare when swidget->use_count > 0 60a1ffed517f ASoC: codecs: wsa883x: correct playback min/max rates dd405afa4e97 ALSA: hda/realtek: fix mute/micmute LEDs, speaker don't work for a HP platform e58d01b09930 ALSA: hda/realtek: Add Acer Predator PH315-54 be606481eb33 watchdog: diag288_wdt: fix __diag288() inline assembly f3d786285f4c watchdog: diag288_wdt: do not use stack buffers for hardware data ad8860868141 can: isotp: handle wait_event_interruptible() return values cae4c9bc35f7 can: isotp: split tx timer into transmission and timeout 6e62048f527d net: qrtr: free memory on error path in radix_tree_insert() 334ce90fadd1 ARM: dts: imx7d-smegw01: Fix USB host over-current polarity 78792d25b658 hv_netvsc: Fix missed pagebuf entries in netvsc_dma_map/unmap() a2ab7f2cf5ef cgroup/cpuset: Fix wrong check in update_parent_subparts_cpumask() 5e7f6e2ade57 fbcon: Check font dimension limits 8506f16aae9d vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF 3b1534f5bae7 usb: gadget: f_fs: Fix unbalanced spinlock in __ffs_ep0_queue_wait f3ce160b301c usb: dwc3: qcom: enable vbus override when in OTG dr-mode e99780c3e7a9 iio: adc: stm32-dfsdm: fill module aliases 016dadc60e2e bcache: Silence memcpy() run-time false positive warnings f3056978934c drm/amd/display: Fix timing not changning when freesync video is enabled 22312eeab33e net/x25: Fix to not accept on connected socket 72e5a83b7c84 platform/x86/amd: pmc: Disable IRQ1 wakeup for RN/CZN 37e9784331f2 platform/x86: gigabyte-wmi: add support for B450M DS3H WIFI-CF 919ff2c40145 platform/x86: hp-wmi: Handle Omen Key event eb74184dcc70 platform/x86: dell-wmi: Add a keymap for KEY_MUTE in type 0x0010 table 19e2f49914e7 x86/build: Move '-mindirect-branch-cs-prefix' out of GCC-only block 40971f2e525e Revert "gfs2: stop using generic_writepages in gfs2_ail1_start_one" c671f7aaf2d8 i2c: rk3x: fix a bunch of kernel-doc warnings 61e43ebfd243 scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress 8859687f5b24 scsi: iscsi_tcp: Fix UAF during logout when accessing the shost ipaddress 35e44dc40283 perf/x86/intel/cstate: Add Emerald Rapids e095f0d86e3a perf/x86/intel: Add Emerald Rapids fcf8b1a6d5b8 x86/aperfmperf: Erase stale arch_freq_scale values when disabling frequency invariance readings f6c8f682e588 scsi: target: core: Fix warning on RT kernels c1435f5a03c8 i2c: mxs: suppress probe-deferral error message 8e9b15ad1484 i2c: designware-pci: Add new PCI IDs for AMD NAVI GPU 65166bccd038 kbuild: modinst: Fix build error when CONFIG_MODULE_SIG_KEY is a PKCS#11 URI 10282d9daaf7 certs: Fix build error when PKCS#11 URI contains semicolon 71ebd83f320e rtc: sunplus: fix format string for printing resource a2e6a9ff89f1 efi: fix potential NULL deref in efi_mem_reserve_persistent 70d40674a549 net: openvswitch: fix flow memory leak in ovs_flow_cmd_new 2c036e21c2b6 virtio-net: Keep stop() to follow mirror sequence of open() 462a2c1bdf1a selftests: net: udpgso_bench_tx: Cater for pending datagrams zerocopy benchmarking 14782ea872e0 selftests: net: udpgso_bench: Fix racing bug between the rx/tx programs 430bc0756ae1 selftests: net: udpgso_bench_rx/tx: Stop when wrong CLI args are provided 5bbc22fdbcbc selftests: net: udpgso_bench_rx: Fix 'used uninitialized' compiler warning 3b7fbcf86eee ata: libata: Fix sata_down_spd_limit() when no link speed is reported 6366671954f0 can: mcp251xfd: mcp251xfd_ring_set_ringparam(): assign missing tx_obj_num_coalesce_irq c3033f91ebd6 can: raw: fix CAN FD frame transmissions over CAN XL devices 1740a1e45eee can: j1939: fix errant WARN_ON_ONCE in j1939_session_deactivate 0cb094179aa8 octeontx2-af: Fix devlink unregister adf848eab2d4 igc: return an error if the mac type is unknown in igc_ptp_systim_to_hwtstamp() 12316538b1d1 riscv: kprobe: Fixup kernel panic when probing an illegal position 848b6074654e ip/ip6_gre: Fix non-point-to-point tunnel not generating IPv6 link local address abac37d8f90c ip/ip6_gre: Fix changing addr gen mode not generating IPv6 link local address e2d967b42a71 drm/panel: boe-tv101wum-nl6: Ensure DSI writes succeed during disable 11ee5d630827 net: phy: meson-gxl: Add generic dummy stubs for MMD register access 0cfe084e1530 sctp: do not check hb_timer.expires when resetting hb_timer e0514483fa88 maple_tree: should get pivots boundary by type 29e774dcb271 squashfs: harden sanity check in squashfs_read_xattr_id_table 14f56034ec4e kunit: fix kunit_test_init_section_suites(...) ee1e3fe4b457 block: ublk: extending queue_size to fix overflow a1512f11ec02 netfilter: br_netfilter: disable sabotage_in hook after first suppression 3214b04de31b ALSA: firewire-motu: fix unreleased lock warning in hwdep device 37c0cdf7e491 net/tls: tls_is_tx_ready() checked list_entry 7a435fe0b6bb drm/i915/adlp: Fix typo for reference clock 04dcff26490c drm/i915: Fix up locking around dumping requests lists 9467397f417d drm/i915: Fix request ref counting during error capture & debugfs dump de997938a7a5 drm/i915/guc: Fix locking when searching for a hung request e7cdec97ebeb platform/x86: thinkpad_acpi: Fix thinklight LED brightness returning 255 21745fbfe760 platform/x86/amd/pmf: Ensure mutexes are initialized before use 7f7f441347b4 platform/x86/amd/pmf: Fix to update SPS thermals when power supply change dadc3820a3d9 platform/x86/amd/pmf: Add helper routine to check pprof is balanced 1db1edddb873 platform/x86/amd/pmf: Fix to update SPS default pprof thermals 05484584cadf platform/x86/amd/pmf: Add helper routine to update SPS thermals bb4a5cef532d platform/x86/amd/pmf: update to auto-mode limits only after AMT event 3be069f42a7b fscache: Use wait_on_bit() to wait for the freeing of relinquished volume 5c2227f3f177 netrom: Fix use-after-free caused by accept on already connected socket cb1876fc33af block, bfq: fix uaf for bfqq in bic_set_bfqq() b2e181cf9e57 block, bfq: replace 0/1 with false/true in bic apis 70fd5afb4c36 net: wwan: t7xx: Fix Runtime PM initialization 78901b10522c net: phy: dp83822: Fix null pointer access on DP83825/DP83826 devices ddaf96f6953b sfc: correctly advertise tunneled IPv6 segmentation a838f8a69b1f skb: Do mix page pool and page referenced frags in GRO 9e0d874c0a6b dpaa2-eth: execute xdp_do_flush() before napi_complete_done() 71a773ab79c9 dpaa_eth: execute xdp_do_flush() before napi_complete_done() e5aed1336303 virtio-net: execute xdp_do_flush() before napi_complete_done() b9fd30ea66e8 qede: execute xdp_do_flush() before napi_complete_done() 34e0dd0947e9 ice: Prevent set_channel from changing queues while RDMA active c4cadb84e71b vhost-scsi: unbreak any layout for response 5a1909510387 use less confusing names for iov_iter direction initializers 6d6e144ffbf2 fix "direction" argument of iov_iter_kvec() ff85ec97d14c fix 'direction' argument of iov_iter_{init,bvec}() 02f719be2f2b fix iov_iter_bvec() "direction" argument b50705b5ef09 memcpy_real(): WRITE is "data source", not destination... cefb33f5be6e zcore: WRITE is "data source", not destination... 98653e51618e READ is "data destination", not source... a7fcd22a55a6 WRITE is "data source", not destination... 0332bdec060a copy_oldmem_kernel() - WRITE is "data source", not destination ccbe22d4843d vhost/net: Clear the pending messages when the backend is removed 0b49da857d32 ALSA: memalloc: Workaround for Xen PV 3331d3416076 bpf: Fix the kernel crash caused by bpf_setsockopt(). c7ee7bad9c1b scsi: Revert "scsi: core: map PQ=1, PDT=other values to SCSI_SCAN_TARGET_PRESENT" 9e0097cb51e6 drm/ssd130x: Init display before the SSD130X_DISPLAY_ON command c590a4a59a98 drm/vc4: hdmi: make CEC adapter name unique 0bdd5a7b517f arm64: dts: imx8mm-verdin: Do not power down eth-phy 3419ddcfa143 arm64: dts: imx8mm: Fix pad control for UART1_DTE_RX 12b0ec7c6953 bpf, sockmap: Check for any of tcp_bpf_prots when cloning a listener 7715f96f4ba6 media: v4l2-ctrls-api.c: move ctrl->is_new = 1 to the correct line d5c7a2ab5e1f bpf: Add missing btf_put to register_btf_id_dtor_kfuncs d52f34784e4e ASoC: SOF: ipc4-mtrace: prevent underflow in sof_ipc4_priority_mask_dfs_write() 4ea7f83314f1 selftests/filesystems: grant executable permission to run_fat_tests.sh 7c7652ffa986 bpf: Fix to preserve reg parent/live fields when copying range info f011360ad234 ALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path() 6a199d556c02 bpf: Fix a possible task gone issue with bpf_send_signal[_thread]() helpers c32efcf9ff85 bpf: Fix off-by-one error in bpf_mem_cache_idx() ba32923bcedd ASoC: Intel: avs: Implement PCI shutdown cdebb52d6098 ASoC: Intel: sof_es8336: Drop reference count of ACPI device after use c48af765e183 ASoC: Intel: bytcr_wm5102: Drop reference count of ACPI device after use c72c57b689bf ASoC: Intel: bytcr_rt5640: Drop reference count of ACPI device after use 877699a054ec ASoC: Intel: bytcr_rt5651: Drop reference count of ACPI device after use eddc0f2ad6d5 ASoC: Intel: bytcht_es8316: Drop reference count of ACPI device after use 7b1ed88ec3af ASoC: amd: acp-es8336: Drop reference count of ACPI device after use ac949eae8d59 arm64: dts: freescale: imx8dxl: fix sc_pwrkey's property name linux,keycode 13d27de91ace arm64: dts: imx8m-venice: Remove incorrect 'uart-has-rtscts' 17b83ef66d0e bus: sunxi-rsb: Fix error handling in sunxi_rsb_init() c8bdc88216f0 firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP region 17d99ea98b62 Linux 6.1.10 cfc15cbd85aa net: mctp: purge receive queues on sk destruction 60cd03ffe938 rust: print: avoid evaluating arguments in `pr_*` macros in `unsafe` blocks 888dad6f3e85 net: fix NULL pointer in skb_segment_list 9d369cd505ae gpiolib-acpi: Don't set GPIOs for wakeup in S3 mode 69622f270cc9 gpiolib: acpi: Add a ignore wakeup quirk for Clevo NL5xRU 30dc1de44e75 nvme-apple: only reset the controller when RTKit is running 38044859deee cifs: fix return of uninitialized rc in dfs_cache_update_tgthint() 1dba6881e332 gpiolib: acpi: Allow ignoring wake capability on pins that aren't in _AEI ce4745a6b801 dmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init 6b1cebcd9e89 HID: playstation: sanity check DualSense calibration data. 7f85560667ed HID: uclogic: Add support for XP-PEN Deco 01 V2 1fc24f9da259 s390: workaround invalid gcc-11 out of bounds read warning 6f13860bba96 block: fix hctx checks for batch allocation 99db989945cd ACPI: video: Add backlight=native DMI quirk for Acer Aspire 4810T efc1058831f9 LoongArch: Get frame info in unwind_start() when regs is not available a4a1af9fa08e blk-cgroup: fix missing pd_online_fn() while activating policy 6db03adf078e erofs: clean up parsing of fscache related options 27c54591ba26 kselftest: Fix error message for unconfigured LLVM builds 495cec3763d7 ARM: omap1: fix building gpio15xx 1d34087944a6 arm64: dts: msm8994-angler: fix the memory map ea2be0ca6913 mac80211: Fix MLO address translation for multiple bss case 9f31d8c889d9 erofs/zmap.c: Fix incorrect offset calculation 1283a01b6e19 bpf: Skip task with pid=1 in send_signal_common() e0b9560bf170 firmware: arm_scmi: Clear stale xfer->hdr.status ba355e99eff0 arm64: dts: imx8mq-thor96: fix no-mmc property for SDHCI a5a629d7dafc arm64: dts: freescale: Fix pca954x i2c-mux node names ab603e92db12 ARM: dts: vf610: Fix pca9548 i2c-mux node names 7f68b6ecf5e9 ARM: dts: imx: Fix pca9547 i2c-mux node name (From OE-Core rev: f9d61ad37ac07e551c0acebad031ac0e572e949c) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-dev: bump to v6.2Bruce Ashfield2023-03-031-2/+2
| | | | | | | | | | Updating the -dev kernel to the 6.2 kernel. (From OE-Core rev: e65d10ea2c955c87a08e6ac0e2594e3618cdc7e8) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-rt/6.1: fix compilation issue with per cpu statsBruce Ashfield2023-03-033-4/+4
| | | | | | | | | | | | Integrating the following commit(s) to linux-yocto/6.1: 3b4c5ff8e4f1 net: fix net/netfilter/ipvs/ip_vs_ctl.c with u64 and u64_stats_t (From OE-Core rev: 7d7044e8031009ecebd8586ce52d1c1207546668) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-babel: upgrade 2.11.0 -> 2.12.1Tim Orling2023-03-031-2/+2
| | | | | | | | | | | | | | | | | | https://babel.pocoo.org/en/latest/changelog.html#version-2-12-1 Version 2.12.1 * Fixes - Version 2.12.0 was missing the py.typed marker file. Thanks to Alex Waygood for the fix! #975 - The copyright year in all files was bumped to 2023. License-Update: copyright years (From OE-Core rev: abbcf19d7e46682d3ac7b4fda6e67543b9e9866f) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.68.1 -> 6.68.2Tim Orling2023-03-031-1/+1
| | | | | | | | | | | | | | | https://hypothesis.readthedocs.io/en/latest/changes.html#v6-68-2 6.68.2 - 2023-02-17 This patch fixes missing imports of the re module, when ghostwriting tests which include compiled patterns or regex flags. Thanks to Jens Heinrich for reporting and promptly fixing this bug! (From OE-Core rev: 9fdfc5dfa09fc97409ee9ff6fafae3fd1bb523cf) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opensbi: Upgrade to 1.2 releaseKhem Raj2023-03-031-1/+1
| | | | | | | | | | | | Here is list of changes in this major release https://github.com/riscv-software-src/opensbi/compare/v1.1...v1.2 (From OE-Core rev: 0a95e4d541e202cb1e19f99c18f9378c0d6aa1ef) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opensbi: Do not add dependencies if RISCV_SBI_FDT is not setKhem Raj2023-03-031-5/+7
| | | | | | | | | | | | | Dependencies only make sense when opensbi is being used to deliver payload which maybe an artifact of kernel or u-boot, otherwise it should be not added. This avoids circular dependencies when RISCV machines do not define RISCV_SBI_PAYLOAD but do define RISCV_SBI_FDT (From OE-Core rev: 83a986fcac535415108caf70a9fdee8edc59f7d5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-zipp: upgrade 3.14.0 -> 3.15.0Tim Orling2023-03-011-1/+1
| | | | | | | | | | | | | | | | https://zipp.readthedocs.io/en/latest/history.html#v3-15-0 v3.15.0 (24 Feb 2023) * gh-102209: test_implied_dirs_performance now tests measures the time complexity experimentally. Reference: https://github.com/python/cpython/issues/102209 (From OE-Core rev: 1cb64a5b6a950eb7f7c72125c5741fdafe236f0b) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-more-itertools: upgrade 9.0.0 -> 9.1.0Tim Orling2023-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upstream docs currently have a typo showing the changes as 8.14.0 https://github.com/more-itertools/more-itertools/commit/89d58c2ec089f3df54ed6cc9279949b8e2bbcd29 9.1.0 ----- * New functions - iter_index() (from the Python itertools docs) - transpose() (from the Python itertools docs) - matmul() (from the Python itertools docs) - factor() (from the Python itertools docs) - gray_product() (thanks to haukex) * Changes to existing functions - sieve() was updated to match the Python itertools docs - maxsplit() was updated to fix a bug (thanks to abingham) - sliced() had its type hint updated (thanks to ad-chaos) * Other changes - The batched function is marked as deprecated and will be removed in a future major release. For Python 3.12 and above, use itertools.batched instead. (thanks to neutrinoceros) - The type hints now used postponed evaluation of annotations from PEP 563 (thanks to Isira-Seneviratne) - Some documentation issues were fixed (thanks to Voskov and jdkandersson) (From OE-Core rev: 436b92846406273fb3651f4f026e9fd3871ee71c) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel: Add kernel specific OBJDUMPKhem Raj2023-03-018-9/+16
| | | | | | | | | | | | | | | | | | | | This helps in switching toolchains cleanly for kernel build between gcc and clang Currently, some kernels allow building with clang but not all the distro might use clang as default system compiler but kernel may demand gcc which is provided via KERNEL_* variables, however kernel does use OBJCOPY at places during build and it maybe set to use llvm objcopy when using clang. That should be a deliberate setting when clang is used for kernel as well, otherwise it should use binutils provided objcopy (From OE-Core rev: 17b409f2fd97894e0943d13c2cb0d52abde647e3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl2: add missing libdecor RDEPENDMarkus Volk2023-03-011-1/+1
| | | | | | | | | | libdecor is dlopen'ed ... add it as RDEPEND to make it work on runtime (From OE-Core rev: 321f0819515cd53362b1b84aa2d1eece75e013e5) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* diffoscope: upgrade 235 -> 236Wang Mingyu2023-03-011-1/+1
| | | | | | | | (From OE-Core rev: f2a7a4a899dff74b88c4192f1d97a14833016029) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gpgme: fix python setuptools invalid version issueChen Qi2023-03-012-0/+35
| | | | | | | | | | | | | | | | | The python3-gpg's version is now '1.18.0-unknown'. Such version has been treated as invalid for setuptools >=66.0.0. The error message is as below: pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: '1.18.0-unknown' (package: gpg) Fix this issue by removing the '-unknown' suffix. (From OE-Core rev: 3a8bf81c5fb6111eab9784192754271efc85ee5c) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nghttp2: Deleted the entries for -client and -server, and removed a ↵leimaohui2023-03-011-4/+2
| | | | | | | | | | | | | | | | | | dependency on them from the main package. By default there is nothing in nghttp2-client and nghttp2-server ,nghttp2-client and nghttp2-server aren't created. So there are dependences error if install main package. Problem: conflicting requests - nothing provides nghttp2-client >= 1.52.0 needed by nghttp2-1.52.0-r0.core2_64 - nothing provides nghttp2-server >= 1.52.0 needed by nghttp2-1.52.0-r0.core2_64 (From OE-Core rev: d2cbe060955c598bd81923ecd554fbe82c17af99) Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: Updated ther patch which fixes build error for fips enabled.leimaohui2023-03-011-1/+1
| | | | | | | | | | | The context of lib/Makefile.am in gnutls_3.8.0 has changed when updated from gnutls_3.7.8. (From OE-Core rev: 7c00bf8e0a0f9c88de6cf782b7fa3db7872c4100) Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-systemctl: Create machine-id with "uninitialized" text in itMarek Vasut2023-02-281-1/+1
| | | | | | | | | | | Instead of creating empty /etc/machine-id file using touch, write text "uninitialized" into it. Systemd requires "uninitialized" in the /etc/machine-id file to trigger systemd-firstboot . (From OE-Core rev: 263c852269027b1bd311e116021ac49d9001e1b0) Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/resulttool: add test for metadata filtering on regressionAlexis Lothoré2023-02-281-0/+243
| | | | | | | | | | | | | | | | | | Multiple filters have been added to resulttool to ensure that test results are compared only to relevant older tests results Add some unit tests about added filters: - tests should only be compared when machine matches - tests run as oeselftest should only be compared when OESELFTEST_METADATA matches - many ptests should match despite non-static names - runtime tests should match with matching tests regarding ltp tests content (From OE-Core rev: b84302ef56f2516742a496aef43b89d4c3decd37) Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/yoct_testresults_query: manage base/target revision not foundAlexis Lothoré2023-02-281-3/+12
| | | | | | | | | | | | If yocto_testresults_query.py is run from oe-core instead of poky, the script will very likely fail since poky tags do no exist in oe-core. If one or both revisions are not found, log the error and a suggestion about the reason (the script being run in oe-core instead of poky) (From OE-Core rev: 758ac050ffd91524d400c196865b1ed27ece8776) Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: remove obsolete CVE ignoresRoss Burton2023-02-281-5/+0
| | | | | | | | | | | | | | | | Remove some obsolete CVE ignores now that releases have been made, CPEs updated, or upgrades done: CVE-2020-10029 is marked as fixed in 2.32. CVE-2021-27645 is marked as fixed in 2.34. CVE-2022-39046 is marked as fixed in 2.37. (From OE-Core rev: a383d0e726011007419dd102cd6484733d80d9f6) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: add ignore for CVE-2023-25139Ross Burton2023-02-281-0/+3
| | | | | | | | | | | This CVE has been fixed in the 2.37 release branch (07b9521fc6) and we're now using a SHA that incorporates that commit, so manually mark it as ignored. (From OE-Core rev: b143e355ef362dac89f8b125904d2e47c74e597e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-extra-exclusions: ignore inapplicable linux-yocto CVEsGeoffrey GIRY2023-02-281-0/+296
| | | | | | | | | | | | | | | | Multiple CVE are patched in kernel but appears as active because the NVD database is not up to date. CVE are ignored if and only if all versions of kernel used by master are patched. Also ignore CVEs with wrong CPE (applied to kernel but actually are for another package) (From OE-Core rev: 92770a08c04a6c1eb351231d937b16e76558f013) Signed-off-by: Geoffrey GIRY <geoffrey.giry@smile.fr> Reviewed-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* VOLATILE_TMP_DIR: addTrevor Woerner2023-02-283-0/+14
| | | | | | | | | | | | | Provide a mechanism to allow users to choose whether the /tmp directory is on persistent storage (non-volatile) or a RAM-based tmpfs (volatile). The default is volatile. Works for both sysvinit-based and systemd-based systems. (From OE-Core rev: 8b76c0637eaeaf5bd5e696680cd74b7a642f4157) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* quilt: run tests as ptest user, and let that user write into the testsRoss Burton2023-02-272-6/+13
| | | | | | | | | | | | | | | | | | | | | The tests need to run as a non-root user, but that user also needs to be able to write into the tests directory to create the work directories. Use the new ptest user that ptest-runner creates to avoid having to add a new user, and ensure that the test/ directory is owned by the ptest group and that group has write access. This solves the ptest regression where since oe-core 9a287b4 no quilt tests were actually running. A better solution would be to allow the tests to create a work directory in another directory, but that would need work upstream which can happen later. (From OE-Core rev: 70dc9c114283cde18771287fb17fcebc537e7387) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-selftest/files: add ptest to static-passwd/-groupRoss Burton2023-02-272-0/+2
| | | | | | | | | | As ptest-runner creates a new user, we need to add it to the testing static passwd file. (From OE-Core rev: 009726f04c000cc50ce44305669bd8e940e64a9c) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest-runner: add non-root ptest user for tests to run asRoss Burton2023-02-271-0/+5
| | | | | | | | | | | | | | Some tests really don't want to be run as root, either because they expect to get "permission denied" errors occasionally, or have explicit checks. Instead of numerous recipes re-inventing user creation in run-ptest, create a user in the ptest-runner recipe that they can all use. (From OE-Core rev: d58cf08421e0f89840820370dd3c5b6e153efcbb) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/runqemu: move render nodes check to runqemu from selftestAlexander Kanavin2023-02-272-7/+10
| | | | | | | | | | | | | | | | | | This will produce a more useful hint for those setting up or testing virgl headless: runqemu - ERROR - No render nodes found in /dev/dri: ['by-path', 'card0']. If /dev/dri/renderD* is absent due to lack of suitable GPU, 'modprobe vgem' will create one suitable for mesa llvmpipe software renderer. as qemu itself isn't helpful: alex@Zen2:/srv/storage/alex/yocto/build-64-alt$ qemu-system-x86_64 -display egl-headless qemu-system-x86_64: egl: no drm render node available qemu-system-x86_64: egl: render node init failed (From OE-Core rev: cbbada6a6c9b0a2e97f7395117dad986555f2db9) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest: do not check for dri.pc in the headless testAlexander Kanavin2023-02-271-4/+0
| | | | | | | | | | | runqemu (which the test also runs) already performs this check, and does it better, as it additionally unsets a number of environment variables that can confuse and misdirect host's pkg-config. (From OE-Core rev: ad179728a6978d929e2a876abe7e1cbd6b76a502) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2023-02-271-1/+1
| | | | | | (From OE-Core rev: f6ac666c99da115ab4a214d24282978a06c36efa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* resulttool/regression: Improve matching of poor ptest test names4.2_M3Richard Purdie2023-02-261-0/+21
| | | | | | | | | | | | | | Some test case naming is poor and contains random strings, particularly lttng/babeltrace but also curl. Truncating the test names works since they contain file and line number identifiers which allows us to match them without the random components, or in the case or curl, test IDs. Going forward we may be able to improve the test names but this tweak allows historical test results to work in reports. (From OE-Core rev: 541a2e2683531355e678fd93524a0c4a8c43a8ff) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* resulttool/regression: Ensure LTP results are only compared against other ↵Richard Purdie2023-02-261-1/+6
| | | | | | | | | | | LTP runs If a test result contains LTP test results, it should only be compared with other runs containing LTP test results. (From OE-Core rev: 4dbbf2f4a85620a08dc2fa65095dc17fe6c530f8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest: add test for yocto_testresults_query.pyAlexis Lothoré2023-02-261-0/+39
| | | | | | | | | | Add some tests for new yocto_testresults_query.py helper. First test is taken from yocto-autobuilder-helper feature which has moved in yocto_testresults_query (From OE-Core rev: 9ce28f685e4282d81f179877cbafd0a52fa887bd) Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts: add new helper for regression report generationAlexis Lothoré2023-02-261-0/+106
| | | | | | | | | | | Add yocto-testresults-query script. This is a thin wrapper over resulttool which is able to translate tags or branch name to specific revisions, and then to work with those "guessed" revisions with resulttool (From OE-Core rev: b1460201b0f3d8fd7f977ac82f218bf9010d5573) Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/resulttool/regression: add metadata filtering for oeselftestAlexis Lothoré2023-02-261-0/+162
| | | | | | | | | | | | | | | | | | | | | When generating regression reports, many false positive can be observed since some tests results are compared while the corresponding tests sets are not the same, as it can be seen for example for oeselftest tests (oeselftest is run multiple time but with different parameters, resulting in different tests sets) Add a filtering mechanism in resulttool regression module to enable a better matching between tests. The METADATA_MATCH_TABLE defines that when the TEST_TYPE is "oeselftest", then resulttool should filter pairs based on OESELFTEST_METADATA appended to test configuration. If metadata is absent from test results, in order to keep compatibility with older results, add a "guessing" mechanism to generate the missing OESELFTEST_METADATA. The guessed data is tightly coupled to the autobuilder configuration, where all oe-selftest executions are described (From OE-Core rev: 94ab7c2b892bf292dd86619ca9c63ddd7bf53f3c) Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/resulttool/regression: remove unused importAlexis Lothoré2023-02-261-1/+0
| | | | | | | (From OE-Core rev: 4d6a74fcee1479562bf66360f20d528107c70887) Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/oe-selftest: append metadata to tests resultsAlexis Lothoré2023-02-261-1/+14
| | | | | | | | | | | | | | | Many stored results TEST_TYPE are set to "oeselftest", however all those tests are not run with the same sets of parameters, so those tests results may not be comparable. Attach relevant parameters as tests metadata to allow identifying tests configuration so we can compare tests only when they are run with the same parameters. (From OE-Core rev: 406ec0a87e80d1ee0dd1d246adfe9507c10450ff) Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: documentation: bitbake: add file-checksums to varflags sectionRichard Elberger2023-02-261-0/+17
| | | | | | | | | | | | | Fixes [YOCTO #11605] by: - Adding definition of file-checksums to Variable Flags section. - Describe data to add to list which adds external file dependencies. - Write example on usage to prepend a value to file-checksums list. (Bitbake rev: 6bc65e6402a74c9a65e29333a7e0f1f85dcbcf58) Signed-off-by: Richard Elberger <rich@richelberger.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch/npmsw: add more short forms for git operationsMark Asselstine2023-02-262-7/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | >From the npm-install documentation [1] the CLI provides a set of short forms when the install fetches from git. These include "github:" example: npm install github:mygithubuser/myproject "gist:" example: npm install gist:101a11beef "gitlab:" example: npm install gitlab:mygitlabuser/myproject "bitbucket:" example: npm install bitbucket:mybitbucketuser/myproject Commit 1d8af6aed0a9 [fetch2: npmsw: Add support for github prefix in npm shrinkwrap version] by Stefan Herbrechtsmeier added support for the "github:" but the others would marked as 'Unsupported dependency'. The other prefixes are added in this commit, along with extending the tests to cover some of these. However, there is one more short form for github which npm-install allows which forgoes the prefix altogether. example: npm install mygithubuser/myproject Unfortunately this format is a bit problematic as it lacks any easily identifiable 'marker' to match against, and it could be either the github short form or install from folder format. Experimentation shows that the folder format requires a leading './' or '/', so we use this to rule out the ambiguity. If this approach to folder and github formats disambiguation is incorrect it won't matter anyways as the folder format is unrecognized by the code as-is and thus with this change or without, things would fail. Since we have to be less strict in the check for git operations we move it to be the last install format which we check, such that the less ambiguous formats can be sorted out first. [1] https://docs.npmjs.com/cli/v9/commands/npm-install [Yocto #14236] (Bitbake rev: 0ac6f6cb5d807919ed13a8b7bb3fb551b79c5a71) Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: gitsm: Fix path construction for relative submodule URIMike Crowe2023-02-261-1/+1
| | | | | | | | | | | | | | | | | | | The submodule repository URI contains a path to something not necessarily on the local filesystem. This means that we can't use realpath to normalise it without risking getting bad results if the path happens to match something on the local filesystem. This situation can cause very confusing errors if that matching local path happens to be a symlink to somewhere else. Using normpath rather than realpath means that the path simplification follows simple rules on the string rather than looking at the local filesystem and avoids problems. (Bitbake rev: 47b271e6c8d96960ebe70f80e58f30cc4cbf42e1) Signed-off-by: Mike Crowe <mac@mcrowe.com> Co-authored-by: Dave Craig Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: utils: Use internal fetcher function to avoid duplicationRichard Purdie2023-02-261-15/+4
| | | | | | | | | | We currently have two lists of "proxy" or "fetcher" environment exports. Make the one in utils match the one on the fetcher which has a more complete list of variables now. (Bitbake rev: f9165a798a307a6f0fee120d5c3de660d3a44ae8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2/wget: Drop unused importRichard Purdie2023-02-261-1/+0
| | | | | | | | This import is no longer used anywhere so can be removed. (Bitbake rev: 956128e394581855bf0d03b32a975dc91c2a7e0c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: Add GIT_CACHE_PATH and SSL_CERT_DIR into FETCH_EXPORT_VARSCaner Altinbasak2023-02-261-1/+3
| | | | | | | | | These environment variables are needed by gclient and needed to be passed into fetcher. (Bitbake rev: 9414ba62454c6b911addf6b0bc02af2afc69b926) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/wic: Add test for uefi-kernel loaderPavel Zhukov2023-02-262-0/+25
| | | | | | | | | | This is regression test for [1]. [1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=15033 (From OE-Core rev: d8ef15bb9ef652bf85002fe523ff5060b47bca6a) Signed-off-by: Pavel Zhukov <pavel@zhukoff.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Fix populating of IMAGE_EFI_BOOT_FILES with uefi-kernelPavel Zhukov2023-02-261-1/+1
| | | | | | | | | | | | | | | | wic plugin crashed if IMAGE_EFI_BOOT_FILES is not empty and uefi-kernel loader specified because of preliminary return from the function. [Yocto #15033] Fixes: | File "/mnt/builds/yocto/sources/scripts/lib/wic/plugins/source/bootimg-efi.py", line 371, in do_prepare_partition | for src_path, dst_path in cls.install_task: | ^^^^^^^^^^^^^^^^ | AttributeError: type object 'BootimgEFIPlugin' has no attribute 'install_task'. Did you mean: 'do_install_disk'? (From OE-Core rev: a6372f70f31b39ce9867b705d02205621d7a8685) Signed-off-by: Pavel Zhukov <pavel@zhukoff.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add group sgx to udev packagePeter Marko2023-02-262-1/+2
| | | | | | | | | | | | | | | | | | | >From NEWS for v250: * Device nodes for the Software Guard eXtension enclaves (sgx_vepc) are now also owned by the system group "sgx". >From NEWS for v248: * Intel SGX enclave device nodes (which expose a security feature of newer Intel CPUs) will now be owned by a new system group "sgx". Fixes following journal error entry during startup: /lib/udev/rules.d/50-udev-default.rules:43 Unknown group 'sgx', ignoring This is seen already on kirkstone. (From OE-Core rev: bab455cd9b1b82e778f8523a767eb281edf6689e) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to tip of trunkKhem Raj2023-02-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings in following changes * 7d756e1c (upstream/master, origin/master) dns: prefer monotonic clock for timeouts * 07616721 fix return value of wcs{,n}cmp for extreme wchar_t values * 35fdfe62 math: fix undefined shift in logf * 7e13e5ae inet_pton: fix uninitialized memory use for IPv4-mapped IPv6 addresses * 7e6da7ac hsearch: fix null pointer arithmetic UB * f79b973d increase sendmsg internal buffer to support SCM_MAX_FD * 0ab97350 mq_notify: block all (application) signals in the worker thread * 711673ee mq_notify: join worker thread before returning in error path * 8c0c9c69 mq_notify: rework to fix use-after-close/double-close bugs * fde6891e mq_notify: use semaphore instead of barrier to sync args consumption * c3cd04fa fix pthread_detach inadvertently acting as cancellation point in race case * 115149c0 powerpc-sf longjmp clobbering of val argument * 5763f003 riscv64: add vfork * 269d1938 fix wrong sigaction syscall ABI on mips*, or1k, microblaze, riscv64 * ea3b40a3 fix integer overflow in WIFSTOPPED macro * f897461d fix debugger tracking of shared libraries on mips with PIE main program * a4b0a665 expose memmem under baseline POSIX feature profile * 9532ae13 use libc-internal malloc for pthread_atfork * 7d358599 prevent invalid reads of nl_arg in printf_core * c5f4b2df elf.h: add ELFCOMPRESS_ZSTD * 159d1f6c semaphores: fix missed wakes from ABA bug in waiter count logic (From OE-Core rev: 7379412a2ce7fe24943c858755f058dc2a15a081) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add user for systemd-oomd if enabledLuca Boccassi2023-02-261-0/+1
| | | | | | | | | | | | | | systemd-oomd.service has: User=systemd-oom So we need to create a static user for it, if its packageconfig is enabled. (From OE-Core rev: 1586edc919326cdbb412feafb9cde2cb15e419cb) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: fix build failure when vulkan is enabledDmitry Baryshkov2023-02-262-0/+35
| | | | | | | | | | | | | | | | | | | The patch fixes the following errors observed when building ffmpeg in vulkan-enabled distros: | src/libavutil/hwcontext_vulkan.c:363:7: error: 'VK_EXT_VIDEO_DECODE_H264_EXTENSION_NAME' undeclared here (not in a function); did you mean 'VK_EXT_VIDEO_ENCODE_H264_EXTENSION_NAME'? | 363 | { VK_EXT_VIDEO_DECODE_H264_EXTENSION_NAME, FF_VK_EXT_NO_FLAG }, | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | VK_EXT_VIDEO_ENCODE_H264_EXTENSION_NAME | src/libavutil/hwcontext_vulkan.c:364:7: error: 'VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME' undeclared here (not in a function); did you mean 'VK_EXT_VIDEO_ENCODE_H265_EXTENSION_NAME'? | 364 | { VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME, FF_VK_EXT_NO_FLAG }, | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | VK_EXT_VIDEO_ENCODE_H265_EXTENSION_NAME (From OE-Core rev: b16c8696be9d56edb5ff77210abfff9a784fad89) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* docbook-xml: Switch from debian packages to upstream docbook sourcesRichard Elberger2023-02-262-106/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch changes the docbook-xml distribution package source from debian to docbook which aligns the recipe with the source originator. Other changes made to the recipe include: This patch resolves [YOCTO #13270]. - removal of version 4.0 given docbook no longer distributes version 4.0 - simplification of the header description. - inline comments to communicate the rationale behind gathering multiple versions and LICENSE file handling. - minor ordering changes to align with styling conventions and better context to better communicate use - Added comment about magic XMLCATALOGS variable. This variable and subsequent inherit might be better placed in recipes that depend on docbook-xml but leave it for now to not cause a patch landslide. - Modify the related docbook-xml patch to remove docbook-xml-4.0 since it is no longer provided. - Put BBCLASSEXTEND to end of recipe per RP note on convention (From OE-Core rev: fc4471019313d981f0c951220cc65e8374a7e8e6) Signed-off-by: Richard Elberger <rich@richelberger.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcr: correctly configure vala against introspection dataAlexander Kanavin2023-02-251-1/+1
| | | | | | | | | | | | GI_DATA_ENABLED is the right source for making that decision as it additionally factors in presence of qemu-usermode in MACHINE_FEATURES. (From OE-Core rev: b32bb078d73ab9fd636d059cf70b5530a2f94cb4) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* checklayer: check for patch file upstream statusChee Yang Lee2023-02-241-0/+15
| | | | | | | | | | | | | | | | yocto-check-layer to check all .patch file in layer for Upstream-status and list down all .patch file without Upstream-Status. set this test as expected failure for now, so this wont fail the check layer while still able to capture any patches with malformed or missing Upstream-Status in report. [YOCTO #14642] (From OE-Core rev: 237c1b66e5014123c1e5c3e78f9ab0357bcd62dc) Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>