1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00
Commit Graph

69246 Commits

Author SHA1 Message Date
Bruce Ashfield 885dd2abcc linux-yocto/6.1: cfg: remove depreciated configs
Integrating the following commit(s) to linux-yocto/.:

    dcb315fe731 media/media-usb-tv: remove tm6000 config
    45a27304655 media/media-pci-capture: remove deprecated configs

(From OE-Core rev: 977b95b6f4bbb51776a0d573839370756d8117e8)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-02 09:50:02 +00:00
Bruce Ashfield c112613967 linux-yocto/5.15: update to v5.15.89
Updating  to the latest korg -stable release that comprises
the following commits:

    3bcc86eb3ed9 Linux 5.15.89
    37c18ef49ec3 pinctrl: amd: Add dynamic debugging for active GPIOs
    a5841b81adfa Revert "usb: ulpi: defer ulpi_register on ulpi_read_id timeout"
    7ec9a45fc4ee block: handle bio_split_to_limits() NULL return
    ba86db02d408 io_uring/io-wq: only free worker if it was allocated for creation
    bb135bcc9499 io_uring/io-wq: free worker if task_work creation is canceled
    63c2fa09b856 scsi: mpt3sas: Remove scsi_dma_map() error messages
    e2ea55564229 efi: fix NULL-deref in init error path
    94b6cf84db42 arm64: cmpxchg_double*: hazard against entire exchange variable
    3891fa4982b9 arm64: atomics: remove LL/SC trampolines
    61e86339af2a arm64: atomics: format whitespace consistently
    ed4629d1e968 io_uring: lock overflowing for IOPOLL
    fbf501514182 KVM: x86: Do not return host topology information from KVM_GET_SUPPORTED_CPUID
    ee16841134be Documentation: KVM: add API issues section
    b8f3b3cffb4a mm: Always release pages to the buddy allocator in memblock_free_late().
    d2dc110deabe platform/surface: aggregator: Add missing call to ssam_request_sync_free()
    cfd5978411ed igc: Fix PPS delta between two synchronized end-points
    0bf52601ced1 perf build: Properly guard libbpf includes
    205f35eee7be net/mlx5e: Don't support encap rules with gbp option
    0526fc9330fe net/mlx5: Fix ptp max frequency adjustment range
    9e2c38827cdc net/sched: act_mpls: Fix warning during failed attribute validation
    e3bb44beafde tools/nolibc: fix the O_* fcntl/open macro definitions for riscv
    1e6ec75bb3b5 tools/nolibc: restore mips branch ordering in the _start block
    bd0431a66c39 tools/nolibc: Remove .global _start from the entry point code
    a77c54f5b50c tools/nolibc/arch: mark the _start symbol as weak
    da51e086d154 tools/nolibc/arch: split arch-specific code into individual files
    8591e788bea3 tools/nolibc/types: split syscall-specific definitions into their own files
    4fceecdeaa8a tools/nolibc/std: move the standard type definitions to std.h
    1792136f228e tools/nolibc: use pselect6 on RISCV
    487386a49e01 tools/nolibc: x86-64: Use `mov $60,%eax` instead of `mov $60,%rax`
    27af4f2260cd tools/nolibc: x86: Remove `r8`, `r9` and `r10` from the clobber list
    a60b24192b1f af_unix: selftest: Fix the size of the parameter to connect()
    39ae73e58111 nfc: pn533: Wait for out_urb's completion in pn533_usb_send_frame()
    f6003784b1f6 hvc/xen: lock console list traversal
    79c58b74244d octeontx2-af: Fix LMAC config in cgx_lmac_rx_tx_enable
    303d06288122 tipc: fix unexpected link reset due to discovery messages
    e79d0f97cc6e ALSA: usb-audio: Relax hw constraints for implicit fb sync
    c9557906bd3b ALSA: usb-audio: Make sure to stop endpoints before closing EPs
    83e758105bc8 ASoC: wm8904: fix wrong outputs volume after power reactivation
    7c26d218729b scsi: ufs: core: WLUN suspend SSU/enter hibern8 fail recovery
    513fdf0b8e20 scsi: ufs: Stop using the clock scaling lock in the error handler
    13259b60b71b scsi: mpi3mr: Refer CONFIG_SCSI_MPI3MR in Makefile
    470f6a9175f1 regulator: da9211: Use irq handler when ready
    24107ad469df x86/resctrl: Fix task CLOSID/RMID update race
    cd3da505fb35 EDAC/device: Fix period calculation in edac_device_reset_delay_period()
    ab0d02c53a60 x86/boot: Avoid using Intel mnemonics in AT&T syntax asm
    a90d339f1f66 powerpc/imc-pmu: Fix use of mutex in IRQs disabled section
    511cf17b2447 netfilter: ipset: Fix overflow before widen in the bitmap_ip_create() function.
    b22faa21b623 sched/core: Fix use-after-free bug in dup_user_cpus_ptr()
    d766ccadbe85 iommu/mediatek-v1: Fix an error handling path in mtk_iommu_v1_probe()
    c929a230c844 iommu/iova: Fix alloc iova overflows issue
    4b51aa263ae4 usb: ulpi: defer ulpi_register on ulpi_read_id timeout
    9a8bf443f6a2 bus: mhi: host: Fix race between channel preparation and M0 event
    456e3794e08a ipv6: raw: Deduct extension header length in rawv6_push_pending_frames
    4c93422a54cd ixgbe: fix pci device refcount leak
    e97da5d97a97 platform/x86: sony-laptop: Don't turn off 0x153 keyboard backlight during probe
    f3b1e04daf86 dt-bindings: msm/dsi: Don't require vcca-supply on 14nm PHY
    52a5f596c6cc dt-bindings: msm/dsi: Don't require vdds-supply on 10nm PHY
    984ad875db80 drm/msm/dp: do not complete dp_aux_cmd_fifo_tx() if irq is not for aux transfer
    92ae83665e9e platform/x86: ideapad-laptop: Add Legion 5 15ARH05 DMI id to set_fn_lock_led_list[]
    e38b5f81dfa8 dt-bindings: msm: dsi-phy-28nm: Add missing qcom, dsi-phy-regulator-ldo-mode
    bb32ab40cb7f dt-bindings: msm: dsi-controller-main: Fix description of core clock
    3fb8d10beef9 dt-bindings: msm: dsi-controller-main: Fix power-domain constraint
    dc5b651cad66 drm/msm/adreno: Make adreno quirks not overwrite each other
    757d665ee1fe dt-bindings: msm: dsi-controller-main: Fix operating-points-v2 constraint
    c90cf47d309a platform/x86: dell-privacy: Fix SW_CAMERA_LENS_COVER reporting
    25b5f693bc2d platform/surface: aggregator: Ignore command messages not intended for us
    ee7b8ce2cc28 platform/x86: dell-privacy: Only register SW_CAMERA_LENS_COVER if present
    e0072068adaf cifs: Fix uninitialized memory read for smb311 posix symlink create
    f3495b5e9e68 net/mlx5e: Set action fwd flag when parsing tc action goto
    1a8431cc202a drm/i915/gt: Reset twice
    011ecdbcd520 drm/virtio: Fix GEM handle creation UAF
    798dfeeae33d s390/percpu: add READ_ONCE() to arch_this_cpu_to_op_simple()
    a400593eb373 s390/cpum_sf: add READ_ONCE() semantics to compare and swap loops
    d4fa65960a9d ASoC: qcom: lpass-cpu: Fix fallback SD line index handling
    8400b91c11db s390/kexec: fix ipl report address for kdump
    c07e0babd1df perf auxtrace: Fix address filter duplicate symbol selection
    e81d82da619a net: stmmac: add aux timestamps fifo clearance wait
    44167b74a8a3 docs: Fix the docs build with Sphinx 6.0
    24176bf2a145 efi: tpm: Avoid READ_ONCE() for accessing the event log
    01b966b14c6e selftests: kvm: Fix a compile error in selftests/kvm/rseq_test.c
    c773ebe11c39 KVM: arm64: nvhe: Fix build with profile optimization
    c1d6a72fc810 KVM: arm64: Fix S1PTW handling on RO memslots
    e04e6cd8830f ALSA: hda/realtek: Enable mute/micmute LEDs on HP Spectre x360 13-aw0xxx
    b983c9a9714e ALSA: hda/realtek - Turn on power early
    9ab3696881ca ALSA: control-led: use strscpy in set_led_id()
    a8acfe2c6fb9 netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits
    90bb4f8f399f Linux 5.15.88
    cbd3e6d5e516 ALSA: hda - Enable headset mic on another Dell laptop with ALC3254
    b98dee474642 ALSA: hda/hdmi: Add a HP device 0x8715 to force connect list
    26350c21bc5e ALSA: pcm: Move rwsem lock inside snd_ctl_elem_read to prevent UAF
    dadd0dcaa67d net/ulp: prevent ULP without clone op from entering the LISTEN status
    04941c1d5bb5 net: sched: disallow noqueue for qdisc classes
    068b51219362 serial: fixup backport of "serial: Deassert Transmit Enable on probe in driver-specific way"
    46aa1557581f selftests/vm/pkeys: Add a regression test for setting PKRU through ptrace
    3c1940c54922 x86/fpu: Emulate XRSTOR's behavior if the xfeatures PKRU bit is not set
    3f1c81426a9f x86/fpu: Allow PKRU to be (once again) written by ptrace.
    b29773d6b0bb x86/fpu: Add a pkru argument to copy_uabi_to_xstate()
    9813c5fc22bc x86/fpu: Add a pkru argument to copy_uabi_from_kernel_to_xstate().
    fea26e83a196 x86/fpu: Take task_struct* in copy_sigframe_from_user_to_xstate()
    d4d152017e1d parisc: Align parisc MADV_XXX constants with all other architectures

(From OE-Core rev: 6398ae4f5c5d07500ffdf0ae1bc0ecf80b63dbca)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-02 09:50:02 +00:00
Bruce Ashfield 1f6588bc00 linux-yocto/6.1: update to v6.1.7
Updating  to the latest korg -stable release that comprises
the following commits:

    21e996306a6a Linux 6.1.7
    046c9972dd40 pinctrl: amd: Add dynamic debugging for active GPIOs
    86cd9d9ebda6 Revert "usb: ulpi: defer ulpi_register on ulpi_read_id timeout"
    73a630b359c8 block: handle bio_split_to_limits() NULL return
    e62e6258ab14 io_uring/io-wq: only free worker if it was allocated for creation
    0a14c3ded80c io_uring/io-wq: free worker if task_work creation is canceled
    3925336af00f drm/i915: Fix CFI violations in gt_sysfs
    c06015ebc436 io_uring/poll: attempt request issue after racy poll wakeup
    7fc3990dad04 io_uring: lock overflowing for IOPOLL
    adc96d30f650 efi: fix NULL-deref in init error path
    a474d4ad59cd ALSA: usb-audio: Fix possible NULL pointer dereference in snd_usb_pcm_has_fixed_rate()
    394416282129 platform/x86/amd: Fix refcount leak in amd_pmc_probe
    50b3cdf8239b platform/surface: aggregator: Add missing call to ssam_request_sync_free()
    de76fc134f74 bnxt: make sure we return pages to the pool
    4fe577ad7b29 net: hns3: fix wrong use of rss size during VF rss config
    c2258d55935c net: lan966x: check for ptp to be enabled in lan966x_ptp_deinit()
    bbc17e883cba igc: Fix PPS delta between two synchronized end-points
    8c3dc300617c perf kmem: Support field "node" in evsel__process_alloc_event() coping with recent tracepoint restructuring
    4e81a8a47dc6 perf kmem: Support legacy tracepoints
    d4bc9f017f31 perf build: Properly guard libbpf includes
    c8ca0ad10df0 octeontx2-pf: Fix resource leakage in VF driver unbind
    0daf5f4a1eef selftests/net: l2_tos_ttl_inherit.sh: Ensure environment cleanup on failure.
    2440f74a9967 selftests/net: l2_tos_ttl_inherit.sh: Run tests in their own netns.
    1621f9a53948 selftests/net: l2_tos_ttl_inherit.sh: Set IPv6 addresses with "nodad".
    514d9c6a3921 net/mlx5e: Fix macsec possible null dereference when updating MAC security entity (SecY)
    9be4e25bdc1f net/mlx5e: Fix macsec ssci attribute handling in offload path
    e02190787f11 net/mlx5e: Don't support encap rules with gbp option
    f594f740c352 net/mlx5: Fix ptp max frequency adjustment range
    0fa15a13670d net/mlx5e: IPoIB, Fix child PKEY interface stats on rx path
    5844a46f09f7 net/mlx5e: IPoIB, Block PKEY interfaces with less rx queues than parent
    b5f108e202b7 net/mlx5e: IPoIB, Block queue count configuration when sub interfaces are present
    798604a1bd6e net/mlx5e: Verify dev is present for fix features ndo
    ddf458641a51 net/mlx5: Fix command stats access after free
    1f232fb61913 net/mlx5e: TC, Keep mod hdr actions after mod hdr alloc
    39124c14af45 net/mlx5: check attr pointer validity before dereferencing it
    7697de4ad708 Revert "r8169: disable detection of chip version 36"
    8a97b544b98e net/sched: act_mpls: Fix warning during failed attribute validation
    7ac9578e45b2 drm/vmwgfx: Remove rcu locks from user resources
    a3be7e2afc43 drm/vmwgfx: Remove vmwgfx_hashtab
    7f3d691dedfe drm/vmwgfx: Refactor ttm reference object hashtable to use linux/hashtable.
    e98d62090b6d drm/vmwgfx: Refactor resource validation hashtable to use linux/hashtable implementation.
    c00e42f1c9f1 drm/vmwgfx: Remove ttm object hashtable
    8557e0e42e02 drm/vmwgfx: Refactor resource manager's hashtable to use linux/hashtable implementation.
    2f3313c55544 drm/vmwgfx: Write the driver id registers
    96a987318855 ice: Add check for kzalloc
    500ca1da9d08 ice: Fix potential memory leak in ice_gnss_tty_write()
    f2faf0699af7 drm/amdgpu: Fix potential NULL dereference
    cd57d5e5e28e tools/nolibc: fix the O_* fcntl/open macro definitions for riscv
    91fa2bd35280 tools/nolibc: restore mips branch ordering in the _start block
    c878ac66db42 ASoC: qcom: Fix building APQ8016 machine driver without SOUNDWIRE
    31a997c40a8a af_unix: selftest: Fix the size of the parameter to connect()
    0b1605e45c36 gro: take care of DODGY packets
    df9cddce8f99 gro: avoid checking for a failed search
    8998db5021a2 nfc: pn533: Wait for out_urb's completion in pn533_usb_send_frame()
    7bed0d49ca35 hvc/xen: lock console list traversal
    92b0051217f2 sched/core: Fix arch_scale_freq_tick() on tickless systems
    d995fadd7f09 octeontx2-af: Fix LMAC config in cgx_lmac_rx_tx_enable
    973acfdfe90c nfsd: fix handling of cached open files in nfsd4_open codepath
    0aba4dd7f269 nfsd: rework refcounting in filecache
    65469b10522f NFSD: Add an nfsd_file_fsync tracepoint
    4ec7a0f277d0 nfsd: reorganize filecache.c
    d7a6c190012a nfsd: remove the pages_flushed statistic from filecache
    1c36dc563e1c NFSD: Add an NFSD_FILE_GC flag to enable nfsd_file garbage collection
    7e4d3d500458 NFSD: Revert "NFSD: NFSv4 CLOSE should release an nfsd_file immediately"
    90d5095b76f4 NFSD: Pass the target nfsd_file to nfsd_commit()
    5ac01865a2b9 tipc: fix unexpected link reset due to discovery messages
    34aed3646e82 stmmac: dwmac-mediatek: remove the dwmac_fix_mac_speed
    0d81b8e86e75 ALSA: usb-audio: Relax hw constraints for implicit fb sync
    254328ba4cd3 ALSA: usb-audio: Make sure to stop endpoints before closing EPs
    fc78cb85abd0 mtd: cfi: allow building spi-intel standalone
    6e4131245240 mtd: parsers: scpart: fix __udivdi3 undefined on mips
    c5d032482c23 ASoC: wm8904: fix wrong outputs volume after power reactivation
    c6fa1de83fd8 drm/msm/dpu: Fix memory leak in msm_mdss_parse_data_bus_icc_path
    7928737dd149 drm/msm/dpu: Fix some kernel-doc comments
    fba1b23befd8 ASoC: Intel: sof-nau8825: fix module alias overflow
    bc9b113d3c88 ASoC: Intel: sof_nau8825: support rt1015p speaker amplifier
    c8eb7ac95a1e ASoC: Intel: fix sof-nau8825 link failure
    bf5838132d1e scsi: ufs: core: WLUN suspend SSU/enter hibern8 fail recovery
    9bfa3a615037 scsi: mpi3mr: Refer CONFIG_SCSI_MPI3MR in Makefile
    87c71e88f6a6 scsi: storvsc: Fix swiotlb bounce buffer leak in confidential VM
    ad1336274f73 regulator: da9211: Use irq handler when ready
    07ac5db2d840 x86/resctrl: Fix event counts regression in reused RMIDs
    d01c6557478b x86/resctrl: Fix task CLOSID/RMID update race
    c1c59538337a x86/pat: Fix pat_x_mtrr_type() for MTRR disabled case
    1dc8c5574cc2 EDAC/device: Fix period calculation in edac_device_reset_delay_period()
    b43d52eeca7d x86/boot: Avoid using Intel mnemonics in AT&T syntax asm
    424bcb570cb3 powerpc/imc-pmu: Fix use of mutex in IRQs disabled section
    213b22abdf8f selftests: netfilter: fix transaction test script timeout handling
    e88865876d47 netfilter: ipset: Fix overflow before widen in the bitmap_ip_create() function.
    7b5cc7fd1789 sched/core: Fix use-after-free bug in dup_user_cpus_ptr()
    bad1a2194485 iommu/arm-smmu: Report IOMMU_CAP_CACHE_COHERENCY even betterer
    a1b9c7b1978a iommu/arm-smmu: Don't unregister on shutdown
    abebd865a896 iommu/mediatek-v1: Fix an error handling path in mtk_iommu_v1_probe()
    ead3e6c79479 iommu/arm-smmu-v3: Don't unregister on shutdown
    61cbf790e732 iommu/iova: Fix alloc iova overflows issue
    68a6f7dbf8a4 mm: Always release pages to the buddy allocator in memblock_free_late().
    309278736f35 drm/amdgpu: enable VCN DPG for GC IP v11.0.4
    e30be0ada6e2 drm/amdgpu: Enable pg/cg flags on GC11_0_4 for VCN
    6ef4543f1f3b drm/amdgpu: add soc21 common ip block support for GC 11.0.4
    d90de26bdc97 drm/amd/pm: enable GPO dynamic control support for SMU13.0.7
    d167ce6c47db drm/amd/pm: enable GPO dynamic control support for SMU13.0.0
    5e594dbf6e76 drm/amd/pm: Enable bad memory page/channel recording support for smu v13_0_0
    e59d46eed1d9 drm/amd/pm: enable mode1 reset on smu_v13_0_10
    9bd180b6f9d0 usb: ulpi: defer ulpi_register on ulpi_read_id timeout
    5c855bcc7306 drm/i915/gt: Cleanup partial engine discovery failures
    5e4194d89ffe iavf/iavf_main: actually log ->src mask when talking about it
    0afa5f073658 ipv6: raw: Deduct extension header length in rawv6_push_pending_frames
    c49996c6aa03 ixgbe: fix pci device refcount leak
    fb8534b7960f platform/x86: sony-laptop: Don't turn off 0x153 keyboard backlight during probe
    0f21e225ff48 dt-bindings: msm/dsi: Don't require vcca-supply on 14nm PHY
    3c0d5bb904a2 dt-bindings: msm/dsi: Don't require vdds-supply on 10nm PHY
    b7dcbca46db3 drm/msm/dp: do not complete dp_aux_cmd_fifo_tx() if irq is not for aux transfer
    4b5d9c95b437 platform/x86: ideapad-laptop: Add Legion 5 15ARH05 DMI id to set_fn_lock_led_list[]
    21e5eca0ac90 arm64/mm: fix incorrect file_map_count for invalid pmd
    06f8be16be51 arm64: ptrace: Use ARM64_SME to guard the SME register enumerations
    a9a6715272a7 dt-bindings: msm: dsi-phy-28nm: Add missing qcom, dsi-phy-regulator-ldo-mode
    a006aaffd78f arm64/mm: add pud_user_exec() check in pud_user_accessible_page()
    05458ee3ff82 arm64/signal: Always accept SVE signal frames on SME only systems
    4b855673cf3d dt-bindings: msm: dsi-controller-main: Fix description of core clock
    b5affe7e0b3a dt-bindings: msm: dsi-controller-main: Fix power-domain constraint
    4fa6b43ba44b arm64/signal: Always allocate SVE signal frames on SME only systems
    b72bd13bc500 drm/msm/adreno: Make adreno quirks not overwrite each other
    d0f52562b891 firmware/psci: Don't register with debugfs if PSCI isn't available
    a30aafcfba8f firmware/psci: Fix MEM_PROTECT_RANGE function numbers
    b107b08c41b3 drm/msm: another fix for the headless Adreno GPU
    96ec2f82aea0 dt-bindings: msm: dsi-controller-main: Fix operating-points-v2 constraint
    dfa4ff480fe6 platform/x86: dell-privacy: Fix SW_CAMERA_LENS_COVER reporting
    0e082105895c platform/x86: asus-wmi: Don't load fan curves without fan
    127bf1d6bfe3 platform/x86: thinkpad_acpi: Fix profile mode display in AMT mode
    c7acfd933d96 platform/x86: int3472/discrete: Ensure the clk/power enable pins are in output mode
    7221c2a7be64 platform/surface: aggregator: Ignore command messages not intended for us
    3a79bad87616 platform/x86: dell-privacy: Only register SW_CAMERA_LENS_COVER if present
    1f4a9408024e ACPI: video: Allow selecting NVidia-WMI-EC or Apple GMUX backlight from the cmdline
    462ed8a2beba ASoC: rt9120: Make dev PM runtime bind AsoC component PM
    617401df4605 io_uring/fdinfo: include locked hash table in fdinfo output
    f0f326dc9794 cifs: fix double free on failed kerberos auth
    888c060bc327 cifs: do not query ifaces on smb1 mounts
    d54a3ef8b8bd cifs: fix file info setting in cifs_open_file()
    5a574327d1c5 cifs: fix file info setting in cifs_query_path_info()
    d4b7ff9edebc cifs: Fix uninitialized memory read for smb311 posix symlink create
    f905e03c8ff6 Revert "drm/amdgpu: Revert "drm/amdgpu: getting fan speed pwm for vega10 properly""
    69a75087cd1f drm/amd/display: move remaining FPU code to dml folder
    363781f72d46 drm/amd/pm: add the missing mapping for PPT feature on SMU13.0.0 and 13.0.7
    b435f68e415c drm/amd/pm: correct the reference clock for fan speed(rpm) calculation
    9196eb7c52e5 drm/amdgpu: Fixed bug on error when unloading amdgpu
    dcfeba477b3e drm/amd: Delay removal of the firmware framebuffer
    b696c627b3f5 drm/i915: Fix potential context UAFs
    8874730ecefe drm/i915: Reserve enough fence slot for i915_vma_unbind_async
    4009502c091c drm/i915/gt: Reset twice
    42526442fe3e drm: Optimize drm buddy top-down allocation method
    b8e6fc445990 drm/amd/pm/smu13: BACO is supported when it's in BACO state
    adc48e5e408a drm/virtio: Fix GEM handle creation UAF
    b6ac9ded42ae s390/percpu: add READ_ONCE() to arch_this_cpu_to_op_simple()
    45a584f139e8 s390/cpum_sf: add READ_ONCE() semantics to compare and swap loops
    ba518c5b6429 cpufreq: amd-pstate: fix kernel hang issue while amd-pstate unregistering
    80a82f6eb3b7 elfcore: Add a cprm parameter to elf_core_extra_{phdrs,data_size}
    5fc5cdee8ef2 ASoC: qcom: lpass-cpu: Fix fallback SD line index handling
    20fa7855af45 brcmfmac: Prefer DT board type over DMI board type
    ab4b5a2154bc s390/kexec: fix ipl report address for kdump
    90e585b6ab23 perf auxtrace: Fix address filter duplicate symbol selection
    2da1ba6f56f6 net: stmmac: add aux timestamps fifo clearance wait
    0bb6742bf81a ACPI: Fix selecting wrong ACPI fwnode for the iGPU on some Dell laptops
    8f282a84f31c arm64: cmpxchg_double*: hazard against entire exchange variable
    f5731a792486 arm64: mte: Avoid the racy walk of the vma list during core dump
    87b3a402bbc5 arm64: mte: Fix double-freeing of the temporary tag storage during coredump
    4ad6c0635416 io_uring/poll: add hash if ready poll request can't complete inline
    78c8b66a697a docs: Fix the docs build with Sphinx 6.0
    e2cee489f24f efi: tpm: Avoid READ_ONCE() for accessing the event log
    5b66b27b9dee efi: fix userspace infinite retry read efivars after EFI runtime services page fault
    9a1195c58432 KVM: arm64: Fix S1PTW handling on RO memslots
    d778e68faa6a KVM: x86: Do not return host topology information from KVM_GET_SUPPORTED_CPUID
    82972d60f46f ALSA: hda/realtek: Enable mute/micmute LEDs on HP Spectre x360 13-aw0xxx
    779c7c7ea8e0 ALSA: hda/realtek - Turn on power early
    e1e0a181aea3 ALSA: usb-audio: Always initialize fixed_rate in snd_usb_find_implicit_fb_sync_format()
    e59e115d67d6 ALSA: control-led: use strscpy in set_led_id()
    303a04b6562e Revert "ALSA: usb-audio: Drop superfluous interface setup at parsing"
    76ef74d4a379 netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits
    38f3ee12661f Linux 6.1.6
    cb9b3951d636 ALSA: hda: cs35l41: Check runtime suspend capability at runtime_idle
    a6d58eff4f83 ALSA: hda - Enable headset mic on another Dell laptop with ALC3254
    8107550bfe11 ALSA: hda: cs35l41: Don't return -EINVAL from system suspend/resume
    57f6bea5218c ALSA: hda/realtek: fix mute/micmute LEDs don't work for a HP platform
    0e19738afc84 ALSA: hda/hdmi: Add a HP device 0x8715 to force connect list
    d6ad4bd1d896 ALSA: pcm: Move rwsem lock inside snd_ctl_elem_read to prevent UAF
    e8988e878af6 net: sched: disallow noqueue for qdisc classes
    cd2e80a3ac70 gcc: disable -Warray-bounds for gcc-11 too
    8cc0e63ba86c Revert "SUNRPC: Use RMW bitops in single-threaded hot paths"
    29fbaa434c22 selftests/vm/pkeys: Add a regression test for setting PKRU through ptrace
    d2602da3da87 x86/fpu: Emulate XRSTOR's behavior if the xfeatures PKRU bit is not set
    587478470b0a x86/fpu: Allow PKRU to be (once again) written by ptrace.
    bfa72faf69e8 x86/fpu: Add a pkru argument to copy_uabi_to_xstate()
    a442736b704d x86/fpu: Add a pkru argument to copy_uabi_from_kernel_to_xstate().
    f28418b06f6b x86/fpu: Take task_struct* in copy_sigframe_from_user_to_xstate()
    763b92568726 parisc: Align parisc MADV_XXX constants with all other architectures

(From OE-Core rev: 18aaa6ae51d1e1d51a7eeeebf011adccc727efc0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-02 09:50:02 +00:00
Peter Kjellerstedt 72bcdc3755 poky.conf: Switch to post release name/version
(From meta-yocto rev: b586654a4f0cd782de833106aff96b613b70b62b)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-01 14:05:55 +00:00
Mingli Yu 7e36861eb3 glslang: branch rename master -> main
Branch name is changed from master to main.

(From OE-Core rev: 65ee4c1067ee5d73c198eed8ed2f1c9a60d5df96)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-01 14:05:15 +00:00
Ross Burton c24a83ed4a httpserver: add error handler that write to the logger
(From OE-Core rev: a4bcca3123685f410fc99e5cc23f2b8f39fd0a63)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-01 14:05:15 +00:00
Ross Burton f6a1c8c309 oeqa/utils/httpserver: connect up the request logging
Call logger.info() in the log_message handler so that we get request
logging, and hopefully even error messages.

Create a child logger to be neat and compartmentalise the logging.

Add a __main__ entrypoint so this class can be exercised outside of oeqa.

Remove unused traceback import.

(From OE-Core rev: 8fc939d942cec1662ca386b87c63f167bb10fd05)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-01 14:05:15 +00:00
Ross Burton d8ec2bbc77 sdkext/cases/devtool: pass a logger to HTTPService
Pass our logger to the HTTPService instance so we can see the requests
and any errors.

(From OE-Core rev: 3485df2ff61143aac03d92300b7bac4e5d6b2427)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-01 14:05:15 +00:00
Vivek Kumbhar 61f27971a9 openssl: fix CVE-2022-3996 double locking leads to denial of service
(From OE-Core rev: c20b7b864dc6726a2ed4a40cf5a30661ad28c6e0)

Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-01 14:05:15 +00:00
Ross Burton 8b4d0c8cb8 git: ignore CVE-2022-41953
This is specific to Git-for-Windows.

(From OE-Core rev: c8849af809e0213d43e18e5d01067eeeb61b330d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-01 14:05:15 +00:00
Ross Burton 1a9437920a git: upgrade to 2.39.1
This fixes CVE-2022-41903 and CVE-2022-23521.

(From OE-Core rev: 8395d2512c5335635fff3ce2043ac71fe1948c42)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-01 14:05:15 +00:00
Alexander Kanavin 7388cb224e oeqa/qemurunner: do not use Popen.poll() when terminating runqemu with a signal
This does not actually guarantee that the child runqemu process has completely exited:
poll() may return prematurely while the SIGTERM handler in runqemu is still running.
This thwarts the rest of the processing, and may terminate the handler before
it completes.

Use Popen.communicate() instead: this is what python documentation recommends as well:
https://docs.python.org/3/library/subprocess.html#subprocess.Popen.communicate

(From OE-Core rev: cd3e55606c427287f37585c5d7cde936471e52f4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-01 14:05:15 +00:00
Khem Raj da95831d91 scons: Pass MAXLINELENGTH to scons invocation
This helps in overcoming a problem when using scons with ccache enabled.
When commands get longer, then it resorts to using response files to do
the operations e.g. @/tmp/tmp96j6icra.lnk when this response file is
inboked by compiler it works ok, however, this does not when ccache is
used to invoke the complilation. We see errors e.g.

ccache @/tmp/tmppsyij_0v.lnk
ccache: error: execute_noreturn of @/tmp/tmppsyij_0v.lnk failed: No such file or directory

Using MAXLINELENGTH setting ensures that we can use ARG_MAX to extend
the length of commandline and hence avoid using response files. This
issue is also reported in mongodb [1]

[1] https://jira.mongodb.org/browse/SERVER-38389

(From OE-Core rev: 29558f6218f4676b459f2c78f82d245339d51c8c)

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>
2023-01-31 17:11:07 +00:00
Khem Raj e45fb1ff01 nghttp2: Disable python bindings
python bindings need cython to build, moreover they have been removed
from future releases upstream nghttp2 [1]

This ensures consistent builds as it does not need cython which was
being used from build host if it is installed. With some distros e.g.
archlinux it caused conflicts with python from python-native

[1] https://github.com/nghttp2/nghttp2/commit/b4cb3b0090b704f2461766c455568b311013272f

(From OE-Core rev: ce59be9d48fa679ad54b70368d8a76daadbe88ba)

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>
2023-01-31 17:11:07 +00:00
Alex Kiernan a10ec437b1 rust: Upgrade 1.66.1 -> 1.67.0
Disable ZStd to avoid needing libzstd in llvm (mirrors zlib disable).
Generate complete list of rust-snapshot artefacts from src/stage0.json.
Drop clippy-driver reproducibility change as the code is gone from
upstream.

Release notes:
  https://releases.rs/docs/1.67.0/

License-Update: Unicode-TOU text added (already in our license string)
(From OE-Core rev: 4900e0c5cb8a092a1d77d4f26249afa59b241da6)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-31 17:11:07 +00:00
Markus Volk 4360f7e2c1 libtiff: add PACKAGECONFIG for libdeflate and zstd
The main reason for this is an issue with latest libtiff update that causes
gtk4-native configure to fail in finding libtiff (while it just builds
fine for target).
By comparing libtiff-4.pc for native and target it turned out, that
it links for native with zstd and libdeflate. Probably because those libs
were found on my host system.

Adding PACKAGECONFIGS for the libs prevents us from taking them from the host.

(From OE-Core rev: ca2e2035b9d81a230a1a63f51b1300418e9b9ca6)

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>
2023-01-31 17:11:06 +00:00
Khem Raj d119ac532f busybox: Make provisions to disable sha256/sha1 accelaration on x86
busybox 1.36 has an ongoing regression on musl/i386 [1] we see same on
glibc systems too.
therefore avoid the affected code by disabling sha256/sha1 sum accelaration
meanwhile

CONFIG_SHA256_HWACCEL and CONFIG_SHA1_HWACCEL are enabled by default

[1] http://lists.busybox.net/pipermail/busybox/2023-January/090078.html

(From OE-Core rev: 22f639d61127f4b82a79008c5305e44e090a3680)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-31 17:11:06 +00:00
Andrej Valek 86598c849c busybox: 1.35.0 -> 1.36.0
- update to next (un)stable version 1.36.0
- refresh defconfig
 - disable new applets (tree, tsort, seedrng)
 - use hw-accel for sha1/256 sums when available
- remove and refresh already merged patches

(From OE-Core rev: 2e9989a8f8b5b93476e551475df010add32aac31)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
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>
2023-01-31 17:11:06 +00:00
Richard Purdie 29afbb5e14 scripts/bitbake-prserv-tool: Fix to work with memres bitbake
Deleting data files whilst bitbake is running isn't a great idea.

Make sure memory resident bitbake is stopped if present and make
the file deletions a little more specific and safer too while we're
here.

Note: The cache directory layout is different on older releases (some
are split level) so this won't be a direct backport to some.

(From OE-Core rev: fa3f1f67abae1d90bede2e98bf7293603fd1307c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-29 19:24:22 +00:00
Alejandro Hernandez Samaniego f3ad36d15c newlib: Upgrade 4.2.0 -> 4.3.0
- Rebased fix-rs6000-crt0.patch
- Patch fix_makefile_include_arm_h.patch is no longer required, the newlib
  header dependency has been fixed upstream at 26f9cfd7
- LICENSE checksum change due to:
  - Adding SPDX identifier
  - Deleted Phoenix Systems from License and updated each licenses
  numbers accordingly.
- Add a dummy limits.h header, to make the improved preprocessor
  checks happy during configure.
- Add a patch for libgloss to maintain current behavior of TCLIBC=newlib
  by making libgloss DEPEND on newlib and use its installed headers.
- Switch to git fetcher to simplify fetching the sources and avoid future
  issues due to the way newlib release snapshots were being published.

(From OE-Core rev: 1c9cbb27dfe37ca4574c4285fb03ce394dee5ed1)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-29 19:24:22 +00:00
Ross Burton fa4cd1a7a2 Revert "cve-update-db-native: show IP on failure"
The bug this was intended to find has been resolved, so we don't need
this extra noise in the logs.

This reverts commit bd1edfa3d5.

(From OE-Core rev: 54ae53ef3e4ad51fc9a01155588b62f29c994742)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-29 19:24:22 +00:00
Richard Purdie 8c5faadf6c bitbake.conf: Inject a dash into PN for BB_HASH_CODEPARSER_VALS
We've had a couple of reports of recipes expecting to be able to call
split("-") on PN. There isn't any real harm in adding a dash to the dummy
PN value to avoid these errors.

(From OE-Core rev: 10e140d98790ce28b440b8e8697a4311658fe4df)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-29 19:24:22 +00:00
Richard Purdie 5bd43a58a7 make-mod-scripts: Ensure kernel build output is deterministic
The definitions in linux-kernel-base are needed to ensure the generated headers
are consistent. This was a small step that was missing from the previous
changes to linux-kernel-base as both kernel-devsrc and make-mod-scripts
need this information defined consistently.

(From OE-Core rev: 0d79d4883f924cef0d0ba361506ad75d441b9721)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-29 10:50:42 +00:00
Armin Kuster 0c37cdbf5b lttng-modules: Fix for 5.10.163 kernel version
(From OE-Core rev: 4ad1f430abe1e7706b43b36405f036fa23a4e6fd)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-28 00:07:08 +00:00
Khem Raj 6830aa2a3e gdb: Define alignof using _Alignof when using C11 or newer
(From OE-Core rev: 131c753e000bf3c8814823d36d18e82f4dee26f2)

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>
2023-01-28 00:07:08 +00:00
Alexander Kanavin d58a8a153c gdk-pixbuf: do not use tools from gdk-pixbuf-native when building tests
The patch that allows to do so has not been accepted upstream, and wasn't correctly
working as it was running a native executable (gdk-pixbuf-query-loaders) with target .so plugins.

On the other hand, out of 20+ (currently 23) tests only three require
running binaries at build time to produce special test-specific input data:

cve-2015-4491
pixbuf-pixdata
pixbuf-resource

So let's simply omit these from the build: this can be done with a far
less invasive patch which has a chance of being accepted upstream.

gdk-pixbuf-print-mime-types is no longer installed
(the replaced patch was doing that).

(From OE-Core rev: 0d926508e75095eb446699b612729d0243eacc91)

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>
2023-01-28 00:07:08 +00:00
Khem Raj d6f97cf271 webkitgtk: Fix build with gcc 13
(From OE-Core rev: b040cd0409802265b371e886b08bdc6801f2d386)

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>
2023-01-28 00:07:08 +00:00
Khem Raj 3e854407bb valgrind: Include missing <cstdint>
(From OE-Core rev: 01698350086cce9ca21cd31f615a6eb49fabe6dc)

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>
2023-01-28 00:07:08 +00:00
Richard Purdie 5e249ec855 build-appliance: Fix merge error
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.2_M2
2023-01-26 22:51:00 +00:00
Richard Purdie f765c58311 build-appliance-image: Update to master head revision
(From OE-Core rev: 493f2d163718d78560a2b3ad5d3c0fb34caae8c0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 22:29:12 +00:00
Bruce Ashfield a5507f383c poky/poky-tiny: bump preferred version to 6.1
5.19 will be removed shortly, bumping the preferred versions for
poky/poky-tiny to 6.1. The -alt config remains on 5.15.

(From meta-yocto rev: 535ef93ef68af20b06effb0dd899895a192bb412)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 22:23:07 +00:00
Bruce Ashfield 24d0d20633 conf/qemu: bump preferred kernel version to 6.1
6.1 has been soaking for a while now, so it is time to bump the
default qemu version to 6.1 and prepare to remove 5.19.

(From OE-Core rev: 91c1f7d4eb9ec5ad683c798812395df3a56747ba)

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>
2023-01-26 22:22:53 +00:00
Xiangyu Chen 6d31c38c08 qemuppc64: set the qemuppc64 nfs r/wsize mount options to 524288
On master oe, build a qemuppc64 with systemd as default init, when we
use nfs bootup, the kernel might panic due to missing symbol in dynamic
libraries as below:

  hid-generic 0003:0627:0001.0003: input: USB HID v0.01 Mouse [QEMU QEMU USB Tablet] on usb-0000:00:01.0-3/input0
  /sbin/init: /lib64/libm.so.6: version `XZ_5.0' not found (required by /usr/lib64/libkmod.so.2)
  Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
  CPU: 0 PID: 1 Comm: init Not tainted 5.15.78-yocto-standard #1
  Call Trace:
  [c000000007443ba0] [c0000000009538d0] dump_stack_lvl+0x74/0xa8 (unreliable)
  [c000000007443be0] [c000000000103524] panic+0x170/0x3cc
  [c000000007443c80] [c00000000010cf64] do_exit+0xb44/0xb50
  [c000000007443d50] [c00000000010d040] do_group_exit+0x60/0xd0
  [c000000007443d90] [c00000000010d0d4] sys_exit_group+0x24/0x30
  [c000000007443db0] [c00000000002cfd4] system_call_exception+0x194/0x2f0
  [c000000007443e10] [c00000000000c2cc] system_call_common+0xec/0x250
  --- interrupt: c00 at 0x7fff9ed9e840
  NIP:  00007fff9ed9e840 LR: 00007fff9ed7da20 CTR: 0000000000000000
  REGS: c000000007443e80 TRAP: 0c00   Not tainted (5.15.78-yocto-standard)
  MSR:  800000000280f033 <SF,VEC,VSX,EE,PR,FP,ME,IR,DR,RI,LE>  CR: 24022442  XER: 00000000

One or more of the libraries systemd depends on failed to load due to
unresolved symbols/functions.  This was intermittent - with a failure
rate estimated between 5% and 30%.

After checking the code, this issue happens on gcc 12, kirkstone is using
gcc 11 works well, with both using the exact same v5.15.84 kernel commit.

There is a kernel fix from upstream [1], they changed the rsize / wsize
to a multiple of PAGE_SIZE, when we applied this patch, the qemuppc64's
default r/wsize went from 4096 to 524288.But the qemuppc64 doesn't have
its own linux-yocto kernel branch, so apply this change might cause
regression with other platforms which share branch with qemuppc64.

So, we added an extra option for nfs rootfs, and set the qemuppc64 default
r/w size to 524288 to line up with the kernel fix[1].

Yocto did a similar thing in the distant past[2] - prior to boot-arg
adjustments existing - by allowing a Kconfig to set the defaults on
nfsboot, in order to work around hardware limitations.

Reference:
[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=940261a195080cf
[2] https://git.yoctoproject.org/linux-yocto-4.1/commit/?h=standard/base&id=a96cfd98add95

(From OE-Core rev: 14a81556ff1be326647e654424c8f1bf9d0db912)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 22:22:53 +00:00
Xiangyu Chen 6bc30dd4a7 runqemu: add process of option QB_NFSROOTFS_EXTRA_OPT
This extra options to be appended to the nfs rootfs options in kernel
boot arg.

Example config with qemuppc64 in machine config:

add r/w size in the nfs rootfs extra option:
QB_NFSROOTFS_EXTRA_OPT = "wsize=524288,rsize=524288"

re-build and runqemu with nfs again, we can observe the kernel command
line added our defined value in QB_NFSROOTFS_EXTRA_OPT:

Kernel command line: root=/dev/nfs nfsroot=10.0.2.2:/home/xchen5/testing/build/tmp-glibc/deploy/images/qemuppc64/testnfs,nfsvers=3,port=3049,tcp,mountport=3048,wsize=524288,rsize=524288 rw  mem=256M ip=dhcp console=hvc0 console=hvc0 nohugevmalloc

(From OE-Core rev: 43a97f5bf3f90c5c1fd603f7dca2b3db2c0e3040)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 22:22:53 +00:00
Xiangyu Chen 45f278ed23 qemuboot.bbclass: add QB_NFSROOTFS_EXTRA_OPT for nfs rootfs extra option
This extra options to be appended to the nfs rootfs options in kernel boot arg.

(From OE-Core rev: a255a7f350b558445f4f6c29f60e77c33883b08a)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 22:22:53 +00:00
Pawel Zalewski 3061fd5cef classes/fs-uuid: Fix command output decoding issue
The default return value from subprocess.check_output is an encoded byte.
The applied fix will decode the value to a string.

(From OE-Core rev: 046769fa952a511865c416b80d10af6287147fb7)

Signed-off-by: Pawel Zalewski <pzalewski@thegoodpenguin.co.uk>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 22:22:53 +00:00
Richard Purdie 23737c8ac7 kernel/linux-kernel-base: Fix kernel build artefact determinism issues
With the 6.1 kernel we've seen reproducibility/determinism issues where the kernel
seems to rebuild headers referencing the hostname or local user. kernel-devsrc
building after the kernel seemed to trigger it in some cases.

Moving the definitions to the bbclass used by all the kernel recipe code including
kernel-devsrc seems to be the best way to ensure this doesn't happen.

(From OE-Core rev: 60681baa97daf4f3856453c34d6be08b6771a81b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 22:20:32 +00:00
Markus Volk 7323bb0ee1 gtk4: add PACKAGECONFIG for cloudproviders
- Add missing cups runtime dependency

(From OE-Core rev: b5ab0d1795e68c29a2b69f99a6b46b920e879ec7)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:57:48 +00:00
Jan Luebbe ec87495016 p11-kit: add native to BBCLASSEXTEND
This recipe is needed to build softhsm (in meta-oe) in with p11-kit
support, which is useful when multiple PKCS#11 modules need to be used.

(From OE-Core rev: 4942a42d5a071b283fe49047dcb4fee2c96422e8)

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:57:48 +00:00
Peter Kjellerstedt bcc22368c9 cargo-update-recipe-crates.bbclass: Mark the update_crates task as nostamp
If having devtool modified a recipe and then updated the crate versions,
e.g., by doing a git bisect, running the update_crates task needs to
always update the .inc file even if the bitbake metadata has not
changed.

(From OE-Core rev: 137d290ac1f7516a509fc9d264489e51c3004d5d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:57:48 +00:00
Fabio Estevam 06cfab132f u-boot: Update Upstream-Status
The patch to fix the tools-only_defconfig error has landed in
U-Boot upstream.

Update the Upstream-Status accordingly.

(From OE-Core rev: f0facfbebcc5e4d74f70740c920df4c7c0824086)

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:57:48 +00:00
Ross Burton 22c5cffbab buildtools-tarball: set pkg-config search path
The buildtools-tarball includes a native sysroot with .pc files, and
in the case of buildtools-extended-tarball a pkg-config binary too.

If we're using the host pkg-config then it doesn't know to search in the
native sysroot.  If we're using our pkg-config then it searches in the
build-time prefix and not the actual SDK installation location.

Neither of these are correct, so set PKG_CONFIG_LIBDIR to search:
- The native sysroot
- The host pkg-config's default search path, if present
- Falling back to /usr/lib/pkgconfig, if not

In an ideal world this would be handled by the generic toolchain script,
but that is slightly more involved.

[ YOCTO #15007 ]

(From OE-Core rev: 8f768a3f4c7ff477e994d60800e5a1b83891615a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:57:48 +00:00
Alexander Kanavin c757e85fa9 vulkan-samples: branch rename master -> main
(From OE-Core rev: 74bf535ca5cbcfb38c18775ece863d53dd216008)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:57:48 +00:00
Richard Purdie c0981c9622 wic/efi-bootdisk.wks: Fix for 6.1 kernel versions
oe-selftest efibootpartition.GenericEFITest.test_boot_efi was failing for 6.1 kernels with:

| ERROR: _exec_cmd: export PATH=[...] mcopy -i [...]/rootfs_boot.1.vfat -s [...]/rootfs1/* ::/ returned '1' instead of 0
| output: Disk full

I believe we hit a file boundary size and having "0" overhead in the image meant
the files couldn't be installed. Allow a small amount of overhead to avoid
the error.

(From OE-Core rev: 16e0b8a8fc36f5525b1801888851958f0dbe84c2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:57:48 +00:00
Richard Purdie 7d28e83399 oeqa/selftest/devtool: Fix for linux 6.1 versions onwards
In recent kernel versions the string "Linux" moved to a header,
'include/linux/uts.h' instead of init/version.c. Allow the test
to work with both situations.

(From OE-Core rev: c15c59c88d229e35eeac1ed948c84168633e7cb1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:57:48 +00:00
Changqing Li 3d8b241cf2 cmake-native: use internal cmcurl library
This commit is for breaking circular dependency in following condition:
After enabling PACKAGECONFIG nghttp2 for curl, the dependency chain is:
curl-native -> nghttp2-native -> cmake-native -> curl-native.
So change to use internal cmcurl library to fix this. And as using
system curl library before, disable nghttp2 and use system openssl
library for cmcurl.

(From OE-Core rev: f9a5f9fdb69bb61242dc65ed83704f727491ecca)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:57:48 +00:00
Ross Burton b1ec98f71f bitbake: bb/utils: include SSL certificate paths in export_proxies
bb.utils.export_proxies() is a poor-man's alternative for the
environment setup code in bb/fetch2, but it's used in several places
where recipes want to download manually (such as cve-update-db-native).

Notably, export_proxies() doesn't pass on the SSL certificate paths from
the original environment, so if SSL_CERT_FILE needs to be set (for
example, in a buildtools environment) then proxies work but SSL doesn't.

In an ideal world export_proxies and the same logic in fetch2 would
merge, but until then we can add the SSL_CERT_ variables and duplicate
the basic logic: check the datastore first and then the original
environment for variables.

Also remove the return value as nothing ever checked it.

[ YOCTO #15000 ]

(Bitbake rev: c19035e8e71c419c5688a86bfc9c946c96f638e8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:50:31 +00:00
Richard Purdie 557aab2158 bitbake: cache/codeparser: Switch to a new BB_CACHEDIR variable for cache location
Currently the codeparser cache is set from CACHE, which is typically in
bitbake.conf which means we can't read/write any cache until it is found/read.
We may well have python expressions to parse before that happens.
The net result is suboptimal functioning of the codeparser cache since it will
often be invalidated by data that is never written.

This patch changes the codeparser and filechecksum caches to use BB_CACHE as
their setting and defaults it to ${TOPDIR}/cache.

The patch doesn't change where the "persistent" data such as prserver and
hash-equiavalance resides (PERSISTENT_DIR) or where the metadata parsing
cache resists (still currently CACHE). I've left those for a later patch.

The patch does ensure data parsed by the core datastore parsing calls is
written back since this is now much more useful after this change.

(Bitbake rev: ee89ade5b5a4cf9c53f336d8b800e06fbe436628)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:50:31 +00:00
Tim Orling 95f4795660 bitbake: toaster: update fixtures
* Update to latest langdale 4.1.2 and kirkstone 4.0.6
* Re-instate dunfell and update to 3.1.22
  - drop comments about bitbake crash

(Bitbake rev: f90c45df5cf4640e0714fde13e311db3327f9fd4)

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>
2023-01-26 21:50:31 +00:00
Paulo Neves f98bf56074 bitbake: bitbake-getvar: Add a quiet command line argument
bitbake-getvar does not have a way to silence bitbake
server's logger and that makes the tool hard to use for
text processing. This is especially true when one wants to
get a bitbake value to be piped to some other utility and
instead we get uncontrolled logging messages or warnings
together with bitbake's variable value.

Example without quiet:
bitbake-getvar --value MACHINE
NOTE: Starting bitbake server...
qemux86-64

With quiet:
bitbake-getvar --value MACHINE --quiet
qemux86-64

(Bitbake rev: af354e975d0b4c26d0e91e3c82946b093bc11b45)

Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:50:31 +00:00