Commit Graph

73926 Commits

Author SHA1 Message Date
Ross Burton
20c1d917c6 linux-yocto: implicitly track oe-core's kernel version for genericarm64
Don't override KBRANCH/SRCREV/LINUX_VERSION, instead use the values in
the base oe-core linux-yocto recipe.

The advantage of this is that we don't need to update this file every
time the kernel is upgraded in oe-core.

(From meta-yocto rev: 91c4efe03d96bee555b0c6581f3fae1145e75a68)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-20 18:21:06 +00:00
Ross Burton
5e69d4ba0f linux-yocto: put COMPATIBLE_MACHINE first
Move the COMPATIBLE_MACHINE assignments to the top of the file as they
effectively control what machines this bbappend is for.

(From meta-yocto rev: b9c5cd28856d2b86fb00b5c90d346638bf729c29)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-20 18:21:06 +00:00
Richard Purdie
e83129f4a3 poky-altcfg: Default to ipk packaging
poky itself defaults to rpm packaging. In support of the binary distro
testing, and for wider testing in general, default poky-altcfg to ipk.

Since we plan to have better "binary distro" testing on the autobuilder
and we plan to primarily use ipk for this, having ipk based images available
as part of our builds is desireable.

Since we want systemd based images with ipk, it makes sense to leave standard
poky using rpm images but switch poky-altcfg to use ipk.

Doing this now for scarthgap gives us a good platform to build off in
the long term too.

This matches https://git.yoctoproject.org/yocto-autobuilder-helper/commit/?id=a9b4f83c05136dd83e07c0f68ae2ad13507ed36a

(From meta-yocto rev: 6d89a66ad8a28d07425cf8886567038950ef65e7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-20 18:21:06 +00:00
Yogesh Tyagi
160dce550c lttng-modules: fix v6.8+ build
Backport a patch which remove 'needed' in trace_ext4_discard_preallocations

(From OE-Core rev: 88c78fec6daf34d4bf50f788a0adc75e601994da)

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-20 18:20:38 +00:00
Marcel Ziswiler
181f8d101b mesa: enable imagination powervr support
Allows mesa to be build with Imagination PowerVR support.

(From OE-Core rev: d52ba5f350dd1b468d089ed0bba2e17e6d89fb7d)

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-20 18:20:38 +00:00
Khem Raj
38fa6d08d2 piglit: Switch to upstreamed patch for musl fix
(From OE-Core rev: 660ca031737a63b0912c69e0c64ef65878776687)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-20 18:20:38 +00:00
Bruce Ashfield
a8c6271be2 linux-yocto/6.6: update CVE exclusions (6.6.22)
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 25Feb24
        Date: Sun, 25 Feb 2024 07:03:08 -0500

    ]

(From OE-Core rev: 2aff14a76396abe5139a918bfe27403248ff09ec)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-20 18:20:38 +00:00
Bruce Ashfield
f3ffd35e33 linux-yocto/6.6: update to v6.6.22
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    06644f0d7193 drm/tilcdc: Set preferred depth
    6a646d9fe8a2 Linux 6.6.22
    4a5b5bfea063 KVM/x86: Export RFDS_NO and RFDS_CLEAR to guests
    77018fb9efe5 x86/rfds: Mitigate Register File Data Sampling (RFDS)
    ddfd38558acc Documentation/hw-vuln: Add documentation for RFDS
    c35ca0968de4 x86/mmio: Disable KVM mitigation when X86_FEATURE_CLEAR_CPU_BUF is set
    e2ee3c628a6f selftests: mptcp: decrease BW in simult flows
    de5c36abf708 readahead: avoid multiple marked readahead pages
    f5572c0323cf KVM: s390: vsie: fix race during shadow creation
    99b86c9b07a3 KVM: s390: add stat counter for shadow gmap events
    995f802abff2 net: pds_core: Fix possible double free in error handling path
    34cab94f7473 netrom: Fix data-races around sysctl_net_busy_read
    db364859ce68 netrom: Fix a data-race around sysctl_netrom_link_fails_count
    d732b8325132 netrom: Fix a data-race around sysctl_netrom_routing_control
    2309b369fae2 netrom: Fix a data-race around sysctl_netrom_transport_no_activity_timeout
    db006d7edbf0 netrom: Fix a data-race around sysctl_netrom_transport_requested_window_size
    4ccad39009e7 netrom: Fix a data-race around sysctl_netrom_transport_busy_delay
    7d56ffc51ebd netrom: Fix a data-race around sysctl_netrom_transport_acknowledge_delay
    fa3f3ab5c399 netrom: Fix a data-race around sysctl_netrom_transport_maximum_tries
    5d5c14efc987 netrom: Fix a data-race around sysctl_netrom_transport_timeout
    5731369af2de netrom: Fix data-races around sysctl_netrom_network_ttl_initialiser
    7e1e25891f09 netrom: Fix a data-race around sysctl_netrom_obsolescence_count_initialiser
    7510b08c5f5b netrom: Fix a data-race around sysctl_netrom_default_path_quality
    b3b87525b545 erofs: apply proper VMA alignment for memory mapped files on THP
    014a807f1cc9 netfilter: nf_conntrack_h323: Add protection for bmp length out of range
    b7f885cc7029 netfilter: nft_ct: fix l3num expectations with inet pseudo family
    2b505d052807 net/rds: fix WARNING in rds_conn_connect_if_down
    782c5fa6638f net: dsa: microchip: fix register write order in ksz8_ind_write8()
    f562e4c4aab0 cpumap: Zero-initialise xdp_rxq_info struct before running XDP program
    02e3549492db selftests/bpf: Fix up xdp bonding test wrt feature flags
    586a2f410c78 xdp, bonding: Fix feature flags when there are no slave devs anymore
    ff4d6006870f bpf: check bpf_func_state->callback_depth when pruning states
    ed883060c387 net/ipv6: avoid possible UAF in ip6_route_mpath_notify()
    8df393af9e7e igc: avoid returning frame twice in XDP_REDIRECT
    1a770927dc1d net: ice: Fix potential NULL pointer dereference in ice_bridge_setlink()
    671a28603c6b ice: virtchnl: stop pretending to support RSS over AQ or registers
    e83bebb718fd net: sparx5: Fix use after free inside sparx5_del_mact_entry
    0ece581d2a66 geneve: make sure to pull inner header in geneve_rx()
    24d5a89652c9 tracing/net_sched: Fix tracepoints that save qdisc_dev() as a string
    d98d364d98d1 net/mlx5e: Switch to using _bh variant of of spinlock API in port timestamping NAPI poll context
    d1f71615dbb3 net/mlx5e: Use a memory barrier to enforce PTP WQ xmit submission tracking occurs after populating the metadata_map
    b526c3177531 net/mlx5e: Fix MACsec state loss upon state update in offload path
    6d6bb522d74b net/mlx5e: Change the warning when ignore_flow_level is not supported
    c11138f0172f net/mlx5: Check capability for fw_reset
    c8d7228ddda7 net/mlx5: E-switch, Change flow rule destination checking
    ba888f1f5c21 Revert "net/mlx5e: Check the number of elements before walk TC rhashtable"
    3fba8eab2cfc Revert "net/mlx5: Block entering switchdev mode with ns inconsistency"
    4c0b028e7100 ice: reorder disabling IRQ and NAPI in ice_qp_dis
    484c8e3beb0f i40e: disable NAPI right after disabling irqs when handling xsk_pool
    2e60e9531ab9 ixgbe: {dis, en}able irqs in ixgbe_txrx_ring_{dis, en}able
    550fe716031f net: lan78xx: fix runtime PM count underflow on link stop
    f6edcad58cea xfrm: Pass UDP encapsulation in TX packet offload
    d6159bd4c005 mm/vmscan: fix a bug calling wakeup_kswapd() with a wrong zone index
    641eb2d9ab1e ceph: switch to corrected encoding of max_xattr_size in mdsmap
    3b897ea5ee75 dmaengine: fsl-edma: correct max_segment_size setting
    525c13971479 dmaengine: fsl-edma: utilize common dt-binding header file
    fb2f43ed48dd dt-bindings: dma: fsl-edma: Add fsl-edma.h to prevent hardcoding in dts
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: aea8aa3effe7ddc16bc301bfc07bbaf36c84e5f5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-20 18:20:38 +00:00
Bruce Ashfield
f405c9b560 linux-yocto/6.6: drm/tilcdc: Set preferred depth
Integrating the following commit(s) to linux-yocto/6.6:

1/1 [
    Author: Kevin Hao
    Email: haokexin@gmail.com
    Subject: drm/tilcdc: Set preferred depth
    Date: Tue, 19 Mar 2024 08:35:29 +0800

    The commit c91acda3a380 ("drm/gem: Check for valid formats") adds a
    check for valid pixel formats on drm_gem_fb_create(), but this breaks
    the X server on the beaglebone black board.

    We have set 'DefaultDepth' to 16 in our xorg.conf. In the X modesetting
    driver, the drmmode_get_default_bpp() is used to guess the default
    depth/bpp. First it tries to get them via DRM_CAP_DUMB_PREFERRED_DEPTH
    ioctl, and if it fail, then try to create a FB with 'depth = 24' and
    'bpp = 32' to check whether this depth/dpp is a valid combo. Before the
    kernel commit c91acda3a380, the FB always can be created successfully.
    This will avoid the bpp to be set to 24 forcibly. But after kernel
    commit c91acda3a380, the FB will not be created successfully due to the
    check of the valid pixel format. Then the bpp is set to 24, but the
    'depth = 16' and 'bpp = 24' combo is not a valid pixel format.

    Fix this issue by explicitly setting the preferred_depth in this driver.
    With this change, the modesetting driver would choose the correct
    depth/bpp combo based on our setting in xorg.conf.

    Fixes: c91acda3a380 ("drm/gem: Check for valid formats")
    Cc: stable@vger.kernel.org
    Signed-off-by: Kevin Hao <haokexin@gmail.com>
    Link: https://lore.kernel.org/r/20240317033918.535716-1-haokexin@gmail.com/
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: e23cbdd51ce4a8ca784f5902310a9e2d363c438a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-20 18:20:38 +00:00
Bruce Ashfield
e686282da8 linux-yocto/6.6: cfg: drop unsettable options
Integrating the following commit(s) to linux-yocto/.:

1/3 [
    Author: Yongxin Liu
    Email: yongxin.liu@windriver.com
    Subject: features/vfio: remove CONFIG_VFIO_VIRQFD
    Date: Mon, 18 Mar 2024 19:10:37 +0800

    CONFIG_VFIO_VIRQFD was changed to bool in kernel commit
    e2d55709398e ("vfio: Fold vfio_virqfd.ko into vfio.ko") and
    it is not user selectable.

    Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/3 [
    Author: Yongxin Liu
    Email: yongxin.liu@windriver.com
    Subject: features/vfio: remove CONFIG_VFIO_MDEV
    Date: Mon, 18 Mar 2024 19:10:38 +0800

    CONFIG_VFIO_MDEV wasn't a user choice after kerne commit
    8bf8c5ee1f38 ("vfio-mdev: turn VFIO_MDEV into a selectable symbol").

    Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

3/3 [
    Author: Yongxin Liu
    Email: yongxin.liu@windriver.com
    Subject: bsp/intel-x86: remove CONFIG_IXGB
    Date: Mon, 18 Mar 2024 19:10:39 +0800

    ixgb driver was removed in kernel commit e485f3a6eae0
    ("ixgb: Remove ixgb driver").

    Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 3051b5cdcc03cf7f5a5962bea33f9090b984ab26)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-20 18:20:38 +00:00
Bruce Ashfield
b352ffe770 linux-yocto/6.6: update CVE exclusions (6.6.21)
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 25Feb24
        Date: Sun, 25 Feb 2024 07:03:08 -0500

    ]

(From OE-Core rev: 828e2817dd21f28b61a379e3ae794dcb458ca283)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-20 18:20:38 +00:00
Bruce Ashfield
f2c46dea04 linux-yocto/6.6: update to v6.6.21
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    62e5ae5007ef Linux 6.6.21
    d6ac0ee5ff95 drm/nouveau: don't fini scheduler before entity flush
    ece1aaec7f7e selftests: mptcp: rm subflow with v4/v4mapped addr
    8e7f31bf1101 selftests: mptcp: add mptcp_lib_is_v6
    9d71f43afd89 selftests: mptcp: update userspace pm test helpers
    f9190d7995a7 selftests: mptcp: add chk_subflows_total helper
    ae1fa39da991 selftests: mptcp: add evts_get_info helper
    e81742f6e2eb KVM/VMX: Move VERW closer to VMentry for MDS mitigation
    ae46691220f7 KVM/VMX: Use BT+JNC, i.e. EFLAGS.CF to select VMRESUME vs. VMLAUNCH
    7a62647efcb2 x86/bugs: Use ALTERNATIVE() instead of mds_user_clear static key
    ca13d8cd8dac x86/entry_32: Add VERW just before userspace transition
    7caf330faf16 x86/entry_64: Add VERW just before userspace transition
    2664bb298cdf block: define bvec_iter as __packed __aligned(4)
    21bbe847686c gpio: fix resource unwinding order in error path
    9c7c16109b71 gpiolib: Fix the error path order in gpiochip_add_data_with_key()
    92515c4ef1b4 gpio: 74x164: Enable output pins after registers are reset
    6b6282d56b14 powerpc/rtas: use correct function name for resetting TCE tables
    d4d1e4b1513d powerpc/pseries/iommu: IOMMU table is not initialized for kdump over SR-IOV
    5e3022ea42e4 dmaengine: idxd: Ensure safe user copy of completion record
    4d6e793eacfb dmaengine: idxd: Remove shadow Event Log head stored in idxd
    981917766b59 phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use dashes
    d24fe6d5a1cf dmaengine: dw-edma: eDMA: Add sync read before starting the DMA transfer in remote setup
    227ef58a9b0c dmaengine: dw-edma: HDMA: Add sync read before starting the DMA transfer in remote setup
    55501b7359ef dmaengine: dw-edma: Add HDMA remote interrupt configuration
    3fa3dfcabf3a dmaengine: dw-edma: HDMA_V0_REMOTEL_STOP_INT_EN typo fix
    8b5657ac34b7 dmaengine: dw-edma: Fix wrong interrupt bit set for HDMA
    3adea99aa756 dmaengine: dw-edma: Fix the ch_count hdma callback
    57e869be88d0 ASoC: cs35l56: fix reversed if statement in cs35l56_dspwait_asp1tx_put()
    e9eac260369d af_unix: Drop oob_skb ref before purging queue in GC.
    69e0f04460f4 af_unix: Fix task hung while purging oob_skb in GC.
    be8a177250b2 NFS: Fix data corruption caused by congestion.
    fa8c776f4c32 mptcp: fix possible deadlock in subflow diag
    ce0809ada38d mptcp: fix double-free on socket dismantle
    b609ecda2d76 mptcp: fix potential wake-up event loss
    ae5530ccd5ef mptcp: fix snd_wnd initialization for passive socket
    536a661bfdf4 selftests: mptcp: join: add ss mptcp support check
    48428b07de4f mptcp: push at DSS boundaries
    fca4e6ab0681 mptcp: avoid printing warning once on client side
    a49ecbe8d0f0 mptcp: map v4 address to v6 when destroying subflow
    dff60a5531b5 x86/cpu/intel: Detect TME keyid bits before setting MTRR mask registers
    c43b984f0b23 x86/e820: Don't reserve SETUP_RNG_SEED in e820
    d2a9510c0e39 mm/debug_vm_pgtable: fix BUG_ON with pud advanced test
    e9eeb0dddf61 pmdomain: qcom: rpmhpd: Fix enabled_corner aggregation
    71da10e633a9 efivarfs: Request at most 512 bytes for variable names
    f1fb745ee0a6 iommufd: Fix iopt_access_list_id overwrite bug
    8db4f87fa3e1 kbuild: Add -Wa,--fatal-warnings to as-instr invocation
    9537603a5436 riscv: add CALLER_ADDRx support
    0c8a3d3354cd RISC-V: Drop invalid test from CONFIG_AS_HAS_OPTION_ARCH
    aebd67a52edd mmc: sdhci-xenon: fix PHY init clock stability
    b4eacb32e066 mmc: sdhci-xenon: add timeout for PHY init complete
    4344444255a3 mmc: core: Fix eMMC initialization with 1-bit bus connection
    176e66269f0d mmc: mmci: stm32: fix DMA API overlapping mappings warning
    a69c8bbb9469 dmaengine: fsl-qdma: init irq after reg initialization
    91b001fb0b08 dmaengine: fsl-edma: correct calculation of 'nbytes' in multi-fifo scenario
    4e0fe154be7b dmaengine: ptdma: use consistent DMA masks
    1291d278b557 crypto: arm64/neonbs - fix out-of-bounds access on short input
    5b696e9c3882 dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read
    737d2e9300cd soc: qcom: pmic_glink: Fix boot when QRTR=m
    82dacc26e15c drm/amd/display: Add monitor patch for specific eDP
    5e476625fa8a drm/buddy: fix range bias
    baac292852c0 Revert "drm/amd/pm: resolve reboot exception for si oland"
    202e4f4bb858 btrfs: send: don't issue unnecessary zero writes for trailing hole
    b1690ced4d2d btrfs: dev-replace: properly validate device names
    eb3441093aad btrfs: fix double free of anonymous device after snapshot creation failure
    177d574be4b5 wifi: nl80211: reject iftype change with mesh ID change
    ad8ff8cff38d mtd: rawnand: marvell: fix layouts
    ba60fdf75e89 mm: cachestat: fix folio read-after-free in cache walk
    93dd420bc415 gtp: fix use-after-free and null-ptr-deref in gtp_newlink()
    f4906938bdd4 landlock: Fix asymmetric private inodes referring
    0be289ba41bb Bluetooth: hci_bcm4377: do not mark valid bd_addr as invalid
    a4904b3afed0 ALSA: hda/realtek: Add special fixup for Lenovo 14IRP8
    5cdf76fbbed9 ALSA: hda/realtek: fix mute/micmute LED For HP mt440
    46fb5e7ec337 ALSA: hda/realtek: Enable Mute LED on HP 840 G8 (MB 8AB8)
    d6ac6ffbdc39 ALSA: hda/realtek: tas2781: enable subwoofer volume control
    bb06ffbf3862 ALSA: ump: Fix the discard error code from snd_ump_legacy_open()
    22df6ff560c5 ALSA: firewire-lib: fix to check cycle continuity
    2caa60507948 tomoyo: fix UAF write bug in tomoyo_write_control()
    6f72b4458ead of: property: fw_devlink: Fix stupid bug in remote-endpoint parsing
    d43f8e58f10a btrfs: fix race between ordered extent completion and fiemap
    a278d5c60f21 riscv: Sparse-Memory/vmemmap out-of-bounds fix
    eb2571673cfc riscv: Fix pte_leaf_size() for NAPOT
    2b7ce74e19fc Revert "riscv: mm: support Svnapot in huge vmap"
    e0d17ee872cf drivers: perf: ctr_get_width function for legacy is not defined
    2f8c09478a2c drivers: perf: added capabilities for legacy PMU
    f67898867b6b afs: Fix endless loop in directory parsing
    73a6bd68a134 fbcon: always restore the old font data in fbcon_do_set_font()
    8e8c66afe27b drm/tegra: Remove existing framebuffer only if we support display
    274bf3cca13f RISC-V: Ignore V from the riscv,isa DT property on older T-Head CPUs
    fb3618f6bd49 ASoC: soc-card: Fix missing locking in snd_soc_card_get_kcontrol()
    4b5d89ace3ce ASoC: cs35l56: Fix deadlock in ASP1 mixer register initialization
    9f05fe599965 ASoC: cs35l56: Fix misuse of wm_adsp 'part' string for silicon revision
    c249f04f2bff ASoC: cs35l56: Fix for initializing ASP1 mixer registers
    044edc12fe01 ASoC: cs35l56: Don't add the same register patch multiple times
    a2f0a6846da8 ASoC: cs35l56: cs35l56_component_remove() must clean up wm_adsp
    93fc01f9b58d ASoC: cs35l56: cs35l56_component_remove() must clear cs35l56->component
    cc698db49b93 riscv: Fix build error if !CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION
    99adc8b4d2f3 ASoC: qcom: Fix uninitialized pointer dmactl
    841361d88fae ASoC: qcom: convert not to use asoc_xxx()
    c92c96cda3e3 ASoC: soc.h: convert asoc_xxx() to snd_soc_xxx()
    ac549defb351 ALSA: Drop leftover snd-rtctimer stuff from Makefile
    4a7f5eff429b ASoC: cs35l56: Must clear HALO_STATE before issuing SYSTEM_RESET
    fbca8bae1ba7 power: supply: bq27xxx-i2c: Do not free non existing IRQ
    11aabd748785 efi/capsule-loader: fix incorrect allocation size
    81be85353b0f tls: fix use-after-free on failed backlog decryption
    dec5b6e7b211 tls: separate no-async decryption request handling from async
    11121c2ce571 tls: fix peeking with sync+async decryption
    c19fdb06d3d7 tls: decrement decrypt_pending if no async completion will be called
    9422350aea63 net: hsr: Use correct offset for HSR TLV values in supervisory HSR frames
    c88bf996e88b igb: extend PTP timestamp adjustments to i211
    167d8642daa6 rtnetlink: fix error logic of IFLA_BRIDGE_FLAGS writing back
    dbc81b032dd0 tools: ynl: fix handling of multiple mcast groups
    80cd0487f630 netfilter: bridge: confirm multicast packets before passing them up the stack
    98567dc7973f netfilter: nf_tables: allow NFPROTO_INET in nft_(match/target)_validate()
    39e39c34abb5 Bluetooth: qca: Fix triggering coredump implementation
    c50ce483c28a Bluetooth: hci_qca: Set BDA quirk bit if fwnode exists in DT
    fb3e827badce Bluetooth: qca: Fix wrong event type for patch config command
    dcd646f40a56 Bluetooth: Enforce validation on max value of connection interval
    fba268ac36ab Bluetooth: hci_event: Fix handling of HCI_EV_IO_CAPA_REQUEST
    4a9139678ede Bluetooth: hci_event: Fix wrongly recorded wakeup BD_ADDR
    6699d7ce263c Bluetooth: hci_sync: Fix accept_list when attempting to suspend
    2ab9a19d896f Bluetooth: Avoid potential use-after-free in hci_error_reset
    0a07fa1f61e4 Bluetooth: hci_sync: Check the correct flag before starting a scan
    699b103e48ce stmmac: Clear variable when destroying workqueue
    af6dfe9e9551 uapi: in6: replace temporary label with rfc9486
    2ae3d9d1d8da net: lan78xx: fix "softirq work is pending" error
    0ec3ea616a50 net: usb: dm9601: fix wrong return value in dm9601_mdio_read
    2d8003e55d12 veth: try harder when allocating queue memory
    288218b1dd26 lan78xx: enable auto speed configuration for LAN7850 if no EEPROM is detected
    44112bc5c74e ipv6: fix potential "struct net" leak in inet6_rtm_getaddr()
    16edf51f33f5 net: veth: clear GRO when clearing XDP even when down
    1a8682737600 cpufreq: intel_pstate: fix pstate limits enforcement for adjust_perf call back
    7322b217c6f0 tun: Fix xdp_rxq_info's queue_index when detaching
    fbccbb4215ae net: dpaa: fman_memac: accept phy-interface-type = "10gbase-r" in the device tree
    cbebc55ceace net: mctp: take ownership of skb in mctp_local_output
    a0a1db40b23e net: ip_tunnel: prevent perpetual headroom growth
    a2ab02815184 netlink: add nla be16/32 types to minlen array
    d3ada42e534a netlink: Fix kernel-infoleak-after-free in __skb_datagram_iter
    03f1573c9587 spi: cadence-qspi: fix pointer reference in runtime PM hooks
    c53b8d8f70c4 mtd: spinand: gigadevice: Fix the get ecc status issue
    8cb8ef0c79e3 ublk: move ublk_cancel_dev() out of ub->mutex
    2b5f1692a95b ksmbd: fix wrong allocation size update in smb2_open()
    05059601518e ASoC: cs35l34: Fix GPIO name and drop legacy include
    d3d782b5a5d3 ubifs: fix possible dereference after free

(From OE-Core rev: bc5f2943976e2fb5802d680f691e4e1711bd7139)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-20 18:20:38 +00:00
Bruce Ashfield
f09310d7f5 linux-yocto/6.6: cfg: riscv XHCI
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Khem Raj
    Email: raj.khem@gmail.com
    Subject: riscv: Enable XHCI usb
    Date: Thu, 7 Mar 2024 08:04:18 -0800

    This brings it closer to other qemu configs in yocto and help to use usb
    mouse and keyboard device emulation

    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 93ea21a179153e9883e232213f2667f0d72979b2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-20 18:20:38 +00:00
Bruce Ashfield
f451612ca2 linux-yocto/6.6: cfg: generic arm64
Integrating the following commit(s) to linux-yocto/.:

1/2 [
    Author: Ross Burton
    Email: ross.burton@arm.com
    Subject: cfg/timer/no_hz: set NO_HZ_IDLE instead of NO_HZ
    Date: Wed, 6 Mar 2024 07:15:44 -0800

    NO_HZ was obsoleted in 2011[1] and simply selects NO_HZ_IDLE.

    [1] linux 3ca277e

    Signed-off-by: Ross Burton <ross.burton@arm.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/2 [
    Author: Ross Burton
    Email: ross.burton@arm.com
    Subject: bsp/genericarm64: incorporate more features, and sort
    Date: Wed, 6 Mar 2024 07:15:44 -0800

    Pull in a large number of drivers and build them as modules. The set of
    drivers enabled is based on the current defconfig.

    Some chunks are split out into separate files to keep the top-level
    cfg file size manageable.

    Signed-off-by: Ross Burton <ross.burton@arm.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: ebb5214b9860b4ee120d88ee5be30b344088cd5c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-20 18:20:38 +00:00
Alexander Kanavin
2d606350c7 python3: correct upstream version check
This only needs removal of the custom setting (which no longer produces a webpage suitable for parsing the version out),
as the default SRC_URI is 'tarballs in versioned directoroies' setup, which the version checker is able to handle.

(From OE-Core rev: d9fa89180fe497ce67493b8dec8452d87c05ccba)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-20 18:20:38 +00:00
Alexander Kanavin
37d2ba9adb wayland: fix upstream version check by asking gitlab directly
https://wayland.freedesktop.org/releases.html is prone to delays
and missing entries as it is manually updated; in particular
latest wayland-protocols remains unlisted:
https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/-/issues/7

(From OE-Core rev: 1932f6ebe0c108852010b1fac8febd23236c86ae)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-20 18:20:38 +00:00
Jose Quaresma
b4be67b5f7 elfutils: fix unused variable BUFFER_SIZE
Fix build break with clang

(From OE-Core rev: 760292c23213476169116b8608ca4119b99e6ff8)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-20 18:20:38 +00:00
Enrico Scholz
7d530aa417 shadow: fix copydir operation with 'pseudo'
Calling 'useradd' through pseudo on (at least) Ubuntu 20 creates
filesystem objects (.bashrc, .profile) with invalid attributes.  It
manifests as

| tar: ./home/.../.bashrc: Unknown file type; file ignored

or

| Copying files into the device: __populate_fs: ignoring entry ".bashrc"
| .bashrc: File not found by ext2_lookup while looking up ".bashrc"

when building the image.

This happens due to a bug in shadow which is caused by clobbering
fstatat() results.

(From OE-Core rev: 991f880e5cb3d30a1197711d44af2fdb1719ce82)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-20 18:20:38 +00:00
Markus Volk
7588fe77a1 libsoup: enable vapi support
without vapi gnome-calculator-46.0 will fail with:
| ../gnome-calculator-46.0/lib/currency-provider.vala:161.19-161.47:
error: The name `send_and_splice_async' does not exist in the context
of `Soup.Session' (libsoup-3.0)

(From OE-Core rev: cce5c9db1f19fd4638c19c70fd99f065dd93f15b)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-20 18:20:38 +00:00
Ross Burton
78e48090b2 gstreamer1.0: improve test reliability
First, libcheck has the ability to increase all test timeouts by an arbitrary
multiplier. Because we run our tests on loaded build machines,
increase all timeouts by 10x to reduce the chance of load causing failures.

Second, use GST_CHECKS_IGNORE to list test cases that should be skipped.

Drop skip-aggregator-test.patch as this is now redundant, and also skip
gstnetclientclock.c:test_functioning as this is very sensitive to load.

[ YOCTO #14808 ]

(From OE-Core rev: 669d0df81f651f7c033c8cb7872cac5bfe670a4f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-19 15:25:12 +00:00
Ross Burton
b2191bb7a7 curl: increase test timeouts
We often see multiple curl tests fail during ptest runs, the actual test
varies but the output is like this:

  FAIL: 337: protoc!
  There was no content at all in the file log/3/server.input.
  Server glitch? Total curl failure? Returned: 28

Error code 28 is CURLE_OPERATION_TIMEDOUT, so this is almost certainly
due to a loaded machine resulting in the tests running slowly.

It is notable that the test runner explicitly passes --max-time=13 to
curl, so experiment and change this to 600 to see if this solves the
problem.

[ YOCTO #15268 ]

(From OE-Core rev: e2e9ec1bf97a7e36a05a247dbc671ecca584205f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-19 15:25:12 +00:00
Ross Burton
264a3f429a curl: improve run-ptest
There's no need to run the output of runtests.pl through a sed to get
automake-style output, as you can pass -am to get this formatting.

Don't run timing dependent tests, as the ptests can run on loaded
systems.

Add a dependency on the en_US locale because some of the tests require
this.

(From OE-Core rev: 3c3601d50ae290e7e9797eadd20c05df99bbd040)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-19 15:25:12 +00:00
Richard Purdie
b739fa5f4d uninative: Add pthread linking workaround
With newer glibc versions, pthread was merged into the main library so there is
no longer any need to link with -lpthread. On newer systems this means that linker
flag is dropped from places like pkgconfig .pc files. If uninative then uses this
newer library on an older system, the flag is missing and linker errors about missing
symbols occur.

Adding the linkage unconditionally to our uninative linking flags avoids that problem
at a potential cost of slight over linking.

(From OE-Core rev: 5ec2bc7ef663db4c04c85eee518297d442556481)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-19 15:25:12 +00:00
Richard Purdie
54441215bd bash/flex: Ensure BUILD_FLAGS doesn't leak onto target
The ptest packages were leaking BUILD_LDFLAGS into the Makefile used
on target. Remove these values instead.

(From OE-Core rev: 599132c7794a1192ddd257669798a3ec6d1191bb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-19 15:25:12 +00:00
Alexander Kanavin
27e72a5f13 dev-manual: improve descriptions of 'bitbake -S printdiff'
Try to particularly emphasize that it can be used to find
out why something rebuilds when it shouldn't.

(From yocto-docs rev: cfaf2707b4a77888316d5eb24bf41ccc21e2c12b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-19 15:22:27 +00:00
Alexander Kanavin
bc06390947 dev/ref-manual: document conf-summary.txt together with conf-notes.txt
(From yocto-docs rev: b92f2eac3b7455ebfc87f668b9442122dbf1c66f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-19 15:22:27 +00:00
Alexander Kanavin
b685c76b68 sdk-manual: correctly describe separate build-sysroots tasks in direct sdk workflows
They were separated in
https://git.yoctoproject.org/poky/commit/?id=63e53fb8b60d38315015844bd3357fa1649cd639

(From yocto-docs rev: b880ac9498764027de435103d493f34adf68dc13)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-19 15:22:27 +00:00
BELOUARGA Mohamed
98fb300f40 ref-manual: add documentation of the variable SPDX_NAMESPACE_PREFIX
The documentation of the variable SPDX_NAMESPACE_PREFIX does not exist.
This variable is used to change the prefix of some links in SPDX docs.

(From yocto-docs rev: 85c56d8f7f65875628ab63abf661705b26f55224)

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-19 15:22:27 +00:00
Michael Opdenacker
d255faa35e profile-manual: usage.rst: further style improvements
According to errors reported by "make stylecheck"

(From yocto-docs rev: fc808b2dca4321209bfa6206d9e43aa1a5a0c5b8)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-19 15:22:27 +00:00
Michael Opdenacker
f6584a38ae manuals: add initial stylechecks with Vale
Use the "Vale" (https://vale.sh) tool to perform text style checks
Run "make stylecheck" to run the checks.

This just checks the text, not the Sphinx syntax style choices.

(From yocto-docs rev: 51b1f9a4d5aa02d337b105633de38e18b923a13a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-19 15:22:27 +00:00
Martin Jansa
8a8040b37e contributor-guide: be more specific about meta-* trees
* this is often confused to apply for e.g. meta-oe as well
  where it doesn't apply as meta-oe has own ML mentioned
  in README.

(From yocto-docs rev: 63be0814a7ecf38c570b6d776f62b7c7803eb299)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-19 15:22:27 +00:00
Lee Chee Yang
13d1ee8cb4 migration-guides: add release notes for 4.0.17
(From yocto-docs rev: 224de9dfb6238677ecff715e1d57376487b6517f)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-19 15:22:27 +00:00
Michael Opdenacker
ddd8f69db9 migration-guides: draft notes for upcoming release 5.0
(From yocto-docs rev: e81c4da57aacce4a5c9e7b36ad4f911116747dd1)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-19 15:22:27 +00:00
Michael Opdenacker
df44348f0b documentation: Makefile: remove releases.rst in "make clean"
releases.rst is generated by the set_versions.py script

(From yocto-docs rev: 4b7773f59bab2d653d07b7e06cd21745b646b604)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-19 15:22:27 +00:00
Michael Opdenacker
2b66b2f8eb profile-manual: usage.rst: fix reference to bug report
Allowing to remove nested parentheses in the text!

(From yocto-docs rev: 7cfa49fe17a8a20a8d4671c0daf1820c3cd69952)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-19 15:22:27 +00:00
Michael Opdenacker
3b86df94f7 manuals: use "manual page(s)"
Instead of "manpage(s)" or "man page(s)".
To address one of the errors reported by "make stylecheck"

(From yocto-docs rev: 86f5f5cd385f09c48c4cf0b1ab222d6e1e7c7e54)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-19 15:22:27 +00:00
Michael Opdenacker
063b0cf8f9 profile-manual: usage.rst: formatting fixes
Plus a few text styling improvements, some reported by "make stylecheck"

(From yocto-docs rev: c29a1bf4dd5223e4af9c1be5a8a8ea6a88bb7a58)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-19 15:22:27 +00:00
Michael Opdenacker
e987c5151c manuals: add initial stylechecks with Vale
Use the "Vale" (https://vale.sh) tool to perform text style checks
Run "make stylecheck" to run the checks.

This just checks the text, not the Sphinx syntax style choices.

(From yocto-docs rev: d145e1dc45dc0792c8b8f7e73500b56face1e710)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-19 15:22:27 +00:00
Ulrich Ölmann
0808113517 ref-manual: classes: update description of class 'image_types'
Cite usage of IMGCLASSES variable in class 'image' as found in OE-Core's
commit [1].

[1] 451363438d38 ("classes/recipes: Switch to use inherit_defer")

(From yocto-docs rev: 674f376ece98466d3498459d5b5428a8bfbd5112)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-19 15:22:27 +00:00
Soumya Sambu
1e4de6edc6 go: Upgrade 1.22.0 -> 1.22.1
Upgrade to latest 1.22.x release [1]:

$git log --oneline go1.22.0..go1.22.1
db6097f8cb (tag: go1.22.1, origin/release-branch.go1.22) [release-branch.go1.22] go1.22.1
041a47712e [release-branch.go1.22] net/textproto, mime/multipart: avoid unbounded read in MIME header
3a855208e3 [release-branch.go1.22] net/http, net/http/cookiejar: avoid subdomain matches on IPv6 zones
337b8e9cbf [release-branch.go1.22] crypto/x509: make sure pub key is non-nil before interface conversion
16830ab48a [release-branch.go1.22] net/http: add missing call to decConnsPerHost
056b0edcb8 [release-branch.go1.22] html/template: escape additional tokens in MarshalJSON errors
f73eba76a0 [release-branch.go1.22] net: work around runtime scheduler starvation on js and wasip1
5330cd225b [release-branch.go1.22] net/mail: properly handle special characters in phrase and obs-phrase
d8c4239f08 [release-branch.go1.22] cmd/go/internal/modcmd: correctly filter out main modules in verify
c33adf44ff [release-branch.go1.22] cmd/trace/v2,internal/trace: use correct frame for identifying goroutines
3b71998078 [release-branch.go1.22] go/types, types2: ensure that Alias.actual is set in NewAlias
8fe2ad6494 [release-branch.go1.22] runtime/internal/atomic: correct GOARM=7 guard at a DMB instruction
686662f3a4 [release-branch.go1.22] cmd/compile: make jump table symbol static
6cbe522fe1 [release-branch.go1.22] cmd/compile: fail noder.LookupFunc gracefully if function generic
fb86598cd3 [release-branch.go1.22] cmd/compile: accept -lang=go1 as -lang=go1.0
6fbd01a711 [release-branch.go1.22] runtime: don't call traceReadCPU on the system stack
d6a271939f [release-branch.go1.22] cmd/cgo/internal/testsanitizers: disable location checking for clang
20107e05a6 [release-branch.go1.22] internal/testenv: support the LUCI mobile builders in tests
53d1b73dff [release-branch.go1.22] internal/testenv: allow "-noopt" anywhere in builder name in test
dd31ad7e9f [release-branch.go1.22] spec: fix typo in year (it's 2024 now)

[1] https://github.com/golang/go/compare/go1.22.0...go1.22.1

(From OE-Core rev: 423f875e10707b583f34dde625301c702c49e9d9)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-18 12:21:45 +00:00
Khem Raj
4fd93a7be4 pam: Fix build with musl
Apply a backported patch

(From OE-Core rev: e4fbb97fda6fe6232df743e655d0488f2353a24e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-18 12:21:45 +00:00
Harish Sadineni
2003557314 gcc: Oe-selftest failure analysis - fix for tcl errors
gcc testsuite unable to read the value of variable $do-what-limit and causing below tcl errors.
ERROR: can't read "do": no such variable
    while executing
"set do_what $do-what-limit"

To fix this, quote the variable using braces, as in ${do-what-limit}.

(From OE-Core rev: e59421468d96282057f5176438a76a325b987e47)

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-18 12:21:45 +00:00
Yi Zhao
893a8bacc5 libtirpc: drop redundant PACKAGECONFIG
(From OE-Core rev: a2d0f2dd46c95309de00368498a73f58f523accc)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-18 12:21:45 +00:00
Paul Barker
aec64781fe kernel: Fix check_oldest_kernel
The check_oldest_kernel() function requires utsrelease.h to be
generated. This file is generated during do_compile, so we need to delay
calling check_oldest_kernel() until after this.

With this change in place, I now see the expected warning when building
Linux 5.10.y.

(From OE-Core rev: 525019b30e83ea65021ca4874605589ccd2daf80)

Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-18 12:21:45 +00:00
Alexander Kanavin
88eaffee1e man-pages: use env from coreutils-native
This is the outcome of investigating the selftest-armhost fail:
https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/3028/steps/15/logs/stdio

When man-pages recipe builds on ubuntu 18.04, /usr/bin/env on that is too
old to support -S option, and the outcome is that man-pages quietly
installs nothing, and no packages get created, and the test
that expects the package to exist fails.

(From OE-Core rev: 7bfbaaf2baa54f0abff231cfc263d4d8bc7f732b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-18 12:21:45 +00:00
Xiangyu Chen
276332d289 lttng-tools: skip kernel tests if no kernel modules present
The current tests will run both userspace and kernel testing. Some of use cases
only use lttng for one kind of tracing (e.g. userspace). If the lttng
modules(.ko files) is not present during the test,it would end up with lots of
failing.

Add a check in ptest script, if current system doesn't contain lttng kernel
modules, passing LTTNG_TOOLS_DISABLE_KERNEL_TESTS=1 to make to skip all lttng
kernel related testing.

(From OE-Core rev: e0d8494b569bc5fb45d9a4bafa25527a0ee3d970)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-18 12:21:45 +00:00
Alexander Kanavin
8139216000 cargo-c-native: update 0.9.18 -> 0.9.30
(From OE-Core rev: 772cb94c9ab0645714e182f0141dc6c8b26b05ef)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-18 12:21:45 +00:00
Alexander Kanavin
2db6df6f2e cargo-c-native: convert from git fetcher to crate fetcher
Fetching from git requires manually maintaining Cargo.lock
which is tedious and unclear how to do correctly,
especially with version updates. On the other hand, crates
do include Cargo.lock, and this way the revisions would match
upstream's and crate users (which requires regenerating
crates.inc to match the lock file).

(From OE-Core rev: 03c1954404bf56470935b12cb3aeb02199f68ded)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-18 12:21:45 +00:00
Alexander Kanavin
2894a574db meson: correct upstream version check (exclude pre-releases)
(From OE-Core rev: e01a57979331472b7677b41aa57f448938bc14fc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-18 12:21:45 +00:00
Yannick Rodriguez
ab730c5661 linux-firmware: Move Intel 9260 modules firmware.
Moving intel 9260 firmware because it's common wifi chip and otherwise
to include this firmware whe have to include iwlwifi-misc which included
a lot of firmwares.

(From OE-Core rev: d924307b9cee4065ff60d08e3b4298278693ff2c)

Signed-off-by: Yannick Rodriguez <y.rodriguez@i2s.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-18 12:21:45 +00:00